AI Slop Code Risk Monitor

harvard-edge/cs249r_book

SlopCodeMonitor badge for harvard-edge/cs249r_book Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Machine Learning Systems: Foundations, Scaling, Agentic AI, and Physical AI (Vols I–IV) • Harvard CS249r | https://mlsysbook.ai

10.9 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for harvard-edge/cs249r_book, a Python project with 29,745 GitHub stars. SynthScan examined 2,197,331 lines of code across 15298 source files, recording 15015 pattern matches distributed across 28 syntactic categories. The legacy adjusted pattern signal is 10.9 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

10.9
Adjusted Signal
10.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
29.7K
Stars
Python
Language
2.2M
Lines of Code
15.3K
Files
15.0K
Pattern Hits
2026-10-31
Scan Date
0.05
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 17.5/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 7657 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.1/100 · LOW

Are imports declared and package/API names verified? 3044 finding(s).

Agent Over-Engineering Ratio 32.5/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 9450 finding(s).

PR Review Velocity Impact 44.5/100 · MEDIUM

Which changes need focused human review? 15015 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 30HIGH 674MEDIUM 3593LOW 10718

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 15015 distinct pattern matches across 28 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators3006 hits · 9223 pts
SeverityFileLineSnippetContext
MEDIUM⚡.pre-commit-config.yaml52# =============================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml55 # ===========================================================================COMMENT
MEDIUM⚡.pre-commit-config.yaml57 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml2# =============================================================================COMMENT
MEDIUM.pre-commit-config.yaml20# ------------------------------------COMMENT
MEDIUM.pre-commit-config.yaml29# ------------------COMMENT
MEDIUM.pre-commit-config.yaml103 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml108 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml159 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml161 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml225 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml228 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml292 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml306 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml592 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml596 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml632 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml634 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml645 # ===========================================================================COMMENT
MEDIUM.pre-commit-config.yaml647 # ===========================================================================COMMENT
MEDIUM⚡labs/_quarto.yml1# =============================================================================COMMENT
MEDIUM⚡labs/_quarto.yml3# =============================================================================COMMENT
MEDIUM⚡labs/_quarto.yml6# =============================================================================COMMENT
MEDIUM⚡labs/config/announcement.yml1# =============================================================================COMMENT
MEDIUM⚡labs/config/announcement.yml3# =============================================================================COMMENT
MEDIUM⚡labs/config/announcement.yml12# =============================================================================COMMENT
MEDIUMlabs/tests/test_engine.py31# ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡labs/tests/test_engine.py55# ── Test: Cell Execution ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡labs/tests/test_engine.py86# ── Test: mlsysim API Validation ─────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/conftest.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMlabs/tests/conftest.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMlabs/tests/conftest.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMlabs/tests/conftest.py58# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡labs/tests/test_protocol.py102# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡labs/tests/test_protocol.py104# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡labs/tests/test_protocol.py239# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡labs/tests/test_protocol.py241# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡labs/tests/test_protocol.py339# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡labs/tests/test_protocol.py341# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlabs/tests/test_protocol.py35# ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_protocol.py163# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlabs/tests/test_protocol.py165# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlabs/tests/test_protocol.py263# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlabs/tests/test_protocol.py265# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlabs/tests/test_protocol.py296# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlabs/tests/test_protocol.py298# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡labs/tests/test_static.py42# ── Test: Syntax ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡labs/tests/test_static.py59# ── Test: Marimo Structure ───────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_static.py31# ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_static.py96# ── Test: Required Imports ───────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_static.py122# ── Test: Content Quality ────────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_static.py194# ── Test: Wheel Version Consistency ─────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_static.py452# ── Test: WASM Compatibility ────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_static.py595# ── Test: Marimo Dataflow ────────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_static.py736# ── Test: Widget Return Completeness ─────────────────────────────────────────COMMENT
MEDIUMlabs/tests/browser_smoke.py48# ── COOP/COEP HTTP server ───────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/browser_smoke.py80# ── Browser driver ──────────────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_widget.py32# ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_widget.py76# ── Test: Widget Structure ───────────────────────────────────────────────────COMMENT
MEDIUMlabs/tests/test_widget.py131# ── Test: Interactive State Engine ─────────────────────────────────────────────COMMENT
2946 more matches not shown…
Hyper-Verbose Identifiers5061 hits · 4895 pts
SeverityFileLineSnippetContext
LOWlabs/INTERACTIVE_MODES_CATALOG.md672def build_feasibility_heatmap(batch_sizes, precisions, memory_limit_gb=80.0):CODE
LOW⚡labs/tools/interaction_lab_smoke.py219def _mlsysbook_safe_find_spec(name, package=None):CODE
LOW⚡labs/tools/interaction_lab_smoke.py278def _mlsysbook_safe_find_spec(name, package=None):CODE
LOWlabs/tools/interaction_lab_smoke.py618def click_first_generic_marimo_radio(page) -> tuple[ClickCheck, ...]:CODE
LOWlabs/tools/interaction_lab_smoke.py1042def click_text_answer_options(page, max_radios: int) -> tuple[ClickCheck, ...]:CODE
LOWlabs/tools/interaction_lab_smoke.py1071def click_common_answer_prefixes(page, max_radios: int) -> tuple[ClickCheck, ...]:CODE
LOW⚡labs/tools/interaction_lab_smoke.py534def click_first_matching_text(page, labels: tuple[str, ...], timeout: int = 5_000) -> str:STRING
LOW⚡labs/tools/interaction_lab_smoke.py553def click_marimo_shadow_control(page, labels: tuple[str, ...]) -> str:STRING
LOWlabs/tools/interaction_lab_smoke.py467def collect_visible_text_across_scroll(page, max_steps: int = 8) -> str:STRING
LOWlabs/mlsysbook_labs/edge.py230def training_memory_breakdown(CODE
LOWlabs/mlsysbook_labs/variants.py262def _system_design_variant_defaults(config: dict[str, object], profile: TrackProfile) -> dict[str, object]:CODE
LOWlabs/mlsysbook_labs/deployment.py265def evaluate_deployment_envelope(CODE
LOWlabs/mlsysbook_labs/track_arcs.py258def track_arc_context_summary(track_id: str | None, lab_id: str) -> dict[str, str]:CODE
LOW⚡labs/mlsysbook_labs/roofline.py74def hardware_roofline_profile(CODE
LOWlabs/mlsysbook_labs/architecture.py205def architecture_track_profile(CODE
LOWlabs/mlsysbook_labs/architecture.py331def architecture_scaling_curve(CODE
LOWlabs/mlsysbook_labs/inference.py126def inference_economy_profile(CODE
LOWlabs/mlsysbook_labs/inference.py303def paged_attention_fragmentation(CODE
LOWlabs/mlsysbook_labs/selection.py419def calc_selection_inequality(CODE
LOWlabs/mlsysbook_labs/rationale.py151def render_interactive_roofline(CODE
LOWlabs/mlsysbook_labs/rationale.py297def render_distributed_memory_breakdown(CODE
LOWlabs/mlsysbook_labs/rationale.py379def render_distributed_step_breakdown(CODE
LOWlabs/mlsysbook_labs/migration.py14def baseline_learning_objectives(metadata: LabMetadata, variant: LabTrackVariant) -> tuple[str, ...]:CODE
LOWlabs/mlsysbook_labs/responsibility.py147def responsibility_track_profile(CODE
LOWlabs/mlsysbook_labs/system_design.py443def system_design_ledger_summary(CODE
LOWlabs/tests/test_responsibility_helpers.py23def test_metric_conflict_exposes_subgroup_gap():CODE
LOWlabs/tests/test_responsibility_helpers.py37def test_explanation_overhead_flags_slo_risk_for_robotaxi_trace():CODE
LOWlabs/tests/test_responsibility_helpers.py51def test_responsibility_budget_reports_violations_for_overbuilt_oura_policy():CODE
LOWlabs/tests/test_responsibility_helpers.py66def test_carbon_budget_scales_with_retraining_and_explanations():CODE
LOWlabs/tests/test_architecture_helpers.py27def test_architecture_profiles_resolve_refs_and_candidates():CODE
LOWlabs/tests/test_architecture_helpers.py39def test_architecture_signature_reports_track_specific_failures():CODE
LOWlabs/tests/test_architecture_helpers.py60def test_architecture_scaling_curve_finds_first_failure():CODE
LOWlabs/tests/test_architecture_helpers.py70def test_architecture_decision_returns_rejections_and_memo():CODE
LOW⚡labs/tests/test_engine.py61 def test_app_runs_without_error(self, lab_path):CODE
LOW⚡labs/tests/test_engine.py77 def test_app_produces_outputs(self, lab_path):CODE
LOW⚡labs/tests/test_engine.py92 def test_hardware_registry_accessible(self, mlsysim):CODE
LOWlabs/tests/test_engine.py104 def test_model_registry_accessible(self, mlsysim):CODE
LOWlabs/tests/test_engine.py123 def test_engine_solve_tiny_oom(self, mlsysim):CODE
LOWlabs/tests/test_inference_helpers.py24def test_cost_crossover_matches_cloud_reference_case():CODE
LOWlabs/tests/test_inference_helpers.py31def test_cloud_kv_capacity_uses_model_and_hardware_refs():CODE
LOWlabs/tests/test_inference_helpers.py48def test_device_tracks_have_positive_state_capacity():CODE
LOWlabs/tests/test_inference_helpers.py64def test_batching_result_reports_padding_speedup():CODE
LOWlabs/tests/test_inference_helpers.py71def test_serving_plan_sizes_daily_cost():CODE
LOWlabs/tests/test_inference_helpers.py89def test_paged_attention_fragmentation_recovers_memory_waste():CODE
LOW⚡labs/tests/test_protocol.py97def extract_hardware_references(source: str) -> set[str]:CODE
LOW⚡labs/tests/test_protocol.py110 def test_no_hardcoded_hardware_specs(self, lab_path):CODE
LOW⚡labs/tests/test_protocol.py247 def test_multiple_hardware_tiers(self, lab_path):CODE
LOW⚡labs/tests/test_protocol.py347 def test_prediction_count_matches_parts(self, lab_path):CODE
LOWlabs/tests/test_protocol.py194 def test_synthesis_detector_negative_regression(self):CODE
LOWlabs/tests/test_protocol.py223 def test_tabs_include_synthesis(self, lab_path):CODE
LOWlabs/tests/test_protocol.py317 def test_ledger_chapter_matches_filename(self, lab_path):CODE
LOWlabs/tests/test_protocol.py384 def test_has_stakeholder_messages(self, lab_path):CODE
LOWlabs/tests/test_lab_variants.py20def test_pilot_labs_have_all_canonical_track_variants():CODE
LOWlabs/tests/test_lab_variants.py31def test_variant_track_refs_match_canonical_profiles():CODE
LOWlabs/tests/test_lab_variants.py46def test_variant_alias_lookup():CODE
LOWlabs/tests/test_lab_variants.py53def test_variant_registry_paths_resolve():CODE
LOWlabs/tests/test_lab_variants.py67def test_non_pilot_variants_are_marked_as_baseline():CODE
LOWlabs/tests/test_lab_variants.py76def test_all_catalog_labs_are_now_pilot_variants():CODE
LOWlabs/tests/test_serving_helpers.py23def test_queueing_reference_case_matches_tail_latency_trap():CODE
LOWlabs/tests/test_serving_helpers.py38def test_batching_tax_reports_static_batch_delay():CODE
5001 more matches not shown…
Unused Imports2865 hits · 2188 pts
SeverityFileLineSnippetContext
LOWlabs/bootstrap.py8CODE
LOWlabs/tools/swarm_conductor.py9CODE
LOWlabs/tools/swarm_conductor.py13CODE
LOWlabs/tools/swarm_conductor.py16CODE
LOWlabs/tools/swarm_conductor.py18CODE
LOWlabs/tools/swarm_conductor.py19CODE
LOWlabs/tools/render_lab_smoke.py11CODE
LOWlabs/tools/capture_landing_shots.py7CODE
LOWlabs/tools/interaction_lab_smoke.py10CODE
LOWlabs/mlsysbook_labs/catalog.py3CODE
LOWlabs/mlsysbook_labs/capstone.py3CODE
LOWlabs/mlsysbook_labs/edge.py3CODE
LOWlabs/mlsysbook_labs/variants.py3CODE
LOWlabs/mlsysbook_labs/data_pipeline.py3CODE
LOWlabs/mlsysbook_labs/tracks.py3CODE
LOWlabs/mlsysbook_labs/style.py3CODE
LOWlabs/mlsysbook_labs/style.py3CODE
LOWlabs/mlsysbook_labs/style.py3CODE
LOWlabs/mlsysbook_labs/style.py3CODE
LOWlabs/mlsysbook_labs/style.py3CODE
LOWlabs/mlsysbook_labs/style.py3CODE
LOWlabs/mlsysbook_labs/style.py5CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/legacy_components.py3CODE
LOWlabs/mlsysbook_labs/deployment.py3CODE
LOWlabs/mlsysbook_labs/serving.py3CODE
LOWlabs/mlsysbook_labs/ui.py3CODE
LOWlabs/mlsysbook_labs/registry_refs.py3CODE
LOWlabs/mlsysbook_labs/track_arcs.py9CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py3CODE
LOWlabs/mlsysbook_labs/__init__.py15CODE
LOWlabs/mlsysbook_labs/__init__.py15CODE
LOWlabs/mlsysbook_labs/__init__.py16CODE
LOWlabs/mlsysbook_labs/__init__.py16CODE
LOWlabs/mlsysbook_labs/__init__.py16CODE
LOWlabs/mlsysbook_labs/__init__.py16CODE
LOWlabs/mlsysbook_labs/__init__.py16CODE
LOWlabs/mlsysbook_labs/__init__.py16CODE
LOWlabs/mlsysbook_labs/__init__.py16CODE
LOWlabs/mlsysbook_labs/__init__.py25CODE
LOWlabs/mlsysbook_labs/__init__.py25CODE
LOWlabs/mlsysbook_labs/__init__.py25CODE
LOWlabs/mlsysbook_labs/__init__.py25CODE
2805 more matches not shown…
Cross-File Repetition281 hits · 1405 pts
SeverityFileLineSnippetContext
HIGHlabs/vol2/lab_13_security_privacy.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#70411f);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_03_ml_lifecycle.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#70411f);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_09_data_selection.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#70411f);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_10_model_compress.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#1d4f78);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_02_system_paradigms.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#1d4f78);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_01_ml_intro.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#1d4f78);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_07_ml_frameworks.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#174e63);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_13_model_serving.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#174e63);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_04_data_engr.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#174e63);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHlabs/vol1/lab_05_nn_compute.py0<style> .pilot-head{background:linear-gradient(135deg,#101827,#174e63);color:white;border-radius:14px;padding:clamp(18pxSTRING
HIGHbinder/tools/audit/book_check_registry_sources.py0command-line entry point. checks the given qmd files or directories (all of ``books/`` by default), prints violations grSTRING
HIGHbinder/tools/audit/book_check_lego_equations.py0command-line entry point. checks the given qmd files or directories (all of ``books/`` by default), prints violations grSTRING
HIGHbinder/tools/audit/book_check_lego_load_pint.py0command-line entry point. checks the given qmd files or directories (all of ``books/`` by default), prints violations grSTRING
HIGHbinder/tools/scripts/content/fix_percent.py0process a single qmd file. returns count of replacements.STRING
HIGHbinder/tools/scripts/content/fix_emdash.py0process a single qmd file. returns count of replacements.STRING
HIGHbinder/tools/scripts/content/fix_capitalization.py0process a single qmd file. returns count of replacements.STRING
HIGHbinder/tests/test_fmt_prose_contract.py0```{{python}} #| echo: false class c: {assigns} ``` {prose}STRING
HIGHbinder/tests/test_lego_prose_units.py0```{{python}} #| echo: false class c: {assigns} ``` {prose}STRING
HIGHbinder/tests/test_codemod_fmt.py0```{{python}} #| echo: false class c: {assigns} ``` {prose}STRING
HIGHbinder/cli/commands/headings.py0store the shared config manager and chapter discovery helpers.STRING
HIGHbinder/cli/commands/formatting.py0store the shared config manager and chapter discovery helpers.STRING
HIGHbinder/cli/commands/info.py0store the shared config manager and chapter discovery helpers.STRING
HIGHbinder/cli/commands/bib.py0store the shared config manager and chapter discovery helpers.STRING
HIGH…eb-animations/original-v3-block-diagonal-mask/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…eb-animations/original-v2-tinytl-architecture/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…imations/original-v2-gang-scheduling-deadlock/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…1-web-animations/original-v3-radix-tree-cache/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…-animations/original-v4-10-mug-lease-timeline/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…eb-animations/original-v3-collection-pipeline/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…tions/original-v3-vol3-first-token-accounting/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…tions/original-v3-vol3-tail-sampling-pipeline/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…animations/original-v3-intent-before-dispatch/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…b-animations/original-v2-speculative-decoding/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…s/vol1-web-animations/original-v2-time-travel/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…ons/original-v4-05-compounding-error-flywheel/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…b-animations/original-v2-comm-compute-overlap/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…ions/original-v2-checkpoint-recovery-timeline/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…s/original-v4-03-request-local-prefill-decode/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…b-animations/original-v2-pipeline-parallelism/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…animations/original-v2-moe-all-to-all-routing/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…tions/original-v3-vol3-sandbox-pool-lifecycle/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…ns/original-v2-continuous-batching-comparison/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…tions/original-v4-15-hardware-fault-injection/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…mations/original-v2-federated-averaging-cycle/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…-web-animations/original-v3-search-topologies/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…-animations/original-v3-vol3-chunked-timeline/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…eb-animations/original-v2-pfc-credit-deadlock/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…eb-animations/original-v2-fusion-before-after/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…ginal-v3-vol3-asynchronous-freshness-pipeline/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…web-animations/original-v2-data-pipeline-vol2/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…/original-v3-vol3-overlapping-trace-intervals/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…nimations/original-v2-carbon-aware-scheduling/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…tions/original-v2-responsible-ai-architecture/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…-web-animations/original-v2-shadow-deployment/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…eb-animations/original-v3-hierarchical-budget/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…nimations/original-v3-vol3-index-invalidation/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…nimations/original-v2-traditional-vs-ml-fleet/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…l1-web-animations/original-v2-paged-attention/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…ol1-web-animations/original-v4-13-loaded-tick/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
HIGH…eb-animations/original-v2-gpudirect-data-path/check.py0source-chapter review fixture. copied into each independently owned prototype.STRING
221 more matches not shown…
Empty Error Handlers164 hits · 820 pts
SeverityFileLineSnippetContext
HIGHlabs/tools/interaction_lab_smoke.py343except Exception:CODE
HIGHlabs/tests/test_widget.py71except ValueError:CODE
HIGHlabs/tests/test_widget.py184except Exception:CODE
HIGHbinder/tools/audit/render_playwright_verify.py159except Exception:CODE
HIGHbinder/tools/audit/render_playwright_verify.py211except Exception:CODE
HIGHbinder/tools/audit/check_fig_ai_performance_drift.py59except Exception:CODE
HIGHbinder/tools/audit/book_check_lego_equations.py86except (TypeError, ValueError, AttributeError, KeyError):CODE
HIGHbinder/tools/audit/scan.py169except (subprocess.TimeoutExpired, OSError):CODE
HIGHbinder/tools/audit/fmt/cell_exec.py21except ImportError:CODE
HIGHbinder/tools/audit/fmt/cell_exec.py37except ImportError:CODE
HIGHbinder/tools/audit/math_render/audit_math_pdf.py136except OSError:CODE
HIGHbinder/tools/audit/math_render/audit_math_pdf.py198except Exception:CODE
HIGHbinder/tools/audit/math_render/audit_pdf_spot_check.py72except Exception:CODE
HIGHbinder/tools/scripts/content/format_tables.py378except ValueError:CODE
HIGH…nder/tools/scripts/audit/parallel_verify_master_bib.py90except Exception:CODE
HIGH…nder/tools/scripts/audit/parallel_verify_master_bib.py122except Exception:CODE
HIGH…nder/tools/scripts/audit/parallel_verify_master_bib.py195except Exception:CODE
HIGH…nder/tools/scripts/audit/parallel_verify_master_bib.py221except Exception:CODE
HIGH…nder/tools/scripts/audit/parallel_verify_master_bib.py248except Exception:CODE
HIGH…tools/scripts/audit/comprehensive_live_bib_verifier.py60except Exception:CODE
HIGH…tools/scripts/audit/comprehensive_live_bib_verifier.py180except Exception:CODE
HIGH…tools/scripts/audit/comprehensive_live_bib_verifier.py214except Exception:CODE
HIGH…tools/scripts/audit/comprehensive_live_bib_verifier.py273except Exception:CODE
HIGH…tools/scripts/audit/comprehensive_live_bib_verifier.py301except Exception:CODE
HIGH…tools/scripts/audit/comprehensive_live_bib_verifier.py341except Exception:CODE
HIGH…tools/scripts/audit/comprehensive_live_bib_verifier.py260except ValueError:CODE
HIGHbinder/tests/test_content_structure.py56except ValueError:CODE
HIGHbinder/tests/test_units.py514except (pint.DimensionalityError, ValueError):CODE
HIGHbinder/tests/test_units.py573except TypeError:CODE
HIGHbinder/tests/test_units.py579except TypeError:CODE
HIGHbinder/cli/core/discovery.py281except ValueError:CODE
HIGHbinder/cli/core/discovery.py332except (ValueError, yaml.YAMLError):CODE
HIGHbinder/cli/core/process.py110except ProcessLookupError:CODE
HIGHbinder/cli/core/process.py55except Exception:CODE
HIGHbinder/cli/core/process.py95except subprocess.TimeoutExpired:CODE
HIGHbinder/cli/core/workspace.py237except OSError:CODE
HIGHbinder/cli/checks/spelling_tikz.py235except Exception:CODE
HIGHbinder/cli/commands/_epub_checks.py467except ImportError:CODE
HIGHbinder/cli/commands/render.py409except OSError:CODE
HIGHbinder/cli/commands/maintenance.py276except (subprocess.TimeoutExpired, OSError):CODE
HIGHbinder/cli/commands/validate.py6125except OSError:CODE
HIGHbinder/cli/commands/validate.py153except (KeyError, IndexError, ValueError):CODE
HIGHbinder/cli/commands/validate.py162except (KeyError, IndexError, ValueError):CODE
HIGHbinder/cli/commands/validate.py6102except (FileNotFoundError, OSError):CODE
HIGHbinder/cli/commands/_pdf_checks.py583except OSError:CODE
HIGHbinder/cli/commands/info.py437except ValueError:CODE
HIGHbinder/cli/commands/doctor.py307except ImportError:CODE
HIGHbinder/cli/commands/reference_check.py244except OSError:CODE
HIGHstaffml/vault-cli/scripts/apply_proposed_chains.py56except Exception:CODE
HIGHstaffml/vault-cli/scripts/check_reviewer_identity.py57except subprocess.CalledProcessError:CODE
HIGHbooks/shared/scripts/clean_svgs.py169except:CODE
HIGHslides/vol3/20_conclusion/images/data/settle_run.py65except OSError:CODE
HIGHslides/vol3/07_tool_calling/images/data/pipecap.py8except BlockingIOError:CODE
HIGH…/vol2/10_inference/images/data/aggregate_azure_2024.py17except ValueError:CODE
HIGHslides/vol2/04_data_storage/images/make_figs.py380except FileNotFoundError:CODE
HIGHscripts/figure_qa_loop.py70except ValueError:CODE
HIGHscripts/generate_chapter_from_v2.py443except Exception:CODE
HIGHmlperf-edu/tools/measure_course_budgets.py52except (psutil.NoSuchProcess, psutil.AccessDenied):CODE
HIGHmlperf-edu/tools/measure_course_budgets.py115except ImportError:CODE
HIGHmlperf-edu/tools/build_handoff_manifest.py890except ValueError:CODE
104 more matches not shown…
Deep Nesting851 hits · 727 pts
SeverityFileLineSnippetContext
LOWlabs/tools/render_lab_smoke.py73CODE
LOWlabs/tools/interaction_lab_smoke.py321CODE
LOWlabs/mlsysbook_labs/responsibility.py273CODE
LOWlabs/tests/test_protocol.py56CODE
LOWlabs/tests/test_static.py281CODE
LOWlabs/tests/test_static.py508CODE
LOWlabs/tests/test_static.py464CODE
LOWlabs/tests/test_static.py538CODE
LOWlabs/tests/browser_smoke.py213CODE
LOWlabs/tests/test_wasm_persistence.py116CODE
LOWlabs/tests/test_widget.py242CODE
LOWlabs/tests/test_widget.py143CODE
LOWlabs/vol1/lab_00_introduction.py567CODE
LOWtools/section_notation_pipeline.py53CODE
LOWtools/section_notation_pipeline.py237CODE
LOWtools/section_notation_pipeline.py272CODE
LOWbinder/tools/bib_sync_preserve.py316CODE
LOW…er/tools/audit/generate_registry_migration_manifest.py213CODE
LOW…er/tools/audit/generate_registry_migration_manifest.py293CODE
LOWbinder/tools/audit/book_check_registry_sources.py328CODE
LOWbinder/tools/audit/registry_consumers.py62CODE
LOWbinder/tools/audit/book_check_lego_scenario_inputs.py459CODE
LOWbinder/tools/audit/book_check_lego_scenario_inputs.py633CODE
LOWbinder/tools/audit/generate_appendix_constants.py316CODE
LOWbinder/tools/audit/generate_appendix_constants.py330CODE
LOWbinder/tools/audit/check_rendered_html.py99CODE
LOWbinder/tools/audit/book_check_lego_quantity_flow.py165CODE
LOWbinder/tools/audit/book_check_lego_quantity_flow.py190CODE
LOWbinder/tools/audit/audit_dark_mode.py118CODE
LOWbinder/tools/audit/book_check_lego_equations.py254CODE
LOWbinder/tools/audit/chapter_html_verify.py526CODE
LOWbinder/tools/audit/chapter_pdf_verify.py496CODE
LOWbinder/tools/audit/verify.py160CODE
LOWbinder/tools/audit/verify.py247CODE
LOWbinder/tools/audit/refresh_mlsysim_constants_yamls.py67CODE
LOWbinder/tools/audit/refresh_mlsysim_constants_yamls.py92CODE
LOWbinder/tools/audit/chapter_build_sequence.py30CODE
LOWbinder/tools/audit/protected_contexts.py229CODE
LOWbinder/tools/audit/book_check_lego_load_pint.py127CODE
LOWbinder/tools/audit/fmt/audit_fmt_usage.py186CODE
LOWbinder/tools/audit/fmt/fix_spurious_prose.py70CODE
LOWbinder/tools/audit/fmt/audit_lego_rendered_prose.py181CODE
LOWbinder/tools/audit/fmt/audit_lego_rendered_prose.py273CODE
LOWbinder/tools/audit/fmt/audit_lego_rendered_prose.py362CODE
LOWbinder/tools/audit/fmt/fix_precision.py47CODE
LOWbinder/tools/audit/fmt/fix_precision.py64CODE
LOWbinder/tools/audit/fmt/fix_precision.py178CODE
LOWbinder/tools/audit/fmt/inventory_design_b_rates.py108CODE
LOWbinder/tools/audit/fmt/audit_lego_cells.py111CODE
LOWbinder/tools/audit/fmt/audit_lego_cells.py168CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py185CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py291CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py398CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py445CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py588CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py637CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py705CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py766CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py815CODE
LOWbinder/tools/audit/fmt/codemod_fmt.py865CODE
791 more matches not shown…
Cross-Language Confusion138 hits · 698 pts
SeverityFileLineSnippetContext
HIGH⚡labs/tools/interaction_lab_smoke.py356 roots.push(root);CODE
HIGH⚡labs/tools/interaction_lab_smoke.py364 const texts = roots.map((root) => root.body?.innerText || root.textContent || "");CODE
HIGH⚡labs/tools/interaction_lab_smoke.py430 if (!el || seen.has(el)) continue;CODE
HIGH⚡labs/tools/interaction_lab_smoke.py435 if (rect.width <= 0 || rect.height <= 0) continue;CODE
HIGH⚡labs/tools/interaction_lab_smoke.py438 targets.push({id, maxScroll});CODE
HIGH⚡labs/tools/interaction_lab_smoke.py486 const text = (el.innerText || el.textContent || '').trim().replace(/\\s+/g, ' ');CODE
HIGH⚡labs/tools/interaction_lab_smoke.py487 if (text && text.length < 3500 && !seenText.has(text)) {CODE
HIGH⚡labs/tools/interaction_lab_smoke.py489 textNodes.push(text);CODE
HIGH⚡labs/tools/interaction_lab_smoke.py498 if (!el || seen.has(el)) continue;CODE
HIGH⚡labs/tools/interaction_lab_smoke.py503 if (rect.width <= 0 || rect.height <= 0) continue;CODE
HIGH⚡labs/tools/interaction_lab_smoke.py504 targets.push({el, maxScroll});CODE
HIGH⚡labs/tools/interaction_lab_smoke.py512 positions.push(Math.min(y, target.maxScroll));CODE
HIGH⚡labs/tools/interaction_lab_smoke.py514 positions.push(target.maxScroll);CODE
HIGH⚡labs/tools/interaction_lab_smoke.py517 if (target.el === document.scrollingElement || target.el === document.documentElement || target.el === docCODE
HIGH⚡labs/tools/interaction_lab_smoke.py520 chunks.push(capture());CODE
HIGH⚡labs/tools/interaction_lab_smoke.py562 elements.push(el);STRING
HIGH⚡labs/tools/interaction_lab_smoke.py777 const text = (el.innerText || el.textContent || '').trim().replace(/\\s+/g, ' ');STRING
HIGH⚡labs/tools/interaction_lab_smoke.py780 if (!text || rect.width <= 0 || rect.height <= 0 || style.display === 'none' || style.visibility === 'hiddSTRING
HIGH⚡labs/tools/interaction_lab_smoke.py788 labels.push(text);STRING
HIGH⚡labs/tools/interaction_lab_smoke.py887 const text = (el.innerText || el.textContent || '').trim().replace(/\\s+/g, ' ');STRING
HIGH⚡labs/tools/interaction_lab_smoke.py888 if (text && text.length < 2500 && !seen.has(text)) {STRING
HIGH⚡labs/tools/interaction_lab_smoke.py890 textNodes.push(text);STRING
HIGH⚡labs/tools/interaction_lab_smoke.py1113 const text = (label?.innerText || label?.textContent || input.value || '').trim().replace(/\\s+/g, ' ');STRING
HIGH⚡labs/tools/interaction_lab_smoke.py1115 if (text && rect.width > 0 && rect.height > 0) {STRING
HIGH⚡labs/tools/interaction_lab_smoke.py1116 candidates.push([index, text]);STRING
HIGHlabs/tools/interaction_lab_smoke.py591 const candidate = control.value || control.getAttribute("value") || control.textContent || "";STRING
HIGHlabs/tools/interaction_lab_smoke.py636 roots.push(root);STRING
HIGHlabs/tools/interaction_lab_smoke.py765 roots.push(root);STRING
HIGHlabs/tools/interaction_lab_smoke.py819 roots.push(root);STRING
HIGHlabs/tools/interaction_lab_smoke.py829 const text = normalize(el.innerText || el.textContent);STRING
HIGHlabs/tools/interaction_lab_smoke.py1280 searchFiltersRows: filtered > 0 && filtered < before,STRING
HIGHlabs/tools/interaction_lab_smoke.py1281 volumeFilterWorks: v2Rows > 0 && v2Rows < before,STRING
HIGHlabs/tests/test_wasm_persistence.py77 window.__initError = String(e && e.stack ? e.stack : e);CODE
HIGHlabs/tests/test_wasm_persistence.py143 "window.__ready === true || window.__initError",STRING
HIGHlabs/tests/test_wasm_persistence.py146 init_error = page.evaluate("window.__initError || null")STRING
HIGHlabs/tests/test_wasm_persistence.py187 resolve(getReq.result !== undefined && getReq.result !== null);CODE
HIGHlabs/tests/test_wasm_persistence.py187 resolve(getReq.result !== undefined && getReq.result !== null);CODE
HIGHlabs/tests/test_wasm_persistence.py233 "window.__ready === true || window.__initError", timeout=30_000CODE
HIGHlabs/tests/test_wasm_persistence.py235 init_error = page.evaluate("window.__initError || null")CODE
HIGHlabs/tests/test_wasm_persistence.py299 true today even against the pre-#1988 resolve(null)-style onerrorSTRING
HIGHlabs/tests/test_wasm_persistence.py318 "window.__ready === true || window.__initError", timeout=30_000CODE
HIGHlabs/tests/test_wasm_persistence.py320 init_error = page.evaluate("window.__initError || null")CODE
HIGH⚡labs/tests/test_wasm_ledger_namespace.py16 page.wait_for_function("window.__ready || window.__initError", timeout=60000)CODE
HIGH⚡labs/tests/test_wasm_ledger_namespace.py17 assert page.evaluate("window.__initError || null") is NoneCODE
HIGHbinder/tools/audit/render_playwright_verify.py155 "() => typeof MathJax !== 'undefined' && MathJax.startup && MathJax.startup.promise",CODE
HIGH⚡binder/tools/audit/audit_dark_mode.py49 const effBg = el => { const chain = []; for (let e = el; e; e = e.parentElement) chain.push(parse(getComputedStyle(e).CODE
HIGH⚡binder/tools/audit/audit_dark_mode.py52 const add = o => { if (out.issues.length < 25) out.issues.push(o); out.total = (out.total || 0) + 1; };CODE
HIGH⚡binder/tools/audit/audit_dark_mode.py52 const add = o => { if (out.issues.length < 25) out.issues.push(o); out.total = (out.total || 0) + 1; };CODE
HIGH⚡binder/tools/audit/audit_dark_mode.py59 const el = n.parentElement; if (!el || seen.has(el)) continue; seen.add(el);CODE
HIGH⚡binder/tools/audit/audit_dark_mode.py65 cls: (el.className && el.className.toString ? el.className.toString() : '').slice(0, 40),CODE
HIGH⚡binder/tools/audit/audit_dark_mode.py65 cls: (el.className && el.className.toString ? el.className.toString() : '').slice(0, 40),CODE
HIGH⚡binder/tools/audit/audit_dark_mode.py72 if (el && el.getBoundingClientRect().height > 0 && lum(effBg(el)) > 0.2) add({kind: 'region-light', region: sel, lumCODE
HIGH⚡binder/tools/audit/audit_dark_mode.py76 if (lum(effBg(s)) > 0.35) add({kind: 'callout-header-light', cls: s.parentElement.className.toString().slice(0, 40),CODE
HIGHbinder/tools/audit/audit_dark_mode.py131 print("playwright is not installed: pip install playwright && python3 -m playwright install webkit", file=sys.stSTRING
HIGHbinder/tools/scripts/check_original_player_speed.py45 root.dataset.transitionCalls = Number(root.dataset.transitionCalls || 0) + 1;CODE
HIGHbinder/tools/scripts/check_original_player_speed.py78 assert page.evaluate('players.first.state.speed===1 && players.second.state.speed===1')CODE
HIGHbinder/tools/scripts/check_original_player_speed.py108 assert page.evaluate("players.first.state.index===0 && players.first.state.target===1")CODE
HIGH⚡binder/tools/scripts/check_original_player_speed.py142 assert page.evaluate("players.first.state.index===1 && players.first.state.phase==='reading'")CODE
HIGH⚡binder/tools/scripts/check_original_player_speed.py146 assert page.evaluate("players.first.state.index===1 && players.first.state.target===2")CODE
HIGH⚡binder/tools/scripts/check_original_player_speed.py156 assert page.evaluate('players.first.state.index===0 && players.first.state.target===1 && !players.first.state.playinCODE
78 more matches not shown…
Excessive Try-Catch Wrapping707 hits · 695 pts
SeverityFileLineSnippetContext
LOWlabs/tools/swarm_conductor.py131 except Exception as exc:CODE
LOWlabs/tools/render_lab_smoke.py24except Exception as exc: # pragma: no cover - CLI dependency guardCODE
LOWlabs/tools/render_lab_smoke.py81 except Exception as exc: # pragma: no cover - timing dependentCODE
LOWlabs/tools/render_lab_smoke.py154 except Exception as exc:CODE
MEDIUMlabs/tools/interaction_lab_smoke.py219def _mlsysbook_safe_find_spec(name, package=None):CODE
MEDIUMlabs/tools/interaction_lab_smoke.py278def _mlsysbook_safe_find_spec(name, package=None):CODE
LOW⚡labs/tools/interaction_lab_smoke.py208 except Exception:CODE
LOW⚡labs/tools/interaction_lab_smoke.py210 except Exception:CODE
LOW⚡labs/tools/interaction_lab_smoke.py267 except Exception:CODE
LOW⚡labs/tools/interaction_lab_smoke.py269 except Exception:CODE
LOWlabs/tools/interaction_lab_smoke.py26except Exception as exc: # pragma: no cover - CLI dependency guardCODE
LOWlabs/tools/interaction_lab_smoke.py714 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py747 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py855 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py1009 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py1059 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py1093 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py1163 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py1350 except Exception as exc:CODE
LOWlabs/tools/interaction_lab_smoke.py1378 except Exception as exc:CODE
LOW⚡labs/tools/interaction_lab_smoke.py369 except Exception:STRING
LOW⚡labs/tools/interaction_lab_smoke.py372 except Exception:STRING
LOW⚡labs/tools/interaction_lab_smoke.py530 except Exception:STRING
LOW⚡labs/tools/interaction_lab_smoke.py540 except Exception as exc:STRING
LOW⚡labs/tools/interaction_lab_smoke.py545 except Exception as exc:STRING
LOWlabs/tools/interaction_lab_smoke.py329 except Exception as exc: # pragma: no cover - timing dependentSTRING
LOWlabs/tools/interaction_lab_smoke.py343 except Exception:STRING
LOWlabs/mlsysbook_labs/capstone.py94 except Exception:CODE
LOWlabs/mlsysbook_labs/capstone.py99 except Exception:CODE
LOWlabs/mlsysbook_labs/edge.py160 except Exception:CODE
LOWlabs/mlsysbook_labs/edge.py165 except Exception:CODE
LOWlabs/mlsysbook_labs/data_pipeline.py108 except Exception:CODE
LOWlabs/mlsysbook_labs/data_pipeline.py113 except Exception:CODE
LOWlabs/mlsysbook_labs/deployment.py128 except Exception:CODE
LOWlabs/mlsysbook_labs/deployment.py133 except Exception:CODE
LOWlabs/mlsysbook_labs/serving.py119 except Exception:CODE
LOWlabs/mlsysbook_labs/serving.py124 except Exception:CODE
LOWlabs/mlsysbook_labs/ops.py105 except Exception:CODE
LOWlabs/mlsysbook_labs/ops.py110 except Exception:CODE
LOW⚡labs/mlsysbook_labs/roofline.py61 except Exception:CODE
LOW⚡labs/mlsysbook_labs/roofline.py66 except Exception:CODE
LOWlabs/mlsysbook_labs/architecture.py127 except Exception:CODE
LOWlabs/mlsysbook_labs/architecture.py132 except Exception:CODE
LOWlabs/mlsysbook_labs/frameworks.py120 except Exception:CODE
LOWlabs/mlsysbook_labs/frameworks.py125 except Exception:CODE
LOWlabs/mlsysbook_labs/inference.py109 except Exception:CODE
LOWlabs/mlsysbook_labs/inference.py114 except Exception:CODE
LOWlabs/mlsysbook_labs/selection.py147 except Exception:CODE
LOWlabs/mlsysbook_labs/selection.py152 except Exception:CODE
LOWlabs/mlsysbook_labs/selection.py440 except Exception:CODE
LOWlabs/mlsysbook_labs/selection.py445 except Exception:CODE
LOWlabs/mlsysbook_labs/neural_compute.py106 except Exception:CODE
LOWlabs/mlsysbook_labs/neural_compute.py111 except Exception:CODE
LOWlabs/mlsysbook_labs/training.py124 except Exception:CODE
LOWlabs/mlsysbook_labs/training.py129 except Exception:CODE
LOWlabs/mlsysbook_labs/responsibility.py130 except Exception:CODE
LOWlabs/mlsysbook_labs/responsibility.py135 except Exception:CODE
LOWlabs/mlsysbook_labs/benchmarking.py91 except Exception:CODE
LOWlabs/mlsysbook_labs/benchmarking.py96 except Exception:CODE
LOWlabs/mlsysbook_labs/system_design.py142 except Exception:CODE
647 more matches not shown…
Modern AI Meta-Vocabulary299 hits · 575 pts
SeverityFileLineSnippetContext
MEDIUMlabs/vol2/lab_09_perf_engineering.py174# Experiment orchestration through MLSysIMCOMMENT
MEDIUMbinder/tools/audit/checks/abbreviation_first_use.py383 # headings, table cells, captions, and callout scaffolding out of the count,COMMENT
MEDIUM…erms/vol2_fleet_orchestration_fleet_orchestration.json102 "context": "::: {#dfn-fleet-orchestration-priority-inversion .callout-definition title=\"Priority inversion\"}"CODE
MEDIUMbinder/cli/commands/validate.py386# Existing bibliography citations inside scaffolding blocks. New citations inCOMMENT
MEDIUMbinder/cli/commands/validate.py387# Purpose, learning objectives, or takeaways fail `refs.scaffold-citations`.COMMENT
MEDIUMbinder/cli/commands/validate.py4339 # Frontmatter is allowed to contain non-book scaffolding; all bookCOMMENT
MEDIUMbinder/cli/commands/validate.py5753 # _qmd_files drops index-volN.qmd and volN/index.qmd as scaffolding,COMMENT
MEDIUMbinder/cli/commands/validate.py8527 # Authoring scaffold, not prose: a @sec- inside an HTML commentCOMMENT
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUMbooks/vol3/SEMINAL_PAPERS_COMPENDIUM.md249### 23. From Local to Global: A Graph RAG Approach to Query-Focused SummarizationCOMMENT
MEDIUMbooks/vol2/04_data_storage/data_storage_quizzes.json417 "section_id": "#sec-storage-data-versioning-orchestration",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json12 "section_id": "#sec-fleet-orchestration-introduction",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json56 "section_id": "#sec-fleet-orchestration-distributed-scheduling",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json100 "section_id": "#sec-fleet-orchestration-objectives",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json144 "section_id": "#sec-fleet-orchestration-core-allocation",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json202 "section_id": "#sec-fleet-orchestration-paradigms",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json273 "section_id": "#sec-fleet-orchestration-topology-aware",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json343 "section_id": "#sec-fleet-orchestration-elastic-training",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json407 "section_id": "#sec-fleet-orchestration-cost-optimization",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json483 "section_id": "#sec-fleet-orchestration-custom-schedulers",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json547 "section_id": "#sec-fleet-orchestration-serving",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json616 "section_id": "#sec-fleet-orchestration-multi-tenancy",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json654 "section_id": "#sec-fleet-orchestration-debugging",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json731 "section_id": "#sec-fleet-orchestration-fallacies",CODE
MEDIUM…8_fleet_orchestration/fleet_orchestration_quizzes.json775 "section_id": "#sec-fleet-orchestration-summary",CODE
MEDIUM…1-web-animations/animation-catalog/vol1-inventory.json1673 "context": "### Core operations {#sec-ml-frameworks-core-operations-914f}\n\nCalling `y = torch.matmul(x, w)` withouCODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json1951 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json1958 "section": "Gang scheduling {#sec-fleet-orchestration-gang-scheduling}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json1963 "context": "### Gang scheduling {#sec-fleet-orchestration-gang-scheduling}\n\nPartial allocation of rigid multi-GPU CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json1970 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json1977 "section": "Gang scheduling {#sec-fleet-orchestration-gang-scheduling}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2082 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2089 "section": "The scheduler-framework contract {#sec-fleet-orchestration-elastic-contract}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2094 "context": "### The scheduler-framework contract {#sec-fleet-orchestration-elastic-contract}\n\nIf a scheduler reclaCODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2101 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2108 "section": "Elastic scaling policies {#sec-fleet-orchestration-elastic-policies}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2118 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2135 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2142 "section": "Capacity reservation strategies {#sec-fleet-orchestration-capacity-reservation}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2147 "context": ": **Cloud Capacity Reservation Tiers**: Capacity tiers trade cost and commitment against availability guCODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2154 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2171 "chapter_title": "Fleet Orchestration {#sec-fleet-orchestration}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2178 "section": "Debugging Cluster Utilization {#sec-fleet-orchestration-debugging}",CODE
MEDIUM⚡…1-web-animations/animation-catalog/vol2-inventory.json2181 "context": "## Debugging Cluster Utilization {#sec-fleet-orchestration-debugging}\n\nA cluster dashboard shows averaCODE
MEDIUM…1-web-animations/animation-catalog/vol2-inventory.json19 "context": "## Suggested Reading Paths {#sec-vol2-about-reading-paths}\n\nThe chapters are ordered so that each can CODE
239 more matches not shown…
Over-Commented Block497 hits · 439 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1# MLSysBook DependenciesCOMMENT
LOW.pre-commit-config.yaml1# MLSysBook Pre-commit ConfigurationCOMMENT
LOW.pre-commit-config.yaml21# To see error codes, triggers, and source-level fixes for any check group:COMMENT
LOW.pre-commit-config.yaml41#COMMENT
LOW.pre-commit-config.yaml521 # anti-patterns, tag-placement, xref-resolves. Plus the originalCOMMENT
LOW.pre-commit-config.yaml541 # kits/, slides/). The old validate.py / source_citations.py triggersCOMMENT
LOWpyproject.toml261# Flake8 configuration (in setup.cfg or .flake8 file)COMMENT
LOWpyproject.toml281# heros - TeX Gyre Heros font; fith - PDF FitH parameter;COMMENT
LOWlabs/config/announcement.yml1# =============================================================================COMMENT
LOWlabs/tests/test_static.py481 f"WASM-incompatible import 'from {node.module}' at line {node.lineno}. "COMMENT
LOWlabs/tests/browser_smoke.py81COMMENT
LOWlabs/vol1/lab_00_introduction.py1import marimoCOMMENT
LOWlabs/vol1/lab_00_introduction.py21# Progressive disclosure: each check gates the next concept.COMMENT
LOWlabs/assets/styles/dark-mode.scss101// accent tint matches the instructors look; setting all three properties onCOMMENT
LOWlabs/assets/styles/style.scss1/*-- scss:defaults --*/COMMENT
LOWlabs/assets/styles/style.scss181// Hover/active color uses $accent set above (= $colabs-accent).COMMENT
LOWbinder/tools/dependencies/requirements.txt41#torch>=2.0.0COMMENT
LOWbinder/tools/dependencies/requirements.txt61# Wraps the W3C `epubcheck` jar so `./binder/binder check epub --scope epubcheck`COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt1# Exact pins for the Linux build container (Python 3.10, Ubuntu 22.04).COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt21 # via isodurationCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt41 # -r binder/tools/dependencies/requirements.txtCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt61 # viaCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt81 # nltkCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt101 # python-discoveryCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt121httpcore2==2.13.1COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt141 # viaCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt161 # nbconvertCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt181 # viaCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt201 # nbconvertCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt221 # via nbconvertCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt241 # viaCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt261 # viaCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt281numpy==2.2.6COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt301 # jupyterlabCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt321pillow==12.3.0COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt341 # ipythonCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt361pydantic-core==2.50.1COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt381 # matplotlibCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt401 # viaCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt421 # via betterbibCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt441rpds-py==0.30.0COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt461stack-data==0.6.3COMMENT
LOWbinder/tools/dependencies/requirements.lock.txt481 # betterbibCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt501 # jupyter-clientCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt521 # cattrsCOMMENT
LOWbinder/tools/dependencies/requirements.lock.txt541 # viaCOMMENT
LOWbinder/tools/audit/book_check_registry_sources.py161)COMMENT
LOWbinder/tools/audit/protected_contexts.py301 # Opening fence — toggle on, then yield as in fence.COMMENT
LOWbinder/tools/audit/protected_contexts.py361COMMENT
LOWbinder/tools/audit/checks/abbreviation_first_use.py61RULE_TEXT = "Abbreviations must follow chapter-level first-use policy"COMMENT
LOWbinder/tools/audit/checks/abbreviation_first_use.py141# Markup that may legitimately sit between an expansion and its `(ABBREV)`COMMENT
LOWbinder/tools/audit/checks/abbreviation_first_use.py521 )COMMENT
LOWbinder/tools/audit/checks/h3_titlecase.py61}COMMENT
LOWbinder/tools/audit/checks/h3_titlecase.py81# 1. Phrase preprocessor: replace known multi-word named phrasesCOMMENT
LOWbinder/tools/audit/checks/h3_titlecase.py101# 6. Concept-term override: if the heading contains any §10.3 lowercaseCOMMENT
LOWbinder/tools/audit/checks/h3_titlecase.py201COMMENT
LOWbinder/tools/audit/checks/h3_titlecase.py461COMMENT
LOW…nder/tools/audit/checks/concept_term_capitalization.py81CATEGORY = "concept-term-capitalization"COMMENT
LOW…nder/tools/audit/checks/concept_term_capitalization.py141 # attribute spans completely contain any sub-spans we'd want to keepCOMMENT
LOW…nder/tools/audit/checks/concept_term_capitalization.py341 # caption heads, box heads, and structural lead-ins all use sentenceCOMMENT
437 more matches not shown…
Hallucination Indicators30 hits · 350 pts
SeverityFileLineSnippetContext
CRITICAL…der/tools/audits/mlsysim_constants/vol2_inference.yaml512 target_source: derive from mlsysim.models.Models.Language.Llama2_70B.size_in_bytes(BYTES_INT4)CODE
CRITICAL…der/tools/audits/mlsysim_constants/vol2_inference.yaml601 target_source: mlsysim.models.Models.Language.Llama2_70B.size_in_bytes(BYTES_FP16)CODE
CRITICALbinder/tests/test_mlsysim_registry_coverage.py41# ``Hardware.Cloud.H100.memory.capacity.m_as(GB)``. Resolve the registry objectCOMMENT
CRITICALbinder/vscode-ext/src/extension.ts301 if (!event.textEditor.document.uri.fsPath.endsWith('.qmd')) {CODE
CRITICALmlsysim/paper/scripts/generate_paper_values.py512 V.num("AnchorThreeCapacityGB", Hardware.Cloud.H100.memory.capacity.m_as("GB"), "Hardware.Cloud.H100.memory.capacity CODE
CRITICALmlsysim/paper/scripts/generate_paper_values.py536 h100_cap_gb = Hardware.Cloud.H100.memory.capacity.m_as("GB")CODE
CRITICALmlsysim/paper/scripts/generate_paper_values.py554 V.num("AnchorFourTflops", Hardware.Cloud.TPUv4.compute.peak_flops.m_as("TFLOPs/s"), "Hardware.Cloud.TPUv4.compute.peCODE
CRITICALmlsysim/paper/scripts/generate_paper_values.py556 V.num("AnchorFourIciGBs", Hardware.Cloud.TPUv4.nvlink.bandwidth_per_direction.m_as("GB/s"),CODE
CRITICAL⚡mlsysim/tests/test_solver_suite.py52from mlsysim.core.exceptions import OOMErrorCODE
CRITICALmlsysim/tests/test_calculation_scenarios.py1103 assert s.WarehouseFixedWindowAtAisleSpeed.result.with_takeover.required_distance.m_as('mm') == pytest.approx(1618.99CODE
CRITICALmlsysim/tests/test_calculation_scenarios.py1104 assert round(s.WarehouseFixedWindowAtCrawl.result.with_takeover.required_distance.m_as('mm')) == 307CODE
CRITICALmlsysim/tests/test_training_reference_fleets.py28 peak = Hardware.Cloud.V100.compute.peak_flops.to("TFLOP/s").magnitudeCODE
CRITICALmlsysim/tests/test_golden_regressions.py205 h100_fp16_tflops = Hardware.Cloud.H100.compute.peak_flops.m_as("TFLOP/s")CODE
CRITICAL⚡mlsysim/tests/test_hardware.py49 assert Hardware.Cloud.V100.nvlink.bandwidth.m_as(GB / second) == 300.0CODE
CRITICAL⚡mlsysim/tests/test_hardware.py50 assert Hardware.Cloud.A100.nvlink.bandwidth.m_as(GB / second) == 600.0CODE
CRITICAL⚡mlsysim/tests/test_hardware.py51 assert Hardware.Cloud.H100.nvlink.bandwidth.m_as(GB / second) == 900.0CODE
CRITICAL⚡mlsysim/tests/test_hardware.py52 assert Hardware.Cloud.B200.nvlink.bandwidth.m_as(GB / second) == 1800.0CODE
CRITICAL⚡mlsysim/tests/test_hardware.py89 assert Hardware.Tech.Memory.DDR4_3200.bandwidth.m_as(GB / second) == pytest.approx(51.2)CODE
CRITICAL⚡mlsysim/tests/test_hardware.py90 assert Hardware.Tech.Memory.HBM2.bandwidth.m_as(GB / second) == pytest.approx(900)CODE
CRITICAL⚡mlsysim/tests/test_hardware.py91 assert Hardware.Tech.Memory.HBM3.bandwidth.m_as(GB / second) == pytest.approx(1600)CODE
CRITICAL⚡mlsysim/tests/test_hardware.py92 assert Hardware.Tech.Memory.GDDR6X.bandwidth.m_as(GB / second) == pytest.approx(760)CODE
CRITICALmlsysim/mlsysim/cli/exceptions.py24 from mlsysim.core.exceptions import OOMErrorCODE
CRITICALmlsysim/mlsysim/viz/plots.py312 fleet_system.node.accelerator.compute.peak_flops.to("TFLOPs/s").magnitudeCODE
CRITICALmlsysim/mlsysim/engine/scenarios.py1315 device_memory=Q_(_Hardware.Cloud.H100.memory.capacity.to("GiB").magnitude, "GB"),CODE
CRITICALmlsysim/mlsysim/engine/scenarios.py1461 device_memory=Q_(_Hardware.Cloud.H100.memory.capacity.to("GiB").magnitude, "GB"),CODE
CRITICALmlsysim/mlsysim/engine/scenarios.py2120 device_memory=_Hardware.Cloud.A100.memory.capacity.to("GiB").magnitude * Q_(1, "GB"),CODE
CRITICALmlsysim/mlsysim/engine/scenario_types.py3971 return self.machine.brain_soc.memory.capacity.to("GB")CODE
CRITICALmlsysim/mlsysim/engine/solvers/performance.py135 fleet.node.accelerator.compute.precision_flops.get(CODE
CRITICAL…ts/13_transformers/test_13_transformers_progressive.py240 before = model.embedding_layer.token_embedding.weight.data.copy()CODE
CRITICALtinytorch/tests/cli/test_cli_execution.py215 from tito.core.exceptions import TinyTorchCLIErrorCODE
Docstring Block Structure82 hits · 348 pts
SeverityFileLineSnippetContext
HIGHbinder/cli/main.py246Parse `binder build` arguments into format, scope, and target components. Extracts output format ('html', 'pdf'STRING
HIGHbinder/cli/main.py399Separate parallel-build flags from the rest of a ``build`` or ``debug`` argument list. Recognizes ``--parallel`STRING
HIGHbinder/cli/core/config.py146Get the configuration file for a specific format and optional volume. Args: format_type: Format typSTRING
HIGHbinder/cli/core/config.py173Copy the config for a format and optional volume to ``_quarto.yml``. Args: format_type: Format typeSTRING
HIGHbinder/cli/core/config.py253Read and parse a configuration file. Args: format_type: Format type ('html', 'pdf', 'epub') STRING
HIGHbinder/cli/core/discovery.py337Resolve a filename, relative path, or readable chapter title. Explicit volume prefixes constrain every matchingSTRING
HIGHbinder/cli/core/discovery.py505Validate a list of chapter names and return their paths. Args: chapter_names: List of chapter namesSTRING
HIGHbinder/cli/core/volume_index.py12Resolve the canonical entry point file for a volume and build format. Selects the homepage for HTML and the prefaceSTRING
HIGHbinder/cli/core/volume_index.py60Refresh the root ``index.qmd`` copy without writing through an existing symlink. Finds the canonical index source vSTRING
HIGHbinder/cli/core/parallel.py213Run *job* in the workspace and collect its log and output. Args: job: The build to run. STRING
HIGHbinder/cli/core/parallel.py431Expand a build request into one job per format, volume, and chapter. Args: discovery: ``ChapterDiscovery`` STRING
HIGHbooks/shared/publish/compress_pdf.py188 Compress a PDF file using Ghostscript. Args: input_path: Path to input PDF file STRING
HIGHbooks/shared/publish/compress_epub.py257 Compress an EPUB file by optimizing embedded images. Args: input_path: Path to input EPUB STRING
HIGHmlsysim/mlsysim/engine/resolver_factory.py57 Retrieves a resolver class by its registered name. Args: name: The class name of tSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt348Compute the quotient of two numbers. Args: a: Dividend value. b: Divisor value. Returns: STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt400Calculate the factorial of a non-negative integer. Args: n: Non-negative integer. Returns: FacSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt419Compute the n-th Fibonacci number iteratively. Args: n: Zero-indexed position in Fibonacci sequence. RSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt560Compute the arithmetic average of a sequence of numbers. Args: numbers: List of floating point numbers. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt577Compute the sample variance of a collection of values. Args: numbers: List of numerical measurements. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt596Compute the sample standard deviation of numerical data. Args: numbers: List of observations. Returns:STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt615Find the median value of a sequence of numbers. Args: numbers: List of numeric values. Returns: STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt684Calculate the harmonic mean of positive numbers. Args: numbers: List of strictly positive real numbers. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt705Calculate the geometric mean of positive numbers. Args: numbers: List of strictly positive real values. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt726Compute the recursive single-digit sum of an integer. Args: n: Non-negative integer. Returns: STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt745Compute the binomial coefficient n choose k. Args: n: Total number of items. k: Number of chosen itSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt772Compute the number of ordered arrangements of k items from n. Args: n: Size of the total population. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt971Sort non-negative integers in linear time via frequency counting. Args: arr: List of non-negative integers.STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt1463Perform topological ordering on a directed acyclic graph. Args: graph: Mapping from each vertex to its outgSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt1604Compute numerically stable softmax distribution over logits. Args: logits: Unnormalized class score vector.STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt1623Compute numerically stable logarithm of softmax distribution. Args: logits: Raw unnormalized prediction valSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt1642Compute mean squared error loss between predictions and targets. Args: predictions: Model output predictionSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt1678Compute multiclass cross entropy loss given unnormalized logits. Args: logits: Raw predictions for each claSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt1700Compute binary cross entropy loss for probability predictions. Args: predictions: Predicted probabilities iSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt1724Perform forward matrix-vector affine transformation y = Wx + b. Args: x: Input feature vector of size in_feSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2198Partition a list into consecutive sublists of fixed size. Args: items: List of integers to partition. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2245Identify the largest numerical value in a list. Args: numbers: Non-empty list of floating point values. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2265Identify the smallest numerical value in a list. Args: numbers: Non-empty list of floating point numbers. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2300Compute standard dot product between two numerical vectors. Args: vec_a: First vector of floating point numSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2317Compute straight-line Euclidean distance between two points. Args: vec_a: Coordinates of first vector pointSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2337Compute cosine of the angle between two multi-dimensional vectors. Args: vec_a: First feature vector. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2361Compute L1 taxicab distance between two vector coordinates. Args: vec_a: First point coordinates. vSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2398Compute the matrix product of two 2D numerical matrices. Args: mat_a: Left matrix of dimension [M, K]. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2460Extract overlapping sequential windows from an integer list. Args: items: Source list of integers. STRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2548Extract consecutive character n-grams from a text string. Args: text: Source text sequence. n: WindSTRING
HIGHtinytorch/datasets/tinypy/tinypy_sample.txt2569Pad or truncate an integer sequence to an exact uniform length. Args: seq: Source integer sequence. STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py187def divide(a: float, b: float) -> float: """Compute the quotient of two numbers. Args: a: Dividend valuSTRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py267def factorial(n: int) -> int: """Calculate the factorial of a non-negative integer. Args: n: Non-negatiSTRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py293def fibonacci(n: int) -> int: """Compute the n-th Fibonacci number iteratively. Args: n: Zero-indexed pSTRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py483def mean(numbers: list[float]) -> float: """Compute the arithmetic average of a sequence of numbers. Args: STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py507def variance(numbers: list[float]) -> float: """Compute the sample variance of a collection of values. Args: STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py533def standard_deviation(numbers: list[float]) -> float: """Compute the sample standard deviation of numerical data. STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py559def median(numbers: list[float]) -> float: """Find the median value of a sequence of numbers. Args: numSTRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py663def harmonic_mean(numbers: list[float]) -> float: """Calculate the harmonic mean of positive numbers. Args: STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py691def geometric_mean(numbers: list[float]) -> float: """Calculate the geometric mean of positive numbers. Args: STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py719def digital_root(n: int) -> int: """Compute the recursive single-digit sum of an integer. Args: n: Non-STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py745def combinations_count(n: int, k: int) -> int: """Compute the binomial coefficient n choose k. Args: n:STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py779def permutations_count(n: int, k: int) -> int: """Compute the number of ordered arrangements of k items from n. STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py1047def counting_sort(arr: list[int]) -> list[int]: """Sort non-negative integers in linear time via frequency counting.STRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py1079class Stack: """A Last In First Out (LIFO) stack data structure.""" def __init__(self) -> None: """InitSTRING
HIGHtinytorch/datasets/tinypy/create_tinypy.py1143class Queue: """A First In First Out (FIFO) queue data structure.""" def __init__(self) -> None: """IniSTRING
22 more matches not shown…
AI Slop Vocabulary159 hits · 336 pts
SeverityFileLineSnippetContext
LOWtools/migrate_all.py17 # Actually, a simpler way is to just use word boundaries for the LaTeX string.COMMENT
MEDIUM…audit/data/chapter_terms/vol2_robust_ai_robust_ai.json49 "context": "::: {#dfn-robust-ai-robust-ai .callout-definition title=\"Robust AI\"}"CODE
MEDIUM…audit/data/chapter_terms/vol2_robust_ai_robust_ai.json290 "context": "::: {#dfn-robust-ai-concept-drift .callout-definition title=\"Concept drift\"}"CODE
MEDIUM…audit/data/chapter_terms/vol2_robust_ai_robust_ai.json414 "context": "::: {#dfn-robust-ai-adversarial-attack .callout-definition title=\"Adversarial attack\"}"CODE
MEDIUM…audit/data/chapter_terms/vol2_robust_ai_robust_ai.json500 "context": "::: {#dfn-robust-ai-data-poisoning .callout-definition title=\"Data poisoning\"}"CODE
MEDIUM…hapter_terms/global_frontmatter_socratiq_socratiq.json21 "context": "::: {#fig-quiz-questions fig-env=\"figure\" fig-pos=\"htb\" fig-cap=\"**AI-Generated Personalized QuizCODE
MEDIUM…ools/scripts/margin_figures/generate_margin_figures.py583 # term, against the erosion allowance (the chapter's pivotal decision:COMMENT
MEDIUM⚡binder/tools/scripts/publish/publish.sh6# A comprehensive manual publishing tool for the MLSysBook textbookCOMMENT
MEDIUMbinder/tools/scripts/maintenance/repo_health_check.py60 """Get comprehensive repository statistics"""STRING
MEDIUMbinder/tools/scripts/maintenance/repo_health_check.py374 """Display comprehensive health report"""STRING
MEDIUMbinder/cli/commands/validate.py2524 # (Li et al. 2020): A distributed training paradigm…" — the citeCOMMENT
MEDIUMbinder/cli/commands/doctor.py45 """Run comprehensive health check.STRING
MEDIUMbinder/cli/commands/layout_chapter.py618 # the harness back to Roman numerals. Restore the authoritative ArabicCOMMENT
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
LOW⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/edge.json1[{"id":"edge-sensor-drift-regression-the-decaying-sensor-dilemma-0","track":"edge","scope":"Realtime Pipeline","level":"CODE
MEDIUM⚡staffml/app/src/data/tracks/tinyml.json1[{"id":"tinyml-deployment-the-firmware-brick-0","track":"tinyml","scope":"Visual Debugging","level":"L3","title":"The FiCODE
MEDIUM⚡staffml/app/src/data/tracks/tinyml.json1[{"id":"tinyml-deployment-the-firmware-brick-0","track":"tinyml","scope":"Visual Debugging","level":"L3","title":"The FiCODE
LOW⚡staffml/app/src/data/tracks/tinyml.json1[{"id":"tinyml-deployment-the-firmware-brick-0","track":"tinyml","scope":"Visual Debugging","level":"L3","title":"The FiCODE
MEDIUM⚡staffml/app/src/data/tracks/tinyml.json1[{"id":"tinyml-deployment-the-firmware-brick-0","track":"tinyml","scope":"Visual Debugging","level":"L3","title":"The FiCODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
LOW⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/cloud.json1[{"id":"cloud-kv-cache-cost-the-per-token-kv-cache-cost-0","track":"cloud","scope":"Serving Stack","level":"L2","title":CODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
LOW⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
MEDIUMstaffml/app/src/data/tracks/global.json1[{"id":"global-memory-hierarchy-the-hbm-vs-l1-latency-gap-0","track":"global","scope":"Foundations","level":"L1","title"CODE
MEDIUMshared/styles/partials/_tables.scss93#tbl-paradigm-evolution {COMMENT
MEDIUM…vol2/13_security_privacy/security_privacy_quizzes.json404 "section_id": "#sec-security-privacy-comprehensive-defense-architectures-48ab",CODE
MEDIUM…l2/11_edge_intelligence/edge_intelligence_quizzes.json12 "section_id": "#sec-edge-intelligence-distributed-learning-paradigm-shift-883d",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json12 "section_id": "#sec-robust-ai-introduction-robust-ai-systems-4671",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json82 "section_id": "#sec-robust-ai-realworld-robustness-failures-c119",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json146 "section_id": "#sec-robust-ai-unified-framework-robust-ai-b25d",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json210 "section_id": "#sec-robust-ai-environmental-shifts-a2cf",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json281 "section_id": "#sec-robust-ai-inputlevel-attacks-model-robustness-d6ea",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json346 "section_id": "#sec-robust-ai-input-attack-detection-defense-19d3",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json410 "section_id": "#sec-robust-ai-data-poisoning-defenses-d070",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json481 "section_id": "#sec-robust-ai-robustness-generative-ai-941b",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json518 "section_id": "#sec-robust-ai-diagnosing-the-masquerade-9f21",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json562 "section_id": "#sec-robust-ai-fallacies-pitfalls-087e",CODE
MEDIUMbooks/vol2/14_robust_ai/robust_ai_quizzes.json619 "section_id": "#sec-robust-ai-summary-a274",CODE
MEDIUMbooks/shared/assets/styles/_base-styles.scss868#tbl-paradigm-evolution {COMMENT
MEDIUM…/_prototypes/vol1-web-animations/figure-plan/vol1.json550 "section": "### Benchmark harness {#sec-benchmarking-benchmark-harness-09ea}",CODE
MEDIUM…/_prototypes/vol1-web-animations/figure-plan/vol1.json565 "section": "### Benchmark harness {#sec-benchmarking-benchmark-harness-09ea}",CODE
MEDIUM…vol1-web-animations/figure-plan/generated-figures.html240<script type="application/json" id="records">[{"key": "vol1:fig-preprocessing-fitted-state", "volume": 1, "title": "SharCODE
MEDIUM…animations/figure-plan/section-integration-review.json389 "heading": "## System-Level Faults {#sec-robust-ai-diagnosing-the-masquerade-9f21}",CODE
MEDIUM…1-web-animations/animation-catalog/vol1-inventory.json33 "section": "The Evolution of AI Bottlenecks {#sec-introduction-ai-paradigm-evolution-ae2b}",CODE
MEDIUM…1-web-animations/animation-catalog/vol1-inventory.json152 "section": "Four Deployment Regimes Across Nine Orders of Magnitude {#sec-ml-systems-deployment-paradigm-framework-0CODE
MEDIUM…1-web-animations/animation-catalog/vol1-inventory.json2998 "section": "Benchmark harness {#sec-benchmarking-benchmark-harness-09ea}",CODE
MEDIUM…1-web-animations/animation-catalog/vol1-inventory.json3015 "section": "Benchmark harness {#sec-benchmarking-benchmark-harness-09ea}",CODE
99 more matches not shown…
Structural Annotation Overuse212 hits · 297 pts
SeverityFileLineSnippetContext
LOWlabs/tools/swarm_conductor.py50 # Step 1: Static AST & Reactive checksCOMMENT
LOWlabs/tools/swarm_conductor.py71 # Step 2: Headless HTML exportCOMMENT
LOWlabs/tools/swarm_conductor.py96 # Step 3: Playwright visual snapshotCOMMENT
LOWlabs/vol4/staff/station-pilot/README.md17## Step 0: Receive and make the station safeCOMMENT
LOWlabs/vol4/staff/station-pilot/README.md26## Step 1: Reproduce stock LeRobot on a workstationCOMMENT
LOWlabs/vol4/staff/station-pilot/README.md76## Step 2: Test UNO Q Linux ↔ STM32 communication without motorsCOMMENT
LOWlabs/vol4/staff/station-pilot/README.md91## Step 3: Put the STM32 in the motor command path, first with no motor loadCOMMENT
LOW⚡labs/vol4/staff/station-pilot/README.md122## Step 4: Run a learned action policy locally on the QCOMMENT
LOW⚡labs/vol4/staff/station-pilot/README.md130## Step 5: Observe again, compare policies, and test faultsCOMMENT
LOW⚡labs/vol4/staff/station-pilot/README.md138## Step 6: Reproduce as a student wouldCOMMENT
LOW⚡binder/tools/audit/checks/h3_titlecase.py505 "### Step 3: Estimate ROI",CODE
LOW⚡binder/tools/audit/checks/h3_titlecase.py509 "### Step 2: Simplify for large N",CODE
LOW⚡binder/tools/audit/checks/h3_titlecase.py511 "#### Step 1: Calculate the failure rate per GPU subsystem",CODE
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py519 # Step 1: Universal DOI lookup from raw entryCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py525 # Step 2: Canonical DOI lookup from existing record or backup audit manifestCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py531 # Step 3: Universal arXiv lookupCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py537 # Step 4: Official standard or regulationCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py541 # Step 5: Verified Web URL from raw bib entryCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py545 # Step 6: Canonical URL from existing record or backup audit manifestCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py551 # Step 7: Crossref title searchCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py555 # Step 8: OpenLibrary search for booksCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py560 # Step 9: Curated subagent audit evidence from previous verification passCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py452 # Step 1: Curated Provenance OverrideCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py458 # Step 2: Direct DOI lookup (from doi field or URL)COMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py502 # Step 4: Official Standards / Specifications RegistryCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py509 # Step 5: Web URL Liveness & VerificationCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py520 # Step 6: Bibliographic search via Crossref (by Title & Author)COMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py528 # Step 7: Academic Search via OpenAlex (by Title & Author)COMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py536 # Step 7: OpenLibrary Search for BooksCOMMENT
LOW…tools/scripts/audit/comprehensive_live_bib_verifier.py480 # Step 3: arXiv lookup (from eprint, URL, or raw text)COMMENT
LOWscripts/generate_chapter_from_v4.py1027 # Step 0: Frontmatter (Purpose & Objectives)COMMENT
LOWscripts/generate_chapter_from_v3.py1026 # Step 0: Frontmatter (Purpose & Objectives)COMMENT
LOWscripts/generate_chapter_from_v2.py1330 # Step 0: Frontmatter (Purpose & Objectives)COMMENT
LOW⚡.github/workflows/book-validate-dev.yml208 # Step 3: Update contributors (runs in parallel with builds after pre-commit passes)COMMENT
LOW⚡.github/workflows/book-validate-dev.yml215 # Step 4: Determine build configuration (shared logic)COMMENT
LOW.github/workflows/book-validate-dev.yml138 # Step 1: Pre-commit validationCOMMENT
LOW.github/workflows/book-validate-dev.yml196 # Step 2: Container Health Check (validate containers before builds)COMMENT
LOW.github/workflows/book-validate-dev.yml345 # Step 4: Matrix-driven build calls (clean and simple!)COMMENT
LOW.github/workflows/book-validate-dev.yml364 # Step 4: Collect build results (needed for outputs)COMMENT
LOW.github/workflows/book-validate-dev.yml579 # Step 5: Final results and summaryCOMMENT
LOW⚡.github/workflows/publish-all-live.yml107 # Step 1: Book (vol1 + vol2). Off by default — opt in via deploy_book=true.COMMENT
LOW⚡.github/workflows/publish-all-live.yml123 # Step 2: KitsCOMMENT
LOW⚡.github/workflows/publish-all-live.yml141 # Step 3: TinyTorchCOMMENT
LOW⚡.github/workflows/publish-all-live.yml160 # Step 4: MLSYSIM (with quartodoc)COMMENT
LOW⚡.github/workflows/publish-all-live.yml180 # Step 5: LabsCOMMENT
LOW⚡.github/workflows/publish-all-live.yml201 # Step 6: StaffML (Next.js + D1 ship + Cloudflare worker deploy)COMMENT
LOW⚡.github/workflows/publish-all-live.yml223 # Step 7: SlidesCOMMENT
LOW⚡.github/workflows/publish-all-live.yml246 # Step 8: MLPerf EDU independent preview. Off by default until explicitly selected.COMMENT
LOW⚡.github/workflows/publish-all-live.yml268 # Step 9: Landing Site (landing + about + community + newsletter)COMMENT
LOW⚡.github/workflows/publish-all-live.yml288 # Step 10: InstructorsCOMMENT
LOW⚡mlsysim/docs/understanding-efficiency.md131### Step 1: Run the WorkloadCOMMENT
LOW⚡mlsysim/docs/understanding-efficiency.md137### Step 2: Measure Actual ThroughputCOMMENT
LOW⚡mlsysim/docs/understanding-efficiency.md143### Step 3: Back-Calculate EfficiencyCOMMENT
LOWmlsysim/docs/understanding-efficiency.md160### Step 4: Use Calibrated Efficiency for What-If AnalysisCOMMENT
LOW⚡mlsysim/mlsysim/core/types.py81 # Step 1: reject bare numbers for fields that should carry units.COMMENT
LOW⚡mlsysim/mlsysim/core/types.py85 # Step 2: reject dimensionally-compatible but semantically-wrong aliases,COMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py213 # Step 1: prefer an explicit plan topology, then hardware aggregateCOMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py220 # Step 2: refuse to floor partial nodes; that would silently changeCOMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py227 # Step 3: use the most specific one-way bandwidth source available.COMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py234 # Step 4: compile the declarative plan into the Fleet object used byCOMMENT
152 more matches not shown…
Verbosity Indicators196 hits · 270 pts
SeverityFileLineSnippetContext
LOWlabs/tools/swarm_conductor.py50 # Step 1: Static AST & Reactive checksCOMMENT
LOWlabs/tools/swarm_conductor.py71 # Step 2: Headless HTML exportCOMMENT
LOWlabs/tools/swarm_conductor.py96 # Step 3: Playwright visual snapshotCOMMENT
LOW⚡binder/tools/audit/checks/h3_titlecase.py505 "### Step 3: Estimate ROI",CODE
LOW⚡binder/tools/audit/checks/h3_titlecase.py509 "### Step 2: Simplify for large N",CODE
LOW⚡binder/tools/audit/checks/h3_titlecase.py511 "#### Step 1: Calculate the failure rate per GPU subsystem",CODE
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py519 # Step 1: Universal DOI lookup from raw entryCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py525 # Step 2: Canonical DOI lookup from existing record or backup audit manifestCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py531 # Step 3: Universal arXiv lookupCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py537 # Step 4: Official standard or regulationCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py541 # Step 5: Verified Web URL from raw bib entryCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py545 # Step 6: Canonical URL from existing record or backup audit manifestCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py551 # Step 7: Crossref title searchCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py555 # Step 8: OpenLibrary search for booksCOMMENT
LOW⚡…nder/tools/scripts/audit/parallel_verify_master_bib.py560 # Step 9: Curated subagent audit evidence from previous verification passCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py452 # Step 1: Curated Provenance OverrideCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py458 # Step 2: Direct DOI lookup (from doi field or URL)COMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py502 # Step 4: Official Standards / Specifications RegistryCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py509 # Step 5: Web URL Liveness & VerificationCOMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py520 # Step 6: Bibliographic search via Crossref (by Title & Author)COMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py528 # Step 7: Academic Search via OpenAlex (by Title & Author)COMMENT
LOW⚡…tools/scripts/audit/comprehensive_live_bib_verifier.py536 # Step 7: OpenLibrary Search for BooksCOMMENT
LOW…tools/scripts/audit/comprehensive_live_bib_verifier.py480 # Step 3: arXiv lookup (from eprint, URL, or raw text)COMMENT
LOWscripts/generate_chapter_from_v4.py1027 # Step 0: Frontmatter (Purpose & Objectives)COMMENT
LOWscripts/generate_chapter_from_v3.py1026 # Step 0: Frontmatter (Purpose & Objectives)COMMENT
LOWscripts/generate_chapter_from_v2.py1330 # Step 0: Frontmatter (Purpose & Objectives)COMMENT
LOW⚡.github/workflows/book-validate-dev.yml208 # Step 3: Update contributors (runs in parallel with builds after pre-commit passes)COMMENT
LOW⚡.github/workflows/book-validate-dev.yml215 # Step 4: Determine build configuration (shared logic)COMMENT
LOW.github/workflows/book-validate-dev.yml138 # Step 1: Pre-commit validationCOMMENT
LOW.github/workflows/book-validate-dev.yml196 # Step 2: Container Health Check (validate containers before builds)COMMENT
LOW.github/workflows/book-validate-dev.yml345 # Step 4: Matrix-driven build calls (clean and simple!)COMMENT
LOW.github/workflows/book-validate-dev.yml364 # Step 4: Collect build results (needed for outputs)COMMENT
LOW.github/workflows/book-validate-dev.yml579 # Step 5: Final results and summaryCOMMENT
LOW⚡.github/workflows/publish-all-live.yml107 # Step 1: Book (vol1 + vol2). Off by default — opt in via deploy_book=true.COMMENT
LOW⚡.github/workflows/publish-all-live.yml123 # Step 2: KitsCOMMENT
LOW⚡.github/workflows/publish-all-live.yml141 # Step 3: TinyTorchCOMMENT
LOW⚡.github/workflows/publish-all-live.yml160 # Step 4: MLSYSIM (with quartodoc)COMMENT
LOW⚡.github/workflows/publish-all-live.yml180 # Step 5: LabsCOMMENT
LOW⚡.github/workflows/publish-all-live.yml201 # Step 6: StaffML (Next.js + D1 ship + Cloudflare worker deploy)COMMENT
LOW⚡.github/workflows/publish-all-live.yml223 # Step 7: SlidesCOMMENT
LOW⚡.github/workflows/publish-all-live.yml246 # Step 8: MLPerf EDU independent preview. Off by default until explicitly selected.COMMENT
LOW⚡.github/workflows/publish-all-live.yml268 # Step 9: Landing Site (landing + about + community + newsletter)COMMENT
LOW⚡.github/workflows/publish-all-live.yml288 # Step 10: InstructorsCOMMENT
LOW⚡mlsysim/mlsysim/core/types.py81 # Step 1: reject bare numbers for fields that should carry units.COMMENT
LOW⚡mlsysim/mlsysim/core/types.py85 # Step 2: reject dimensionally-compatible but semantically-wrong aliases,COMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py213 # Step 1: prefer an explicit plan topology, then hardware aggregateCOMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py220 # Step 2: refuse to floor partial nodes; that would silently changeCOMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py227 # Step 3: use the most specific one-way bandwidth source available.COMMENT
LOW⚡mlsysim/mlsysim/cli/schemas.py234 # Step 4: compile the declarative plan into the Fleet object used byCOMMENT
LOWmlsysim/mlsysim/engine/solvers/training.py207 # Step 1: shard model state across model-parallel dimensions beforeCOMMENT
LOWmlsysim/mlsysim/engine/solvers/training.py230 # Step 2: activations scale with the local microbatch and layers owned byCOMMENT
LOW⚡socratiq/src_shadow/js/libs/agents/chat_agent_Editor.js22// // Step 1: Insert the text at the current cursor positionCOMMENT
LOW⚡socratiq/src_shadow/js/libs/agents/chat_agent_Editor.js25// // Step 2: Move the cursor to the end of the inserted textCOMMENT
LOWsocratiq/src_shadow/js/libs/agents/key_terms_summary.js135 // Step 1: Remove HTML tags and non-alphabetic characters, except spaces and dashesCOMMENT
LOW⚡socratiq/src_shadow/js/libs/agents/key_terms_summary.js178 // Step 1: Remove HTML tagsCOMMENT
LOW⚡socratiq/src_shadow/js/libs/agents/key_terms_summary.js181 // Step 2: Remove specific phrases, case-insensitiveCOMMENT
LOW⚡tinytorch/guide/install.sh728 # Step 1: Download from GitHub using sparse checkoutCOMMENT
LOW⚡tinytorch/guide/install.sh886 # Step 2: Create Python virtual environmentCOMMENT
LOW⚡tinytorch/guide/install.sh916 # Step 3: Install dependenciesCOMMENT
LOW⚡tinytorch/guide/install.sh963 # Step 4: Verify installationCOMMENT
136 more matches not shown…
Self-Referential Comments71 hits · 206 pts
SeverityFileLineSnippetContext
MEDIUMbinder/tools/scripts/utilities/count_footnotes.sh3# Define the search directoryCOMMENT
MEDIUMbinder/tools/scripts/utilities/analyze_footnotes.sh47# Create a temporary file to store filename and footnote count pairsCOMMENT
MEDIUMbinder/cli/data/concept_terms.yaml3# This file defines the §10.3 concept terms that must be naturalized to lowercaseCOMMENT
MEDIUMbinder/cli/data/abbreviations.yaml3# This file is the single source of truth for:COMMENT
MEDIUM⚡staffml/vault-cli/tests/test_book_refs.py81 # Create the book tree (so link-check is active) but NOT the chapter.COMMENT
MEDIUM⚡books/config/shared/html/announcement.yml4# This file is kept as a no-op so old references (if any) don't 404 theCOMMENT
MEDIUMbooks/shared/scripts/epub_postprocess.py490 # Create a temporary output fileCOMMENT
MEDIUM…15_trajectory_curation/images/data/corpus_excerpt.json34 "text": "[File: /django-environ/environ/environ.py (994 lines total)]\n1:# This file is part of the django-environ.\nCODE
MEDIUM⚡…15_trajectory_curation/images/data/corpus_excerpt.json54 "text": "[File: /django-environ/environ/environ.py (1002 lines total)]\n1:# This file is part of the django-environ.\CODE
MEDIUM⚡…15_trajectory_curation/images/data/corpus_excerpt.json64 "text": "[File: /django-environ/environ/environ.py (1003 lines total)]\n1:# This file is part of the django-environ.\CODE
MEDIUMscripts/build_outline_v4.py32 # Define the new V4 Frontmatter / Curriculum CharterCOMMENT
MEDIUMscripts/create_master_outline_v3.py8 # Define the new V3 Preamble (Lines 1 to ~540)COMMENT
MEDIUMscripts/create_master_outline_v3.py299 # Define the new Chapter 02 blueprint for V3STRING
MEDIUMscripts/pedagogy_sim/apply_edits.py60 # Create a backupCOMMENT
MEDIUM.github/workflows/book-publish-live.yml2189 # Create a basic fallback release notes fileCOMMENT
MEDIUM.github/workflows/book-publish-live.yml2263 # Create the release as a DRAFT for manual editingCOMMENT
MEDIUM.github/workflows/tinytorch-publish-live.yml869 # Create the release as draftCOMMENT
MEDIUM.github/workflows/contributors/update_contributors.py287 # Create a combined key using username and email_address to handleCOMMENT
MEDIUMmlperf-edu/registry/suites.yaml3# This file is registry source of truth, exactly like the per-workload YAMLCOMMENT
MEDIUM⚡tinytorch/guide/install.sh126VENV_CREATE_TIMEOUT=60 # Creating the virtual environmentCODE
MEDIUMtinytorch/tools/check_grading_holes.py118 # Define the test, then call it. A cell that passes here is a cell noCOMMENT
MEDIUMtinytorch/tests/16_compression/test_compressor_core.py47 # Create a simple model with known sparsityCOMMENT
MEDIUMtinytorch/tests/01_tensor/test_tensor_core.py304 # Create a 1000×1000 tensor (1 million elements)COMMENT
MEDIUMtinytorch/tests/integration/test_cnn_integration.py26 # Create a simple 3x3 image with a known patternCOMMENT
MEDIUMtinytorch/tests/integration/test_cnn_integration.py33 # Create a vertical edge detector kernelCOMMENT
MEDIUMtinytorch/tests/integration/test_cnn_integration.py192 # Create a simple loss (sum of all outputs)COMMENT
MEDIUM…torch/tests/integration/test_optimizers_integration.py31 # Create a simple linear layerCOMMENT
MEDIUM…torch/tests/integration/test_optimizers_integration.py42 # Create a simple loss (sum of outputs)COMMENT
MEDIUMtinytorch/tests/07_optimizers/test_optimizer_core.py58 # Create a simple parameterCOMMENT
MEDIUM⚡tinytorch/tests/14_profiling/test_profiler_core.py69 # Create a simple modelCOMMENT
MEDIUMtinytorch/tests/environment/test_setup_validation.py126 # Create a simple plotCOMMENT
MEDIUMtinytorch/tests/environment/test_conftest_validation.py317 # Create a fake module fileCOMMENT
MEDIUMtinytorch/tests/03_layers/test_03_layers_progressive.py355 # Create a simple custom layer for testingSTRING
MEDIUMtinytorch/tests/03_layers/test_03_layers_progressive.py427 # Create a layer that actually works with tensorsSTRING
MEDIUM…milestones/01_1958_perceptron/01_rosenblatt_forward.py180 # Create a simple scatter plotCOMMENT
MEDIUM…/milestones/06_2018_mlperf/01_optimization_olympics.py525 # Create a copy for pruningCOMMENT
MEDIUMtinytorch/tito/core/auth.py105 # Create the temp file owner-only from the start (O_EXCL + 0o600), so theCOMMENT
MEDIUMtinytorch/tito/core/status_analyzer.py265 # Create a temporary file to test importCOMMENT
MEDIUMtinytorch/tito/commands/setup.py579 # Create a dummy Namespace for login command argumentsCOMMENT
MEDIUMtinytorch/tito/commands/setup.py615 # Create a dummy Namespace for login command argumentsCOMMENT
MEDIUMtinytorch/tito/commands/system/logo.py34 # Create the explanation textCOMMENT
MEDIUMtinytorch/src/16_compression/16_compression.py139 # Create a model and analyze its weightsCOMMENT
MEDIUMtinytorch/src/16_compression/16_compression.py1474 # Create a simple model (Linear already imported above)COMMENT
MEDIUMtinytorch/src/16_compression/16_compression.py1684 # Create a realistic model with explicit layers - students see the architectureCOMMENT
MEDIUMtinytorch/src/16_compression/16_compression.py1876 # Create a modelCOMMENT
MEDIUMtinytorch/src/04_losses/04_losses.py977 # Create a range of prediction errors for analysisSTRING
MEDIUMtinytorch/src/08_training/08_training.py1736 # Create a simple modelCOMMENT
MEDIUMtinytorch/src/08_training/08_training.py1836 # Create a simple model using REAL Linear layerCOMMENT
MEDIUMtinytorch/src/01_tensor/01_tensor.py1739 # Create a moderately-sized matrix (large enough to show cache effects)COMMENT
MEDIUMtinytorch/src/19_benchmarking/19_benchmarking.py4608 # Create a simple model and inputCOMMENT
MEDIUMtinytorch/src/15_quantization/15_quantization.py1129 # Create a simple modelCOMMENT
MEDIUMtinytorch/src/15_quantization/15_quantization.py1235 # Create a linear layerCOMMENT
MEDIUMtinytorch/src/15_quantization/15_quantization.py1865 # Create a simple modelCOMMENT
MEDIUMtinytorch/src/15_quantization/15_quantization.py1953 # Create a realistic model using explicit composition (Sequential from tinytorch.core.layers)COMMENT
MEDIUMtinytorch/src/18_memoization/18_memoization.py1321 # Create a minimal mock model that returns random logitsCOMMENT
MEDIUMtinytorch/src/18_memoization/18_memoization.py1500 # Create a mock transformer-like object for testingCOMMENT
MEDIUMtinytorch/src/18_memoization/18_memoization.py1961 # Create a cache for 2-layer transformerCOMMENT
MEDIUM⚡tinytorch/src/13_transformers/13_transformers.py1295 # Create a small vocabulary (character-level)COMMENT
MEDIUM⚡tinytorch/src/13_transformers/13_transformers.py1304 # Create the model from the classes defined above in this notebook, not fromCOMMENT
MEDIUMtinytorch/src/13_transformers/13_transformers.py1670 # Create a small transformer block (using concrete parameters)COMMENT
11 more matches not shown…
Redundant / Tautological Comments124 hits · 180 pts
SeverityFileLineSnippetContext
LOWlabs/tests/test_protocol.py130 # Check if it's inside a string (skip those)COMMENT
LOWbinder/setup.py18 # Check if we're in a virtual environmentCOMMENT
LOWbinder/tools/setup/setup.sh10# Check if Python is installedCOMMENT
LOWbinder/tools/setup/clean.sh130 # Check if GC is neededCOMMENT
LOWbinder/tools/audit/protected_contexts.py246 # Check if this line closes the commentCOMMENT
LOWbinder/tools/scripts/transform_pico_cells.py175 # Check if body has structured sections alreadyCOMMENT
LOWbinder/tools/scripts/images/remove_bg.py39 # Set alpha to 0 (transparent) for white pixelsCOMMENT
LOWbinder/tools/scripts/content/section_splitter.py114 # Check if unnumberedCOMMENT
LOWbinder/tools/scripts/content/section_splitter.py362 # Check if this is a real section headerCOMMENT
LOWbinder/tools/scripts/content/format_div_spacing.py221 # Check if we need to insert a blank line before this lineCOMMENT
LOWbinder/tools/scripts/content/fix_abbreviations.py160 # Check if this first use includes the expansionCOMMENT
LOWbinder/tools/scripts/content/format_tables.py158 # Check if next line is a borderCOMMENT
LOWbinder/tools/scripts/content/format_tables.py308 # Check if it's primarily numericCOMMENT
LOWbinder/tools/scripts/content/format_tables.py349 # Check if header matches bold indicatorsCOMMENT
LOWbinder/tools/scripts/content/format_tables.py371 # Check if mostly numeric (data table)COMMENT
LOWbinder/tools/scripts/content/format_tables.py384 # Check if descriptive (multi-word = comparison table)COMMENT
LOWbinder/tools/scripts/content/format_tables.py732 # Check if any data lines differ (catches alignment changes)COMMENT
LOWbinder/tools/scripts/content/format_tables.py541 # Check if adding this part would exceed max_widthSTRING
LOWbinder/tools/scripts/content/format_tables.py572 # Check if any cell needs wrappingSTRING
LOWbinder/tools/scripts/content/fix_bibliography.py117 # Check if it's an arXiv preprintCOMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py65 # Check if inside bold definition: **Term** or ***Term***COMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py73 # Check if at start of sentenceCOMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py82 # Check if inside inline math $...$COMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py97 # Check if inside \index{...}COMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py104 # Check if "Iron Law of Processor Performance" (H&P reference — keep caps)COMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py111 # Check if inside title="..."COMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py118 # Check if inside fig-cap="..." or fig-alt="..."COMMENT
LOW⚡binder/tools/scripts/content/fix_capitalization.py126 # Check if referring to Sutton's essay title "The Bitter Lesson"COMMENT
LOWbinder/tools/scripts/content/fix_capitalization.py188 # Check if this match should be preservedCOMMENT
LOWbinder/tools/scripts/content/format_python_in_qmd.py148 # Check if it's a comment lineCOMMENT
LOWbinder/tools/scripts/content/format_python_in_qmd.py151 # Check if it's a single-line docstringCOMMENT
LOWbinder/tools/scripts/utilities/prettify_pipe_tables.py212 # Check if this starts a pipe tableCOMMENT
LOWbinder/tools/scripts/utilities/analyze_footnotes.sh35# Check if exactly one positional argument is givenCOMMENT
LOWbinder/tools/scripts/publish/publish.sh140# Check if GitHub CLI is availableCOMMENT
LOWbinder/tools/scripts/publish/publish.sh287 # Check if PDF was createdCOMMENT
LOWbinder/tools/scripts/publish/publish.sh311 # Check if Ghostscript is availableCOMMENT
LOWbinder/tools/scripts/publish/publish.sh625 # Check if version already existsCOMMENT
LOW⚡binder/tools/scripts/publish/modify_dev_announcement.py46 # Read the fileCOMMENT
LOWbinder/tools/scripts/publish/modify_dev_announcement.py95 # Check if any changes were madeCOMMENT
LOW…r/tools/scripts/maintenance/update_texlive_packages.py353 # Check if file should be excludedCOMMENT
LOW…scripts/maintenance/capitalize_sentence_start_xrefs.py228 # Check if already capitalizedCOMMENT
LOWbinder/tools/scripts/maintenance/run_maintenance.sh20# Check if we're in a git repositoryCOMMENT
LOWbinder/tools/scripts/maintenance/repo_health_check.py339 # Check if BFG is installedCOMMENT
LOWbinder/tools/scripts/maintenance/repo_health_check.py455 # Check if we're in a git repoCOMMENT
LOW⚡binder/cli/core/bib_gateway.py714 # Write files atomicallyCOMMENT
LOWbinder/cli/checks/lego_cell_architecture.py123 # Check if any Stage 1, 2, or 3 comment appears before the class definition in the cellCOMMENT
LOW⚡binder/cli/commands/bib.py532 # Check if betterbib is availableCOMMENT
LOWbinder/cli/commands/doctor.py98 # Display resultsCOMMENT
LOWbinder/cli/commands/doctor.py397 # Check if we're in a git repoCOMMENT
LOWbooks/shared/scripts/clean_svgs.py113 # Check if file contains control charactersCOMMENT
LOWbooks/shared/scripts/clean_svgs.py207 # Check if build directory existsCOMMENT
LOWscripts/generate_chapter_from_v4.py562 # Check if anchor tag exists anywhere in first 5 linesCOMMENT
LOWscripts/generate_chapter_from_v3.py561 # Check if anchor tag exists anywhere in first 5 linesCOMMENT
LOW.github/workflows/infra-health-check.yml289 # Check if any tools are missing and fail if soCOMMENT
LOW.github/workflows/infra-health-check.yml525 # Check if any tools are missing and fail if soCOMMENT
LOW.github/workflows/book-publish-live.yml724 # Check if dev commit exists and is validCOMMENT
LOW.github/workflows/book-publish-live.yml962 # Check if workflow files are in the dev branch changesCOMMENT
LOW.github/workflows/book-publish-live.yml999 # Check if dev_commit is an ancestor of current mainCOMMENT
LOW.github/workflows/book-publish-live.yml1772 # Check if there are actually changes to commitCOMMENT
LOW.github/workflows/infra-container-linux.yml245 # Check if we have the required permissionsCOMMENT
64 more matches not shown…
Modern Structural Boilerplate149 hits · 148 pts
SeverityFileLineSnippetContext
LOWlabs/mlsysbook_labs/capstone.py301__all__ = [CODE
LOWlabs/mlsysbook_labs/variants.py4045__all__ = [CODE
LOWlabs/mlsysbook_labs/data_pipeline.py309__all__ = [CODE
LOWlabs/mlsysbook_labs/tracks.py143__all__ = [CODE
LOWlabs/mlsysbook_labs/style.py7__all__ = [CODE
LOWlabs/mlsysbook_labs/legacy_components.py16__all__ = [CODE
LOWlabs/mlsysbook_labs/deployment.py382__all__ = [CODE
LOWlabs/mlsysbook_labs/serving.py429__all__ = [CODE
LOWlabs/mlsysbook_labs/registry_refs.py32__all__ = ["resolve_mlsysim_ref"]CODE
LOWlabs/mlsysbook_labs/track_arcs.py293__all__ = [CODE
LOWlabs/mlsysbook_labs/__init__.py338__all__ = [CODE
LOWlabs/mlsysbook_labs/ops.py308__all__ = [CODE
LOWlabs/mlsysbook_labs/architecture.py402__all__ = [CODE
LOWlabs/mlsysbook_labs/triad.py196__all__ = [CODE
LOWlabs/mlsysbook_labs/frameworks.py380__all__ = [CODE
LOWlabs/mlsysbook_labs/inference.py354__all__ = [CODE
LOWlabs/mlsysbook_labs/selection.py523__all__ = [CODE
LOWlabs/mlsysbook_labs/workflow.py264__all__ = [CODE
LOWlabs/mlsysbook_labs/migration.py163__all__ = [CODE
LOWlabs/mlsysbook_labs/neural_compute.py323__all__ = [CODE
LOWlabs/mlsysbook_labs/training.py401__all__ = [CODE
LOWlabs/mlsysbook_labs/responsibility.py424__all__ = [CODE
LOWlabs/mlsysbook_labs/state.py5__all__ = ["DesignLedger", "LedgerState"]CODE
LOWlabs/mlsysbook_labs/system_design.py953__all__ = [STRING
LOWbinder/tools/audit/spurious_zero.py18__all__ = [CODE
LOWbinder/tools/figures/__init__.py12__all__ = [CODE
LOW…r/tools/scripts/maintenance/update_texlive_packages.py42logger = logging.getLogger(__name__)CODE
LOWstaffml/vault-cli/src/vault_cli/validator.py639__all__ = ["InvariantFailure", "fast_tier", "structural_tier", "run_all"]CODE
LOWstaffml/vault-cli/src/vault_cli/book_refs.py168__all__ = ["BookRefError", "BookRefResolver"]CODE
LOWstaffml/vault-cli/src/vault_cli/release.py257def update_latest_pointer(releases_dir: Path, version: str) -> None:CODE
LOWstaffml/vault-cli/src/vault_cli/release.py280__all__ = [CODE
LOWstaffml/vault-cli/src/vault_cli/compiler.py405__all__ = ["DDL", "build"]CODE
LOWstaffml/vault-cli/src/vault_cli/models.py453__all__ = [CODE
LOWstaffml/vault-cli/src/vault_cli/paths.py119__all__ = [CODE
LOWstaffml/vault-cli/src/vault_cli/exit_codes.py30__all__ = ["ExitCode"]CODE
LOWstaffml/vault-cli/src/vault_cli/policy.py55__all__ = ["load_policy", "is_published", "filter_questions", "policy_version"]CODE
LOWstaffml/vault-cli/src/vault_cli/__init__.py10__all__ = ["__version__"]CODE
LOWstaffml/vault-cli/src/vault_cli/legacy_export.py435__all__ = [CODE
LOWstaffml/vault-cli/src/vault_cli/ship.py233__all__ = ["LegPlan", "LegState", "ShipError", "ShipJournal", "ShipOutcome", "run_ship"]CODE
LOWstaffml/vault-cli/src/vault_cli/yaml_io.py91__all__ = ["VaultYamlError", "MAX_BYTES", "MAX_DEPTH", "load_bytes", "load_file", "dump_str"]CODE
LOWstaffml/vault-cli/src/vault_cli/hashing.py117__all__ = ["CANON_VERSION", "content_hash", "hash_of_canonical_yaml", "release_hash"]CODE
LOWstaffml/vault-cli/src/vault_cli/commands/show.py121__all__ = ["register"]CODE
LOWstaffml/vault-cli/src/vault_cli/commands/chain.py189__all__ = ["register"]CODE
LOWstaffml/vault-cli/src/vault_cli/commands/ls.py95__all__ = ["register"]CODE
LOWstaffml/vault-cli/src/vault_cli/commands/lint.py236__all__ = ["register", "ALL_CHECKS", "Finding"]CODE
LOWstaffml/vault-cli/src/vault_cli/chains/audit.py206__all__ = [CODE
LOWstaffml/vault-cli/src/vault_cli/chains/rescue.py193__all__ = [CODE
LOWstaffml/vault-cli/src/vault_cli/chains/embeddings.py156__all__ = [CODE
LOWstaffml/vault/schema/enums.py200__all__ = [CODE
LOWbooks/shared/publish/compress_pdf.py60 def _setup_logging(self) -> None:CODE
LOWbooks/shared/publish/compress_epub.py58 def _setup_logging(self) -> None:CODE
LOW.github/workflows/contributors/add_contributor.py152def set_output(name: str, value: object) -> None:CODE
LOW.github/scripts/sync-repository-name.py146def set_outputs(**values: str) -> None:CODE
LOWmlperf-edu/src/mlperf/__init__.py5__all__ = ["PowerMeter"]CODE
LOW…u/src/mlperf/reference/timeseries/patchtst/__init__.py5__all__ = ["PatchTST_backbone"]CODE
LOWsite/scripts/update_volume_status.py119def update_status_files(jobs: list[dict]) -> None:CODE
LOWsite/newsletter/cli/core/buttondown.py30logger = logging.getLogger(__name__)CODE
LOW⚡site/newsletter/cli/commands/pull.py40logger = logging.getLogger(__name__)CODE
LOWsite/newsletter/cli/commands/set_author.py31logger = logging.getLogger(__name__)CODE
LOWsite/newsletter/cli/commands/status.py16logger = logging.getLogger(__name__)CODE
89 more matches not shown…
AI Structural Patterns75 hits · 73 pts
SeverityFileLineSnippetContext
LOWlabs/mlsysbook_labs/reports.py70CODE
LOWlabs/mlsysbook_labs/selection.py419CODE
LOWlabs/mlsysbook_labs/migration.py46CODE
LOWlabs/mlsysbook_labs/migration.py94CODE
LOWbinder/tools/figures/margin/devices.py465CODE
LOWbinder/cli/checks/lego_prose_literals.py213CODE
LOWbinder/cli/commands/layout.py820CODE
LOWbinder/cli/commands/bib.py600CODE
LOWbinder/cli/commands/reference_check.py249CODE
LOWstaffml/vault-cli/src/vault_cli/commands/release.py704CODE
LOWstaffml/vault-cli/src/vault_cli/commands/ls.py33CODE
LOWstaffml/vault-cli/src/vault_cli/commands/authoring.py187CODE
LOWslides/vol3/12_failure_recovery/images/make_figs.py43CODE
LOWslides/vol3/18_multi_agent/images/make_figs.py46CODE
LOWslides/vol3/11_durable_execution/images/make_figs.py70CODE
LOWslides/vol3/11_durable_execution/images/make_figs.py77CODE
LOWslides/vol3/05_kv_cache/images/make_figs.py47CODE
LOWslides/vol3/16_fine_tuning/images/make_figs.py44CODE
LOWslides/vol3/14_agent_operations/images/make_figs.py51CODE
LOWslides/vol4/13_placement/images/make_figs.py37CODE
LOWslides/vol2/11_edge_intelligence/images/make_figs.py79CODE
LOWslides/vol1/10b_model_compression/images/make_figs.py65CODE
LOWslides/vol1/04_data_engineering/images/make_figs.py34CODE
LOWslides/vol1/16_conclusion/images/make_figs.py94CODE
LOWslides/vol1/10_model_compression/images/make_figs.py53CODE
LOWslides/vol1/04b_data_engineering/images/make_figs.py35CODE
LOWslides/assets/kit/slideplot.py52CODE
LOWslides/assets/kit/slideplot.py113CODE
LOWscripts/generate_figure_contact_sheet.py50CODE
LOWmlperf-edu/src/mlperf/manifest.py494CODE
LOW…u/src/mlperf/reference/timeseries/patchtst/backbone.py17CODE
LOW…u/src/mlperf/reference/timeseries/patchtst/backbone.py129CODE
LOW…u/src/mlperf/reference/timeseries/patchtst/backbone.py178CODE
LOW…u/src/mlperf/reference/timeseries/patchtst/backbone.py202CODE
LOWmlsysim/mlsysim/labs/experiments/v2_11_experiments.py512CODE
LOWmlsysim/mlsysim/labs/experiments/v1_06_experiments.py154CODE
LOWmlsysim/mlsysim/labs/experiments/v2_02_experiments.py556CODE
LOWmlsysim/mlsysim/labs/experiments/v2_02_experiments.py658CODE
LOWmlsysim/mlsysim/labs/experiments/v2_05_experiments.py431CODE
LOWmlsysim/mlsysim/labs/experiments/v2_07_experiments.py225CODE
LOWmlsysim/mlsysim/labs/experiments/v1_05_experiments.py298CODE
LOWmlsysim/mlsysim/fmt/domains.py808CODE
LOWmlsysim/mlsysim/fmt/domains.py1413CODE
LOWmlsysim/mlsysim/fmt/core.py532CODE
LOWmlsysim/mlsysim/fmt/quantities.py87CODE
LOWmlsysim/mlsysim/fmt/quantities.py137CODE
LOWmlsysim/mlsysim/fmt/quantities.py176CODE
LOWmlsysim/mlsysim/fmt/quantities.py268CODE
LOWmlsysim/mlsysim/fmt/ranges.py211CODE
LOWmlsysim/mlsysim/cli/commands/serve.py10CODE
LOWmlsysim/mlsysim/physics/robotics/perception.py67CODE
LOWmlsysim/mlsysim/engine/constraint_explorer.py232CODE
LOWmlsysim/mlsysim/engine/constraint_explorer.py111CODE
LOWmlsysim/mlsysim/engine/engine.py95CODE
LOWmlsysim/mlsysim/engine/solvers/serving.py53CODE
LOWmlsysim/mlsysim/engine/solvers/serving.py275CODE
LOWmlsysim/mlsysim/engine/solvers/compression.py193CODE
LOWmlsysim/mlsysim/engine/solvers/distributed.py239CODE
LOWmlsysim/mlsysim/engine/solvers/embodied.py71CODE
LOWmlsysim/mlsysim/engine/solvers/embodied.py213CODE
15 more matches not shown…
Synthetic Comment Markers7 hits · 54 pts
SeverityFileLineSnippetContext
HIGHlabs/tests/test_widget.py212 # fill in the missing refs as requested by Marimo.COMMENT
HIGH⚡.github/workflows/book-publish-live.yml9# creates a versioned Git tag, and publishes a GitHub Release with AI-generated notes.COMMENT
HIGH.github/workflows/book-publish-live.yml2137 # Use AI-generated notes directly (they include proper header)COMMENT
HIGH.github/workflows/book-publish-live.yml2252 # Use the AI-generated release notesCOMMENT
HIGHmlperf-edu/src/mlperf/assets.py728 citation="Liu et al., Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language MoCODE
HIGHtinytorch/guide/community/dashboard.html871 // Removed System Complexity Axis as requestedCOMMENT
HIGHtinytorch/guide/community/tests/index.html718 // Removed System Complexity Axis as requestedCOMMENT
Example Usage Blocks17 hits · 32 pts
SeverityFileLineSnippetContext
LOWbinder/tools/scripts/utilities/analyze_footnotes.sh8# Usage:COMMENT
LOW⚡binder/tools/scripts/publish/mit-press-release.sh8# Usage:COMMENT
LOWstaffml/app/scripts/mirror-visuals.sh7# Usage:COMMENT
LOW⚡shared/scripts/sync-mirrors.sh13# Usage:COMMENT
LOW⚡books/config/_quarto-pdf-vol2-copyedit.yml7# Usage:COMMENT
LOW⚡books/config/_quarto-pdf-vol1.yml6# Usage:COMMENT
LOW⚡books/config/_quarto-pdf-vol2.yml6# Usage:COMMENT
LOW⚡books/config/_quarto-pdf-vol1-copyedit.yml7# Usage:COMMENT
LOW⚡books/config/_quarto-epub-vol1.yml6# Usage:COMMENT
LOW⚡books/config/_quarto-epub-vol2.yml6# Usage:COMMENT
LOW.github/scripts/flatten-vol-urls.sh30# Usage:COMMENT
LOW.github/scripts/visual_smoke.py34# Usage:COMMENT
LOWsocratiq/src_shadow/js/libs/agents/duck_search.js39// Example usageCOMMENT
LOWsocratiq/src_shadow/js/libs/agents/research.js175 // Example usageCOMMENT
LOWsocratiq/src_shadow/js/libs/agents/research.js521// Example usageCOMMENT
LOWsocratiq/src_shadow/js/libs/utils/prompt_templater.js64// Usage example:COMMENT
LOW⚡tinytorch/scripts/test-fresh-install.sh8# Usage:COMMENT
Dead Code7 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMbinder/tools/audit/fmt/codemod_fmt.py1138CODE
MEDIUMbinder/tools/audit/fmt/codemod_fmt.py1139CODE
MEDIUMbinder/tools/audit/fmt/codemod_fmt.py1140CODE
MEDIUMbinder/tools/audit/fmt/codemod_fmt.py1161CODE
MEDIUMbinder/tools/audit/fmt/codemod_fmt.py1162CODE
MEDIUMbinder/tools/audit/fmt/codemod_fmt.py1163CODE
MEDIUMbinder/tools/audit/fmt/codemod_fmt.py1166CODE
Fake / Example Data10 hits · 12 pts
SeverityFileLineSnippetContext
LOWstaffml/vault-cli/docs/JSON_OUTPUT.md282 "new_provenance": "llm-then-human-edited", "reviewed_by": "user@example.com" }CODE
LOWstaffml/vault/questions/global/data/global-0046.yaml17 realistic_solution: 'Microservice equivalence fails on artifact cost and stochasticity. Submitting 24-hour training ruCODE
LOW…/js/libs/vector_db/vectordb/splitters/text_splitter.js111// const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tincidunt magna ut justo gravida, seCOMMENT
LOW…/js/libs/vector_db/vectordb/splitters/text_splitter.js111// const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tincidunt magna ut justo gravida, seCOMMENT
LOWsocratiq/src_shadow/js/libs/utils/split_text.js45// const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tincidunt magna ut justo gravida, seCOMMENT
LOWsocratiq/src_shadow/js/libs/utils/split_text.js45// const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tincidunt magna ut justo gravida, seCOMMENT
LOW…nts/highlight_menu/components/text_area_suggestions.js52 this.removeAttribute('placeholder');CODE
LOW…nts/highlight_menu/components/text_area_suggestions.js58 this.setAttribute('placeholder', 'Write something...');CODE
LOW…nts/highlight_menu/components/text_area_suggestions.js108 this.removeAttribute('placeholder');CODE
LOW…rch/guide/community/tests/e2e/credentials.example.json3 "email": "user@example.com",CODE
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM⚡staffml/app/src/data/tracks/tinyml.json1[{"id":"tinyml-deployment-the-firmware-brick-0","track":"tinyml","scope":"Visual Debugging","level":"L3","title":"The FiCODE
MEDIUM⚡staffml/app/src/data/tracks/mobile.json1[{"id":"mobile-on-demand-model-download-the-app-store-diet-0","track":"mobile","scope":"Ship And Update","level":"L2","tCODE
LOWtinytorch/src/10_tokenization/10_tokenization.py991 - Don't forget to call _build_mappings() at the endSTRING
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…audit/data/chapter_terms/vol2_inference_inference.json415 "context": "::: {#fig-prefix-caching fig-env=\"figure\" fig-pos=\"htb\" fig-cap=\"**Prefix Caching via Block ShariCODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsocratiq/src_shadow/js/libs/agents/test-gemini-fix.js30 console.log('[GEMINI_FIX] Expected URL:', 'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flasCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWslides/vol3/17_rlvr/images/data/verifier_gap.py35 # TODO: implement a proper validator to compare against ground truth. For now we just check for exact string matCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtinytorch/tests/cli/test_nbgrader_command.py226 "source": "def helper():\n return 1\n",CODE