MCPcopy Create free account

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

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

↓ 1 callersFunctioncalc_training_time_days
Training duration in days.
mlsysim/mlsysim/physics/performance.py:44
↓ 1 callersMethodcalculateKapootScore
* Calculate Kapoot team score * @param {number} responseTime - Response time in milliseconds * @param {number} basePoints - Base points for corr
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5012
↓ 1 callersMethodcalculateKapootScore
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersMethodcalculateNodeColor
(level, domain)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:459
↓ 1 callersMethodcalculateNodeOpacity
(level)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:473
↓ 1 callersMethodcalculateNodeSize
(level)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:445
↓ 1 callersFunctioncalculatePageProgress
* Calculate progress for a specific page based on related quiz scores and cumulative quiz data * @param {Object} page - The chapterMap page entry *
socratiq/src_shadow/js/components/quiz/chapterMapService.js:87
↓ 1 callersMethodcalculateTeamScore
* Calculate team score based on response time and correctness * @param {number} responseTime - Response time in milliseconds * @param {number} b
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:12189
↓ 1 callersMethodcalculateTeamScore
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctioncalculateTextSimilarity
* Calculate text similarity using simple word overlap * @param {string} text1 - First text * @param {string} text2 - Second text * @returns {number
socratiq/src_shadow/js/components/markdown/reference_renderer.js:355
↓ 1 callersFunctioncalculate_relocations
Calculate which elements should be relocated and where. Returns dict: elem_id -> (current_line, target_line, reason)
book/tools/scripts/content/relocate_figures.py:418
↓ 1 callersMethodcalibrate
Calibrate input quantization parameters using sample data. TODO: Calculate optimal input quantization parameters APPROACH:
tinytorch/src/15_quantization/15_quantization.py:873
↓ 1 callersFunctioncallAnthropic
( adapter: Adapter, env: Env, system: string, messages: ChatMessage[], maxTokens: number, )
interviews/staffml/worker/src/index.ts:414
↓ 1 callersFunctioncallCloudflareWorkersAi
( adapter: Adapter, env: Env, system: string, messages: ChatMessage[], maxTokens: number, )
interviews/staffml/worker/src/index.ts:520
↓ 1 callersFunctioncallGemini
( adapter: Adapter, env: Env, system: string, messages: ChatMessage[], maxTokens: number, )
interviews/staffml/worker/src/index.ts:472
↓ 1 callersFunctioncallOpenAICompat
( adapter: Adapter, env: Env, system: string, messages: ChatMessage[], maxTokens: number, )
interviews/staffml/worker/src/index.ts:380
↓ 1 callersFunctioncallProvider
(prompt, provider, signal)
socratiq/src_shadow/js/libs/agents/supaAgent.js:44
↓ 1 callersFunctioncallSuggestAgent
(currentInput)
socratiq/src_shadow/js/components/highlight_menu/components/text_area_suggestions.js:122
↓ 1 callersFunctioncall_anthropic
Call the Anthropic Messages API. Returns the parsed JSON object.
book/tools/scripts/quizzes/generate_quizzes.py:593
↓ 1 callersFunctioncall_gemini
(prompt: str, timeout: int = 240)
interviews/vault-cli/scripts/audit_math.py:146
↓ 1 callersFunctioncall_gemini
Run gemini -p '...' --yolo and parse JSON response. Gemini CLI sometimes exits non-zero even when stdout contains a valid JSON response (e.g.
interviews/vault-cli/scripts/build_chains_with_gemini.py:329
↓ 1 callersFunctioncall_gemini
Call Gemini via the locally-authenticated CLI.
interviews/vault/scripts/generate_gaps.py:305
↓ 1 callersFunctioncall_gemini
Call gemini CLI and parse JSON response.
interviews/vault/scripts/verify_math.py:70
↓ 1 callersFunctioncall_gemini
Call Gemini API with retries.
interviews/vault/scripts/generate_hard_questions.py:77
↓ 1 callersFunctioncall_gemini_prefilter
Single Gemini-judge call to gate gap-bridge generation. Returns the parsed verdict dict, or None if the call failed. The background motivatio
interviews/vault-cli/scripts/generate_question_for_gap.py:296
↓ 1 callersFunctioncall_model
Provider-agnostic dispatch. Raises on unsupported provider.
book/tools/scripts/quizzes/generate_quizzes.py:652
↓ 1 callersFunctioncall_openai
(prompt: str, model: str)
book/tools/scripts/bib_mitpress_openai.py:400
↓ 1 callersFunctioncall_openai
Call the OpenAI Chat Completions API. Returns the parsed JSON object. Uses ``response_format={'type': 'json_object'}`` to coerce JSON output.
book/tools/scripts/quizzes/generate_quizzes.py:618
↓ 1 callersFunctioncall_opus
Call Claude Opus 4.6 via the Anthropic API.
interviews/vault/scripts/generate_gaps.py:319
↓ 1 callersFunctioncancelActiveDebugSession
()
book/vscode-ext/src/utils/parallelDebug.ts:759
↓ 1 callersFunctioncandidate_paths
Return possible filesystem paths a link target could resolve to. Quarto sites resolve relative links against the file's directory, but `.qmd`
shared/scripts/check-internal-links.py:268
↓ 1 callersFunctioncanonical_name
(name: str, target: str)
book/tools/audit/fmt/codemod_design_b_rates.py:409
↓ 1 callersFunctioncanonical_svg_hash
Hash a canonicalised form of the SVG so whitespace/attribute-order changes don't create false non-convergence signals.
book/tools/scripts/audit/svg_audit.py:321
↓ 1 callersFunctioncanvasPoint
(evt)
site/assets/games/topology.mjs:109
↓ 1 callersFunctioncaption_after
(block: list[tuple[int, str]], image_index: int)
book/tools/scripts/margin_figures/audit_margin_caption_alignment.py:151
↓ 1 callersFunctioncaption_after
(block: list[tuple[int, str]], image_index: int)
book/tools/scripts/margin_figures/inventory_margin_figures.py:71
↓ 1 callersFunctioncaption_from_purpose
(purpose: str)
book/tools/scripts/margin_figures/insert_curated_margin_figures.py:40
↓ 1 callersMethodcarbon_kg
Carbon footprint from total facility energy (PUE already applied). Args: facility_energy_kwh: Total facility energy in kWh (IT en
mlsysim/mlsysim/infrastructure/types.py:30
↓ 1 callersFunctioncategorize
(content: str)
book/tools/audit/release/au_query_coverage.py:70
↓ 1 callersFunctioncategorizeQuestion
(question)
socratiq/src_shadow/js/components/progressReport/progressReport.js:283
↓ 1 callersFunctioncategorize_image
Categorize image based on filename keywords.
book/tools/scripts/images/analyze_image_sizes.py:71
↓ 1 callersFunctionchain_depths
(chains: list[dict[str, Any]])
interviews/vault/scripts/plan_gap_improvements.py:245
↓ 1 callersFunctionchains_per_bucket
Map (track, topic) -> list of chain_ids that target that bucket.
interviews/vault-cli/scripts/diagnose_chain_coverage.py:76
↓ 1 callersFunctionchallenge_1_reversal
Challenge 1: Learn to reverse sequences (PYTHON -> NOHTYP). Task: Input sequence reversed in output ────────────────────────────────────
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:528
↓ 1 callersFunctionchallenge_2_copying
Challenge 2: Learn to copy sequences (TENSOR -> TENSOR). Task: Input sequence copied to output (identity) ──────────────────────────────
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:574
↓ 1 callersFunctionchallenge_3_mixed
Challenge 3: Learn BOTH tasks with prefix conditioning. Task: Prefix token controls behavior ────────────────────────────────────
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:626
↓ 1 callersFunctionchanged_chain_member_yamls
(base_ref: str | None, explicit_files: list[Path] | None)
interviews/vault-cli/scripts/check_chain_decay.py:61
↓ 1 callersFunctionchapter_anchor_levels
Map each chapter anchor id to its heading level ("section" for ##, "subsection" for ###, etc.).
book/tools/scripts/quizzes/validate_quiz_json.py:48
↓ 1 callersFunctionchapter_key
(rel_path: str)
book/tools/audit/generate_registry_migration_manifest.py:244
↓ 1 callersFunctionchapter_matches
(chapter: str, filters: list[str])
book/tools/scripts/margin_figures/inventory_margin_figures.py:136
↓ 1 callersFunctionchapter_name
(concept_path: Path, concept_map: dict[str, object])
book/tools/scripts/content/glossary_gap_review.py:130
↓ 1 callersFunctionchapter_order
Canonical chapter order from the volume's PDF config (handles commented lines).
book/tools/audit/emphasis_ap2map.py:25
↓ 1 callersFunctionchapter_order
(vol)
book/tools/audit/emphasis_rollup.py:23
↓ 1 callersFunctionchapter_recap
Render the required self-contained mini chapter recap.
labs/mlsysbook_labs/ui.py:686
↓ 1 callersFunctioncheck
Scan a file for §10.5 abbreviation-first-use violations. One-pass walk with two state dicts: - `intro_line`: abbrev → line number of first
book/tools/audit/checks/abbreviation_first_use.py:287
↓ 1 callersFunctioncheck
Scan `file_path` for unresolved cross-references. The set of *defined* IDs is corpus-wide (vol1+vol2), built lazily and memoized. The set of
book/tools/audit/checks/unresolved_xref.py:135
↓ 1 callersFunctioncheck
Scan a .bib file for §10.13 bibliography-hygiene violations. For each top-level entry, check whether it has the required field for its entry
book/tools/audit/checks/bibliography_hygiene.py:135
↓ 1 callersFunctioncheck
Scan for crossref IDs misplaced at the end of body-prose paragraphs.
book/tools/audit/checks/sec_slug_placement.py:150
↓ 1 callersFunctioncheck1_tamper_detection
Verifier must catch a single-byte mutation in weights file.
mlperf-edu/scripts/smoke_roofline_provenance.py:40
↓ 1 callersFunctioncheck2_roofline_self_consistency
Emitter must distinguish dispatch-bound from device-saturated by >= 4x.
mlperf-edu/scripts/smoke_roofline_provenance.py:93
↓ 1 callersMethodcheckAllTeamsResponded
* Check if all teams have responded
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3929
↓ 1 callersMethodcheckAllTeamsResponded
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctioncheckAndAutoUpdateLocation
()
tinytorch/quarto/community/modules/profile.js:251
↓ 1 callersMethodcheckAndInitializeFirstTimeUser
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/initialization-handler.js:8
↓ 1 callersMethodcheckBadgeMilestones
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8050
↓ 1 callersMethodcheckBadgeMilestones
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctioncheckBrokenInFileRefs
(text: string)
book/vscode-ext/src/validation/qmdChecks.ts:222
↓ 1 callersFunctioncheckDuplicateLabels
(text: string)
book/vscode-ext/src/validation/qmdChecks.ts:62
↓ 1 callersFunctioncheckMissingAltText
(text: string)
book/vscode-ext/src/validation/qmdChecks.ts:164
↓ 1 callersFunctioncheckRateLimit
( env: Env, req: Request, className: "default" | "search", )
interviews/staffml-vault-worker/src/rate_limit.ts:42
↓ 1 callersMethodcheckRequiredElements
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/floating-controls-handler.js:14
↓ 1 callersFunctioncheckSchemaFingerprint
(env: Env, expectedFromDb: string | undefined)
interviews/staffml-vault-worker/src/index.ts:31
↓ 1 callersFunctioncheckUnclosedDivs
(text: string)
book/vscode-ext/src/validation/qmdChecks.ts:112
↓ 1 callersFunctioncheck_abbreviation_in_file
Check if abbreviation is used in this file and if first use is expanded. Returns dict with keys: found, expanded, first_line, first_line_num
book/tools/scripts/content/fix_abbreviations.py:109
↓ 1 callersMethodcheck_all_modules
Check all modules in the source directory
tinytorch/tito/core/status_analyzer.py:301
↓ 1 callersFunctioncheck_anti_patterns
Corpus-level \\index{} anti-patterns from index.md §9.
book/cli/commands/_index_checks.py:56
↓ 1 callersMethodcheck_auth
Check if GitHub CLI is authenticated.
book/tools/scripts/infrastructure/cleanup_workflow_runs_gh.py:80
↓ 1 callersFunctioncheck_bare_pipes_in_math
Detect bare | inside LaTeX math that will break column parsing. Works cell-by-cell to avoid false positives where $ in one cell and $ in the
book/tools/scripts/content/validate_tables.py:161
↓ 1 callersFunctioncheck_bibtex_url_escapes
r"""Return issues for \_ / \% escapes and raw <> in bib URL/DOI fields.
book/cli/commands/_epub_checks.py:187
↓ 1 callersFunctioncheck_chapter
(path: Path, *, check_constants: bool)
book/tools/audit/llm_chapter_signoff.py:38
↓ 1 callersFunctioncheck_chapter
(html_path: Path, html_root: Path, global_ids: set, vol: str)
book/tools/scripts/testing/struct_qa_html.py:133
↓ 1 callersFunctioncheck_decay
Returns list of report rows (one per chain the question is in).
interviews/vault-cli/scripts/check_chain_decay.py:157
↓ 1 callersFunctioncheck_dependencies
()
slides/scripts/pdf2pptx.py:31
↓ 1 callersFunctioncheck_directory
(root_dir, strict=False, verbose=False, fix=False, show_progress=True)
book/tools/scripts/images/manage_images.py:126
↓ 1 callersMethodcheck_disk_space
Check if sufficient disk space is available. Returns: tuple: (available_mb, has_space)
tinytorch/milestones/data_manager.py:70
↓ 1 callersMethodcheck_environment
Check if we're in the correct directory
book/tools/scripts/utilities/manage_sources.py:76
↓ 1 callersMethodcheck_environment
Check Python environment and dependencies
tinytorch/tito/core/status_analyzer.py:113
↓ 1 callersMethodcheck_existing_setup
Check what parts of setup already exist. Returns a dict with status of each component.
tinytorch/tito/commands/setup.py:103
↓ 1 callersFunctioncheck_file
(path: Path)
book/tools/audit/book_check_lego_equations.py:146
↓ 1 callersFunctioncheck_file
(path: Path)
book/tools/audit/book_check_registry_sources.py:257
↓ 1 callersFunctioncheck_file
(path: Path)
book/tools/audit/book_check_lego_load_pint.py:88
↓ 1 callersFunctioncheck_file
Return list of (line_number, offending_line) violations. If *fix* is True, rewrite the file with blank lines inserted.
book/tools/scripts/utilities/check_list_formatting.py:70
↓ 1 callersFunctioncheck_file
Check a single file for spelling errors in TikZ diagrams. Returns: List of error dictionaries with file, line, text, and suggestions
book/tools/scripts/content/check_tikz_spelling.py:392
↓ 1 callersFunctioncheck_file
Check all abbreviations in a single file. Returns list of issues.
book/tools/scripts/content/fix_abbreviations.py:171
↓ 1 callersFunctioncheck_file
Check a single QMD file for spelling errors. Returns: List of error dictionaries
book/tools/scripts/content/check_prose_spelling.py:288
↓ 1 callersFunctioncheck_file
(path: Path, *, strict: bool = False)
book/cli/checks/lego_prose_literals.py:362
↓ 1 callersFunctioncheck_file
(path: Path, cache: dict[Path, str])
shared/scripts/check-internal-links.py:318
↓ 1 callersFunctioncheck_frac_in_multiline
Detect \\frac{{}}{{}} in cells that span multiple rows (breaks PDF).
book/tools/scripts/content/validate_tables.py:197
↓ 1 callersFunctioncheck_from_log
Run compliance checks from a JSON training log.
mlperf-edu/scripts/compliance_checker.py:186
↓ 1 callersFunctioncheck_from_submission
Run compliance checks from a submission JSON file. Validates: 1. Required schema fields present 2. Workload target attainment 3.
mlperf-edu/scripts/compliance_checker.py:206
← previousnext →5,001–5,100 of 13,553, ranked by callers