MCPcopy Create free account

hub / github.com/harvard-edge/cs249r_book / functions

Functions13,553 in github.com/harvard-edge/cs249r_book

↓ 4 callersFunctiondetected_categories
(value: str)
labs/tools/interaction_lab_smoke.py:924
↓ 4 callersFunctiondiscoverModules
(projectRoot: string)
tinytorch/vscode-ext/src/utils/modules.ts:23
↓ 4 callersMethoddispatchAndUpdate_settings
(key, value)
socratiq/src_shadow/js/components/settings/settings.js:100
↓ 4 callersFunctiondisplaySuggestion
(inputText, shadowEle)
socratiq/src_shadow/js/components/highlight_menu/components/text_area_suggestions.js:70
↓ 4 callersFunctiondrift_visibility
Compute true drift, observed drift, alert timing, and damage cost.
labs/mlsysbook_labs/ops.py:163
↓ 4 callersFunctioneffective_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 callersFunctionentry_field
(entry: Any, name: str)
book/tools/scripts/bib_mitpress_openai.py:170
↓ 4 callersMethodescape_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 callersFunctionexec_cell_code
(code: str, ns: dict)
book/tools/audit/fmt/cell_exec.py:41
↓ 4 callersMethodexportToJSON
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:1364
↓ 4 callersMethodextractTags
(content)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:2672
↓ 4 callersFunctionextract_field
(label: str)
book/tools/scripts/figure_audit_review.py:49
↓ 4 callersFunctionextract_quiz_metadata
Extract quiz file name from YAML frontmatter using proper YAML parsing
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4084
↓ 4 callersMethodextract_section_context
Extract context around a figure - now uses pypandoc AST when possible.
book/tools/scripts/content/manage_captions.py:3680
↓ 4 callersFunctionfetchEmbeddings
(text, token)
socratiq/src_shadow/js/libs/vector_db/vectordb/embeddings/api_call_embeddings.js:7
↓ 4 callersFunctionfindSimilarParagraphsNonBlocking
(aiResponse, numMatches = 5)
socratiq/src_shadow/js/libs/agents/fuzzy_match.js:225
↓ 4 callersMethodfind_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 callersMethodfind_duplicate_files
Find duplicate files (same content, different paths)
book/tools/scripts/maintenance/repo_health_check.py:102
↓ 4 callersMethodfind_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 callersMethodfind_large_files
Find large files in the repository
book/tools/scripts/maintenance/repo_health_check.py:74
↓ 4 callersFunctionflatten_anchors
(anchors: dict[str, list[Anchor]])
scripts/cross-references/audit_crossrefs.py:271
↓ 4 callersFunctionfmt_arithmetic_intensity
Format arithmetic intensity quantities as FLOP/byte.
mlsysim/mlsysim/fmt.py:2506
↓ 4 callersFunctionfmt_count_range
Format a range of counts with optional scale and count noun.
mlsysim/mlsysim/fmt.py:1707
↓ 4 callersFunctionfmt_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 callersFunctionfmt_time_range
Format a duration range with time-unit validation.
mlsysim/mlsysim/fmt.py:1667
↓ 4 callersFunctionformat_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 callersFunctionformat_mcq_question
Format MCQ question with proper choice formatting.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5798
↓ 4 callersFunctionformat_qa_pairs
Format Q&A pairs as text
tinytorch/datasets/tinytalks/scripts/generate_tinytalks.py:527
↓ 4 callersFunctionformat_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 callersMethodforward
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 callersFunctiongetBaseHighlightStyle
(preset: VisualPreset, theme: ThemeMode = 'dark')
book/vscode-ext/src/providers/qmdHighlightPalette.ts:276
↓ 4 callersFunctiongetChapterProgressFromChapterMap
()
socratiq/src_shadow/js/components/quiz/chapterMapService.js:271
↓ 4 callersMethodgetCommentById
* Get comment by ID
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5986
↓ 4 callersMethodgetCommentById
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersFunctiongetModel
(adapter: Adapter, env: Env)
interviews/staffml/worker/src/index.ts:264
↓ 4 callersFunctiongetOrCreateTerminal
(cwd: string)
book/vscode-ext/src/utils/terminal.ts:86
↓ 4 callersFunctiongetPythonPath
Get the configured Python path
mlsysim/vscode-ext/src/utils/mlsysimCli.ts:6
↓ 4 callersFunctiongetSRCards
()
interviews/staffml/src/lib/progress.ts:88
↓ 4 callersMethodgetSelectorForNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:9556
↓ 4 callersMethodgetSelectorForNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersFunctiongetTOCFromChapterMap
(url)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:541
↓ 4 callersFunctiongetTopicById
(id: string)
interviews/staffml/src/lib/taxonomy.ts:192
↓ 4 callersMethodgetValues
* 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 callersFunctionget_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 callersFunctionget_mappings
()
book/quarto/scripts/resolve_cross_references.py:336
↓ 4 callersFunctionget_module_name
Get the folder name for a module number or return None if not found.
tinytorch/tito/core/modules.py:71
↓ 4 callersFunctionget_section_data
(section_idx)
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3277
↓ 4 callersFunctiongrad
(hash, x, y, z)
tinytorch/quarto/community/modules/noise.js:14
↓ 4 callersMethodhas_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 callersFunctionhideSocratiqLoader
()
socratiq/src_shadow/js/index.js:294
↓ 4 callersFunctionhighlightNextMatch
(button, currentIndex)
socratiq/src_shadow/js/components/settings/copy_download.js:319
↓ 4 callersFunctionindent
(text: str | None, level: int = 4)
interviews/vault-cli/scripts/audit_math.py:132
↓ 4 callersMethodinitialize
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/drag-handler.js:7
↓ 4 callersFunctioninitializeAllMessageButtons
(shadowEle)
socratiq/src_shadow/js/components/settings/copy_download.js:382
↓ 4 callersMethodinitializeCommentSystem
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8709
↓ 4 callersMethodinitializeCommentSystem
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersFunctioninitializeSocratiqDB
()
socratiq/src_shadow/js/libs/utils/indexDb.js:258
↓ 4 callersFunctionis_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 callersFunctionis_inside_index_entry
True if `pos` is inside a \\index{...} entry.
book/tools/audit/protected_contexts.py:545
↓ 4 callersFunctionl
(n,e)
book/quarto/_extensions/mlsysbook-ext/pseudocode/pseudocode.min.js:1
↓ 4 callersFunctionledgerExists
()
labs/vscode-ext/src/utils/ledger.ts:23
↓ 4 callersFunctionlinkStyle
(id: string)
interviews/staffml/src/components/EcosystemBar.tsx:332
↓ 4 callersMethodloadFromLocalStorage
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:472
↓ 4 callersFunctionload_credentials
()
tinytorch/tito/core/auth.py:77
↓ 4 callersFunctionload_qa_pairs
Load Q&A pairs from a file
tinytorch/datasets/tinytalks/scripts/stats.py:19
↓ 4 callersFunctionlog
(msg: string)
labs/vscode-ext/src/utils/terminal.ts:13
↓ 4 callersFunctionlog
(msg: string)
kits/vscode-ext/src/utils/terminal.ts:13
↓ 4 callersFunctionlogs_dir
()
book/tools/scripts/audit/svg_audit.py:92
↓ 4 callersMethodmagnitude_prune
Prune model weights by magnitude. Delegates to standalone function.
tinytorch/src/16_compression/16_compression.py:1613
↓ 4 callersFunctionmain
(argv: list[str] | None = None)
book/cli/checks/lego_units.py:194
↓ 4 callersFunctionmake_exec_namespace
()
book/tools/audit/fmt/cell_exec.py:27
↓ 4 callersFunctionmarkdown_counter
(title: str, counter: collections.Counter[str])
interviews/vault/scripts/summarize_semantic_audit.py:38
↓ 4 callersFunctionmd_cell
(text: str, limit: int = 240)
book/tools/scripts/margin_figures/audit_margin_caption_alignment.py:234
↓ 4 callersFunctionmd_escape
(text: str)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:24
↓ 4 callersFunctionmetric_conflict
Estimate subgroup metric conflict under different base rates or contexts.
labs/mlsysbook_labs/responsibility.py:203
↓ 4 callersFunctionmigrate_question
Add topic and zone fields to a question dict.
interviews/vault/schema/resolve.py:138
↓ 4 callersFunctionmockFingerprint
()
interviews/staffml-vault-worker/tests/worker.test.ts:71
↓ 4 callersFunctionmodel_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 callersFunctionmovement_frontier
Compare data movement under the selected strategy.
labs/mlsysbook_labs/data_pipeline.py:256
↓ 4 callersFunctionnorm_ref
(value: Any)
scripts/cross-references/merge_crossref_reports.py:74
↓ 4 callersFunctionnow_iso
()
book/tools/scripts/audit/math_chapter_workflow.py:63
↓ 4 callersMethodonConnectionStatusChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10026
↓ 4 callersMethodonConnectionStatusChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersMethodonSystemMessage
(e, t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10000
↓ 4 callersMethodonSystemMessage
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersMethodonUserCountChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10029
↓ 4 callersMethodonUserCountChange
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersFunctionoperator_design
Evaluate the selected operator design option.
labs/mlsysbook_labs/neural_compute.py:291
↓ 4 callersFunctionops_policy
Score an operations policy under monitoring, retraining, and risk costs.
labs/mlsysbook_labs/ops.py:232
↓ 4 callersFunctionoutput_dir_for
(volume: str)
book/tools/scripts/audit/math_chapter_workflow.py:195
↓ 4 callersMethodparameters
(self)
tinytorch/src/08_training/08_training.py:674
↓ 4 callersMethodparameters
Return quantized parameters.
tinytorch/src/15_quantization/15_quantization.py:965
↓ 4 callersMethodparameters
(self)
tinytorch/tests/integration/test_layers_integration.py:30
↓ 4 callersMethodparameters
(self)
tinytorch/tests/16_compression/test_compressor_core.py:59
↓ 4 callersMethodparameters
(self)
tinytorch/milestones/06_2018_mlperf/networks.py:101
↓ 4 callersFunctionparseQmdFile
(uri: vscode.Uri)
book/vscode-ext/src/utils/workspace.ts:34
↓ 4 callersFunctionparse_csv
(value: str | None, default: list[str])
book/tools/scripts/audit/math_chapter_workflow.py:71
↓ 4 callersFunctionparse_header
Parse a markdown header line. Returns: (level, title, section_id, is_unnumbered)
book/tools/scripts/content/section_splitter.py:94
↓ 4 callersFunctionparse_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 callersFunctionpart_workflow
Render a reusable learner workflow for part-level lab activity.
labs/mlsysbook_labs/ui.py:772
← previousnext →1,201–1,300 of 13,553, ranked by callers