MCPcopy Create free account

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

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

↓ 1 callersMethodcheck_git_repo
Check if current directory is a git repository
book/tools/scripts/maintenance/repo_health_check.py:46
↓ 1 callersFunctioncheck_grid_tables
Check for grid tables in content. Returns: list of (line_number, description) for each table found
book/tools/scripts/utilities/convert_grid_to_pipe_tables.py:214
↓ 1 callersFunctioncheck_html_entities
Detect HTML entities that shouldn't be in Markdown grid tables.
book/tools/scripts/content/validate_tables.py:223
↓ 1 callersFunctioncheck_html_page
(playwright, path: Path, screenshot: Path)
labs/tools/interaction_lab_smoke.py:1250
↓ 1 callersFunctioncheck_kl_divergence_pipes
Detect \\| (LaTeX double-bar) that gets parsed as column separator.
book/tools/scripts/content/validate_tables.py:299
↓ 1 callersFunctioncheck_lab
(lab: Path, url: str, screenshot: Path)
labs/tools/render_lab_smoke.py:119
↓ 1 callersFunctioncheck_lab
(playwright, lab: Path, url: str, screenshot: Path, max_tabs: int, max_radios: int)
labs/tools/interaction_lab_smoke.py:1201
↓ 1 callersFunctioncheck_lego_compliance
Check LEGO principle compliance in callout-notebook blocks. Returns list of (filepath, lineno, check_type, message) tuples.
book/tools/scripts/maintenance/validate_inline_refs.py:111
↓ 1 callersFunctioncheck_lego_equations
Verify A/B=C prose lines numerically.
book/cli/commands/_registry_checks.py:141
↓ 1 callersFunctioncheck_lego_load_pint
Static lint: physical *_value must use ureg/registry.
book/cli/commands/_registry_checks.py:120
↓ 1 callersFunctioncheck_lego_prose_literals
Flag hardcoded numeric literals in LEGO walkthrough prose.
book/cli/commands/_registry_checks.py:71
↓ 1 callersFunctioncheck_lego_prose_units
Flag unit/currency tokens immediately after {python} *_str refs.
book/cli/commands/_registry_checks.py:98
↓ 1 callersFunctioncheck_line
Run all checks on a single line of Python code inside a QMD cell.
book/tools/scripts/maintenance/validate_pint_usage.py:139
↓ 1 callersFunctioncheck_missing_label
Check that tables have a caption with a #tbl- label.
book/tools/scripts/content/validate_tables.py:273
↓ 1 callersMethodcheck_ollama_and_model
Check if Ollama is running and if the specified model is available. If model doesn't exist, automatically pull it. Returns:
book/tools/scripts/content/manage_captions.py:3553
↓ 1 callersFunctioncheck_overfitting
Check train/val gap is within bounds.
mlperf-edu/scripts/compliance_checker.py:158
↓ 1 callersFunctioncheck_package_functionality
Test basic functionality of a package. Returns: (success, message) tuple
tinytorch/tests/environment/test_all_requirements.py:139
↓ 1 callersFunctioncheck_regime
Return (errors, axis_values) for one workload's regime block.
mlperf-edu/tools/check_taxonomy.py:49
↓ 1 callersFunctioncheck_registry_sources
Scan QMD LEGO cells for banned legacy constant/registry patterns.
book/cli/commands/_registry_checks.py:50
↓ 1 callersFunctioncheck_rendering_patterns
Check for patterns that cause rendering issues. Returns list of warnings.
book/tools/scripts/maintenance/validate_inline_refs.py:282
↓ 1 callersMethodcheck_safety
Check for forbidden constructs (imports, exec, eval, open).
mlperf-edu/reference/cloud/nano_codegen_agent.py:66
↓ 1 callersMethodcheck_schema_version
Check for nbgrader schema version
tinytorch/tests/validate_nbgrader_config.py:299
↓ 1 callersFunctioncheck_scope
Check for bare variable references inside class bodies that need ClassName. prefix. Detects two classes of bugs: 1. BARE_CLASS_REF: A class b
book/tools/scripts/maintenance/validate_inline_refs.py:572
↓ 1 callersFunctioncheck_spelling_with_aspell
Check spelling using aspell if available, filtering out TikZ/LaTeX technical terms. Returns: List of misspelled words (excluding kno
book/tools/scripts/content/check_tikz_spelling.py:272
↓ 1 callersFunctioncheck_svg_aria_label_c0
Return issues for C0 control chars in SVG aria-label attribute values.
book/cli/commands/_epub_checks.py:131
↓ 1 callersFunctioncheck_svg_duplicate_markers
Return issues for duplicate `<marker id=...>` inside one SVG file.
book/cli/commands/_epub_checks.py:158
↓ 1 callersFunctioncheck_tables
Check for unprettified tables in content. Returns: list of (line_number, description) for each table needing formatting
book/tools/scripts/utilities/prettify_pipe_tables.py:253
↓ 1 callersFunctioncheck_tag_placement
\\index{} inside bold/code/headings.
book/cli/commands/_index_checks.py:125
↓ 1 callersMethodcheck_tito_health
Check tito CLI system health
tinytorch/tito/core/status_analyzer.py:149
↓ 1 callersFunctioncheck_version_compatibility
Check if installed version matches version specification. Args: installed_version: Version string like "1.24.3" version_spec
tinytorch/tests/environment/test_all_requirements.py:111
↓ 1 callersFunctioncheck_volume
Returns {missing_key: [qmd_files_that_cite_it]} for citations in this volume's chapters that are absent from the shared references.bib.
book/quarto/scripts/check_references.py:100
↓ 1 callersFunctioncheck_with_aspell
Check text with aspell. Returns: List of misspelled words
book/tools/scripts/content/check_prose_spelling.py:262
↓ 1 callersFunctioncheck_xref_resolves
Every |see / |seealso target resolves to a main entry.
book/cli/commands/_index_checks.py:167
↓ 1 callersFunctioncheck_yaml_pending
Fail when audit YAML still has should_change=true entries.
book/cli/commands/_registry_checks.py:227
↓ 1 callersFunctioncheckpoint_card
Render saved evidence fields for a part checkpoint or decision.
labs/mlsysbook_labs/ui.py:1155
↓ 1 callersFunctionchunked
(items: list[Any], size: int)
book/tools/scripts/bib_mitpress_openai.py:338
↓ 1 callersFunctioncitation_occurrences
(path: Path, max_context_chars: int)
book/tools/scripts/build_citation_reference_packets.py:212
↓ 1 callersFunctionclassify
Return (bucket, needs_locator, rationale).
book/tools/audit/release/classify_annotations.py:173
↓ 1 callersFunctionclassify
(img: UniquePdfImage)
tinytorch/quarto/tools/measure-pdf-images.py:245
↓ 1 callersFunctionclassify_format
(scenario: str)
interviews/paper/scripts/analyze_corpus.py:243
↓ 1 callersFunctionclassify_ref
Classify a cross-reference as 'sentence_start' or 'mid_sentence'. Returns one of: 'sentence_start' -- capitalize 'mid_senten
book/tools/scripts/maintenance/capitalize_sentence_start_xrefs.py:107
↓ 1 callersFunctionclassify_topic_track
( topic: str, track: str, count: int, applicable: dict[tuple[str, str], str], )
interviews/vault/scripts/plan_gap_improvements.py:228
↓ 1 callersFunctionclassify_unit
(rel_path: str, source_section: str)
book/tools/scripts/audit/math_chapter_workflow.py:95
↓ 1 callersFunctionclean
(value)
labs/vol2/lab_17_fleet_synthesis.py:988
↓ 1 callersFunctioncleanMarkdownFragment
(markdown)
socratiq/src_shadow/js/components/settings/copy_download.js:8
↓ 1 callersFunctioncleanSpacesText
(input)
socratiq/src_shadow/js/libs/agents/key_terms_summary.js:203
↓ 1 callersFunctioncleanStepText
(text: string)
interviews/staffml/src/components/NapkinMathDisplay.tsx:76
↓ 1 callersMethodcleanText
* Clean up extracted text
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10324
↓ 1 callersMethodcleanText
* Clean text content * @param {string} text - Raw text * @returns {string} Cleaned text
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10476
↓ 1 callersMethodcleanText
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersMethodcleanText
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctioncleanUpText
(text)
socratiq/src_shadow/js/libs/utils/grab_all_text_and_vectorize.js:23
↓ 1 callersMethodclean_all
Clean all build artifacts and restore configs. Returns: True if cleaning succeeded, False otherwise
book/cli/commands/clean.py:31
↓ 1 callersMethodclean_artifacts
Clean build artifacts using Binder-native cleanup primitives. This is the same cleanup that runs as a pre-commit hook.
book/cli/commands/clean.py:188
↓ 1 callersFunctionclean_body
(body: dict[str, Any], publish: bool, reviewed_by: str | None, now: str)
interviews/vault-cli/scripts/promote_drafts.py:99
↓ 1 callersFunctionclean_build_artifacts
Clean Quarto build artifacts and restore fast-build config backups.
book/cli/core/artifacts.py:18
↓ 1 callersFunctionclean_caption
(raw: str)
book/tools/scripts/margin_figures/audit_margin_caption_alignment.py:74
↓ 1 callersFunctionclean_caption
(raw: str)
book/tools/scripts/margin_figures/inventory_margin_figures.py:64
↓ 1 callersMethodclean_directory
Clean all SVG files in the specified directory. Returns: Tuple[int, int]: (cleaned_count, error_count)
book/quarto/scripts/clean_svgs.py:182
↓ 1 callersFunctionclean_existing_quiz_blocks
Remove all quiz and answer callouts, and the entire '## Quiz Answers' section with its content. Returns: cleaned_text (str): the clea
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5968
↓ 1 callersMethodclean_format
Clean artifacts for a specific format. Args: format_type: Format to clean ('html', 'pdf', 'epub') Returns: T
book/cli/commands/clean.py:160
↓ 1 callersFunctionclean_heading_title
(raw: str)
scripts/cross-references/audit_crossrefs.py:134
↓ 1 callersFunctionclean_headword
Return a plain glossary headword from a QMD definition-list line.
book/tools/scripts/content/glossary_gap_review.py:57
↓ 1 callersFunctionclean_prose_text
Clean prose text of markdown formatting while keeping words. Args: text: Raw prose text with markdown Returns: Cleaned
book/tools/scripts/content/check_prose_spelling.py:237
↓ 1 callersFunctionclean_question_text
(text: str)
interviews/vault/scripts/fix_yaml_hygiene.py:79
↓ 1 callersMethodclean_svg_file
Clean control characters from an SVG file. Returns: str: 'cleaned' if file was cleaned, 'no_action' if no cleaning neede
book/quarto/scripts/clean_svgs.py:104
↓ 1 callersMethodclean_workflow_runs
Clean up old workflow runs. Args: keep_count: Number of recent runs to keep per workflow workflow_filter: Op
book/tools/scripts/infrastructure/cleanup_workflow_runs_gh.py:153
↓ 1 callersFunctioncleanupAsterisks
(htmlContent)
socratiq/src_shadow/js/components/markdown/markdown.js:573
↓ 1 callersMethodcleanupChapterSets
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:1724
↓ 1 callersMethodcleanupModal
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/deck-creation-handler.js:284
↓ 1 callersMethodcleanup_build_artifacts
Clean up build artifacts and temporary files
book/tools/scripts/maintenance/repo_health_check.py:280
↓ 1 callersMethodclearAllHighlights
* Clear all highlights
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7182
↓ 1 callersMethodclearAllHighlights
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctionclearAllRows
()
socratiq/src_shadow/js/libs/utils/save_chats.js:279
↓ 1 callersFunctionclearCopyContainer
(shadowRoot)
socratiq/src_shadow/js/components/highlight_menu/send_text_highlight.js:280
↓ 1 callersMethodclearDecorations
(editor: vscode.TextEditor)
book/vscode-ext/src/providers/qmdChunkHighlighter.ts:799
↓ 1 callersMethodclearHighlightsForRoomChange
* Clear highlights for room change (preserves DOM structure)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7194
↓ 1 callersMethodclearHighlightsForRoomChange
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctionclearMessageContainer
(shadowEle)
socratiq/src_shadow/js/libs/utils/save_chats.js:457
↓ 1 callersFunctionclearProgress
()
interviews/staffml/src/lib/progress.ts:505
↓ 1 callersMethodclearRetryQueue
* Clear retry queue (useful for cleanup)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:552
↓ 1 callersMethodclearRetryQueue
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctionclear_cache
Clear stale figure manifests from previous builds. Searches both the quarto root (where LaTeX writes) and the build output directory (where p
book/quarto/scripts/mit_press/generate_figure_list.py:63
↓ 1 callersFunctionclick_first_generic_marimo_radio
Click the first visible non-track Marimo radio option. Some labs use sentence-style radio labels instead of A/B/C prefixes. This keeps the re
labs/tools/interaction_lab_smoke.py:618
↓ 1 callersFunctionclick_marimo_shadow_control
Click a Marimo radio/checkbox whose option text is hidden in shadow DOM.
labs/tools/interaction_lab_smoke.py:553
↓ 1 callersFunctionclick_parts
(page, max_tabs: int)
labs/tools/interaction_lab_smoke.py:987
↓ 1 callersFunctionclick_text_answer_options
(page, max_radios: int)
labs/tools/interaction_lab_smoke.py:1042
↓ 1 callersFunctionclick_track_options
(page)
labs/tools/interaction_lab_smoke.py:726
↓ 1 callersFunctionclientIp
* Resolve client IP — trust only the CF-Connecting-IP header (Chip R4-H-3). * * X-Forwarded-For is client-settable; trusting it lets an attacker rot
interviews/staffml-vault-worker/src/rate_limit.ts:28
↓ 1 callersFunctioncmd_analyze
Compare taxonomy vs corpus → find untested concepts → output generation plan.
interviews/vault/vault.py:808
↓ 1 callersFunctioncmd_chains
Build depth chains and verify Bloom's coherence.
interviews/vault/vault.py:402
↓ 1 callersFunctioncmd_export
Generate markdown files and sync to StaffML app.
interviews/vault/vault.py:531
↓ 1 callersFunctioncmd_figures
Regenerate paper figures from corpus data.
interviews/vault/vault.py:655
↓ 1 callersFunctioncmd_generate
Generate questions from _generation_plan.json via Gemini CLI.
interviews/vault/vault.py:1231
↓ 1 callersFunctioncmd_plan
Show the generation plan.
interviews/vault/scripts/vault_fill.py:113
↓ 1 callersFunctioncmd_run
Generate questions for all deficit cells in parallel.
interviews/vault/scripts/vault_fill.py:145
↓ 1 callersFunctioncmd_stats
Print comprehensive corpus statistics.
interviews/vault/vault.py:130
↓ 1 callersFunctioncoefficient_of_variation
(values: list[int])
interviews/vault/scripts/plan_gap_improvements.py:193
↓ 1 callersFunctioncolSpan
(type)
site/assets/games/oom.mjs:224
↓ 1 callersMethodcollapseAll
()
book/vscode-ext/src/providers/chapterNavigatorProvider.ts:248
← previousnext →5,101–5,200 of 13,553, ranked by callers