Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GenAI-Security-Project/GenAI-LLM-Top10
/ functions
Functions
134 in github.com/GenAI-Security-Project/GenAI-LLM-Top10
⨍
Functions
134
◇
Types & classes
4
↓ 14 callers
Function
__publicField
(obj, key, value)
2026/final/report/images/support.js:6
↓ 11 callers
Function
getReact
()
2026/final/report/images/support.js:9
↓ 8 callers
Function
compileAttr
(raw)
2026/final/report/images/support.js:370
↓ 6 callers
Method
__userProps
The props the author's logic + template see — internal __-prefixed * wiring stripped.
2026/final/report/images/support.js:862
↓ 6 callers
Function
walkChildren
(node, host)
2026/final/report/images/support.js:452
↓ 4 callers
Function
resolve
(vals, src)
2026/final/report/images/support.js:203
↓ 3 callers
Function
_request
Returns (status, parsed_body, headers_dict).
2026/working/polling/scripts/sync_sprint2.py:114
↓ 3 callers
Function
_request
(method: str, path: str, token: str, body: dict | None = None)
2026/working/polling/scripts/create_issues.py:72
↓ 3 callers
Function
collectProps
(node, kind, host)
2026/final/report/images/support.js:384
↓ 3 callers
Function
isRenderableType
(g)
2026/final/report/images/support.js:1036
↓ 3 callers
Function
kebabToCamel
(s)
2026/final/report/images/support.js:357
↓ 3 callers
Function
parseDataProps
(raw)
2026/final/report/images/support.js:56
↓ 3 callers
Function
resolveDottedPath
(root, name)
2026/final/report/images/support.js:1040
↓ 3 callers
Function
updateHtml
(name, html)
2026/final/report/images/support.js:1463
↓ 3 callers
Function
updateJs
(name, src)
2026/final/report/images/support.js:1477
↓ 2 callers
Method
__makeLogic
Instantiate the logic class (or the no-op base) and adopt `prevState` * over its initial state — used both at mount and on hot-swap.
2026/final/report/images/support.js:839
↓ 2 callers
Function
_diff_track
Diff one track. Keys by entry ID (stable) so file renames register as a 'changed' rather than add+remove. Returns (new, changed, removed).
2026/working/polling/scripts/sync_sprint2.py:304
↓ 2 callers
Function
_raw_fetch
Fetch a raw URL (e.g. raw.githubusercontent.com). Returns text body.
2026/working/polling/scripts/sync_sprint2.py:139
↓ 2 callers
Function
applyCanvasBg
()
2026/final/report/images/support.js:1253
↓ 2 callers
Method
componentDidMount
()
2026/final/report/images/support.js:730
↓ 2 callers
Method
componentWillUnmount
()
2026/final/report/images/support.js:734
↓ 2 callers
Function
cssToObj
(css)
2026/final/report/images/support.js:360
↓ 2 callers
Function
ensureFetched
(name)
2026/final/report/images/support.js:1422
↓ 2 callers
Function
evalName
(g, vals)
2026/final/report/images/support.js:619
↓ 2 callers
Function
fetch_markdown
Fetch the raw text of a markdown file from the repo.
2026/working/polling/scripts/sync_sprint2.py:161
↓ 2 callers
Function
force_patch
(entry: dict, renderer: Callable[[dict, str], tuple[str, str]])
2026/working/polling/scripts/sync_sprint2.py:544
↓ 2 callers
Function
hostPositionStyle
(style)
2026/final/report/images/support.js:426
↓ 2 callers
Function
isCustomElementName
(n)
2026/final/report/images/support.js:1035
↓ 2 callers
Function
list_directory
List files in a repo directory via the GitHub Contents API.
2026/working/polling/scripts/sync_sprint2.py:151
↓ 2 callers
Function
liveOne
(n)
2026/final/report/images/support.js:1570
↓ 2 callers
Function
loadScript
(src, integrity)
2026/final/report/images/support.js:1603
↓ 2 callers
Function
notifyHost
()
2026/final/report/images/support.js:1630
↓ 2 callers
Function
parseDcText
(src)
2026/final/report/images/support.js:38
↓ 2 callers
Function
parse_first_heading
Extract the first markdown heading at any level (#, ##, ### etc). Returns empty string if no heading found.
2026/working/polling/scripts/sync_sprint2.py:188
↓ 2 callers
Function
patch_issue
PATCH an existing issue's title and body. Returns True on success.
2026/working/polling/scripts/sync_sprint2.py:384
↓ 2 callers
Function
postDesignMode
(mode)
2026/final/report/images/support.js:1258
↓ 2 callers
Function
post_issue
(title: str, body: str, labels: list[str], token: str, dry_run: bool)
2026/working/polling/scripts/create_issues.py:242
↓ 2 callers
Method
render
()
2026/final/report/images/support.js:928
↓ 2 callers
Method
setState
(update, cb)
2026/final/report/images/support.js:724
↓ 2 callers
Function
setStreaming
(name, kind, on)
2026/final/report/images/support.js:1501
↓ 2 callers
Function
show_added
(label, lst)
2026/working/polling/scripts/sync_sprint2.py:411
↓ 2 callers
Function
show_changed
(label, lst)
2026/working/polling/scripts/sync_sprint2.py:417
↓ 2 callers
Function
show_removed
(label, lst)
2026/working/polling/scripts/sync_sprint2.py:428
↓ 2 callers
Function
waitForGlobal
(name)
2026/final/report/images/support.js:1157
↓ 2 callers
Function
warnUnresolved
(ctx, what)
2026/final/report/images/support.js:468
↓ 1 callers
Function
__defNormalProp
(obj, key, value)
2026/final/report/images/support.js:5
↓ 1 callers
Method
__reconcileLogic
Swap the logic instance when the registry's Logic class changed * (streaming completion, hot reload). State carries over; didMount * r
2026/final/report/images/support.js:875
↓ 1 callers
Method
__setLogicState
(update, cb)
2026/final/report/images/support.js:866
↓ 1 callers
Function
_parse_only_ids
Parse the --only-ids CSV into a set. Empty or None -> empty set (no filter).
2026/working/polling/scripts/create_issues.py:261
↓ 1 callers
Function
assign_candidate_id
Use the existing ID if known, otherwise auto-generate with collision resolution.
2026/working/polling/scripts/sync_sprint2.py:234
↓ 1 callers
Function
boot
(runtime, doc = document)
2026/final/report/images/support.js:150
↓ 1 callers
Function
build_updated_config
Build a new config dict with updated track_b and track_a, plus any new labels.
2026/working/polling/scripts/sync_sprint2.py:451
↓ 1 callers
Function
bump
(name)
2026/final/report/images/support.js:1386
↓ 1 callers
Function
compileTemplate
(html, host)
2026/final/report/images/support.js:436
↓ 1 callers
Method
componentDidUpdate
(_prevProps)
2026/final/report/images/support.js:732
↓ 1 callers
Function
contentKey
(el)
2026/final/report/images/support.js:672
↓ 1 callers
Function
createComponentFactory
(registry, ensureFetched)
2026/final/report/images/support.js:787
↓ 1 callers
Function
createExternalModules
(onResolved)
2026/final/report/images/support.js:1052
↓ 1 callers
Function
createHelmetManager
(doc, isStreaming)
2026/final/report/images/support.js:1240
↓ 1 callers
Function
createPseudoSheet
(doc)
2026/final/report/images/support.js:1351
↓ 1 callers
Function
createRegistry
()
2026/final/report/images/support.js:1372
↓ 1 callers
Function
createRuntime
(doc = document)
2026/final/report/images/support.js:1403
↓ 1 callers
Function
createStreamTracker
(staleMs = 6e4, now = Date.now)
2026/final/report/images/support.js:1568
↓ 1 callers
Function
dcNameFromPath
(pathname)
2026/final/report/images/support.js:75
↓ 1 callers
Function
encodeCase
(html)
2026/final/report/images/support.js:338
↓ 1 callers
Function
ensureBabel
()
2026/final/report/images/support.js:1057
↓ 1 callers
Function
ensure_labels
(labels: list[dict], token: str, dry_run: bool)
2026/working/polling/scripts/create_issues.py:94
↓ 1 callers
Function
evalDcLogic
(src)
2026/final/report/images/support.js:741
↓ 1 callers
Function
fetch_issues_with_label
Page through issues with given label (open + closed).
2026/working/polling/scripts/sync_sprint2.py:338
↓ 1 callers
Function
fetch_remote_registry
Fetch issues.json from the remote repo. Returns None if missing or invalid (e.g., first run before registry was committed).
2026/working/polling/scripts/sync_sprint2.py:167
↓ 1 callers
Function
filename_to_humanized
Fallback title from a candidate slug: kebab-case to Title Case.
2026/working/polling/scripts/sync_sprint2.py:217
↓ 1 callers
Function
findTopLevelEquality
(expr)
2026/final/report/images/support.js:246
↓ 1 callers
Method
forceUpdate
()
2026/final/report/images/support.js:727
↓ 1 callers
Function
get
(name)
2026/final/report/images/support.js:1374
↓ 1 callers
Function
getReactDOM
()
2026/final/report/images/support.js:14
↓ 1 callers
Function
hideRawTemplate
()
2026/final/report/images/support.js:1598
↓ 1 callers
Function
hintToMin
(hint)
2026/final/report/images/support.js:782
↓ 1 callers
Function
humanize_existing_title
Extract the human title from an existing-entry heading. Handles formats: 'LLM01:2026 Prompt Injection' -> 'Prompt Injection' 'LLM01:
2026/working/polling/scripts/sync_sprint2.py:198
↓ 1 callers
Function
isElementClass
(g)
2026/final/report/images/support.js:1222
↓ 1 callers
Function
issues_by_entry_id
Map entry ID -> issue dict. If multiple issues share the same entry label, the first one wins (lowest ID, since GitHub returns newest first by
2026/working/polling/scripts/sync_sprint2.py:370
↓ 1 callers
Function
kindOf
(u)
2026/final/report/images/support.js:605
↓ 1 callers
Function
loadReactUmd
()
2026/final/report/images/support.js:1616
↓ 1 callers
Function
load_candidates_from_remote
Read Track A candidates from remote 2026/working/new_entry_candidates/. Returns (entries, warnings).
2026/working/polling/scripts/sync_sprint2.py:270
↓ 1 callers
Function
load_existing_from_remote
Read existing entries (LLM01..LLM10) from remote 2026/working/. Excludes LLM00_Preface.md and any non-LLMXX files.
2026/working/polling/scripts/sync_sprint2.py:249
↓ 1 callers
Function
main
()
2026/working/polling/scripts/sync_sprint2.py:597
↓ 1 callers
Function
main
()
2026/working/polling/scripts/create_issues.py:268
↓ 1 callers
Function
parensWrapWhole
(expr)
2026/final/report/images/support.js:235
↓ 1 callers
Function
parseDcDocument
(doc)
2026/final/report/images/support.js:24
↓ 1 callers
Function
print_diff
Print the diff. Returns True if there are changes to apply.
2026/working/polling/scripts/sync_sprint2.py:396
↓ 1 callers
Function
reconcile
Compute the diff between remote-derived state and the current registry.
2026/working/polling/scripts/sync_sprint2.py:325
↓ 1 callers
Method
renderVals
The flat object the template renders against (merged over props).
2026/final/report/images/support.js:737
↓ 1 callers
Function
render_track_a
(entry: dict, form_url: str)
2026/working/polling/scripts/create_issues.py:231
↓ 1 callers
Function
render_track_b
(entry: dict, form_url: str)
2026/working/polling/scripts/create_issues.py:219
↓ 1 callers
Function
resolve2
(url, name)
2026/final/report/images/support.js:1131
↓ 1 callers
Function
resolvePath
(vals, expr)
2026/final/report/images/support.js:261
↓ 1 callers
Function
rootNameForDocument
(doc, loc)
2026/final/report/images/support.js:133
↓ 1 callers
Function
safeDecode
(s)
2026/final/report/images/support.js:143
↓ 1 callers
Function
shallowEqual
(a, b)
2026/final/report/images/support.js:753
↓ 1 callers
Function
slug_to_ta_id_base
Generate a base TA-XXXX ID from a candidate filename slug. First letter of up to 4 words. May collide; caller resolves.
2026/working/polling/scripts/sync_sprint2.py:224
↓ 1 callers
Function
sync_github_issues
Two-phase sync against GitHub issues: 1. UPDATE existing issues for entries that changed (rename, title edit) 2. CREATE issues for entri
2026/working/polling/scripts/sync_sprint2.py:482
next →
1–100 of 134, ranked by callers