MCPcopy Create free account

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

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

↓ 1 callersMethod_check_module_tests
Run module tests.
tinytorch/tito/commands/dev/preflight.py:524
↓ 1 callersMethod_check_permissions
Check file permissions for key files.
book/cli/commands/doctor.py:534
↓ 1 callersMethod_check_structure
Check project structure and required files.
tinytorch/tito/commands/dev/preflight.py:270
↓ 1 callersMethod_check_system_dependencies
Check required system dependencies.
book/cli/commands/doctor.py:94
↓ 1 callersFunction_check_taxonomy_dag
Invariant #14: taxonomy prerequisite edges form a DAG (B.8 / §5).
interviews/vault-cli/src/vault_cli/validator.py:363
↓ 1 callersMethod_check_unlocked_milestones
(self)
tinytorch/tests/milestones/milestone_tracker.py:131
↓ 1 callersFunction_class_name
(code: str)
book/tools/audit/book_check_lego_scenario_inputs.py:247
↓ 1 callersFunction_class_name
(code: str)
book/tools/audit/book_check_lego_quantity_flow.py:144
↓ 1 callersFunction_classes
(tree: ast.AST)
book/tools/audit/fmt/inventory_design_b_rates.py:48
↓ 1 callersFunction_classes
(tree: ast.AST)
book/tools/audit/fmt/codemod_design_b_rates.py:151
↓ 1 callersFunction_classify
Return (code, suggestion) if the suffix encodes a semantic kind, else None.
book/cli/checks/fmt_semantic_suffix.py:103
↓ 1 callersFunction_classify
Classify a per-question change: - structural: topic, chain membership, status, or classification changed - semantic: scenario / solu
interviews/vault-cli/src/vault_cli/commands/diff_cmd.py:43
↓ 1 callersMethod_classify
Return (class, action) for a flagged page. Class definitions: A — Likely movable (callout/table/figure overshoot) B — Acc
book/cli/commands/layout.py:3259
↓ 1 callersFunction_classify_axes
(intensity: float, utilization: float, ridge: float)
mlperf-edu/src/mlperf/roofline.py:80
↓ 1 callersMethod_classify_status
(self, stage: ReleaseStage, exit_code: int, output: str)
book/cli/commands/release.py:495
↓ 1 callersFunction_cleanCapturedText
(text)
socratiq/src_shadow/js/components/draw-select/drawSelect.js:247
↓ 1 callersMethod_clean_build_directories
Clean build output directories.
book/cli/commands/clean.py:61
↓ 1 callersFunction_clean_fmt_args
(rest: str)
book/tools/audit/fmt/fix_precision.py:19
↓ 1 callersFunction_clean_label
(lab)
book/tools/figures/margin/devices.py:174
↓ 1 callersMethod_clean_temp_files
Clean temporary files and caches.
book/cli/commands/clean.py:89
↓ 1 callersFunction_clean_yaml_string
Strip surrounding quotes from a YAML-style cell option value.
book/tools/scripts/publish/extract_figures.py:104
↓ 1 callersMethod_clear_all_progress
Clear all progress tracking in .tito/ directory.
tinytorch/tito/commands/module/reset.py:246
↓ 1 callersFunction_clear_checkpoint
Remove checkpoint after successful completion.
interviews/vault/scripts/generate.py:348
↓ 1 callersFunction_closePath
()
socratiq/src_shadow/js/components/draw-select/drawSelect.js:147
↓ 1 callersFunction_closed_map_from_cells
(lines: list[str])
book/cli/checks/lego_prose_units.py:177
↓ 1 callersFunction_closed_units_from_code
Map ``Class.export_str`` → normalized unit tokens the export already carries.
book/cli/checks/lego_prose_units.py:150
↓ 1 callersFunction_cluster
(boxes: list[MarginGeometryElement])
book/cli/checks/margin_geometry.py:273
↓ 1 callersFunction_codesign
(candidate)
book/tools/scripts/margin_figures/generate_margin_figures.py:1967
↓ 1 callersMethod_collapse_blank_lines
Replace multiple consecutive blank lines with a single blank line. Preserves content inside code blocks and HTML comments. Fence trac
book/cli/commands/formatting.py:270
↓ 1 callersFunction_collapse_cell_blanks
Collapse runs of blank lines to a single blank line. Lines inside multi-line string literals are left untouched. Keeps LEGO cells compact (th
book/tools/scripts/content/format_python_in_qmd.py:199
↓ 1 callersMethod_collate_batch
Collate individual samples into batch tensors. TODO: Stack individual sample tensors into batch tensors APPROACH: 1
tinytorch/src/05_dataloader/05_dataloader.py:682
↓ 1 callersFunction_collect
(stmts)
book/tools/scripts/maintenance/validate_inline_refs.py:487
↓ 1 callersFunction_collect_all_assignments
Recursively collect all names assigned anywhere under an AST node.
book/tools/scripts/maintenance/validate_inline_refs.py:415
↓ 1 callersFunction_collect_inline_refs
(qmd: Path)
book/tools/audit/render_playwright_verify.py:91
↓ 1 callersMethod_collisions
Detect body content invading the header / footer band. The header band (top 6%) is reserved for the running header and page number; t
book/cli/commands/layout.py:1720
↓ 1 callersFunction_color_for_label
(label: str)
book/tools/scripts/margin_figures/generate_margin_figures.py:1729
↓ 1 callersFunction_columns_of
(conn: sqlite3.Connection, table: str)
interviews/vault-cli/src/vault_cli/release.py:138
↓ 1 callersFunction_command_label
(argv: Iterable[str])
book/cli/checks/cli_contract.py:239
↓ 1 callersFunction_commit_author_emails_for_path
Return commit AUTHOR emails (not committer) for commits touching path. Chip R7-L-6: git log %ae is author email. Maintainers rebasing/squashing
interviews/vault-cli/scripts/check_reviewer_identity.py:71
↓ 1 callersFunction_compact_unit
(unit: str)
book/tools/audit/fmt/codemod_design_b_rates.py:210
↓ 1 callersMethod_compare_versions
Compare version strings. Returns: -1 if current < latest, 0 if equal, 1 if current > latest
tinytorch/tito/commands/system/update.py:162
↓ 1 callersFunction_compile_questions
Insert rows; return list of (id, content_hash) for Merkle construction.
interviews/vault-cli/src/vault_cli/compiler.py:142
↓ 1 callersMethod_complete_module_quiet
Complete a single module without verbose output. Core logic extracted from complete_module for use in batch operations. Returns 0 on
tinytorch/tito/commands/module/workflow.py:821
↓ 1 callersFunction_completion_status
(status: str)
labs/mlsysbook_labs/ui.py:631
↓ 1 callersMethod_compress_image
Compress a single image file in place. Args: image_path: Path to the image file to compress Returns:
book/quarto/publish/compress_epub.py:100
↓ 1 callersMethod_compress_images_in_directory
Find and compress all images in the extracted EPUB directory. Args: directory: Root directory to search for images
book/quarto/publish/compress_epub.py:190
↓ 1 callersFunction_compute_file_hash
Compute SHA-256 hash of a file.
mlperf-edu/src/mlperf/report.py:37
↓ 1 callersMethod_config_ordered_chapters
Read chapter order from Quarto YAML config (same order as PDF build). This is critical for --with-pdf because the LaTeX manifest is s
book/cli/commands/info.py:611
↓ 1 callersFunction_configure_logging
Set logging level based on --verbose / --quiet flags.
site/newsletter/cli/main.py:68
↓ 1 callersFunction_const_str
(node)
book/cli/checks/fmt_prose_contract.py:83
↓ 1 callersFunction_constants_defined_names
()
book/tests/test_no_legacy_constant_refs.py:41
↓ 1 callersFunction_constraint_status
(status: str)
labs/mlsysbook_labs/ui.py:638
↓ 1 callersFunction_contains
( outer: MarginGeometryElement, inner: MarginGeometryElement, tol: float = 2.0, )
book/cli/checks/margin_geometry.py:147
↓ 1 callersFunction_contains_target
(name: str, target: str)
book/tools/audit/fmt/codemod_design_b_rates.py:326
↓ 1 callersFunction_content_hash
Stable hash over the embedded fields (so we re-embed only on real changes).
interviews/vault-cli/src/vault_cli/chains/embeddings.py:37
↓ 1 callersFunction_content_root
Walk up from `file_path` to find the `book/quarto/contents` root. Returns the contents directory containing vol1/ and vol2/, or None if `file
book/tools/audit/checks/unresolved_xref.py:83
↓ 1 callersFunction_context_needles
Search keys for HTML context — LaTeX exports often render as \\(...\\).
book/tools/audit/fmt/audit_lego_rendered_prose.py:139
↓ 1 callersMethod_convert_all_modules
(self)
tinytorch/tito/commands/dev/export.py:76
↓ 1 callersMethod_convert_py_to_notebook
(self, module_path: Path)
tinytorch/tito/commands/dev/export.py:73
↓ 1 callersFunction_count_columns
Estimate column count from a pipe-table header row. A pipe row `| A | B | C |` has 4 pipes and 3 columns. We strip a trailing `\\index{...}`
book/tools/audit/checks/longtable_continuity.py:97
↓ 1 callersMethod_count_entries
Count @type{key, entries in a .bib file.
book/cli/commands/bib.py:180
↓ 1 callersMethod_count_file
Count elements in a single QMD file.
book/cli/commands/info.py:257
↓ 1 callersMethod_count_overfull_hboxes
(log_path: Path)
book/cli/commands/layout.py:1072
↓ 1 callersMethod_create_causal_mask
Create causal mask to prevent attending to future positions.
tinytorch/src/13_transformers/13_transformers.py:1354
↓ 1 callersMethod_create_module_from_src
Create a module in modules/ by converting from src/. Uses the same conversion logic as 'tito dev export' but only creates the student
tinytorch/tito/commands/module/workflow.py:420
↓ 1 callersMethod_cross_entropy
Compute cross-entropy loss.
tinytorch/src/16_compression/16_compression.py:1154
↓ 1 callersFunction_date_of
(filename: str)
site/newsletter/cli/scripts/backfill_metadata_author.py:51
↓ 1 callersFunction_dedupe_refs
(items: List[Tuple[str, Any]])
book/cli/commands/reference_check.py:134
↓ 1 callersMethod_default_config_text
(self)
tinytorch/tito/commands/nbgrader.py:301
↓ 1 callersFunction_default_paths
()
book/cli/checks/lego_dead_code.py:171
↓ 1 callersFunction_default_project_root
()
tinytorch/tests/validate_nbgrader_config.py:480
↓ 1 callersMethod_default_volume_pdf
(self, volume: str)
book/cli/commands/layout.py:1383
↓ 1 callersFunction_design_options
(defaults: Mapping[str, Any])
labs/mlsysbook_labs/neural_compute.py:132
↓ 1 callersFunction_detect_audio_backend
Detect torchaudio backend availability.
mlperf-edu/src/mlperf/fingerprint.py:211
↓ 1 callersFunction_detect_author
Resolve byline for a Buttondown email. Precedence (first match wins): 1. ``metadata["author"]`` on the Buttondown email — authoritative
site/newsletter/cli/commands/pull.py:118
↓ 1 callersFunction_detect_backend
Detect the active compute backend.
mlperf-edu/src/mlperf/fingerprint.py:140
↓ 1 callersFunction_detect_cache_sizes
Detect CPU cache sizes in bytes. Returns what is measurable, nothing more.
mlperf-edu/src/mlperf/fingerprint.py:154
↓ 1 callersFunction_detect_chip
Detect chip/CPU brand (e.g., 'Apple M5 Max').
mlperf-edu/src/mlperf/fingerprint.py:68
↓ 1 callersFunction_detect_cpu
Detect CPU architecture.
mlperf-edu/src/mlperf/fingerprint.py:90
↓ 1 callersFunction_detect_gpu
Detect GPU if available.
mlperf-edu/src/mlperf/fingerprint.py:95
↓ 1 callersFunction_detect_machine_model
Detect machine model (e.g., 'MacBook Pro').
mlperf-edu/src/mlperf/fingerprint.py:45
↓ 1 callersFunction_detect_memory_gb
Detect total system memory in GB.
mlperf-edu/src/mlperf/fingerprint.py:108
↓ 1 callersFunction_detect_plateau
Check if loss has plateaued over the last PLATEAU_WINDOW epochs.
mlperf-edu/scripts/orchestration/auto_trainer.py:126
↓ 1 callersFunction_detect_pytorch_version
Detect PyTorch version.
mlperf-edu/src/mlperf/fingerprint.py:131
↓ 1 callersFunction_device
()
mlperf-edu/tools/measure_all_workloads.py:32
↓ 1 callersFunction_device
()
mlperf-edu/scripts/smoke_iter6_serving.py:50
↓ 1 callersFunction_device
()
mlperf-edu/scripts/smoke_iter8_compression.py:42
↓ 1 callersFunction_device
()
mlperf-edu/scripts/smoke_lora.py:32
↓ 1 callersFunction_device
()
mlperf-edu/bench/measure_peaks.py:47
↓ 1 callersFunction_diff
(prev_db: Path, new_db: Path)
interviews/vault-cli/src/vault_cli/commands/diff_cmd.py:68
↓ 1 callersFunction_diff_maps
(before: dict, after: dict, label: str)
book/tools/audit/fmt/assess_equiv.py:178
↓ 1 callersFunction_diff_table
Compute forward/rollback SQL for one table; append to line lists.
interviews/vault-cli/src/vault_cli/release.py:180
↓ 1 callersFunction_discover_fmt_family
Return every public formatter exported by mlsysim.fmt. The formatter surface is intentionally growing as more LEGO domains get typed helpers.
book/tools/audit/fmt/audit_fmt_usage.py:27
↓ 1 callersMethod_discover_modules
(self)
tinytorch/tito/commands/dev/export.py:67
↓ 1 callersFunction_disk_ids
()
interviews/vault/scripts/repair_registry.py:63
↓ 1 callersFunction_dispatches_through_binder
(entry: str)
book/cli/checks/binder_canonical.py:83
↓ 1 callersMethod_display_capstone_results
Display capstone benchmark results.
tinytorch/tito/commands/benchmark.py:473
↓ 1 callersFunction_display_delim_count
Mirror LineWalker display-math delimiter logic (simplified).
book/tools/audit/checks/notation_consistency.py:135
↓ 1 callersMethod_display_results
Display health check results in a formatted table.
book/cli/commands/doctor.py:559
↓ 1 callersFunction_division_raw
Return raw numerator for x / SCALE or x // SCALE, if scale matches.
book/tools/audit/fmt/codemod_fmt.py:335
← previousnext →3,701–3,800 of 13,553, ranked by callers