MCPcopy Create free account

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

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

↓ 1 callersMethod_dominates
(left: CompressionCandidate, right: CompressionCandidate)
mlsysim/mlsysim/engine/solvers/compression.py:367
↓ 1 callersFunction_downgrade_scenario_comment
( line: str, target: str, confidence: str, reason: str, )
book/tools/audit/book_check_lego_scenario_inputs.py:377
↓ 1 callersMethod_download_latest
Download latest TinyTorch to temp directory using git sparse checkout. Returns True on success, False on failure.
tinytorch/tito/commands/system/update.py:185
↓ 1 callersFunction_drawHint
()
socratiq/src_shadow/js/components/draw-select/drawSelect.js:160
↓ 1 callersFunction_duplicate_unit_after_value
Closed-formatter value followed by the same unit typed in prose. 2026-06-07: rewritten after mutation testing showed the original version rec
book/tools/audit/fmt/audit_lego_rendered_prose.py:181
↓ 1 callersFunction_email_to_markdown
Convert a Buttondown email to (year, filename, markdown content).
site/newsletter/cli/commands/pull.py:200
↓ 1 callersFunction_embedding_text
Concatenated text to embed. Order matches _content_hash.
interviews/vault-cli/src/vault_cli/chains/embeddings.py:51
↓ 1 callersMethod_emit
(self, as_json: bool, payload: Dict[str, Any], failed: bool)
book/cli/commands/validate.py:8539
↓ 1 callersMethod_empty_stats
()
book/cli/commands/info.py:371
↓ 1 callersFunction_ensure_book_on_path
Add book/quarto to sys.path so mlsysim.* imports resolve for star-import analysis.
book/tools/scripts/maintenance/validate_inline_refs.py:359
↓ 1 callersFunction_ensure_dir
()
tinytorch/tito/core/auth.py:50
↓ 1 callersMethod_ensure_module_notebook
Return the generated notebook, creating it from src/ if needed.
tinytorch/tito/commands/nbgrader.py:381
↓ 1 callersFunction_ensure_tag
Create v<version> tag if missing; return status. Soumith R10-F-3: shared between `tag_cmd` and `ship_cmd.paper_forward` so the skip-if-exists
interviews/vault-cli/src/vault_cli/commands/release.py:106
↓ 1 callersFunction_entry_batches
(entries: Sequence, chunk_size: int)
book/tools/bib_sync_preserve.py:281
↓ 1 callersFunction_entry_body_end
Return the index of the closing `}` that balances the open brace at `open_brace_pos`. Returns -1 if unbalanced (malformed entry).
book/tools/audit/checks/bibliography_hygiene.py:68
↓ 1 callersFunction_entry_first_line
Return the first line of the entry (for the Issue's `before` field).
book/tools/audit/checks/bibliography_hygiene.py:127
↓ 1 callersFunction_enum_member_key
Python Enum member names must be valid identifiers.
interviews/vault-cli/src/vault_cli/models.py:73
↓ 1 callersFunction_epsilon_budget
(candidate)
book/tools/scripts/margin_figures/generate_margin_figures.py:1955
↓ 1 callersFunction_erlang_c
(arrival_qps: float, service_ms: float, replicas: int)
labs/mlsysbook_labs/serving.py:212
↓ 1 callersFunction_error_feedback
(candidate)
book/tools/scripts/margin_figures/generate_margin_figures.py:1949
↓ 1 callersFunction_error_lineno
(exc: BaseException)
book/tools/audit/fmt/fix_precision.py:109
↓ 1 callersFunction_estimate_cost
(model: str, input_tokens: int, output_tokens: int)
interviews/vault-cli/src/vault_cli/commands/generate.py:218
↓ 1 callersFunction_estimate_tokens
Rough token estimate: ~4 chars per token.
interviews/vault-cli/src/vault_cli/commands/generate.py:211
↓ 1 callersMethod_evaluate_submission_tolerances
Referee grading hook: Prevents students from faking performance by ruining accuracy. Extracts student self-reported 'accuracy' (or co
mlperf-edu/src/mlperf/loadgen.py:94
↓ 1 callersFunction_exec_python_cells
(lines: list[str])
book/tools/audit/book_check_lego_equations.py:40
↓ 1 callersFunction_exec_with_cell_errors
Exec cells; attribute exec failures to the cell line that failed. Returns ``(namespace, lego_classes, errors, cell_warnings)`` where ``cell_w
book/tools/audit/fmt/audit_lego_cells.py:104
↓ 1 callersMethod_export_all_modules
Export all modules.
tinytorch/tito/commands/dev/export.py:181
↓ 1 callersMethod_export_leaderboard
(self, grades)
mlperf-edu/scripts/autograder/grade_all.py:88
↓ 1 callersMethod_export_specific_modules
Export specific modules.
tinytorch/tito/commands/dev/export.py:132
↓ 1 callersFunction_exports_for_class
Exports declared on ``cls`` body only (stop at next top-level class).
book/tools/audit/fmt/audit_lego_cells.py:56
↓ 1 callersMethod_extractBase64FromUrl
* Extract base64 data from data URL
socratiq/src_shadow/js/libs/agents/gemini-adapter.js:127
↓ 1 callersMethod_extractContentFromNonStreamingResponse
* Extract content from non-streaming response based on provider * @param {Object} data - Response data * @param {string} provider - Provider nam
socratiq/src_shadow/js/libs/agents/custom-api-adapter.js:369
↓ 1 callersFunction_extractTextInPath
(polygon)
socratiq/src_shadow/js/components/draw-select/drawSelect.js:202
↓ 1 callersMethod_extract_alignments
Extract alignment from separator line.
book/tools/scripts/content/format_tables.py:194
↓ 1 callersFunction_extract_arxiv_id
(entry: dict)
book/cli/commands/reference_check.py:101
↓ 1 callersMethod_extract_bib_keys
Extract all entry keys from a .bib file.
book/cli/commands/bib.py:204
↓ 1 callersFunction_extract_cell_blocks
Extract Python code cells from a QMD file. Returns list of (start_line_1based, source_code) tuples.
book/tools/scripts/maintenance/validate_inline_refs.py:389
↓ 1 callersFunction_extract_citations
Return (col, key) tuples for every citation on the line. Filters out Quarto cross-references (@sec-, @fig-, @tbl-, @eq-, @lst-, @alg-).
book/tools/audit/checks/duplicate_citation.py:99
↓ 1 callersMethod_extract_cited_keys
Extract all citation keys from a .qmd file.
book/cli/commands/bib.py:188
↓ 1 callersFunction_extract_code_cell_figures
Extract figures defined in code cells using #| cell options. Scans for fenced code blocks (```{python}, ```{r}, etc.) and collects #| la
book/tools/scripts/publish/extract_figures.py:114
↓ 1 callersMethod_extract_epub
Extract EPUB contents to temporary directory. Args: epub_path: Path to EPUB file extract_dir: Directory to e
book/quarto/publish/compress_epub.py:169
↓ 1 callersMethod_extract_fallback_context
Fallback: extract ±300 words around figure reference.
book/tools/scripts/content/manage_captions.py:870
↓ 1 callersMethod_extract_figures
Extract all figures from a QMD file, deduplicating by label.
book/cli/commands/info.py:711
↓ 1 callersMethod_extract_from_text
Extract packages from plain text files (TEX, MD, etc.).
book/tools/scripts/maintenance/update_texlive_packages.py:81
↓ 1 callersMethod_extract_from_yaml
Extract packages from YAML files by searching for LaTeX content.
book/tools/scripts/maintenance/update_texlive_packages.py:105
↓ 1 callersFunction_extract_heading_text
Strip Markdown heading markers, {#...} anchors, and attributes from a line.
book/quarto/scripts/resolve_cross_references.py:74
↓ 1 callersFunction_extract_math_occurrences
Extract inline + display math from a QMD source (best-effort).
book/tools/audit/checks/notation_consistency.py:157
↓ 1 callersMethod_extract_pytest_error
Extract error message for a specific failed test from pytest output.
tinytorch/tito/commands/module/workflow.py:1158
↓ 1 callersFunction_extract_python_cells
Yield ``(fence_line, source)`` for each Python cell in a QMD file.
book/cli/checks/math_canonical.py:708
↓ 1 callersFunction_extract_python_exception
If this console line carries a marimo-structured Python exception, return a compact one-line summary; otherwise None.
labs/tests/browser_smoke.py:103
↓ 1 callersFunction_extract_python_figures
Extract Python code blocks that have a ``fig-*`` label.
book/cli/commands/render.py:36
↓ 1 callersFunction_extract_quarto_warnings
Scan build output for known Quarto warning patterns. Returns a deduplicated list of human-readable warning strings.
book/cli/commands/debug.py:131
↓ 1 callersFunction_fetch_subscriber_count
(api_key: str)
site/newsletter/cli/commands/pull.py:272
↓ 1 callersMethod_fetch_wikitext
Fetches TinyShakespeare/Wikitext bounds!
mlperf-edu/scripts/orchestration/data_fetcher.py:15
↓ 1 callersMethod_filter_stages
( self, stages: list[ReleaseStage], ns: argparse.Namespace )
book/cli/commands/release.py:444
↓ 1 callersMethod_final_check_stage
(self, volumes: list[str])
book/cli/commands/release.py:431
↓ 1 callersFunction_find_bib_files
(args: Sequence[str])
book/tools/bib_sync_preserve.py:456
↓ 1 callersFunction_find_bridges
(lines, blocks, class_body)
book/tools/scripts/migrate_bridges.py:80
↓ 1 callersMethod_find_callout_blocks
Return source callout divs with balanced fence bounds. Quarto callouts in this repo are fenced divs such as ``:::: {#id .callout-note
book/cli/commands/layout.py:3036
↓ 1 callersFunction_find_chapter_qmd
Locate the .qmd file for a chapter. Searches the volume directory first, then falls back to the shared directory (e.g. contents/shared/notati
book/cli/commands/debug.py:74
↓ 1 callersFunction_find_class_body_lines
(lines, blocks)
book/tools/scripts/migrate_bridges.py:61
↓ 1 callersFunction_find_code_blocks
(lines: list[str])
book/tools/scripts/migrate_bridges.py:40
↓ 1 callersFunction_find_comprehension_scope_issues
Detect class-scope variables referenced inside list/dict/set/generator comprehensions. In Python 3, comprehensions inside class bodies cannot acc
book/tools/scripts/maintenance/validate_inline_refs.py:531
↓ 1 callersFunction_find_div_equations
(line: str)
book/tools/audit/book_check_lego_equations.py:121
↓ 1 callersFunction_find_epubcheck_executable
Return a subprocess argv prefix for invoking epubcheck, or None. Preference order: 1. `java -jar <bundled-jar>` when the `epubcheck` PyPI p
book/cli/commands/_epub_checks.py:426
↓ 1 callersFunction_find_html_contexts
(value: str, paragraphs: list[str])
book/tools/audit/fmt/audit_lego_rendered_prose.py:161
↓ 1 callersMethod_find_images_for_compression
Find large images under contents for bulk compression.
book/cli/commands/maintenance.py:890
↓ 1 callersMethod_find_latex_in_yaml
Recursively find LaTeX content in YAML structure.
book/tools/scripts/maintenance/update_texlive_packages.py:132
↓ 1 callersMethod_find_latex_manifest
Locate the LaTeX figure manifest (*_figures.txt). Search order: 1. Explicit --manifest path 2. ``output-dir`` directories
book/cli/commands/info.py:656
↓ 1 callersFunction_find_name_line
Find approximate line number of a name reference in source code.
book/tools/scripts/maintenance/validate_inline_refs.py:682
↓ 1 callersMethod_find_problems_in_content
Find problematic patterns in file content
book/tools/scripts/utilities/manage_sources.py:153
↓ 1 callersFunction_find_qmd
(vol: str, stem: str)
book/tools/audit/render_playwright_verify.py:82
↓ 1 callersMethod_find_qmd_files
Find all .qmd files under root.
book/cli/commands/bib.py:174
↓ 1 callersFunction_find_runtime_bootstrap_line
Return the line number of runtime package install in the setup cell.
labs/tests/test_static.py:465
↓ 1 callersFunction_findings_for_cell
(path: Path, cell_start: int, code: str)
book/tools/audit/book_check_lego_scenario_inputs.py:408
↓ 1 callersFunction_finish
()
socratiq/src_shadow/js/components/meditation/meditationTimer.js:338
↓ 1 callersFunction_first_paragraph
(text: str)
book/tools/scripts/quizzes/build_prior_vocab.py:104
↓ 1 callersFunction_fix_bibtex_url_escapes
r"""Rewrite URL fields to strip BibTeX escapes and percent-encode < >.
book/cli/commands/_epub_checks.py:311
↓ 1 callersFunction_fix_cell
(code: str, prior_cells: list[str])
book/tools/audit/fmt/fix_precision.py:154
↓ 1 callersFunction_fix_fmt_call
(call: str, msg: str)
book/tools/audit/fmt/fix_precision.py:26
↓ 1 callersMethod_fix_hint
One-word suggested fix per culprit class.
book/cli/commands/layout.py:3351
↓ 1 callersMethod_fix_list_spacing
Fix list spacing in content. 1. Add blank line before lists when preceded by paragraph text ending with ':' 2. Remove blank lines bet
book/cli/commands/formatting.py:368
↓ 1 callersFunction_fix_sentence_case
Transform a heading text into sentence-case form (H3+ rule).
book/cli/commands/headings.py:278
↓ 1 callersFunction_fix_svg_aria_label_c0
Strip C0 control chars from aria-label values. Returns bytes removed.
book/cli/commands/_epub_checks.py:254
↓ 1 callersFunction_fix_svg_duplicate_markers
Remove duplicate `<marker id="X"/>` blocks; keep the first occurrence.
book/cli/commands/_epub_checks.py:284
↓ 1 callersFunction_fix_term_head_case
(body: str)
book/tools/scripts/mit_press/check_footnote_caps.py:257
↓ 1 callersFunction_fix_year_field
(field: Field)
book/cli/core/bib_mechanical.py:114
↓ 1 callersFunction_flag_preview
(preview: str)
book/tools/audit/fmt/audit_prose.py:121
↓ 1 callersFunction_fmt_call_expr
(call: str)
book/tools/audit/fmt/fix_precision.py:38
↓ 1 callersFunction_fmt_target
(target: str)
book/tools/audit/refresh_mlsysim_constants_yamls.py:27
↓ 1 callersMethod_format_figures
(self, figures: List[Dict], fmt: str, with_pdf: bool = False)
book/cli/commands/info.py:836
↓ 1 callersFunction_format_metric
Format a metric value for display.
mlperf-edu/src/mlperf/report.py:46
↓ 1 callersMethod_format_milestones
Transforms local milestone storage format to the API array format.
tinytorch/tito/core/submission.py:100
↓ 1 callersMethod_format_previous_quizzes
Format previous quiz information to avoid overlap.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:2112
↓ 1 callersFunction_fresh_ns
(prior_cells: list[str])
book/tools/audit/fmt/fix_precision.py:117
↓ 1 callersMethod_function_name_to_test_name
Convert a function name to a readable test name. Args: function_name: The function name (e.g., 'test_tensor_creation_com
tinytorch/tito/tools/testing.py:126
↓ 1 callersFunction_gather_system_info
Gather system information as a dictionary. Shared by both output modes.
tinytorch/tito/commands/system/info.py:18
↓ 1 callersMethod_generateAnswerNonStreaming
* Non-streaming answer generation (for Gemini)
socratiq/src_shadow/js/libs/agents/duck-ai-cloudflare.js:266
↓ 1 callersMethod_generateAnswerStreaming
* Streaming answer generation
socratiq/src_shadow/js/libs/agents/duck-ai-cloudflare.js:187
↓ 1 callersMethod_generateFlashcardsNonStreaming
* Non-streaming flashcards generation (for Gemini)
socratiq/src_shadow/js/libs/agents/duck-ai-cloudflare.js:405
← previousnext →3,801–3,900 of 13,553, ranked by callers