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
↓ 3 callers
Function
_unmount
()
socratiq/src_shadow/js/components/draw-select/drawSelect.js:61
↓ 3 callers
Function
_unwrap_response
(stdout: str)
book/tools/scripts/audit/svg_audit.py:254
↓ 3 callers
Function
_validate_required_exports
Return missing or silently failed exports for the required modules.
tinytorch/tito/commands/milestone.py:228
↓ 3 callers
Function
_walk
(root: Path)
book/tools/audit/scan.py:112
↓ 3 callers
Function
_water_unit_label
(display_unit)
mlsysim/mlsysim/fmt.py:2974
↓ 3 callers
Function
_write_chains_json
v1.1 sidecar: chains.json is the authoritative chain registry, not the YAML's `chains:` field. Tests that exercise chain emission must write t
interviews/vault-cli/tests/test_legacy_export.py:74
↓ 3 callers
Function
_write_epub_manifest
(tmp_path, properties, nav_body)
book/tests/test_epub_postprocess.py:11
↓ 3 callers
Function
_write_log
(tmp_path, text)
book/tests/test_pdf_layout_checks.py:33
↓ 3 callers
Function
_x_overlap
(a: MarginGeometryElement, b: MarginGeometryElement)
book/cli/checks/margin_geometry.py:131
↓ 3 callers
Function
a
(e,t)
book/quarto/_extensions/mlsysbook-ext/pseudocode/pseudocode.min.js:1
↓ 3 callers
Function
action_box
Render a real UI control inside a reusable student action panel.
labs/mlsysbook_labs/ui.py:872
↓ 3 callers
Function
addFloat
(x, y, t, c)
site/assets/games/quantization.js:174
↓ 3 callers
Function
addToCopyContainer
(text, shadowRoot)
socratiq/src_shadow/js/components/highlight_menu/send_text_highlight.js:195
↓ 3 callers
Method
analyze_sources
Analyze source citations in QMD files
book/tools/scripts/utilities/manage_sources.py:218
↓ 3 callers
Function
appendChunk
(chunk: string)
book/vscode-ext/src/utils/terminal.ts:218
↓ 3 callers
Method
apply
Compute gradients for multiplication. Args: grad_output: Gradient flowing backward from output Returns:
tinytorch/src/06_autograd/06_autograd.py:650
↓ 3 callers
Method
apply_sentence_case
Apply proper sentence case using comprehensive rules for technical content. Rules: - Capitalize first word - Preserv
book/tools/scripts/content/manage_captions.py:377
↓ 3 callers
Function
architecture_memo
Package the final capstone memo decision in a typed result object.
labs/mlsysbook_labs/capstone.py:278
↓ 3 callers
Function
assert
(condition, message)
book/vscode-ext/scripts/verify-highlight-palette.js:4
↓ 3 callers
Function
attachConsole
(page, label)
interviews/staffml/tests/stargate-test.mjs:34
↓ 3 callers
Function
audit_chain_sample
( chains: list[dict], corpus: dict[str, dict], *, label: str, outname: str, outdir: Pa
interviews/vault-cli/scripts/audit_chains_with_gemini.py:275
↓ 3 callers
Function
audit_file
Return dead-code / structure violations for one QMD file.
book/cli/checks/lego_dead_code.py:64
↓ 3 callers
Function
audit_registries
(*, scope_cloud: bool = False)
mlsysim/mlsysim/tools/audit_provenance.py:109
↓ 3 callers
Function
b
(e,t,i,n)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 3 callers
Function
baseline_big_takeaways
Return default takeaways until a lab receives hand-authored synthesis text.
labs/mlsysbook_labs/migration.py:23
↓ 3 callers
Function
baseline_learning_objectives
Return conservative measurable objectives for a not-yet-deep-migrated lab.
labs/mlsysbook_labs/migration.py:14
↓ 3 callers
Function
bodyErrorResponse
Map a BodyError from parseJsonRequest() to a JSON response.
interviews/staffml/worker/src/index.ts:671
↓ 3 callers
Function
budget_envelope
finite budget, quota, capacity, or matched-rate envelope. • 'burn' → one or more bars on a shared denominator with a red limit
book/tools/figures/margin/devices.py:457
↓ 3 callers
Method
buildHierarchicalTreeData
(showAllPages = false, forListView = false)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:133
↓ 3 callers
Method
build_chapters
Build specific chapters. Args: chapter_names: List of chapter names to build format_type: Format to build ('html', 'p
book/cli/commands/build.py:444
↓ 3 callers
Function
build_vocab
Build word-level vocabulary from SST-2 training data.
mlperf-edu/reference/cloud/micro_bert.py:52
↓ 3 callers
Function
burst
(x, y, color, n)
site/assets/games/prune.js:162
↓ 3 callers
Function
by_track
(records)
interviews/vault/scripts/analyze_coverage_gaps.py:110
↓ 3 callers
Function
calc_amdahls_speedup
Overall system speedup (Amdahl's Law). Calculates the theoretical maximum speedup of a system when only a fraction of the system is imp
mlsysim/mlsysim/physics/performance.py:50
↓ 3 callers
Function
calc_binomial_failure_probability
Probability of at least one failure given n independent trials. Parameters ---------- p : float Probability of failure in a singl
mlsysim/mlsysim/physics/reliability.py:117
↓ 3 callers
Function
calc_bisection_bandwidth
Bisection bandwidth for a single partition cut. Uses ``BW_bisect = num_ports * link_bw / oversubscription_ratio``. ``num_ports`` is the numb
mlsysim/mlsysim/physics/communication.py:160
↓ 3 callers
Function
calc_constraint_propagation_factor
Cost multiplier for finding a workflow constraint at a later lifecycle stage. Geometric cost-of-delay model: ``factor = base ** (stage_to - stage
mlsysim/mlsysim/physics/statistics.py:79
↓ 3 callers
Function
calc_double_binary_tree_allreduce_time
Double Binary Tree AllReduce approximation. The model keeps logarithmic startup cost while using near-bandwidth-optimal behavior (NCCL 2
mlsysim/mlsysim/physics/communication.py:225
↓ 3 callers
Function
calc_effective_flops
Effective FLOPS after MFU, scaling efficiency, and goodput overheads. Parameters ---------- peak_flops : Quantity Theoretica
mlsysim/mlsysim/physics/performance.py:204
↓ 3 callers
Function
calc_paged_kv_cache_size
Calculates KV cache size accounting for PagedAttention fragmentation. PagedAttention (Kwon et al., 2023) allocates KV cache in fixed-size bl
mlsysim/mlsysim/physics/memory.py:219
↓ 3 callers
Function
calc_ring_allreduce_latency_steps
Number of startup latency terms in ring AllReduce: 2(N-1).
mlsysim/mlsysim/physics/communication.py:93
↓ 3 callers
Function
calc_strong_scaling_speedup
Strong scaling speedup with communication fraction overhead. Parameters ---------- num_devices : int Number of participating
mlsysim/mlsysim/physics/performance.py:74
↓ 3 callers
Function
calc_transformer_decode_flops
Autoregressive decode FLOPs using the 2P rule. Forward pass ~ 2 FLOPs per parameter per token (Kaplan et al. 2020, Sec. 2.1). Deliberately EX
mlsysim/mlsysim/physics/transformer.py:18
↓ 3 callers
Function
calc_transformer_training_flops
Training FLOPs for a Transformer (6PD rule, Kaplan et al. 2020).
mlsysim/mlsysim/physics/transformer.py:11
↓ 3 callers
Function
calc_tree_allreduce_time
Calculates communication time for a Tree AllReduce collective. Tree AllReduce operates in O(log N) steps. It is often used in hierarchical
mlsysim/mlsysim/physics/communication.py:187
↓ 3 callers
Function
calculate_conv_output_size
Helper to calculate convolution output dimensions.
tinytorch/tests/regression/test_conv_linear_dimensions.py:50
↓ 3 callers
Method
callAIProxy
* Call AI proxy endpoint with retry mechanism * @param {Object} prompt - AI prompt * @returns {Promise<string>} AI response
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2667
↓ 3 callers
Method
callAIProxy
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
call_gemini_judge
Invoke the gemini CLI and parse the strict-JSON response. Default timeout is 600s. The 2026-05-03 canary run on the global track measured ave
interviews/vault-cli/scripts/_judges.py:120
↓ 3 callers
Function
canFit
(r, c, size)
site/assets/games/cluster.mjs:154
↓ 3 callers
Function
canonical_track_ids
Return canonical track IDs in display order.
labs/mlsysbook_labs/variants.py:4040
↓ 3 callers
Function
causal_chain
tiny causal/dependency chain; use only when the arrows are the concept.
book/tools/figures/margin/devices.py:543
↓ 3 callers
Function
chapter_label
(chapter: str)
book/tools/scripts/margin_figures/render_margin_reader_alignment_html.py:161
↓ 3 callers
Method
checkAndPruneDuplicates
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:949
↓ 3 callers
Function
check_file
(filepath, strict=False, verbose=False, fix=False, show_progress=True)
book/tools/scripts/images/manage_images.py:90
↓ 3 callers
Function
cleanScenario
(text: string)
interviews/staffml/src/lib/corpus.ts:384
↓ 3 callers
Function
clean_single_file
Clean all quiz content from a single QMD file. This function removes all quiz-related content from a QMD file, including quiz callouts,
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:6185
↓ 3 callers
Function
clearAnalytics
()
interviews/staffml/src/lib/analytics.ts:206
↓ 3 callers
Function
clearHover
()
site/assets/games/cluster.mjs:174
↓ 3 callers
Function
click_non_track_radios
(page, max_radios: int)
labs/tools/interaction_lab_smoke.py:1126
↓ 3 callers
Function
closeMeditationTimer
(shadowRoot)
socratiq/src_shadow/js/components/meditation/meditationTimer.js:40
↓ 3 callers
Method
closeModal
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-inner-search-modal.js:162
↓ 3 callers
Function
closeProfileModal
()
tinytorch/quarto/community/modules/profile.js:138
↓ 3 callers
Function
close_menu
(shadowEle)
socratiq/src_shadow/js/components/highlight_menu/components/menu_ui.js:41
↓ 3 callers
Function
cold_start_latency
Decompose model-serving cold start into data movement and runtime overhead.
labs/mlsysbook_labs/serving.py:387
↓ 3 callers
Function
collect
(review_threshold: float = 0.18)
book/tools/scripts/margin_figures/audit_margin_caption_alignment.py:194
↓ 3 callers
Function
collides
(block, testRow, testCol)
site/assets/games/oom.js:73
↓ 3 callers
Function
collides
(block, testRow, testCol)
site/assets/games/oom.mjs:280
↓ 3 callers
Function
compile_break_even
Calculate when compile/fusion cost pays back versus a baseline runtime.
labs/mlsysbook_labs/frameworks.py:298
↓ 3 callers
Function
compute
()
interviews/staffml/src/components/NapkinCalc.tsx:38
↓ 3 callers
Function
compute_time
Return duration for work divided by operation rate.
mlsysim/mlsysim/physics/quantities.py:52
↓ 3 callers
Function
confidence_rank
(value: str | None)
scripts/cross-references/merge_crossref_reports.py:207
↓ 3 callers
Method
connectToRoom
(e, t, o = null)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7971
↓ 3 callers
Method
connectToRoom
(e,t,n=null)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
count_words
Count words in text, excluding code blocks and TikZ.
book/tools/scripts/content/section_splitter.py:81
↓ 3 callers
Function
createButtonGroup
(shadowRoot)
socratiq/src_shadow/js/components/quiz/create_quiz_button_grp.js:71
↓ 3 callers
Method
createHighlightFromComment
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:9783
↓ 3 callers
Method
createHighlightFromComment
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
createListView
()
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:1475
↓ 3 callers
Function
createSpark
()
tinytorch/quarto/community/modules/candle.js:119
↓ 3 callers
Function
dTime
Core training time calculation; returns duration in seconds. This function implements the Iron Law of ML Training execution time, accoun
mlsysim/mlsysim/physics/performance.py:9
↓ 3 callers
Method
deleteCard
(cardId)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:1490
↓ 3 callers
Function
deployment_track_profile
Build a deployment-envelope profile from MLSysIM refs and variant defaults.
labs/mlsysbook_labs/deployment.py:194
↓ 3 callers
Function
destroy
()
site/assets/games/oom.mjs:649
↓ 3 callers
Method
detectTheme
* Detect current theme using multiple methods
socratiq/src_shadow/js/libs/utils/theme-manager.js:27
↓ 3 callers
Function
detect_hardware
Detect actual system hardware. Returns a dict stamped into every run artifact. This is the single source of truth for hardware claims. Th
mlperf-edu/src/mlperf/fingerprint.py:17
↓ 3 callers
Function
dfs
(node, path)
interviews/vault/scripts/vault_invariants.py:178
↓ 3 callers
Method
disconnect
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:167
↓ 3 callers
Method
disconnect
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
discoverChapters
(repoRoot: string)
book/vscode-ext/src/utils/chapters.ts:143
↓ 3 callers
Method
display_health_report
Display comprehensive health report
book/tools/scripts/maintenance/repo_health_check.py:364
↓ 3 callers
Method
dispose
()
book/vscode-ext/src/providers/qmdInlinePythonProviders.ts:203
↓ 3 callers
Method
drawHeatmap
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-visualization.js:64
↓ 3 callers
Function
drawReq
()
site/assets/games/kvcache.mjs:93
↓ 3 callers
Function
emit_corpus_summary
Emit only the summary corpus bundled by the production StaffML site.
interviews/vault-cli/src/vault_cli/legacy_export.py:238
↓ 3 callers
Function
emit_manifest
Emit `vault-manifest.json` — the staffml site's view of the release. Single source of truth contract: the upstream authority is ``releases/<r
interviews/vault-cli/src/vault_cli/legacy_export.py:327
↓ 3 callers
Function
endGame
()
site/assets/games/prune.mjs:267
↓ 3 callers
Function
endGame
()
site/assets/games/prune.js:101
↓ 3 callers
Method
end_headers
(self)
socratiq/serve.py:10
↓ 3 callers
Function
energy_from_power
Energy for constant power applied over a duration: ``E = P * t``. ``power`` must be power-dimensioned (W/kW/MW), ``duration`` time-dimensione
mlsysim/mlsysim/physics/quantities.py:59
← previous
next →
1,601–1,700 of 13,553, ranked by callers