MCPcopy Create free account

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

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

↓ 1 callersFunction_is_empty_bibtex_name
True when a BibTeX name segment is empty after wrappers are removed.
book/cli/checks/bib_lint.py:594
↓ 1 callersFunction_is_export_comment
(line: str)
book/tools/scripts/migrate_bridges.py:35
↓ 1 callersMethod_is_first_run
Check if this is the first time running tito.
tinytorch/tito/main.py:154
↓ 1 callersMethod_is_frontmatter_label
Detect roman-numeral printed page labels (frontmatter).
book/cli/commands/layout.py:3343
↓ 1 callersFunction_is_html_line
True if this line is HTML markup (not body prose). Mirrors fix_percent.py:39-45. HTML tags like <td width="20%"> appear in acknowledgements a
book/tools/audit/checks/percent_symbol.py:39
↓ 1 callersFunction_is_inside_bold_span
True if [start, end) is fully enclosed by any bold span on the line.
book/tools/audit/checks/concept_term_capitalization.py:233
↓ 1 callersFunction_is_inside_preserved_phrase
True if [start, end) is inside any preserved named-principle phrase.
book/tools/audit/checks/concept_term_capitalization.py:256
↓ 1 callersFunction_is_latex_manifest
Check whether a file is a LaTeX figure manifest.
book/quarto/scripts/mit_press/generate_figure_list.py:26
↓ 1 callersMethod_is_layout_advisory_only
(output: str)
book/cli/commands/release.py:511
↓ 1 callersFunction_is_legacy_export_name
(name: str)
book/tools/audit/book_check_registry_sources.py:234
↓ 1 callersFunction_is_legislation_act
(words: List[str], idx: int)
book/cli/commands/headings.py:258
↓ 1 callersFunction_is_lowercase_api_dotted
(w: str)
book/cli/commands/headings.py:179
↓ 1 callersFunction_is_mo_stop_call
True if stmt is an expression statement calling mo.stop(...).
labs/tests/test_static.py:570
↓ 1 callersFunction_is_path_exempt
(file_path: Path)
book/tools/audit/checks/layout_proxies.py:156
↓ 1 callersFunction_is_percent_family
(fname: str)
book/cli/checks/fmt_prose_contract.py:277
↓ 1 callersMethod_is_pipe_table_start
(cls, lines: List[str], idx: int)
book/cli/commands/layout.py:924
↓ 1 callersFunction_is_product_or_event
True if `Surname (YYYY)` is a product/event annotation, not an author. Heuristic per review/AUDIT_cite_form.md "Accepted convention": `Surnam
book/tools/audit/checks/bare_attribution.py:181
↓ 1 callersFunction_is_proper_generic
CamelCase, all-caps, digit-model patterns.
book/cli/commands/headings.py:205
↓ 1 callersFunction_is_proper_noun_continuation
True if the matched form is followed by a capitalized word (proper noun). Pattern: `Pre-trained Transformer`, `Pre-training Corpus`, etc. The
book/tools/audit/checks/compound_prefix.py:106
↓ 1 callersFunction_is_proper_whole
Strict whole-word proper-noun check (no hyphen-splitting heuristics).
book/cli/commands/headings.py:182
↓ 1 callersFunction_is_protected_term_token
Return True for case-sensitive tokens that should not be title-cased.
book/tools/scripts/mit_press/check_footnote_caps.py:143
↓ 1 callersFunction_is_registry_sourced
(rhs: str)
book/tools/audit/book_check_lego_scenario_inputs.py:287
↓ 1 callersFunction_is_right_product_operand
(ch: str)
book/cli/checks/math_multiplier_style.py:130
↓ 1 callersFunction_is_safe_local
(name: str, rhs: str)
book/tools/audit/book_check_lego_scenario_inputs.py:291
↓ 1 callersFunction_is_setup_line
(line: str)
book/cli/checks/lego_prose_literals.py:244
↓ 1 callersFunction_is_single_letter_shape
(w: str)
book/cli/commands/headings.py:176
↓ 1 callersFunction_is_tabs_cell_function
True if this cell defines `build_*` closures or calls `mo.ui.tabs`.
labs/tests/test_static.py:701
↓ 1 callersFunction_is_valid_host_line
Return True if the line is a recognized valid host for a crossref ID.
book/tools/audit/checks/sec_slug_placement.py:114
↓ 1 callersMethod_is_valid_test_function
Check if an object is a valid test function. Args: name: Name of the object obj: The object to check
tinytorch/tito/tools/testing.py:100
↓ 1 callersFunction_is_walkthrough_line
(line: str, in_callout: bool)
book/cli/checks/lego_prose_literals.py:231
↓ 1 callersFunction_is_wsl
Check if running in WSL environment.
tinytorch/tito/core/auth.py:248
↓ 1 callersFunction_items
(values: Any)
labs/mlsysbook_labs/ui.py:570
↓ 1 callersFunction_iter_callout_blocks
Yield (start_lineno, end_lineno, block_lines). Only prose lines are included — content inside any fenced code block (including ``{python}`` c
book/cli/checks/lego_prose_literals.py:312
↓ 1 callersFunction_iter_files
Yield content HTML/XHTML files under the build directory. Handles three build layouts: - HTML site: build_dir/contents/.../*.html + build_
book/quarto/scripts/verify_rendered_xrefs.py:64
↓ 1 callersFunction_iter_files
Walk paths, returning sorted list of files. Stable for hashing. Excludes match against POSIX-style relative paths via simple glob (``fnmatch`
scripts/version/release.py:73
↓ 1 callersFunction_iter_python_cells
Yield (fence_line_1based, dedented_source) for each ```{python}``` block.
book/cli/checks/fmt_semantic_suffix.py:71
↓ 1 callersFunction_json_safe
Recursively convert quantities and rich objects into JSON-safe values.
mlsysim/mlsysim/cli/renderers.py:12
↓ 1 callersFunction_judge_batch
(chapter_slug: str, batch: list[ProsePacket])
book/tools/audit/lego_prose_coherence.py:230
↓ 1 callersMethod_kl_divergence
Compute KL divergence between distributions.
tinytorch/src/16_compression/16_compression.py:1150
↓ 1 callersFunction_latest_db
(releases_dir: Path)
interviews/vault-cli/src/vault_cli/commands/release.py:142
↓ 1 callersFunction_latest_debug_artifacts
(vol: str)
book/tools/audit/run_render_guarantee.py:33
↓ 1 callersMethod_layout_strategy_automatable
(strategy: str, report: PageReport)
book/cli/commands/layout.py:1585
↓ 1 callersMethod_layout_strategy_confidence
(strategy: str, report: PageReport)
book/cli/commands/layout.py:1570
↓ 1 callersFunction_legacy_symbols
()
book/tests/test_no_legacy_constant_refs.py:56
↓ 1 callersFunction_lego_cell_blocks
(path: Path)
book/tools/audit/book_check_lego_load_pint.py:69
↓ 1 callersFunction_lego_focal
(qmd: Path)
book/tools/audit/chapter_html_verify.py:271
↓ 1 callersFunction_line
(lines: list[str], lineno: int)
book/tools/audit/fmt/inventory_design_b_rates.py:86
↓ 1 callersFunction_line_hits
(line: str, closed_map: dict[str, frozenset[str]])
book/cli/checks/lego_prose_units.py:228
↓ 1 callersFunction_line_is_between_table_rules
Return true when the next line is probably a table row, not prose.
book/cli/commands/_pdf_checks.py:223
↓ 1 callersFunction_line_number_at
Return 1-indexed line number at byte offset `pos`.
book/tools/audit/checks/bibliography_hygiene.py:122
↓ 1 callersFunction_lint_dir
Lint a whole vault. Uses load_all for efficiency.
interviews/vault-cli/src/vault_cli/commands/lint.py:157
↓ 1 callersFunction_lint_file
Lint a single YAML file. Returns findings including load errors as ERRORs.
interviews/vault-cli/src/vault_cli/commands/lint.py:142
↓ 1 callersFunction_literal_str
(node)
book/cli/checks/fmt_semantic_suffix.py:97
↓ 1 callersFunction_live_html
(vol: str, ch_path: str)
book/tools/audit/chapter_html_verify.py:189
↓ 1 callersFunction_live_pdf
(vol: str)
book/tools/audit/chapter_pdf_verify.py:179
↓ 1 callersFunction_live_tex
(vol: str)
book/tools/audit/chapter_pdf_verify.py:183
↓ 1 callersMethod_load
(self, rel_path: str)
book/tools/audit/release/programmatic_locate.py:175
↓ 1 callersMethod_load_captions_baseline
Load per-file violation counts. Missing file → empty (no grandfather).
book/cli/commands/validate.py:3428
↓ 1 callersFunction_load_chain_index
qid -> [(chain_id, position), ...] from chains.json.
interviews/vault-cli/src/vault_cli/loader.py:30
↓ 1 callersFunction_load_checkpoint
Load checkpoint from previous interrupted run.
interviews/vault/scripts/generate.py:337
↓ 1 callersMethod_load_cifar10_proxy
Fallback: use CIFAR-10 as person detection proxy. CIFAR-10 classes: airplane=0, automobile=1, bird=2, cat=3, deer=4, dog=5, frog=6, h
mlperf-edu/reference/tiny/wake_vision_vww.py:161
↓ 1 callersFunction_load_curated_candidates
()
book/tools/scripts/margin_figures/generate_margin_figures.py:1744
↓ 1 callersFunction_load_definition_registry
(repo_root: Path)
book/tools/audit/checks/notation_consistency.py:114
↓ 1 callersFunction_load_embedding_model_and_corpus
Lazy: load BAAI/bge-small-en-v1.5 + corpus vectors once per run.
interviews/vault-cli/scripts/validate_drafts.py:125
↓ 1 callersFunction_load_exemplars
Load exemplars from vault/exemplars/ for the given cell.
interviews/vault-cli/src/vault_cli/commands/generate.py:104
↓ 1 callersMethod_load_from_huggingface
Load from Harvard-Edge/Wake-Vision on HuggingFace.
mlperf-edu/reference/tiny/wake_vision_vww.py:124
↓ 1 callersFunction_load_hardware_context
Load NUMBERS.md for hardware constants.
interviews/vault/scripts/generate_gaps.py:225
↓ 1 callersFunction_load_inventory
(path: Path)
book/tools/audit/fmt/codemod_design_b_multipliers.py:47
↓ 1 callersFunction_load_map
(vault_dir: Path)
interviews/vault-cli/src/vault_cli/book_refs.py:156
↓ 1 callersFunction_load_merged_mapping
()
book/tools/audit/refresh_mlsysim_constants_yamls.py:17
↓ 1 callersMethod_load_milestones_config
Load milestone configuration from YAML files (main and era-specific).
tinytorch/tito/commands/milestone.py:257
↓ 1 callersFunction_load_model
Dynamically import and instantiate a model from the registry.
mlperf-edu/scripts/orchestration/auto_trainer.py:60
↓ 1 callersFunction_load_module
(name: str, path: Path)
book/cli/commands/audit.py:19
↓ 1 callersMethod_load_progress
(self)
tinytorch/tests/milestones/milestone_tracker.py:66
↓ 1 callersFunction_load_quality_targets
Load quality targets from canonical workloads.yaml (single source of truth).
mlperf-edu/scripts/compliance_checker.py:32
↓ 1 callersMethod_load_scaffold_citation_baseline
(self)
book/cli/commands/validate.py:1647
↓ 1 callersFunction_load_secrets
Load API keys from ~/.config/vault/secrets.toml.
interviews/vault-cli/src/vault_cli/commands/generate.py:47
↓ 1 callersFunction_load_yaml_set
Load ``{vault_dir}/{filename}`` and extract IDs from its top-level ``key`` list.
interviews/vault-cli/src/vault_cli/validator.py:139
↓ 1 callersFunction_local_protected_spans
Spans on `line` where a `[^id]` token should NOT count as a footnote.
book/tools/audit/checks/footnote_numbering.py:65
↓ 1 callersFunction_looks_like_post_table_prose
Filter out tick labels, legends, and table rows from spacing warnings.
book/cli/commands/_pdf_checks.py:243
↓ 1 callersFunction_lookup
Resolve a prose ref to its formatter entry. Exact qualified match first (``Class.attr``). For a bare or unresolved ref, fall back to entries
book/cli/checks/fmt_prose_contract.py:220
↓ 1 callersMethod_lookup_spec
(self)
mlperf-edu/src/mlperf/hardware.py:58
↓ 1 callersFunction_m_as_quantity_parts
Return (quantity_expr, display_unit_expr) for ``q.m_as(unit)``.
book/tools/audit/fmt/codemod_fmt.py:552
↓ 1 callersMethod_mac_powermetrics_worker
Interacts with macOS `powermetrics` API perfectly. Will quietly fallback to TDP emulation if ran without `sudo` by students.
mlperf-edu/src/mlperf/power.py:18
↓ 1 callersFunction_machine_caps
Return (peak_FLOPS, peak_BW_GBps) from per-machine cache or defaults.
mlperf-edu/src/mlperf/roofline.py:41
↓ 1 callersMethod_maintain_footnotes
Manage footnotes: cleanup, reorganize, remove.
book/cli/commands/maintenance.py:708
↓ 1 callersMethod_maintain_glossary_paths
Show the canonical glossary source files.
book/cli/commands/maintenance.py:871
↓ 1 callersMethod_maintain_images_compress
Compress selected images with optional in-place apply.
book/cli/commands/maintenance.py:912
↓ 1 callersMethod_maintain_repo_health
Run repository health checks (non-destructive).
book/cli/commands/maintenance.py:1017
↓ 1 callersMethod_maintain_section_ids
Manage section IDs: add, repair, list, remove.
book/cli/commands/maintenance.py:476
↓ 1 callersFunction_make_lq
(topic: str)
interviews/vault-cli/tests/test_book_refs.py:106
↓ 1 callersMethod_make_table_contact_sheets
( self, pdf_path: Path, out_dir: Path, cols: int = 3, rows: int = 4,
book/cli/commands/layout.py:1149
↓ 1 callersFunction_map_json_strings
Return JSON value with mapper applied to every nested string.
book/quarto/scripts/resolve_cross_references.py:718
↓ 1 callersMethod_margin_graphic_objects
Return substantial image/vector boxes that sit in a margin band.
book/cli/commands/layout.py:2300
↓ 1 callersMethod_margin_strategy_confidence
( strategy: str, row: Dict[str, Any], )
book/cli/commands/layout.py:1593
↓ 1 callersMethod_margins
Strict margin layout gate. By default this uses the Binder-native PyMuPDF geometry scanner, which gates both element-on-element margi
book/cli/commands/layout.py:1869
↓ 1 callersMethod_mark_milestone_complete
Mark a milestone as complete in progress tracking.
tinytorch/tito/commands/milestone.py:1462
↓ 1 callersMethod_mark_pareto
(cls, candidates: List[CompressionCandidate])
mlsysim/mlsysim/engine/solvers/compression.py:359
↓ 1 callersMethod_mark_welcome_shown
Mark that the welcome message has been shown by creating .tito/ folder.
tinytorch/tito/main.py:158
↓ 1 callersFunction_mask_nonprose
Blank out spans where a ``%`` is legitimate or must stay verbatim. Order matters: code/math first (they may contain braces/quotes), then attr
book/cli/checks/percent_prose.py:64
← previousnext →4,001–4,100 of 13,553, ranked by callers