MCPcopy Create free account

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

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

↓ 1 callersFunction_bib_companion_root
(bib_path: Path)
book/tools/bib_sync_preserve.py:489
↓ 1 callersFunction_bib_entries_to_references
(bib_path: Path)
book/cli/commands/reference_check.py:113
↓ 1 callersMethod_bib_for_qmd
Find the .bib file referenced in a .qmd file's YAML front matter.
book/cli/commands/bib.py:212
↓ 1 callersMethod_bib_should_skip_cite_key
(cls, key: str)
book/cli/commands/validate.py:8808
↓ 1 callersMethod_bib_style_suggestion
(rule: str, key: str)
book/cli/commands/validate.py:9026
↓ 1 callersMethod_bibliography_for_qmd
Resolve the shared book references.bib for a book .qmd.
book/cli/commands/validate.py:1583
↓ 1 callersMethod_binary_search_sections
Binary search for the first section that breaks the build. Returns: Section index that causes failure, -1 if preamble fails, None
book/cli/commands/debug.py:498
↓ 1 callersFunction_body_spanners
Large body graphics/tables whose internals may enter the margin band.
book/cli/checks/margin_geometry.py:160
↓ 1 callersFunction_bold_spans
Return (start, end) ranges of all **...** spans on a line.
book/tools/audit/checks/compound_prefix.py:101
↓ 1 callersMethod_book_bib_files_for_root
(self, root: Path)
book/cli/commands/validate.py:8783
↓ 1 callersFunction_build
(volume, stem, fmt, log_dir)
book/tools/audit/chapter_build_sequence.py:15
↓ 1 callersFunction_buildCSS
()
socratiq/src_shadow/js/components/meditation/meditationTimer.js:168
↓ 1 callersFunction_buildHTML
()
socratiq/src_shadow/js/components/meditation/meditationTimer.js:46
↓ 1 callersFunction_build_bare_regex
Regex for bare `\\b<ABBREV>s?\\b` word-boundary match. Case-sensitive. Matches both singular and plural (e.g. `CNN` and `CNNs`) as the same l
book/tools/audit/checks/abbreviation_first_use.py:172
↓ 1 callersMethod_build_both_formats
Build both HTML and PDF formats sequentially.
book/cli/commands/build.py:801
↓ 1 callersFunction_build_canonical_regex
Regex for `<expansion> (<ABBREV>)` forward canonical introduction. The expansion part is case-insensitive and allows a trailing `s` for singu
book/tools/audit/checks/abbreviation_first_use.py:132
↓ 1 callersFunction_build_canonical_regex_reverse
Regex for `<ABBREV> (<expansion>)` reverse canonical introduction. Many footnote definitions and glossary entries use the reverse form: `**BL
book/tools/audit/checks/abbreviation_first_use.py:149
↓ 1 callersFunction_build_chain_index
Map qid -> {chain_id: position} from chains.json sidecar. Position is derived from the array index inside chains.json — chains are listed in
interviews/vault-cli/src/vault_cli/legacy_export.py:28
↓ 1 callersFunction_build_chain_tier_index
Map qid -> {chain_id: tier} from chains.json sidecar. Mirrors the shape of _build_chain_index so the runtime can join on chain_id. Missing ti
interviews/vault-cli/src/vault_cli/legacy_export.py:50
↓ 1 callersFunction_build_complete_report
(path: str, track_id: str)
labs/tests/test_report_contract.py:63
↓ 1 callersMethod_build_ghostscript_command
Build the Ghostscript command with optimized parameters. Args: input_path: Path to input PDF file output_pat
book/quarto/publish/compress_pdf.py:140
↓ 1 callersFunction_build_html
(vol: str, ch_path: str)
book/tools/audit/chapter_html_verify.py:170
↓ 1 callersFunction_build_id_index
Walk vol1/ + vol2/ under `root` and return the set of defined IDs.
book/tools/audit/checks/unresolved_xref.py:98
↓ 1 callersFunction_build_incomplete_report
(path: str, track_id: str)
labs/tests/test_report_contract.py:111
↓ 1 callersMethod_build_mappings
Build token-to-ID and ID-to-token mappings.
tinytorch/src/10_tokenization/10_tokenization.py:1092
↓ 1 callersFunction_build_milestones
()
tinytorch/tests/milestones/milestone_tracker.py:35
↓ 1 callersFunction_build_parser
(config: Config)
site/newsletter/cli/main.py:125
↓ 1 callersFunction_build_pdf
(vol: str, ch_path: str)
book/tools/audit/chapter_pdf_verify.py:164
↓ 1 callersMethod_build_pdf_stage
(self, volume: str, *, include_layout: bool)
book/cli/commands/release.py:402
↓ 1 callersMethod_build_plan
Classify each email: new, overwrite, skip, or error.
site/newsletter/cli/commands/pull.py:425
↓ 1 callersFunction_build_prompt
Build a generation prompt using structural metadata only (§12.3).
interviews/vault-cli/src/vault_cli/commands/generate.py:127
↓ 1 callersFunction_build_prompt
Build a Gemini prompt for one question generation task.
interviews/vault/vault.py:1119
↓ 1 callersFunction_build_regex
Build a single regex matching any of the 6 terms case-insensitively. The pattern is anchored with \\b on both sides so we don't match "pre-tr
book/tools/audit/checks/compound_prefix.py:78
↓ 1 callersMethod_build_stage_plan
(self, volumes: list[str], *, include_layout: bool)
book/cli/commands/release.py:392
↓ 1 callersFunction_build_steps
()
labs/mlsysbook_labs/track_arcs.py:200
↓ 1 callersFunction_build_suggestion
Insert `[@TODO-cite]` immediately after the matched attribution. The suggested_after field shows the operator (or a downstream subagent) exac
book/tools/audit/checks/bare_attribution.py:199
↓ 1 callersMethod_build_volume_pdf
(self, volume: str)
book/cli/commands/layout.py:1370
↓ 1 callersFunction_cached_generation_step
Execute a single cached generation step for one new token. This helper function isolates the core KV-cache logic, making it: - Testable
tinytorch/src/18_memoization/18_memoization.py:887
↓ 1 callersMethod_callCustomAPINonStreaming
* Make non-streaming API call to custom endpoint * @param {string} prompt - The prompt to send * @param {Object} config - API configuration *
socratiq/src_shadow/js/libs/agents/custom-api-adapter.js:137
↓ 1 callersMethod_callCustomAPIStreaming
* Make streaming API call to custom endpoint * @param {string} prompt - The prompt to send * @param {Object} config - API configuration * @re
socratiq/src_shadow/js/libs/agents/custom-api-adapter.js:87
↓ 1 callersFunction_call_gemini
(prompt: str, *, timeout: int = 600)
book/tools/audit/lego_prose_coherence.py:209
↓ 1 callersFunction_call_llm
Call the Anthropic API and return (response_text, cost_usd).
interviews/vault-cli/src/vault_cli/commands/generate.py:223
↓ 1 callersFunction_call_name
(node: ast.AST)
book/tools/audit/fmt/inventory_design_b_rates.py:38
↓ 1 callersFunction_call_name
(node: ast.AST)
book/tools/audit/fmt/codemod_design_b_rates.py:124
↓ 1 callersFunction_call_name
(node: ast.AST)
book/cli/checks/math_canonical.py:728
↓ 1 callersFunction_call_names
(node: ast.AST)
book/tools/audit/book_check_lego_scenario_inputs.py:268
↓ 1 callersMethod_candidate_label
(method: str, target_bitwidth: int, sparsity: float, sparsity_type: str)
mlsysim/mlsysim/engine/solvers/compression.py:349
↓ 1 callersFunction_candidate_options
(defaults: Mapping[str, Any])
labs/mlsysbook_labs/architecture.py:148
↓ 1 callersFunction_canon
(el: ET.Element)
book/tools/scripts/audit/svg_audit.py:329
↓ 1 callersFunction_canon_math
(s: str)
book/tools/audit/checks/notation_consistency.py:223
↓ 1 callersMethod_caption_is_after_pipe_table
Return True when a caption is already attached below a pipe table.
book/cli/commands/validate.py:3612
↓ 1 callersMethod_caption_text
(caption_line: str)
book/cli/commands/layout.py:970
↓ 1 callersFunction_case_hyphenated
Apply sentence-case to each part of a hyphenated compound per §10.8.
book/cli/commands/headings.py:224
↓ 1 callersFunction_categorize
Auto-categorize based on subject keywords, falling back to length.
site/newsletter/cli/commands/pull.py:98
↓ 1 callersFunction_causal_chain
(candidate)
book/tools/scripts/margin_figures/generate_margin_figures.py:1961
↓ 1 callersMethod_cell_source
(cell: Dict)
tinytorch/tito/commands/nbgrader.py:504
↓ 1 callersFunction_changed_yaml_paths
(base: str)
interviews/vault-cli/scripts/check_reviewer_identity.py:62
↓ 1 callersFunction_chapter_for_tex_line
(line_num: int)
book/cli/commands/_pdf_checks.py:431
↓ 1 callersFunction_chapter_id
(vol: str, ch_path: str)
book/tools/audit/chapter_pdf_verify.py:156
↓ 1 callersFunction_chapter_id
(vol: str, ch_path: str)
book/tools/audit/chapter_html_verify.py:145
↓ 1 callersFunction_chapter_key
(path: Path)
book/tools/audit/book_check_lego_scenario_inputs.py:195
↓ 1 callersFunction_chapter_matches
(chapter: str, filters: list[str])
book/tools/scripts/margin_figures/render_margin_contact_sheet.py:39
↓ 1 callersFunction_chapter_of
(svg_path: str)
book/tools/scripts/audit/svg_audit.py:138
↓ 1 callersFunction_chapter_qmd
(root: Path, vol: str, name: str)
book/tools/audit/lego_prose_coherence.py:51
↓ 1 callersFunction_chapter_qmd_path
Return the main QMD path for a chapter, or ``None`` if absent. The directory name and QMD stem normally match; the fallback handles the case
book/tools/scripts/quizzes/build_prior_vocab.py:71
↓ 1 callersFunction_chapter_url
(vol: int, chapter: str)
interviews/vault-cli/src/vault_cli/book_refs.py:48
↓ 1 callersFunction_chapters_from_html_sidebar
Extract buildable chapter stems from the HTML config sidebar (href entries).
book/cli/core/discovery.py:33
↓ 1 callersFunction_chapters_with_inline_python
(vol: str)
book/tools/audit/run_render_guarantee.py:53
↓ 1 callersMethod_check
( self, pdf_path: Path, threshold: float, limit: int, only: Optional[s
book/cli/commands/layout.py:1669
↓ 1 callersFunction_check_api_key
The Buttondown API key is set in env or the .env file.
site/newsletter/cli/core/validate.py:158
↓ 1 callersFunction_check_applicability
Invariant #15: no questions in (track, topic) cells marked excluded (B.8 / §5).
interviews/vault-cli/src/vault_cli/validator.py:421
↓ 1 callersFunction_check_ast_no_legacy_imports
Flag ``from mlsysim.core.units import H100_*`` style imports in table cells.
book/tools/audit/generate_appendix_constants.py:264
↓ 1 callersMethod_check_baseline
Ratchet: compare per-volume counts against a recorded baseline. If *baseline_path* is None, do nothing (the flat --max-fatal / --max-
book/cli/commands/validate.py:7738
↓ 1 callersFunction_check_budget
Fail if today's spend + estimated cost exceeds the daily budget.
interviews/vault-cli/src/vault_cli/commands/generate.py:83
↓ 1 callersMethod_check_build_artifacts
Check for build artifacts and output directories.
book/cli/commands/doctor.py:430
↓ 1 callersMethod_check_chapter_files
Check chapter files and structure.
book/cli/commands/doctor.py:218
↓ 1 callersMethod_check_cli
Check CLI commands work.
tinytorch/tito/commands/dev/preflight.py:368
↓ 1 callersMethod_check_configuration_files
Check Quarto configuration files.
book/cli/commands/doctor.py:138
↓ 1 callersFunction_check_d1_connectivity
()
interviews/vault-cli/src/vault_cli/commands/doctor.py:153
↓ 1 callersFunction_check_dashes
Em-dashes and en-dashes are a known style issue for this newsletter.
site/newsletter/cli/core/validate.py:143
↓ 1 callersFunction_check_dependencies
Make sure all runtime deps are importable.
site/newsletter/cli/core/validate.py:52
↓ 1 callersFunction_check_depth
(obj: Any, max_depth: int = MAX_DEPTH, depth: int = 0)
interviews/vault-cli/src/vault_cli/yaml_io.py:54
↓ 1 callersMethod_check_docs
Check documentation exists.
tinytorch/tito/commands/dev/preflight.py:702
↓ 1 callersMethod_check_e2e
Run E2E tests.
tinytorch/tito/commands/dev/preflight.py:651
↓ 1 callersMethod_check_epub_health
Check EPUB tooling availability and source hygiene. Emits four checks under the "EPUB" category: 1. Java runtime (JRE 8+) — requir
book/cli/commands/doctor.py:265
↓ 1 callersFunction_check_fmt_precision
Fail loudly when formatting would hide meaningful magnitude. Three failure modes: 1. Any precision: non-zero value displayed as ``0`` (e.g. 0
mlsysim/mlsysim/fmt.py:113
↓ 1 callersFunction_check_frontmatter
Every required frontmatter field is present and well-formed.
site/newsletter/cli/core/validate.py:66
↓ 1 callersFunction_check_git_installed
Ensure git is reachable so the archive/commit workflow works.
site/newsletter/cli/core/validate.py:178
↓ 1 callersMethod_check_git_state
Check git repository state.
tinytorch/tito/commands/dev/preflight.py:471
↓ 1 callersMethod_check_git_status
Check git repository status.
book/cli/commands/doctor.py:458
↓ 1 callersFunction_check_images
Every local image referenced in the markdown exists on disk.
site/newsletter/cli/core/validate.py:118
↓ 1 callersMethod_check_imports
Quick check if package is already built.
tinytorch/tito/commands/dev/test.py:310
↓ 1 callersMethod_check_imports
Check that key imports work.
tinytorch/tito/commands/dev/preflight.py:423
↓ 1 callersMethod_check_invalid_command
Check for invalid commands and provide a helpful error message. Returns exit code if handled, None to continue normal parsing.
tinytorch/tito/main.py:324
↓ 1 callersMethod_check_jupyter_kernel
Check if a TinyTorch Jupyter kernel is registered.
tinytorch/tito/commands/system/health.py:255
↓ 1 callersFunction_check_link_rot
Nightly job runs this — shipping a stub that reads the artifact.
interviews/vault-cli/src/vault_cli/commands/doctor.py:235
↓ 1 callersFunction_check_llm_spend_ledger
()
interviews/vault-cli/src/vault_cli/commands/doctor.py:217
↓ 1 callersMethod_check_milestone_readiness
Check which milestones are unlocked or ready. Uses the canonical ``MILESTONE_SCRIPTS`` table from ``tito milestone`` so module status
tinytorch/tito/commands/module/workflow.py:1643
↓ 1 callersMethod_check_milestone_unlocks
Show newly runnable milestones after completing a module.
tinytorch/tito/commands/module/workflow.py:1761
↓ 1 callersMethod_check_milestones
Check milestone scripts exist and are runnable.
tinytorch/tito/commands/dev/preflight.py:605
← previousnext →3,601–3,700 of 13,553, ranked by callers