MCPcopy Create free account

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

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

↓ 1 callersFunctionfindParagraphByText
* Find a paragraph by matching text content * @param {string} searchText - The text to search for * @returns {HTMLElement|null} - The matching parag
socratiq/src_shadow/js/components/markdown/reference_renderer.js:301
↓ 1 callersMethodfindParentNode
(node, allNodes)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:539
↓ 1 callersFunctionfindPath
(start, end)
site/assets/games/topology.mjs:207
↓ 1 callersFunctionfindPython3
* Locate python3 binary. Tries several strategies: * 1. User-configured path * 2. `python3` on PATH (via shell) * 3. Common macOS/Linux locations
book/vscode-ext/src/providers/qmdPythonValueResolver.ts:167
↓ 1 callersFunctionfindSentencesByTopicAndFilterOriginal
(text, topic)
socratiq/src_shadow/js/libs/agents/key_terms_summary.js:149
↓ 1 callersMethodfindTextNode
* Find text node containing the selection
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:6995
↓ 1 callersMethodfindTextNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctionfind_all_bib_files
Walk the repo and return all tracked .bib files.
book/cli/checks/bib_lint.py:978
↓ 1 callersFunctionfind_bib_files
Return explicit .bib files or every git-tracked .bib in the repo.
book/cli/core/bib_mechanical.py:187
↓ 1 callersFunctionfind_chapter_qmd
Locate the .qmd file for a chapter.
book/tools/scripts/testing/debug_section_builds.py:35
↓ 1 callersFunctionfind_code_block_end
Find the closing ``` of a code block.
book/tools/scripts/content/relocate_figures.py:122
↓ 1 callersFunctionfind_code_block_start
Find the start of a code block containing #| lst-label. Code blocks start with ```{...}
book/tools/scripts/content/relocate_figures.py:106
↓ 1 callersFunctionfind_current_text
Extract current fig-cap and fig-alt from the QMD source.
book/tools/scripts/figure_audit_review.py:122
↓ 1 callersFunctionfind_default_epub
Find the most recently generated EPUB in common build locations.
book/quarto/scripts/epub_postprocess.py:402
↓ 1 callersFunctionfind_drafts
(scope: Path | None = None)
interviews/vault-cli/scripts/validate_drafts.py:86
↓ 1 callersFunctionfind_drafts_by_id
Return id -> path for every YAML that's currently status:draft.
interviews/vault/scripts/promote_validated.py:69
↓ 1 callersFunctionfind_exemplars
Pick up to `limit` published questions in the same (track, topic) at the target level. Used as style-and-cognitive-load exemplars for the draf
interviews/vault-cli/scripts/generate_question_for_gap.py:195
↓ 1 callersFunctionfind_gaps
Identify all cells with fewer than `target` questions.
interviews/vault/scripts/generate_gaps.py:195
↓ 1 callersFunctionfind_grid_tables
Find all grid tables in a QMD file.
book/tools/scripts/content/validate_tables.py:63
↓ 1 callersFunctionfind_html
Locate the rendered HTML for this chapter.
tools/audit/audit_math_rendering.py:138
↓ 1 callersFunctionfind_html_files_with_announcement
Find all HTML files that contain quarto-announcement.
book/tools/scripts/publish/modify_dev_announcement.py:23
↓ 1 callersFunctionfind_insertion_point
Find the safe insertion point for an element after its first reference. Rules: 1. Find the paragraph containing the reference 2.
book/tools/scripts/content/relocate_figures.py:375
↓ 1 callersFunctionfind_journal_for_entry
Try to determine journal from eprint or other fields.
book/tools/scripts/content/fix_bibliography.py:115
↓ 1 callersFunctionfind_label_volume_chapter
Return (volume, chapter_dir, qmd_file_path_relative) for a fig label.
book/tools/audit/release/vol2_baseline.py:31
↓ 1 callersFunctionfind_latex_manifest
r"""Find the LaTeX figure manifest written by header-includes.tex. LaTeX writes \jobname_figures.txt into the quarto root during PDF compilat
book/quarto/scripts/mit_press/generate_figure_list.py:41
↓ 1 callersMethodfind_listing_definition_enhanced
Enhanced listing detection that handles multiple instances. Args: content: QMD file content lst_id: Listing
book/tools/scripts/content/manage_captions.py:3939
↓ 1 callersFunctionfind_markdown_files
Find all markdown files in specified directories.
tinytorch/tools/dev/validate_cli_docs.py:129
↓ 1 callersFunctionfind_math_spans
Find all LaTeX $...$ math spans in a line, skipping currency ($0.50, $27,500).
book/tools/scripts/content/validate_tables.py:130
↓ 1 callersMethodfind_package
Find the TeX Live package that provides a given LaTeX component. Args: component: LaTeX package name (e.g., 'geometry',
book/tools/scripts/maintenance/update_texlive_packages.py:196
↓ 1 callersFunctionfind_pages
(pdf: Path, pattern: str)
tools/audit/audit_pdf_spot_check.py:75
↓ 1 callersFunctionfind_paragraph_boundary
Find the start and end of the paragraph containing line_num.
book/tools/scripts/content/relocate_figures.py:344
↓ 1 callersFunctionfind_pdf
(name: str, volume: str, qmd_path: Path)
tools/audit/audit_math_pdf.py:144
↓ 1 callersFunctionfind_publisher_for_entry
Try to determine publisher from booktitle or other fields.
book/tools/scripts/content/fix_bibliography.py:90
↓ 1 callersFunctionfind_qmd_file_from_quiz
Find the corresponding QMD file for a quiz file
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4117
↓ 1 callersFunctionfind_qmd_files
Find all QMD content files, optionally restricted to vol1 or vol2.
book/tools/scripts/maintenance/validate_pint_usage.py:197
↓ 1 callersFunctionfind_qmd_files
Return every `.qmd` file reachable from the given paths.
book/tools/scripts/mit_press/check_footnote_caps.py:109
↓ 1 callersMethodfind_qmd_files
Find all .qmd files in a directory recursively.
book/tools/scripts/content/manage_captions.py:199
↓ 1 callersFunctionfind_qmd_references
Find all QMD files that reference the given SVG file. Returns: List of tuples: (file_path, line_number, line_content)
book/tools/scripts/images/convert_svg_to_png.py:29
↓ 1 callersFunctionfind_question_file
(qid: str)
interviews/vault-cli/scripts/apply_math_skip_level.py:40
↓ 1 callersFunctionfind_quiz_file_from_qmd
Find the corresponding quiz file for a QMD file
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4103
↓ 1 callersFunctionfind_repo_root
()
book/tools/scripts/build_citation_reference_packets.py:19
↓ 1 callersFunctionfind_repo_root
()
scripts/cross-references/audit_crossrefs.py:18
↓ 1 callersFunctionfind_repo_root
()
scripts/cross-references/build_semantic_validation_packets.py:19
↓ 1 callersFunctionfind_repo_root
()
scripts/cross-references/merge_crossref_reports.py:20
↓ 1 callersFunctionfind_safe_insertion_points
Find safe insertion points for quiz callouts in markdown content. This function identifies where quiz callouts should be inserted by finding
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:6482
↓ 1 callersFunctionfind_simple_boxes
Find simple ASCII boxes (exactly 2 │ per content line). Returns list of (start_line, end_line, lines) tuples.
tinytorch/tools/dev/fix_ascii_boxes.py:28
↓ 1 callersFunctionfind_spacing_issues
Find spacing issues inside div blocks.
book/tools/scripts/content/format_div_spacing.py:95
↓ 1 callersFunctionfind_status_published_line
Return the index of the top-level ``status: published`` line, or None. Returns None for any other status (draft / flagged / deleted / archive
interviews/vault-cli/scripts/backfill_provenance.py:52
↓ 1 callersMethodfind_svg_files
Find all SVG files in the build directory.
book/quarto/scripts/clean_svgs.py:82
↓ 1 callersFunctionfind_table_start
Find the start of a grid/pipe table that ends with a caption. Tables are preceded by blank lines and consist of |---| style rows.
book/tools/scripts/content/relocate_figures.py:72
↓ 1 callersFunctionfind_tikz_blocks
(text: str)
book/tools/scripts/testing/tikz_style_linter.py:68
↓ 1 callersFunctionfind_undefined_styles_in_block
(block_text: str, defined_styles: Set[str])
book/tools/scripts/testing/tikz_style_linter.py:135
↓ 1 callersFunctionfind_violations
(file: Path)
book/tools/audit/index/check_tag_placement.py:22
↓ 1 callersFunctionfind_violations
(file: Path)
book/tools/audit/index/format_audit.py:50
↓ 1 callersFunctionfinite_diff_grad
Numerical gradient via central differences. Perturbations are applied in float32 (matching Tensor's internal dtype) to avoid precision m
tinytorch/tests/06_autograd/test_gradient_correctness.py:57
↓ 1 callersFunctionfireBackwardEvent
()
site/assets/games/oom.js:134
↓ 1 callersFunctionfireBackwardEvent
()
site/assets/games/oom.mjs:364
↓ 1 callersFunctionfireStepEvent
()
site/assets/games/oom.js:113
↓ 1 callersFunctionfireStepEvent
()
site/assets/games/oom.mjs:345
↓ 1 callersFunctionfirst_meaningful_char
Return (char, offset-into-body) of the first letter to audit. Strips an optional leading `**` bold opener. Returns ("", -1) if no letter is p
book/tools/scripts/mit_press/check_footnote_caps.py:120
↓ 1 callersFunctionfirst_vol1_chapter
(repo_root: Path)
book/vscode-ext/scripts/smoke_extension_ux.py:93
↓ 1 callersFunctionfix_all
Apply all auto-fixable issues in the ledger, grouped by file.
book/tools/audit/fix_script_lane.py:336
↓ 1 callersFunctionfix_backslash_pipes
Replace \\| with \\Vert in LaTeX math contexts within table rows.
book/tools/scripts/content/validate_tables.py:372
↓ 1 callersFunctionfix_box_alignment
Fix alignment of a simple box.
tinytorch/tools/dev/fix_ascii_boxes.py:135
↓ 1 callersMethodfix_capitalization_after_periods
Fix capitalization after periods, handling edge cases properly.
book/tools/scripts/content/manage_captions.py:477
↓ 1 callersFunctionfix_cross_reference_link
Replace a single cross-reference link with proper HTML link.
book/quarto/scripts/resolve_cross_references.py:542
↓ 1 callersFunctionfix_cross_references_in_extracted_epub
Fix cross-references in extracted EPUB directory.
book/quarto/scripts/epub_postprocess.py:272
↓ 1 callersFunctionfix_doi
(value: str)
book/cli/core/bib_mechanical.py:70
↓ 1 callersFunctionfix_file
Apply all fixes to a single file, running safety checks before writing.
book/tools/audit/fix_script_lane.py:267
↓ 1 callersFunctionfix_file
(path: Path)
book/tools/audit/fmt/fix_precision.py:201
↓ 1 callersFunctionfix_file
(path: Path)
book/tools/audit/fmt/fix_spurious_prose.py:61
↓ 1 callersFunctionfix_file
(path: Path)
book/tools/scripts/fix_lego_lint_warnings.py:60
↓ 1 callersFunctionfix_file
(path: Path)
book/tools/scripts/fix_l015_prose_dup_units.py:18
↓ 1 callersFunctionfix_files
Rewrite each affected file, applying all fixes within it.
book/tools/scripts/mit_press/check_footnote_caps.py:291
↓ 1 callersFunctionfix_html_entities
Replace HTML entities with raw characters.
book/tools/scripts/content/validate_tables.py:362
↓ 1 callersFunctionfix_hygiene_issues
Auto-repair every hygiene issue at source. Returns a counts dict with keys: svg_c0_chars_removed: characters stripped across all SVG
book/cli/commands/_epub_checks.py:347
↓ 1 callersFunctionfix_image
Fix image format mismatches. SVG files cannot be auto-fixed.
book/tools/scripts/images/manage_images.py:74
↓ 1 callersFunctionfix_journal
(value: str)
book/cli/core/bib_mechanical.py:106
↓ 1 callersFunctionfix_ledger_save
Add ledger.save() to the last cell if missing.
labs/tools/fix_protocol_compliance.py:166
↓ 1 callersFunctionfix_lightbox_hrefs
(html_path: Path)
book/quarto/scripts/fix_lightbox_paths.py:28
↓ 1 callersFunctionfix_mo_stop
Add mo.stop() gates in prediction widget cells if missing.
labs/tools/fix_protocol_compliance.py:226
↓ 1 callersFunctionfix_pages
(value: str)
book/cli/core/bib_mechanical.py:93
↓ 1 callersFunctionfix_percent_in_line
Fix percent symbols in a single body prose line. Returns (new_line, replacement_count). Skips: - Inside inline math $...$ - Insid
book/tools/scripts/content/fix_percent.py:48
↓ 1 callersFunctionfix_python_block
(block: str)
book/tools/scripts/fix_lego_lint_warnings.py:40
↓ 1 callersFunctionfix_record
(data: dict[str, Any])
interviews/vault/scripts/fix_yaml_hygiene.py:138
↓ 1 callersFunctionfix_spacing
Fix spacing issues inside div blocks.
book/tools/scripts/content/format_div_spacing.py:168
↓ 1 callersFunctionfix_table_alignment
Fix alignment of a table with columns. Strategy: Find the column separator positions from the TOP line, then adjust each content row's c
tinytorch/tools/dev/fix_ascii_boxes.py:248
↓ 1 callersFunctionfix_text
(text: str)
book/tools/scripts/fix_glued_cell_fences.py:10
↓ 1 callersFunctionfix_times_math
(text: str)
book/quarto/scripts/fix_times_math.py:17
↓ 1 callersFunctionfix_title
(value: str)
book/cli/core/bib_mechanical.py:84
↓ 1 callersFunctionfix_zone_comments
Add ZONE A/B/C/D comments if missing.
labs/tools/fix_protocol_compliance.py:53
↓ 1 callersMethodflatten
(x, start_dim=1)
tinytorch/tests/integration/test_gradients.py:60
↓ 1 callersFunctionfleet_orchestration_capacity_lag
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:910
↓ 1 callersFunctionfleet_orchestration_failure_rate
Failure cadence comparison without tiny-label clipping on a huge log span.
book/tools/scripts/margin_figures/generate_margin_figures.py:900
↓ 1 callersFunctionfleet_orchestration_priority_inversion
()
book/tools/scripts/margin_figures/generate_margin_figures.py:893
↓ 1 callersFunctionfleet_orchestration_scheduler_comparison
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:925
↓ 1 callersFunctionfloat_end
1-based line where the float's structural body ends, for locating the payoff.
book/tools/audit/float_explanation/scan_floats.py:91
↓ 1 callersFunctionfmt_compute_efficiency
Format accelerator efficiency as FLOP throughput per watt.
mlsysim/mlsysim/fmt.py:2640
↓ 1 callersFunctionfmt_decibel
Format logarithmic level quantities as dB.
mlsysim/mlsysim/fmt.py:2566
↓ 1 callersFunctionfmt_display_math
Wrap a LaTeX math expression in `$$...$$` for display math output. Returns a MarkdownStr.
mlsysim/mlsysim/fmt.py:3110
← previousnext →5,701–5,800 of 13,553, ranked by callers