Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/harvard-edge/cs249r_book
/ functions
Functions
13,553 in github.com/harvard-edge/cs249r_book
⨍
Functions
13,553
◇
Types & classes
1,810
↳
Endpoints
20
↓ 1 callers
Function
handleQuestions
(env: Env, req: Request, url: URL)
interviews/staffml-vault-worker/src/index.ts:290
↓ 1 callers
Function
handleQuizAction
( text, title, ele = "", tempDifficultyLevel = "", context = null )
socratiq/src_shadow/js/index.js:1959
↓ 1 callers
Method
handleQuizAnswer
* Handle quiz answer from other users (legacy method for compatibility) * @param {Object} answerData - The answer data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5280
↓ 1 callers
Method
handleQuizAnswer
* Handle quiz answer selection * @param {HTMLElement} choiceButton - Selected choice button * @param {Function} onAnswer - Callback for answer s
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11120
↓ 1 callers
Method
handleQuizAnswer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleQuizAnswer
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleQuizError
* Handle quiz generation error
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4052
↓ 1 callers
Method
handleQuizError
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleQuizLockFromPeer
* Handle quiz lock from other users * @param {Object} lockData - The lock data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5390
↓ 1 callers
Method
handleQuizLockFromPeer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleQuizSubmission
* Handle quiz submission * @param {string} quizId - The quiz ID * @param {HTMLElement} quizComponent - The quiz component element
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5118
↓ 1 callers
Method
handleQuizSubmission
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleQuizSubmissionFromPeer
* Handle quiz submission from other users * @param {Object} submissionData - The submission data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5223
↓ 1 callers
Method
handleQuizSubmissionFromPeer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleRadialNodeClick
(event, d)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2108
↓ 1 callers
Function
handleReinitializedExplanation
(form)
socratiq/src_shadow/js/components/quiz/load_quiz.js:421
↓ 1 callers
Function
handleReinitializedQuizSubmit
(event, form, quizTitle)
socratiq/src_shadow/js/components/quiz/load_quiz.js:322
↓ 1 callers
Function
handleResearchAction
( sumOfPage, links = ["https://harvard-edge.github.io/cs249r_book/"], understanding = 3, power_up = 3
socratiq/src_shadow/js/index.js:1041
↓ 1 callers
Function
handleScore
(score: number)
interviews/staffml/src/app/plans/page.tsx:104
↓ 1 callers
Function
handleScrollToElement
()
socratiq/src_shadow/js/index.js:673
↓ 1 callers
Function
handleSearch
(highlightButton, buttonContainer, aiMessage, originalHTML, shadowEle)
socratiq/src_shadow/js/components/settings/copy_download.js:237
↓ 1 callers
Function
handleSearch
(searchButton, btnGroup, promptElement, originalHTML)
socratiq/src_shadow/js/components/quiz/create_quiz_button_grp.js:233
↓ 1 callers
Function
handleSearch
(env: Env, req: Request, url: URL)
interviews/staffml-vault-worker/src/index.ts:347
↓ 1 callers
Method
handleShare
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/interaction-button-handler.js:384
↓ 1 callers
Method
handleSignalingMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:192
↓ 1 callers
Method
handleSignalingMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
handleSummary
(env, corsHeaders)
interviews/staffml/analytics-worker/worker.js:165
↓ 1 callers
Function
handleSummativeAction
( text, title, ele = "", tempDifficultyLevel = "", contentWithSources = null, retryCount = 0 )
socratiq/src_shadow/js/index.js:1560
↓ 1 callers
Method
handleTabKey
(e)
socratiq/src_shadow/js/components/spaced_repetition/handlers/deck-creation-handler.js:262
↓ 1 callers
Function
handleTaxonomy
(env: Env, req: Request)
interviews/staffml-vault-worker/src/index.ts:466
↓ 1 callers
Method
handleTeamAnswer
* Handle team answer - stop current timer and move to next team * @param {string} teamName - Name of the team that answered
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3832
↓ 1 callers
Method
handleTeamAnswer
* Handle team answer selection * @param {Object} quiz - Quiz object * @param {string} selectedChoice - Selected answer choice
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:12140
↓ 1 callers
Method
handleTeamAnswer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleTeamAnswer
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleTeamResponse
* Handle team response to quiz * @param {Object} responseData - Response data from UI
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3899
↓ 1 callers
Method
handleTeamResponse
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleTimerExpiry
* Handle timer expiry * @param {Object} quiz - Quiz object
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:12223
↓ 1 callers
Method
handleTimerExpiry
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
handleUnifiedTimerExpiry
* Handle unified timer expiry
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3810
↓ 1 callers
Method
handleUnifiedTimerExpiry
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
handleWaitlist
( request: Request, env: Env, origin: string | null, )
interviews/staffml/worker/src/index.ts:738
↓ 1 callers
Function
hardware_leaf
(fingerprint: dict)
mlperf-edu/src/mlperf/manifest.py:140
↓ 1 callers
Method
hasChildHeadings
(heading, allHeadings)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:487
↓ 1 callers
Function
has_abbreviated_page_range
Return true for compressed ranges like 175--85, not full ranges like 50--55.
book/tools/scripts/bib_mitpress_openai.py:161
↓ 1 callers
Method
has_control_characters
Check if file contains control characters.
book/quarto/scripts/clean_svgs.py:94
↓ 1 callers
Function
has_math_container
(html: str)
book/tools/scripts/testing/struct_qa_html.py:104
↓ 1 callers
Function
has_mult_token
Return True when the canonical ``mult`` token appears before ``_str``.
book/tools/audit/fmt/codemod_design_b_multipliers.py:25
↓ 1 callers
Function
has_napkin_math
(body: dict)
interviews/vault-cli/scripts/audit_math.py:126
↓ 1 callers
Function
has_top_level_provenance
True iff any line starts with ``provenance:`` at column 0.
interviews/vault-cli/scripts/backfill_provenance.py:47
↓ 1 callers
Function
hashContent
(content: string)
interviews/staffml/src/components/AnnouncementBar.tsx:34
↓ 1 callers
Function
hashIp
SHA-256(ip + daily_salt) truncated to 16 hex chars. Enough entropy to * dedupe within a day, not enough to fingerprint across days. We don't * wan
interviews/staffml/worker/src/index.ts:717
↓ 1 callers
Function
hashString
(s: string)
interviews/staffml/src/lib/daily.ts:3
↓ 1 callers
Function
hashString
(s)
site/assets/games/prune.js:21
↓ 1 callers
Function
hashString
(s)
site/assets/games/oom.js:22
↓ 1 callers
Function
hashString
(s)
site/assets/games/runtime.mjs:25
↓ 1 callers
Function
hashString
(s)
site/assets/games/quantization.js:46
↓ 1 callers
Method
hashString
* Generate a simple hash for consistent quiz IDs * @param {string} str - String to hash * @returns {string} Hash string
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:12432
↓ 1 callers
Method
hashString
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
hash_file
(path: Path, algo: str = "sha1")
shared/scripts/find-duplicates.py:129
↓ 1 callers
Method
hide
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:1244
↓ 1 callers
Method
hide
* Hide the modal
socratiq/src_shadow/js/components/spaced_repetition/components/CardReviewModalBridge.js:45
↓ 1 callers
Method
hideWidgetTemporarily
* Temporarily hide the widget without disconnecting from the room * Use this when you want to hide the UI but keep connections active
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7961
↓ 1 callers
Method
hideWidgetTemporarily
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
highlight
(shadowRoot)
socratiq/src_shadow/js/components/highlight/highlight.js:32
↓ 1 callers
Function
highlightCode
(code, language)
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:105
↓ 1 callers
Function
highlight_click
(shadowRoot)
socratiq/src_shadow/js/components/highlight_menu/send_text_highlight.js:390
↓ 1 callers
Function
host_of
(url: str)
interviews/vault/scripts/audit_resources_migration.py:40
↓ 1 callers
Function
human_reviewed_scaffold
Seed the human_reviewed block. All current questions are LLM-only; a human review workflow populates this going forward.
interviews/vault/scripts/migrate_to_v1_0.py:178
↓ 1 callers
Method
hydrate_canonical
Takes a downloaded canonical weight file, hashes it, and wraps it in our cryptographic pedagogical .provd schema. Bridges the offlin
mlperf-edu/src/mlperf/provenance.py:75
↓ 1 callers
Function
iconForStatus
(status: HookStatus)
book/vscode-ext/src/providers/precommitTreeProvider.ts:9
↓ 1 callers
Function
identify_gaps
Identify concept×level cells below the target threshold. Returns a list of generation jobs sorted by priority (emptiest first).
interviews/vault/scripts/generate.py:170
↓ 1 callers
Function
image_data_uri
(path: Path)
book/tools/scripts/margin_figures/render_margin_reader_alignment_html.py:59
↓ 1 callers
Method
importFromJSON
(jsonData)
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:1282
↓ 1 callers
Function
importProgress
(json: string)
interviews/staffml/src/lib/progress.ts:450
↓ 1 callers
Method
improve_captions_with_llm
Improve captions using LLM and immediately update each file after processing.
book/tools/scripts/content/manage_captions.py:2950
↓ 1 callers
Method
improve_sentence_starters
Replace weak sentence starters and mid-sentence weak patterns with stronger, more direct language.
book/tools/scripts/content/manage_captions.py:518
↓ 1 callers
Function
inGlobalPad
(x)
site/assets/games/lander.mjs:158
↓ 1 callers
Function
inLocalPad
(x)
site/assets/games/lander.mjs:159
↓ 1 callers
Function
in_code_fence
(lines: list[str], idx0: int)
book/tools/audit/float_explanation/scan_floats.py:117
↓ 1 callers
Function
include_unit
(unit: BuildUnit, args: argparse.Namespace)
book/tools/scripts/audit/math_chapter_workflow.py:148
↓ 1 callers
Function
incrementQuizCounter
()
socratiq/src_shadow/js/components/quiz/quiz-storage.js:32
↓ 1 callers
Method
incrementUserAction
* Increment user action (for tracking)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7906
↓ 1 callers
Method
incrementUserAction
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
inferTaskPrompt
* Zone- and Bloom-aware fallback prompt for questions that have no * explicit `question` field yet AND no `?` in their scenario. Used by * the pract
interviews/staffml/src/app/practice/page.tsx:59
↓ 1 callers
Function
infer_replacement
(name: str, mapping: dict[str, str])
book/tools/audit/generate_registry_migration_manifest.py:248
↓ 1 callers
Function
infer_suffix
(attr: str)
book/tools/audit/migrate_training_fmt_suffixes.py:129
↓ 1 callers
Function
inference_moe_memory_ladder
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1439
↓ 1 callers
Function
inference_quantization_capacity_ladder
()
book/tools/scripts/margin_figures/generate_margin_figures.py:503
↓ 1 callers
Method
init
* Initialize the persistent tooltip system
socratiq/src_shadow/js/components/tooltip/persistentTooltip.js:20
↓ 1 callers
Method
init
()
socratiq/src_shadow/js/components/settings/settings.js:38
↓ 1 callers
Method
init
()
socratiq/src_shadow/js/libs/utils/observers/message_observer.js:11
↓ 1 callers
Function
initCandle
(canvasId)
tinytorch/quarto/community/modules/candle.js:4
↓ 1 callers
Function
initKnowledgeGraph
(shadowRoot)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:3138
↓ 1 callers
Function
initModal
()
labs/assets/scripts/subscribe-modal.js:487
↓ 1 callers
Function
initModal
()
book/quarto/assets/scripts/subscribe-modal.js:487
↓ 1 callers
Function
initModal
()
tinytorch/quarto/assets/scripts/subscribe-modal.js:164
↓ 1 callers
Function
initModal
()
kits/assets/scripts/subscribe-modal.js:487
↓ 1 callers
Function
initModal
()
shared/scripts/subscribe-modal.js:487
↓ 1 callers
Function
initModal
()
site/assets/scripts/subscribe-modal.js:487
↓ 1 callers
Function
initModal
()
mlsysim/docs/scripts/subscribe-modal.js:487
← previous
next →
6,201–6,300 of 13,553, ranked by callers