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
↓ 4 callers
Function
detected_categories
(value: str)
labs/tools/interaction_lab_smoke.py:924
↓ 4 callers
Function
discoverModules
(projectRoot: string)
tinytorch/vscode-ext/src/utils/modules.ts:23
↓ 4 callers
Method
dispatchAndUpdate_settings
(key, value)
socratiq/src_shadow/js/components/settings/settings.js:100
↓ 4 callers
Function
displaySuggestion
(inputText, shadowEle)
socratiq/src_shadow/js/components/highlight_menu/components/text_area_suggestions.js:70
↓ 4 callers
Function
drift_visibility
Compute true drift, observed drift, alert timing, and damage cost.
labs/mlsysbook_labs/ops.py:163
↓ 4 callers
Function
effective_param_bytes
Effective bytes if we packed pruning + quantization for storage. Accounts for masks (1 bit per zero) and per-tensor INT8 bits where `_quant_s
mlperf-edu/reference/mobile/mobilenet_compress.py:91
↓ 4 callers
Function
entry_field
(entry: Any, name: str)
book/tools/scripts/bib_mitpress_openai.py:170
↓ 4 callers
Method
escape_caption_for_regex
Escape caption text for use in regex patterns. Unlike re.escape(), this only escapes true regex metacharacters that would br
book/tools/scripts/content/manage_captions.py:665
↓ 4 callers
Function
exec_cell_code
(code: str, ns: dict)
book/tools/audit/fmt/cell_exec.py:41
↓ 4 callers
Method
exportToJSON
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:1364
↓ 4 callers
Method
extractTags
(content)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:2672
↓ 4 callers
Function
extract_field
(label: str)
book/tools/scripts/figure_audit_review.py:49
↓ 4 callers
Function
extract_quiz_metadata
Extract quiz file name from YAML frontmatter using proper YAML parsing
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4084
↓ 4 callers
Method
extract_section_context
Extract context around a figure - now uses pypandoc AST when possible.
book/tools/scripts/content/manage_captions.py:3680
↓ 4 callers
Function
fetchEmbeddings
(text, token)
socratiq/src_shadow/js/libs/vector_db/vectordb/embeddings/api_call_embeddings.js:7
↓ 4 callers
Function
findSimilarParagraphsNonBlocking
(aiResponse, numMatches = 5)
socratiq/src_shadow/js/libs/agents/fuzzy_match.js:225
↓ 4 callers
Method
find_chapter_file
Find a chapter file by name, using best-match scoring. Supports volume-prefixed names (e.g., 'vol1/intro') for disambiguation. Raises
book/cli/core/discovery.py:244
↓ 4 callers
Method
find_duplicate_files
Find duplicate files (same content, different paths)
book/tools/scripts/maintenance/repo_health_check.py:102
↓ 4 callers
Method
find_figure_definition_in_qmd
Unified figure detection across all supported formats. Detects 4 types of figures in order of specificity: 1. Code-generated
book/tools/scripts/content/manage_captions.py:1367
↓ 4 callers
Method
find_large_files
Find large files in the repository
book/tools/scripts/maintenance/repo_health_check.py:74
↓ 4 callers
Function
flatten_anchors
(anchors: dict[str, list[Anchor]])
scripts/cross-references/audit_crossrefs.py:271
↓ 4 callers
Function
fmt_arithmetic_intensity
Format arithmetic intensity quantities as FLOP/byte.
mlsysim/mlsysim/fmt.py:2506
↓ 4 callers
Function
fmt_count_range
Format a range of counts with optional scale and count noun.
mlsysim/mlsysim/fmt.py:1707
↓ 4 callers
Function
fmt_percent_range
Format a range of percent ratios with one checked percent suffix. Inputs use the same canonical domain as ``fmt_percent``: ratios in ``[0, 1]``
mlsysim/mlsysim/fmt.py:1003
↓ 4 callers
Function
fmt_time_range
Format a duration range with time-unit validation.
mlsysim/mlsysim/fmt.py:1667
↓ 4 callers
Function
format_entry
Render an entry in canonical §5 form. - Preserves the insertion order of fields (bibtex-tidy will canonicalize field order at pre-commit ti
book/cli/checks/bib_lint.py:840
↓ 4 callers
Function
format_mcq_question
Format MCQ question with proper choice formatting.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5798
↓ 4 callers
Function
format_qa_pairs
Format Q&A pairs as text
tinytorch/datasets/tinytalks/scripts/generate_tinytalks.py:527
↓ 4 callers
Function
format_question_for_display
Format a question for display in the Gradio interface based on its type. This function takes a question object and formats it appropriately
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3140
↓ 4 callers
Method
forward
Forward pass through the network. TODO: Implement forward pass through fc1 -> ReLU -> fc2 APPROACH: 1. Pass input t
tinytorch/src/20_capstone/20_capstone.py:424
↓ 4 callers
Function
getBaseHighlightStyle
(preset: VisualPreset, theme: ThemeMode = 'dark')
book/vscode-ext/src/providers/qmdHighlightPalette.ts:276
↓ 4 callers
Function
getChapterProgressFromChapterMap
()
socratiq/src_shadow/js/components/quiz/chapterMapService.js:271
↓ 4 callers
Method
getCommentById
* Get comment by ID
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5986
↓ 4 callers
Method
getCommentById
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callers
Function
getModel
(adapter: Adapter, env: Env)
interviews/staffml/worker/src/index.ts:264
↓ 4 callers
Function
getOrCreateTerminal
(cwd: string)
book/vscode-ext/src/utils/terminal.ts:86
↓ 4 callers
Function
getPythonPath
Get the configured Python path
mlsysim/vscode-ext/src/utils/mlsysimCli.ts:6
↓ 4 callers
Function
getSRCards
()
interviews/staffml/src/lib/progress.ts:88
↓ 4 callers
Method
getSelectorForNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:9556
↓ 4 callers
Method
getSelectorForNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callers
Function
getTOCFromChapterMap
(url)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:541
↓ 4 callers
Function
getTopicById
(id: string)
interviews/staffml/src/lib/taxonomy.ts:192
↓ 4 callers
Method
getValues
* Get resolved values for a document. Returns cached results if * the Python blocks haven't changed, otherwise triggers resolution.
book/vscode-ext/src/providers/qmdPythonValueResolver.ts:238
↓ 4 callers
Function
get_llm_client
Initialize the appropriate LLM client based on provider argument. Args: args: Command line arguments with provider and model info
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:566
↓ 4 callers
Function
get_mappings
()
book/quarto/scripts/resolve_cross_references.py:336
↓ 4 callers
Function
get_module_name
Get the folder name for a module number or return None if not found.
tinytorch/tito/core/modules.py:71
↓ 4 callers
Function
get_section_data
(section_idx)
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3277
↓ 4 callers
Function
grad
(hash, x, y, z)
tinytorch/quarto/community/modules/noise.js:14
↓ 4 callers
Method
has_momentum
Check if this optimizer uses momentum. This explicit API method replaces the need for hasattr() checks in checkpointing code
tinytorch/src/07_optimizers/07_optimizers.py:580
↓ 4 callers
Function
hideSocratiqLoader
()
socratiq/src_shadow/js/index.js:294
↓ 4 callers
Function
highlightNextMatch
(button, currentIndex)
socratiq/src_shadow/js/components/settings/copy_download.js:319
↓ 4 callers
Function
indent
(text: str | None, level: int = 4)
interviews/vault-cli/scripts/audit_math.py:132
↓ 4 callers
Method
initialize
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/drag-handler.js:7
↓ 4 callers
Function
initializeAllMessageButtons
(shadowEle)
socratiq/src_shadow/js/components/settings/copy_download.js:382
↓ 4 callers
Method
initializeCommentSystem
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8709
↓ 4 callers
Method
initializeCommentSystem
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callers
Function
initializeSocratiqDB
()
socratiq/src_shadow/js/libs/utils/indexDb.js:258
↓ 4 callers
Function
is_div_attribute_line
True if this line is a Quarto div fence (`::: {...}` or `:::`). Per fix_percent.py:33-35.
book/tools/audit/protected_contexts.py:613
↓ 4 callers
Function
is_inside_index_entry
True if `pos` is inside a \\index{...} entry.
book/tools/audit/protected_contexts.py:545
↓ 4 callers
Function
l
(n,e)
book/quarto/_extensions/mlsysbook-ext/pseudocode/pseudocode.min.js:1
↓ 4 callers
Function
ledgerExists
()
labs/vscode-ext/src/utils/ledger.ts:23
↓ 4 callers
Function
linkStyle
(id: string)
interviews/staffml/src/components/EcosystemBar.tsx:332
↓ 4 callers
Method
loadFromLocalStorage
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:472
↓ 4 callers
Function
load_credentials
()
tinytorch/tito/core/auth.py:77
↓ 4 callers
Function
load_qa_pairs
Load Q&A pairs from a file
tinytorch/datasets/tinytalks/scripts/stats.py:19
↓ 4 callers
Function
log
(msg: string)
labs/vscode-ext/src/utils/terminal.ts:13
↓ 4 callers
Function
log
(msg: string)
kits/vscode-ext/src/utils/terminal.ts:13
↓ 4 callers
Function
logs_dir
()
book/tools/scripts/audit/svg_audit.py:92
↓ 4 callers
Method
magnitude_prune
Prune model weights by magnitude. Delegates to standalone function.
tinytorch/src/16_compression/16_compression.py:1613
↓ 4 callers
Function
main
(argv: list[str] | None = None)
book/cli/checks/lego_units.py:194
↓ 4 callers
Function
make_exec_namespace
()
book/tools/audit/fmt/cell_exec.py:27
↓ 4 callers
Function
markdown_counter
(title: str, counter: collections.Counter[str])
interviews/vault/scripts/summarize_semantic_audit.py:38
↓ 4 callers
Function
md_cell
(text: str, limit: int = 240)
book/tools/scripts/margin_figures/audit_margin_caption_alignment.py:234
↓ 4 callers
Function
md_escape
(text: str)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:24
↓ 4 callers
Function
metric_conflict
Estimate subgroup metric conflict under different base rates or contexts.
labs/mlsysbook_labs/responsibility.py:203
↓ 4 callers
Function
migrate_question
Add topic and zone fields to a question dict.
interviews/vault/schema/resolve.py:138
↓ 4 callers
Function
mockFingerprint
()
interviews/staffml-vault-worker/tests/worker.test.ts:71
↓ 4 callers
Function
model_memory
Calculates the memory footprint to store model weights in a requested unit. Parameters ---------- params : Quantity or int T
mlsysim/mlsysim/physics/memory.py:14
↓ 4 callers
Function
movement_frontier
Compare data movement under the selected strategy.
labs/mlsysbook_labs/data_pipeline.py:256
↓ 4 callers
Function
norm_ref
(value: Any)
scripts/cross-references/merge_crossref_reports.py:74
↓ 4 callers
Function
now_iso
()
book/tools/scripts/audit/math_chapter_workflow.py:63
↓ 4 callers
Method
onConnectionStatusChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10026
↓ 4 callers
Method
onConnectionStatusChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callers
Method
onSystemMessage
(e, t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10000
↓ 4 callers
Method
onSystemMessage
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callers
Method
onUserCountChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10029
↓ 4 callers
Method
onUserCountChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callers
Function
operator_design
Evaluate the selected operator design option.
labs/mlsysbook_labs/neural_compute.py:291
↓ 4 callers
Function
ops_policy
Score an operations policy under monitoring, retraining, and risk costs.
labs/mlsysbook_labs/ops.py:232
↓ 4 callers
Function
output_dir_for
(volume: str)
book/tools/scripts/audit/math_chapter_workflow.py:195
↓ 4 callers
Method
parameters
(self)
tinytorch/src/08_training/08_training.py:674
↓ 4 callers
Method
parameters
Return quantized parameters.
tinytorch/src/15_quantization/15_quantization.py:965
↓ 4 callers
Method
parameters
(self)
tinytorch/tests/integration/test_layers_integration.py:30
↓ 4 callers
Method
parameters
(self)
tinytorch/tests/16_compression/test_compressor_core.py:59
↓ 4 callers
Method
parameters
(self)
tinytorch/milestones/06_2018_mlperf/networks.py:101
↓ 4 callers
Function
parseQmdFile
(uri: vscode.Uri)
book/vscode-ext/src/utils/workspace.ts:34
↓ 4 callers
Function
parse_csv
(value: str | None, default: list[str])
book/tools/scripts/audit/math_chapter_workflow.py:71
↓ 4 callers
Function
parse_header
Parse a markdown header line. Returns: (level, title, section_id, is_unnumbered)
book/tools/scripts/content/section_splitter.py:94
↓ 4 callers
Function
parse_requirements_file
Parse a requirements.txt file and extract package specifications. Returns: List of (package_name, version_spec, original_line) tuple
tinytorch/tests/environment/test_all_requirements.py:26
↓ 4 callers
Function
part_workflow
Render a reusable learner workflow for part-level lab activity.
labs/mlsysbook_labs/ui.py:772
← previous
next →
1,201–1,300 of 13,553, ranked by callers