MCPcopy Create free account

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

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

↓ 10 callersFunctiongenerate_submission
Generate a standardized benchmark submission. Args: baseline_report: Benchmark results for baseline model (REQUIRED) optimiz
tinytorch/src/20_capstone/20_capstone.py:731
↓ 10 callersMethodget_config_file
Get the configuration file for a specific format and optional volume. Args: format_type: Format type ('html', 'pdf', 'epub')
book/cli/core/config.py:121
↓ 10 callersFunctionget_console
Get the global console instance.
tinytorch/tito/core/console.py:20
↓ 10 callersFunctionini_quiz
(shadowRoot, quizData, title, chapterTitle, attributes='', contentWithSources=null, context=null)
socratiq/src_shadow/js/components/quiz/load_quiz.js:21
↓ 10 callersFunctionjsStr
(s)
design-grammar/scripts/build-html.mjs:278
↓ 10 callersFunctionload_collection
Build a ``Registry`` subclass from a single per-category YAML file. The file is a mapping ``{attr_name: entry_dict}``; each entry validates into
mlsysim/mlsysim/core/loader.py:199
↓ 10 callersFunctionmake_knee
(chapter, name, *, knee_frac=0.72, style="shaded", pct_label=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:116
↓ 10 callersFunctionmountReadyOverlay
(stage, opts = {})
site/assets/games/runtime.mjs:371
↓ 10 callersFunctionnormalize_module_number
Normalize module input to 2-digit format. Examples: "1" -> "01" "15" -> "15" "15_quantization" -> "15"
tinytorch/tito/core/modules.py:109
↓ 10 callersMethodnumpy
Return the underlying NumPy array.
tinytorch/src/01_tensor/01_tensor.py:310
↓ 10 callersFunctionpress_enter_to_continue
()
tinytorch/milestones/01_1958_perceptron/01_rosenblatt_forward.py:241
↓ 10 callersMethodprint_status
Print info message in blue
book/tools/scripts/utilities/manage_sources.py:60
↓ 10 callersFunctionremoveElementById
(clone, elementId)
socratiq/src_shadow/js/components/progress/progress.js:74
↓ 10 callersFunctionrun_benchmark
Authentic PyTorch End-to-End Inference pipeline mapped against the Native Architectural block.
mlperf-edu/reference/edge/resnet_infer.py:10
↓ 10 callersFunctionsecureRandomString
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11
↓ 10 callersMethodsolve
Solves for effective network bandwidth under a given topology. Parameters ---------- fabric : NetworkFabric
mlsysim/mlsysim/engine/solvers/distributed.py:491
↓ 10 callersFunctiontoSvg
(x: number, y: number)
interviews/staffml/src/app/roofline/page.tsx:73
↓ 10 callersFunctiontrack_display_label
Return a consistent student-facing track label with its canonical emoji.
labs/mlsysbook_labs/tracks.py:126
↓ 10 callersFunctionv1_13_fmt_amount
(value, unit, precision=2)
labs/vol1/lab_13_model_serving.py:237
↓ 10 callersFunctionv1_16_metric_card
(label, value, detail, color, border=False)
labs/vol1/lab_16_ml_conclusion.py:764
↓ 10 callersFunctionvaultFetchJson
( url: string, opts: VaultFetchOpts = {}, )
interviews/staffml/src/lib/vault-fetch.ts:170
↓ 10 callersFunctionwait_for_settled
(page, timeout_ms: int = 5_000)
labs/tools/interaction_lab_smoke.py:385
↓ 9 callersFunction_import_milestone
Import a milestone script as a module without executing main().
tinytorch/tests/milestones/test_milestones_smoke.py:34
↓ 9 callersFunction_load
(stem: str, name: str, doc: str = "")
mlsysim/mlsysim/literature/registry.py:16
↓ 9 callersFunction_module_progress_to_int
Normalize module progress entries like 1, "01", or "01_tensor" to int.
tinytorch/tito/commands/milestone.py:180
↓ 9 callersMethod_print_result
Print a single test result.
tinytorch/tito/commands/dev/test.py:300
↓ 9 callersFunction_read_budget
()
book/tools/scripts/audit/svg_audit.py:205
↓ 9 callersFunction_require_finite
Reject non-finite inputs (``inf``/``nan``) with a clear message. A divide-by-zero (``x / 0``) yields ``inf``; an indeterminate ``0 / 0`` yiel
mlsysim/mlsysim/fmt.py:37
↓ 9 callersMethodaddChatMessage
(e, t, o)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10062
↓ 9 callersMethodaddChatMessage
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 9 callersMethodbuild_vocab
Build vocabulary from a corpus of text. TODO: Extract unique characters and build vocabulary APPROACH: 1. Collect a
tinytorch/src/10_tokenization/10_tokenization.py:483
↓ 9 callersFunctioncheckNapkinMath
( userAnswer: number, modelAnswer: number, track: string )
interviews/staffml/src/lib/corpus.ts:340
↓ 9 callersFunctionclassify
(name, rhs)
book/tools/tests/test_lego_scenario_inputs_audit.py:12
↓ 9 callersFunctiondequantize_int8
Dequantize INT8 tensor back to FP32. TODO: Implement dequantization using the inverse formula APPROACH: 1. Apply inverse quantizati
tinytorch/src/15_quantization/15_quantization.py:643
↓ 9 callersMethoddestroy
* Cleanup resources
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5916
↓ 9 callersMethodencode
Encode text to list of character IDs. TODO: Convert each character to its vocabulary ID APPROACH: 1. Iterate throug
tinytorch/src/10_tokenization/10_tokenization.py:517
↓ 9 callersFunctionfmt_range
Format an inclusive range ``lo–hi`` using an **en-dash** (MIT Press style). MIT Press house style for ranges (style sheet §ranges): use an e
mlsysim/mlsysim/fmt.py:1547
↓ 9 callersFunctionfmt_ratio
Format a **dimensionless ratio** as a bare number (no unit, no glyph). For quantities that are conceptually a quotient of like things —
mlsysim/mlsysim/fmt.py:1518
↓ 9 callersMethodget
Retrieves a resolver class by its registered name. Args: name: The class name of the resolver (e.g., 'SingleNode
mlsysim/mlsysim/engine/resolver_factory.py:56
↓ 9 callersFunctiongetAreaStyle
(areaId: string)
interviews/staffml/src/lib/taxonomy.ts:221
↓ 9 callersFunctiongetAttempts
()
interviews/staffml/src/lib/progress.ts:55
↓ 9 callersMethodgetCommentsByUrlAndRoom
* Get comments by URL and room
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:6006
↓ 9 callersMethodgetCommentsByUrlAndRoom
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 9 callersFunctiongetCompetencyAreas
()
interviews/staffml/src/lib/corpus.ts:174
↓ 9 callersFunctiongetRepoRoot
()
book/vscode-ext/src/utils/workspace.ts:6
↓ 9 callersMethodget_all_chapters
Get all chapter files with metadata. Args: volume: Optional volume filter ('vol1', 'vol2', or None for all) Returns:
book/cli/core/discovery.py:352
↓ 9 callersFunctionget_console
Return the single Rich console instance for the CLI. Cached with lru_cache so the same instance is returned on every call. This replaces the
site/newsletter/cli/core/console.py:21
↓ 9 callersMethodget_output_dir
Get the output directory from Quarto configuration. Args: format_type: Format type ('html', 'pdf', 'epub') volume: Op
book/cli/core/config.py:233
↓ 9 callersMethodinitialize
* Initialize the database
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7519
↓ 9 callersMethodinitialize
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 9 callersFunctionk
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 9 callersFunctionl
()
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 9 callersFunctionlint_file
(path: Path, root: Path)
book/cli/checks/lego_units.py:94
↓ 9 callersFunctionlog
(msg: string)
book/vscode-ext/src/providers/qmdPythonValueResolver.ts:19
↓ 9 callersMethodmax_pool2d
(x, kernel_size)
tinytorch/tests/integration/test_shapes.py:62
↓ 9 callersFunctionmlsysimCommand
(subcommand: string)
mlsysim/vscode-ext/src/utils/mlsysimCli.ts:11
↓ 9 callersFunctionpress_enter_to_continue
()
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:385
↓ 9 callersFunctionpress_enter_to_continue
()
tinytorch/milestones/06_2018_mlperf/02_generation_speedup.py:73
↓ 9 callersFunctionqueueing_latency
Approximate M/M/c tail latency with a service-variability adjustment.
labs/mlsysbook_labs/serving.py:232
↓ 9 callersFunctionrepo_root_from_here
()
book/cli/commands/_registry_checks.py:21
↓ 9 callersMethodrun
Execute the setup command.
tinytorch/tito/commands/setup.py:601
↓ 9 callersFunctionsnapshot_file
(qmd: Path)
book/tools/audit/fmt/assess_equiv.py:113
↓ 9 callersMethodsolve
Solves for checkpoint size, write time, and resulting MFU penalty. Parameters ---------- n_writers : int Number o
mlsysim/mlsysim/engine/solvers/training.py:40
↓ 9 callersMethodsolve
Solves for P50 and P99 tail latencies under variable load. Parameters ---------- arrival_rate_qps : float Request
mlsysim/mlsysim/engine/solvers/serving.py:753
↓ 9 callersFunctionupdate
(patch: Partial<SimConfig>)
interviews/staffml/src/app/simulator/page.tsx:36
↓ 9 callersFunctionupdateNavState
()
tinytorch/quarto/community/modules/ui.js:4
↓ 9 callersMethodupdateProgress
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/ui-handler.js:143
↓ 9 callersFunctionuseVisibilityPoll
(callback: () => void, intervalMs: number)
interviews/staffml/src/lib/hooks/useVisibilityPoll.ts:30
↓ 9 callersFunctionv2_03_fmt
(value, digits=2)
labs/vol2/lab_03_communication.py:130
↓ 9 callersFunctionv2_05_safe_div
(num, den, default=0.0)
labs/vol2/lab_05_dist_train.py:141
↓ 9 callersFunctionv2_09_pct
(value, digits=1)
labs/vol2/lab_09_perf_engineering.py:101
↓ 9 callersFunctionv2_12_color
(key, fallback)
labs/vol2/lab_12_ops_scale.py:966
↓ 9 callersFunctionv2_14_account_label
(account)
labs/vol2/lab_14_robust_ai.py:689
↓ 8 callersFunction_ctx_has_any
(ctx: str, patterns: list[re.Pattern[str]])
book/tools/audit/checks/notation_consistency.py:271
↓ 8 callersMethod_layout_strategy
Return the auto-layout strategy bucket for a whitespace finding. The bucket is intentionally coarser than ``suggested_fix``: downstream
book/cli/commands/layout.py:3196
↓ 8 callersFunction_make_enum
(name: str, values: frozenset[str])
interviews/vault-cli/src/vault_cli/models.py:69
↓ 8 callersMethod_matches_chapter
( cls, chapter: str, chapter_filter: Optional[List[str]], )
book/cli/commands/layout.py:2932
↓ 8 callersFunction_math_in_html
Math outputs: require key LaTeX fragments or numeric literals in HTML.
book/tools/audit/fmt/audit_lego_html.py:178
↓ 8 callersFunction_patch_prose
Append $\\times$ after refs to multiplier vars that lack it. Returns (new_text, [(line, ref)]).
book/tools/audit/fmt/codemod_fmt.py:1053
↓ 8 callersFunction_percent
Parse a single fmt(...) expression and run the percent rewriter on it.
book/tests/test_codemod_fmt.py:19
↓ 8 callersFunction_read
Read a text file, returning None on error (never raise to the caller).
book/cli/commands/_epub_checks.py:123
↓ 8 callersFunction_resolve_decimal_scale
Return ``(divisor, suffix)`` for checked K/M/B/T decimal scales.
mlsysim/mlsysim/fmt.py:243
↓ 8 callersMethod_restore_config
Restore configuration to pristine state.
book/cli/commands/build.py:1808
↓ 8 callersFunction_rewrite_call_to_multiple
Textual rewrite of a single-line ``fmt(...×)`` call → ``fmt_multiple(...)``. Only plain ``fmt`` is auto-rewritten: ``fmt`` and ``fmt_multiple`` s
book/tools/audit/fmt/codemod_fmt.py:911
↓ 8 callersFunction_run
(cmd: list[str], cwd: Path | None = None)
interviews/vault-cli/src/vault_cli/commands/release.py:650
↓ 8 callersFunction_sync
()
mlperf-edu/reference/cloud/nanogpt_decode.py:19
↓ 8 callersFunction_validate_provenance_record
Validates that a Provenance record meets the required traceability constraints.
mlsysim/mlsysim/tools/audit_provenance.py:63
↓ 8 callersFunction_write
(tmp_path, body)
book/tests/test_fmt_semantic_suffix.py:4
↓ 8 callersFunction_write_qmd
(tmp_path: Path, rel: str, body: str)
book/tools/tests/test_lint_lego_units.py:15
↓ 8 callersFunctionadd
(priority: str, kind: str, title: str, detail: str, path: str | None = None)
interviews/vault/scripts/plan_gap_improvements.py:408
↓ 8 callersFunctionaudit
(paths: list[Path])
book/cli/checks/math_canonical.py:788
↓ 8 callersFunctionauto_sync_after_completion
Shared auto-sync used after a module or milestone completes (and on login). This is the single decision point for *whether* an automatic sync run
tinytorch/tito/core/submission.py:306
↓ 8 callersFunctioncacheControl
(ttl: number)
interviews/staffml-vault-worker/src/index.ts:163
↓ 8 callersFunctioncalc_failure_probability
Probability of at least one failure during a job. Poisson/exponential failure model: ``P = 1 - exp(-T / MTBF)``. For short jobs (``T << MTBF`
mlsysim/mlsysim/physics/reliability.py:136
↓ 8 callersFunctioncheck_file
(path: Path)
book/cli/checks/lego_prose_units.py:251
↓ 8 callersMethodcreate
Create a chat completion using Ollama API.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:273
↓ 8 callersFunctionemit_legacy_corpus
Emit legacy-shape corpus.json from YAML source + chains.json sidecar.
interviews/vault-cli/src/vault_cli/legacy_export.py:161
↓ 8 callersMethodensureInitialized
* Check if database is initialized
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7329
↓ 8 callersMethodensureInitialized
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 8 callersFunctionerror
(msg: str)
interviews/staffml/scripts/validate-vault.py:30
← previousnext →401–500 of 13,553, ranked by callers