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
slugToTitle
Convert a filename slug to a display title
labs/vscode-ext/src/utils/labDiscovery.ts:6
↓ 1 callers
Function
slugify
(value: str)
book/tools/scripts/audit/math_chapter_workflow.py:67
↓ 1 callers
Function
slugify
Approximate Pandoc's `--id-prefix=section` slug for an ATX heading. Matches Pandoc's `auto_identifiers` extension well enough for our content:
shared/scripts/check-internal-links.py:152
↓ 1 callers
Function
small_highlight_menu
(shadowRoot)
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:26
↓ 1 callers
Function
snapshot
Stage release artifacts to ``releases_dir/.pending-<v>/``. Does NOT rename to final location — that's the caller's atomic step.
interviews/vault-cli/src/vault_cli/release.py:56
↓ 1 callers
Method
softmax
(x, dim=-1)
tinytorch/tests/integration/test_forward_passes.py:55
↓ 1 callers
Method
solve
Determine the datacenter region minimizing TCO plus carbon tax. Parameters ---------- fleet : Fleet The
mlsysim/mlsysim/engine/solvers/economics.py:349
↓ 1 callers
Method
solve
Solve for the fleet-scale performance bound (network roofline). Models one data-parallel training step as two independent ceilings —
mlsysim/mlsysim/engine/solvers/performance.py:92
↓ 1 callers
Method
solve
Estimate per-accelerator training memory. ``batch_size`` is the global batch. The activation term uses the local microbatch implied b
mlsysim/mlsysim/engine/solvers/training.py:152
↓ 1 callers
Function
sort_chains
Stable order: by tier (primary first), then chain_id.
interviews/vault-cli/scripts/merge_chain_passes.py:166
↓ 1 callers
Function
source_link
(packet: CaptionPacket, output: Path)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:85
↓ 1 callers
Function
source_path_for
(concept_path: Path, concept_map: dict[str, object])
book/tools/scripts/content/glossary_gap_review.py:137
↓ 1 callers
Function
sparkline
trend strokes. threat=True -> the accelerating series is RED (a danger/limit: the data wall, runaway cost); threat=False -> GREEN (positive progre
book/tools/figures/margin/devices.py:245
↓ 1 callers
Function
spawnBlock
()
site/assets/games/loader.mjs:89
↓ 1 callers
Function
spawnBlock
()
site/assets/games/oom.js:67
↓ 1 callers
Function
spawnBlock
()
site/assets/games/oom.mjs:199
↓ 1 callers
Function
spawnChunk
(fromIdx)
site/assets/games/allreduce.mjs:81
↓ 1 callers
Function
spawnPulse
()
site/assets/games/prune.mjs:311
↓ 1 callers
Function
spawnPulse
()
site/assets/games/prune.js:134
↓ 1 callers
Function
spawnToken
()
site/assets/games/moe.mjs:57
↓ 1 callers
Function
spawnWall
()
site/assets/games/roofline.mjs:56
↓ 1 callers
Method
split
(text)
socratiq/src_shadow/js/libs/vector_db/vectordb/splitters/text_splitter.js:76
↓ 1 callers
Function
splitInHalf
(chapters: string[])
book/vscode-ext/src/utils/parallelDebug.ts:635
↓ 1 callers
Method
splitTextIntoChunks
* Split large text into chunks that fit within token limit * @param {string} text - Text to split * @param {number} maxTokensPerChunk - Maximum
socratiq/src_shadow/js/libs/utils/tokenCounter.js:66
↓ 1 callers
Function
split_cell_block
Split cell into header+first class, then one block per additional class.
book/tools/audit/split_multi_class_cells.py:40
↓ 1 callers
Function
split_sentences
(text: str)
book/tools/audit/float_explanation/scan_floats.py:106
↓ 1 callers
Function
split_target
Split a link target into (path, anchor).
shared/scripts/check-internal-links.py:258
↓ 1 callers
Function
src_of
(node)
book/tools/audit/fmt/audit_fmt_usage.py:183
↓ 1 callers
Function
stage_commit
Create a git commit for the changed files.
book/tools/audit/loop.py:210
↓ 1 callers
Function
stage_fix
Run the FIX stage (script lane only in Phase A). Returns (applied_count, list_of_changed_files).
book/tools/audit/loop.py:109
↓ 1 callers
Function
stage_plan
Run the PLAN stage. Group open issues by lane. Returns a dict: { 'script': [...open auto-fixable issues...], 'subagent'
book/tools/audit/loop.py:67
↓ 1 callers
Function
stage_scan
Run the SCAN stage.
book/tools/audit/loop.py:58
↓ 1 callers
Function
stage_verify
Run the VERIFY stage. Returns True if all checks pass.
book/tools/audit/loop.py:147
↓ 1 callers
Function
staged_changes
()
interviews/vault-cli/scripts/pre_commit_corpus_guard.py:26
↓ 1 callers
Function
staged_files
(root: Path)
shared/scripts/check-internal-links.py:400
↓ 1 callers
Method
start
()
book/vscode-ext/src/providers/qmdChunkHighlighter.ts:53
↓ 1 callers
Method
startContentCollection
* Start content collection process (AI disabled - content collection only)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11280
↓ 1 callers
Method
startContentCollection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
startCountUpAnimations
* Start count-up animations for all numeric stats * @param {HTMLElement} container - The stats content container * @param {Object} userStats - U
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5555
↓ 1 callers
Method
startCountUpAnimations
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
startCustom
(path: CustomPath)
interviews/staffml/src/app/plans/page.tsx:54
↓ 1 callers
Function
startDrawSelect
(capturedCallback)
socratiq/src_shadow/js/components/draw-select/drawSelect.js:14
↓ 1 callers
Function
startFocusMaintenanceInterval
* Start focus maintenance interval
socratiq/src_shadow/js/libs/utils/focusMaintenance.js:147
↓ 1 callers
Function
startFocusProtectionInterval
* Start aggressive focus protection interval
socratiq/src_shadow/js/libs/utils/aggressiveFocusProtection.js:158
↓ 1 callers
Method
startGame
* Start the Kapoot game
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3754
↓ 1 callers
Method
startGame
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
startGameWithCountdown
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4487
↓ 1 callers
Method
startGameWithCountdown
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
startImmediateContentCollection
* Start immediate content collection for Kapoot game * @returns {Promise<Object>} Processed content data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11324
↓ 1 callers
Method
startImmediateContentCollection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
startPeriodicCollection
* Start periodic content collection
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11485
↓ 1 callers
Method
startPeriodicCollection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
startPlan
(plan: StudyPlan)
interviews/staffml/src/app/plans/page.tsx:41
↓ 1 callers
Method
startRoomNameAnimation
* Animate room name with random symbol cycling * @param {HTMLElement} container - The stats content container * @param {string} roomName - The a
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5583
↓ 1 callers
Method
startRoomNameAnimation
(e,o)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
startStream
(markdownPreviewId = '')
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:1424
↓ 1 callers
Method
startUnifiedTimer
* Start unified global timer (30 seconds for all teams)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3791
↓ 1 callers
Method
startUnifiedTimer
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
start_module
Start working on a module with prerequisite checking and visual feedback. Args: module_number: The module to start (e.g.,
tinytorch/tito/commands/module/workflow.py:246
↓ 1 callers
Function
start_server
(lab: Path, port: int)
labs/tools/render_lab_smoke.py:87
↓ 1 callers
Function
start_server
(lab: Path, port: int)
labs/tools/interaction_lab_smoke.py:300
↓ 1 callers
Function
start_server
(root: Path, port: int)
labs/tests/browser_smoke.py:72
↓ 1 callers
Function
start_server
Start a static file server in a daemon thread.
interviews/staffml/scripts/e2e-smoke.py:93
↓ 1 callers
Function
status_for
(caption: str, score: float, review_threshold: float)
book/tools/scripts/margin_figures/audit_margin_caption_alignment.py:184
↓ 1 callers
Function
step_1_profile
Step 1: Profile the baseline model with YOUR Profiler. What we measure: ──────────────── Parameters: Total trainable weights
tinytorch/milestones/06_2018_mlperf/01_optimization_olympics.py:200
↓ 1 callers
Function
step_2_quantize
Step 2: Quantize the model with YOUR Quantizer. Quantization reduces precision: ────────────────────────────── FP32 (32-bit) → I
tinytorch/milestones/06_2018_mlperf/01_optimization_olympics.py:274
↓ 1 callers
Function
step_3_prune
Step 3: Prune the model with YOUR Compressor. Magnitude pruning removes small weights: ────────────────────────────────────────
tinytorch/milestones/06_2018_mlperf/01_optimization_olympics.py:333
↓ 1 callers
Function
step_4_kv_cache
Step 4: Demonstrate KV Cache with YOUR Module 18. KV Caching avoids recomputation in autoregressive generation: ────────────────────────
tinytorch/milestones/06_2018_mlperf/01_optimization_olympics.py:408
↓ 1 callers
Function
step_5_accelerate
Step 5: Demonstrate acceleration with YOUR Module 17. Vectorized operations use optimized BLAS libraries: ──────────────────────────────
tinytorch/milestones/06_2018_mlperf/01_optimization_olympics.py:475
↓ 1 callers
Function
step_6_benchmark
Step 6: Benchmark with YOUR Modules 14 & 19. Scientific benchmarking requires: ───────────────────────────────── Multiple runs:
tinytorch/milestones/06_2018_mlperf/01_optimization_olympics.py:539
↓ 1 callers
Function
stopDrawSelect
()
socratiq/src_shadow/js/components/draw-select/drawSelect.js:20
↓ 1 callers
Function
stopFocusMaintenanceInterval
* Stop focus maintenance interval
socratiq/src_shadow/js/libs/utils/focusMaintenance.js:173
↓ 1 callers
Function
stopFocusProtectionInterval
* Stop focus protection interval
socratiq/src_shadow/js/libs/utils/aggressiveFocusProtection.js:186
↓ 1 callers
Method
stopPeriodicCollection
* Stop periodic content collection and clean up resources
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11493
↓ 1 callers
Method
stopPeriodicCollection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
stopYouTubeVideo
(modal)
socratiq/src_shadow/js/components/help_modal/showHelpModal.js:120
↓ 1 callers
Function
stop_server
(process: subprocess.Popen[str])
labs/tools/render_lab_smoke.py:108
↓ 1 callers
Function
stop_server
(process: subprocess.Popen[str])
labs/tools/interaction_lab_smoke.py:310
↓ 1 callers
Function
storeLastFailure
(state: LastFailureState)
book/vscode-ext/src/utils/terminal.ts:116
↓ 1 callers
Function
stripHtml
(s)
design-grammar/scripts/migrate-html-to-yaml.mjs:212
↓ 1 callers
Function
strip_fences
Trim leading/trailing whitespace and strip ```...``` or ```json``` fences. The gemini CLI sometimes wraps JSON in fences despite "no fences"
interviews/vault-cli/scripts/_judges.py:106
↓ 1 callers
Function
strip_html_comments
Erase HTML comment bodies while preserving line/column offsets. Each non-newline character inside a `<!-- ... -->` block becomes a space; new
shared/scripts/check-internal-links.py:243
↓ 1 callers
Function
strip_html_for_text_scan
Remove <pre>/<code>/math containers before scanning for leaked tokens.
book/tools/scripts/testing/struct_qa_html.py:54
↓ 1 callers
Function
strip_inline_protected
(line: str)
book/tools/scripts/build_citation_reference_packets.py:182
↓ 1 callers
Function
strongconnect
(v)
interviews/vault/vault.py:1449
↓ 1 callers
Method
structured_prune
Prune entire neurons/channels. Delegates to standalone function.
tinytorch/src/16_compression/16_compression.py:1618
↓ 1 callers
Function
styleSnapshot
(el)
interviews/staffml/tests/navbar-containment-diff.mjs:52
↓ 1 callers
Function
subentry_summary_report
Phase C — main entries with ≥3 subentries, with grammatical signal.
book/tools/audit/index/audit.py:348
↓ 1 callers
Function
submit
()
interviews/staffml/src/components/AskInterviewer.tsx:176
↓ 1 callers
Function
submitScore
(questionId, isPositive, chapterId, sectionId, difficulty)
socratiq/src_shadow/js/components/quiz/create_quiz_button_grp.js:408
↓ 1 callers
Function
substitute_cell
(cell: str, mapping: dict[str, str])
book/tools/audit/migrate_constants_to_registry.py:156
↓ 1 callers
Function
suggested_level
(zone: str)
interviews/vault/scripts/portfolio_balance_loop.py:78
↓ 1 callers
Function
suggested_zone
(level: str)
interviews/vault/scripts/portfolio_balance_loop.py:67
↓ 1 callers
Function
suggestion_agent
(prompt, links = "")
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:235
↓ 1 callers
Function
summarize
( anchors: dict[str, list[Anchor]], references: list[Reference], cues: list[Cue], file_stats:
scripts/cross-references/audit_crossrefs.py:441
↓ 1 callers
Function
summarize_pair
(left: dict[str, Any], right: dict[str, Any])
interviews/vault/scripts/compare_semantic_passes.py:29
↓ 1 callers
Method
summary
Print test summary.
tinytorch/tests/integration/test_forward_passes.py:93
↓ 1 callers
Method
summary
Print test summary.
tinytorch/tests/integration/test_training_capabilities.py:62
↓ 1 callers
Function
survey
Return (chain_id -> [(qid, position, yaml_path, status, level)], published_chain_ids). Includes level so renumbering can restore Bl
interviews/vault/scripts/repair_chains.py:41
↓ 1 callers
Function
survey
Return malformed_value -> list of files using it.
interviews/vault/scripts/fix_competency_areas.py:143
← previous
next →
7,801–7,900 of 13,553, ranked by callers