MCPcopy Create free account

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

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

↓ 2 callersFunction_load_check_module
(name: str, root: Path)
book/cli/commands/_registry_checks.py:94
↓ 2 callersFunction_load_completed_module_numbers
Read completed module numbers from the canonical .tito progress file.
tinytorch/tito/commands/milestone.py:193
↓ 2 callersFunction_load_embeddings
()
interviews/vault-cli/scripts/check_chain_decay.py:110
↓ 2 callersMethod_load_mnist_images
Load MNIST image file.
tinytorch/milestones/data_manager.py:281
↓ 2 callersMethod_load_mnist_labels
Load MNIST label file.
tinytorch/milestones/data_manager.py:290
↓ 2 callersMethod_load_plugins
Dynamically discovers and loads entry points for third-party extensions.
mlsysim/mlsysim/core/registry/plugin_manager.py:19
↓ 2 callersFunction_load_rows
(db: Path)
interviews/vault-cli/src/vault_cli/commands/diff_cmd.py:30
↓ 2 callersFunction_load_spend_ledger
Load daily spend ledger from vault/.llm-spend.json.
interviews/vault-cli/src/vault_cli/commands/generate.py:70
↓ 2 callersFunction_load_tinyshakespeare
Load TinyShakespeare and return as a 1D tensor of ASCII token IDs.
mlperf-edu/reference/dataset_factory.py:54
↓ 2 callersMethod_looks_like_math
True iff a `$...$` span's inner content is plausibly math. Distinguishes real math from unescaped-currency false positives like `$500
book/cli/commands/validate.py:5934
↓ 2 callersFunction_looks_like_source_note
Heuristic guard so we only flag actual source notes. A plain prose phrase such as "common source:" should not be treated as an editorial sour
book/tools/audit/checks/source_citations.py:40
↓ 2 callersFunction_mask
Blank (with equal-length spaces) spans where a term is verbatim.
book/cli/checks/mitpress_terms.py:74
↓ 2 callersFunction_match_expansion_exact
Try exact first-letter matching against text words.
interviews/staffml/scripts/parse_glossary.py:275
↓ 2 callersFunction_memory_capacity_mb
(hardware: Any)
labs/mlsysbook_labs/deployment.py:154
↓ 2 callersFunction_mergeable
( a: MarginGeometryElement, b: MarginGeometryElement, )
book/cli/checks/margin_geometry.py:238
↓ 2 callersFunction_metric_as_float
Return a numeric metric, converting Pint quantities when needed.
mlsysim/mlsysim/viz/plots.py:431
↓ 2 callersFunction_metric_ratio
Return numerator / denominator for scalar or Pint quantity metrics.
mlsysim/mlsysim/viz/plots.py:441
↓ 2 callersFunction_metrics
(base: float, fpr_pct: float)
labs/mlsysbook_labs/responsibility.py:226
↓ 2 callersFunction_module_number
(module_name: str)
tinytorch/tests/milestones/milestone_tracker.py:27
↓ 2 callersFunction_name_suffix_units
(name: str)
book/cli/checks/lego_prose_units.py:136
↓ 2 callersFunction_names_defined_in_class
Collect names defined (assigned, imported, function-defined) in a class body. In Python, assignments inside for-loops, if-blocks, with-blocks, an
book/tools/scripts/maintenance/validate_inline_refs.py:479
↓ 2 callersFunction_nearby_has_colwidths
Check whether this table already carries a tbl-colwidths attribute. Quarto allows the attribute on the caption line just below the table OR o
book/tools/audit/checks/longtable_continuity.py:110
↓ 2 callersFunction_norm
(s)
book/tools/audit/check_purpose_overflow.py:27
↓ 2 callersFunction_normalize_unit_label
Map a pint compact unit label onto the book's canonical display label. Single source of truth shared by ``fmt_unit`` and ``fmt_qty``'s suffix
mlsysim/mlsysim/fmt.py:383
↓ 2 callersMethod_offset_change_hint
( self, source_file: str, source_line: int, delta_mm: int, )
book/cli/commands/layout.py:2264
↓ 2 callersFunction_open_editor
(path: Path)
interviews/vault-cli/src/vault_cli/commands/authoring.py:182
↓ 2 callersFunction_other_new
(candidate)
book/tools/scripts/margin_figures/generate_margin_figures.py:1977
↓ 2 callersMethod_overlaps
True-geometry margin scan via PyMuPDF. Detects element-on-element overlaps (always bugs) and footer/header overflow from rendered bbox
book/cli/commands/layout.py:1976
↓ 2 callersFunction_paren_spans
Return a list of (open_pos, close_pos+1) spans for parenthetical ranges on this line. Unclosed `(` is ignored. `protected` is the output of `
book/tools/audit/checks/latin_running_text.py:93
↓ 2 callersMethod_parseFlashcardsJSON
* Parse flashcards JSON from content
socratiq/src_shadow/js/libs/agents/duck-ai-cloudflare.js:456
↓ 2 callersMethod_parse_chapter_spec
Parse a chapter specification that may include volume prefix. Args: chapter_spec: Chapter name, optionally with volume prefix (e.
book/cli/core/discovery.py:188
↓ 2 callersMethod_parse_history
Normalize history from either legacy list or dict format.
mlsysim/mlsysim/labs/state.py:38
↓ 2 callersFunction_parse_json_body
(body: str)
book/tools/scripts/audit/svg_audit.py:264
↓ 2 callersFunction_parse_number
Magnitude a label encodes, normalized by its UNIT so bar length reads honestly. Unit-aware (ms vs s, MB/s vs GB/s, pJ vs nJ): e.g. 'P99 2s' -> 200
book/tools/scripts/margin_figures/generate_margin_figures.py:1693
↓ 2 callersFunction_parse_registry_ids
Parse all IDs from the append-only id-registry.yaml line by line.
interviews/vault-cli/src/vault_cli/commands/doctor.py:67
↓ 2 callersMethod_parse_row
Parse a table row into cells.
book/tools/scripts/content/format_tables.py:185
↓ 2 callersFunction_payload
(d: dict)
interviews/vault-cli/tests/test_audit_batching.py:29
↓ 2 callersMethod_pdf_config_paths
Return candidate PDF config YAML paths in priority order.
book/cli/commands/info.py:551
↓ 2 callersFunction_pdf_horizontal_rules
Return rendered horizontal rules in the main text area.
book/cli/commands/_pdf_checks.py:178
↓ 2 callersFunction_percent_style_default
(fname: str)
book/cli/checks/fmt_prose_contract.py:259
↓ 2 callersMethod_phase2_section_debug
Phase 2: Binary search within a chapter to find the failing section. Returns: True if debugging completed
book/cli/commands/debug.py:385
↓ 2 callersFunction_pick_memory_unit
(qty, *, binary=False)
mlsysim/mlsysim/fmt.py:2195
↓ 2 callersFunction_placement
(profile: DeploymentTrackProfile, placement_id: str | None)
labs/mlsysbook_labs/deployment.py:257
↓ 2 callersMethod_print_check_help
Print a nicely formatted help for the check command.
book/cli/commands/validate.py:971
↓ 2 callersMethod_print_fix_help
Print the `binder fix` namespace reference.
book/cli/commands/maintenance.py:400
↓ 2 callersMethod_print_help
(self)
book/cli/commands/audit.py:64
↓ 2 callersMethod_print_help
(self)
book/cli/commands/info.py:149
↓ 2 callersMethod_print_help
(self)
book/cli/commands/headings.py:460
↓ 2 callersMethod_print_help
(self)
book/cli/commands/render.py:151
↓ 2 callersMethod_print_help
(self)
book/cli/commands/bib.py:121
↓ 2 callersMethod_print_help
(self)
book/cli/commands/formatting.py:117
↓ 2 callersFunction_print_summary
(findings: list[Finding])
book/tools/audit/book_check_lego_scenario_inputs.py:507
↓ 2 callersFunction_process_file
Process a single .qmd file. Returns (line, old_line, new_line) tuples for H3+ violations.
book/cli/commands/headings.py:369
↓ 2 callersFunction_project_root
Resolve repo root from either the repository, book, or quarto directory.
book/cli/core/bib_mechanical.py:31
↓ 2 callersFunction_promote_one
(draft_path: Path, vault_dir: Path, reviewed_by: str)
interviews/vault-cli/src/vault_cli/commands/promote.py:34
↓ 2 callersMethod_prompt_submission
Prompt user to submit benchmark results.
tinytorch/tito/commands/benchmark.py:516
↓ 2 callersMethod_purpose
Gate: no chapter's Purpose section may overflow past its opener page. Delegates to book/tools/audit/check_purpose_overflow.py so the logic is
book/cli/commands/layout.py:643
↓ 2 callersFunction_qual
(lineno: int)
book/cli/checks/fmt_prose_contract.py:160
↓ 2 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/edge.py:154
↓ 2 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/ops.py:99
↓ 2 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/responsibility.py:124
↓ 2 callersFunction_queue_bad
(queue_out: Path, path: Path, bad: list[tuple])
book/tools/audit/fmt/run_percent_lane.py:125
↓ 2 callersMethod_read_json_safe
Helper to read JSON files safely.
tinytorch/tito/core/submission.py:89
↓ 2 callersMethod_recomputeStatus
()
book/vscode-ext/src/validation/healthManager.ts:155
↓ 2 callersFunction_rect_tuple
(rect)
book/cli/checks/margin_geometry.py:127
↓ 2 callersMethod_redraw_progress
Redraw all progress bars
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5014
↓ 2 callersMethod_ref
( self, raw: dict[str, Any], *, role: str, why: str | None = None )
interviews/vault-cli/src/vault_cli/book_refs.py:98
↓ 2 callersFunction_relative_error
Relative error of a displayed scalar; used only for auto display policy.
mlsysim/mlsysim/fmt.py:915
↓ 2 callersMethod_render
(self, title: str, rows: list[dict], color: str)
site/newsletter/cli/commands/status.py:74
↓ 2 callersMethod_render_collisions_csv
( self, findings: List[CollisionFinding] )
book/cli/commands/layout.py:1843
↓ 2 callersFunction_render_entries
(entries: Sequence)
book/tools/bib_sync_preserve.py:287
↓ 2 callersFunction_repo_rel
(path: Path)
book/tools/audit/book_check_lego_scenario_inputs.py:188
↓ 2 callersMethod_repr_markdown_
Jupyter notebook hook to render the object as Markdown.
mlsysim/mlsysim/fmt.py:27
↓ 2 callersMethod_reset_config_comments
Reset a config file by uncommenting all .qmd chapter lines. This ensures a clean starting state regardless of whether a previous buil
book/cli/commands/build.py:1102
↓ 2 callersMethod_reset_milestones
Reset milestone achievements only.
tinytorch/tito/commands/package/reset.py:315
↓ 2 callersMethod_reset_progress
Reset module completion tracking only.
tinytorch/tito/commands/package/reset.py:264
↓ 2 callersMethod_resolve_content_path
Resolve content path from args.
book/cli/commands/maintenance.py:420
↓ 2 callersFunction_resolve_scaled_count_precision
Pick precision for scaled counts without hiding sub-unit explicit scales.
mlsysim/mlsysim/fmt.py:281
↓ 2 callersFunction_returned_names
Names listed in the cell's return statement.
labs/tests/test_static.py:605
↓ 2 callersFunction_rewrite_fmt_int_multiplier
fmt_int(arg, …, suffix='×') → fmt_multiple(round(arg), precision=0, commas=…). fmt_int is documented as fmt(round(val), precision=0, …) with comm
book/tools/audit/fmt/codemod_fmt.py:888
↓ 2 callersFunction_rewrite_percent
fmt(x, …, suffix='%'|' percent') -> fmt_percent(<ratio>, …, style=…). Byte-identical by construction: the 0-1 ratio fmt_percent expects renders x
book/tools/audit/fmt/codemod_fmt.py:122
↓ 2 callersFunction_rewrite_rate
fmt/fmt_int(..., suffix=' tokens/s') -> fmt_rate(...).
book/tools/audit/fmt/codemod_fmt.py:800
↓ 2 callersFunction_rewrite_scale
fmt(x / MILLION, …, suffix='M') -> fmt_count(x, scale='M', …). Only the clean, byte-identical case: the argument is ``<x> / <divisor>`` where
book/tools/audit/fmt/codemod_fmt.py:241
↓ 2 callersFunction_rewrite_scale_style
Rewrite deferred scale suffixes to no-space ``fmt_count`` style. This is an intentional house-style normalization, not a byte-identical rewri
book/tools/audit/fmt/codemod_fmt.py:385
↓ 2 callersFunction_rewrite_time
fmt/fmt_int(..., suffix=' ms'|' seconds') -> fmt_time(...). The source spelling uses full unit names (``"millisecond"``, ``"second"``) so the
book/tools/audit/fmt/codemod_fmt.py:690
↓ 2 callersFunction_rewrite_unit
fmt(q.m_as(unit), ..., suffix=" unit") -> fmt_qty(q, unit, ...). This covers only the clean Quantity-backed shape. The acceptance gate still
book/tools/audit/fmt/codemod_fmt.py:573
↓ 2 callersFunction_row_priority
Higher tuple = better. Used to pick between two rows for same qid. Priority axes: 1. Non-error format_compliance (1) > error (0) 2. H
interviews/vault-cli/scripts/merge_audit_runs.py:33
↓ 2 callersFunction_row_to_dict
(row: sqlite3.Row)
interviews/vault-cli/src/vault_cli/commands/serve_api.py:28
↓ 2 callersMethod_run_chapter_audit
(self, module_name: str, args: list[str])
book/cli/commands/audit.py:51
↓ 2 callersMethod_run_clean
Remove unused entries from .bib files.
book/cli/commands/bib.py:284
↓ 2 callersFunction_run_corpus
Run the detector on `corpus` and return the number of hits.
book/tools/audit/checks/sec_slug_placement.py:311
↓ 2 callersMethod_run_footnote_cross_chapter
Find duplicate footnote IDs across chapters.
book/cli/commands/validate.py:7370
↓ 2 callersMethod_run_group
Run checks in *group*. Selection rules (in order): 1. If `scope` is set: run that one scope (regardless of its `default` flag).
book/cli/commands/validate.py:881
↓ 2 callersMethod_run_normalize
Run the same pipeline needed for consistent .bib with pre-commit.
book/cli/commands/bib.py:401
↓ 2 callersMethod_run_update
Run betterbib sync-preserve on .bib files.
book/cli/commands/bib.py:477
↓ 2 callersFunction_rung
(yy, v, left)
book/tools/figures/margin/devices.py:168
↓ 2 callersFunction_save_checkpoint
Save generation progress for crash recovery (per Dean review).
interviews/vault/scripts/generate.py:327
↓ 2 callersMethod_save_progress
(self)
tinytorch/tests/milestones/milestone_tracker.py:83
↓ 2 callersFunction_scale_scores
Scale attention scores by 1/sqrt(d_model). TODO: Divide scores by the square root of the model dimension APPROACH: 1. Compute scale fact
tinytorch/src/12_attention/12_attention.py:363
↓ 2 callersMethod_scan_caption_value
Return list of (code, severity, message_suffix) for issues in a fig-cap/tbl-cap/lst-cap/fig-alt/tbl-alt value. Math IS parsed inside
book/cli/commands/validate.py:6023
← previousnext →2,201–2,300 of 13,553, ranked by callers