16 Commits
Author SHA1 Message Date
Vijay Janapa Reddi 6b0e44cce5 Draft book release notes 2026-06-20 22:07:48 -04:00
Vijay Janapa Reddi e26b6e145b Remove LEGO header import-export bookkeeping 2026-06-12 04:49:48 -04:00
Vijay Janapa Reddi 949e6fa2b9 Add replayable per-chapter LEGO verify pipeline with rendered-prose gate.
Every chapter can be certified via verify_lego_chapter.sh: HTML build, all
cells, all inline refs with HTML context, and optional LLM coherence. Includes
batch runners, stale-HTML cleanup for single-chapter builds, and math-aware
context extraction for fmt_frac exports.
2026-06-06 16:02:44 -04:00
Vijay Janapa Reddi 04fafe8e72 Recognize chapter-anchor cells in LEGO HTML audit pipeline.
Allow intentional cross-section anchors in lego_focal_verify, skip algorithm
LaTeX false positives in audit_html, and add appendix_inference to HTML builds.
Document the chapter-anchor exception in LEGO_CELLS.md; ledger now 45/45 pass.
2026-06-06 15:15:24 -04:00
Vijay Janapa Reddi a851c012b0 Harden LEGO audit helpers and document verify playbook.
cell_exec adds repo root for figure imports; spurious_zero ignores
closed-formatter MB/GB/s/KFLOP patterns; LEGO_CELLS runbook adds precision
triage and HTML verify commands.
2026-06-06 14:44:17 -04:00
Vijay Janapa Reddi b18103d3ac Harden closed-export prose-unit checker and fix duplicate g/kWh.
Expand lego-prose-units for FLOP/byte and carbon-intensity glyphs, add regression tests and an explicit audit report, and strip redundant g/kWh after fmt_carbon_intensity refs in sustainable_ai.
2026-06-06 14:09:24 -04:00
Vijay Janapa Reddi 77b7ac34c7 Document LEGO audit runbook and record vol1/vol2 gate baseline.
Capture ranked chapter inventory, sign-off checklist, and formatter migration guidance for follow-up passes.
2026-06-06 14:07:37 -04:00
Vijay Janapa Reddi 6aed5b4e1e Migrate the last core.constants stragglers (examples, paper validator)
Five references outside the gate scopes: the two runnable examples,
the paper's anchor validator, book/tests/test_registry.py, and a
LEGO_CELLS.md prose mention. All verified executable post-migration
(examples 03/04 run; validate_anchors: all 7 anchors match).
2026-06-06 11:36:23 -04:00
Vijay Janapa Reddi 6dd3c04ebc Apply Design B multiplier formatting 2026-06-02 22:17:41 -04:00
Vijay Janapa Reddi 32504005fd docs(lego): unit migration journal, baseline, corpus prose dedup
Strip 2758 redundant unit tokens after {python} *_str refs;
add migration journal and baseline; OUTPUT-only units policy;
fix MobileServingCalc pint path (66 mW); recognize fmt_qty in
math-canonical; defer new linters from default pre-commit.
2026-05-25 20:05:31 -04:00
Vijay Janapa Reddi 6986ce372d Extend LEGO prose gate to scenario setup inputs in computed callouts.
Flag hardcoded operands on calc lines and scenario inputs in Problem/Setup
prose when a callout already exports {python} values; migrate affected
walkthroughs to export fleet sizes, rates, and model-scale inputs from cells.
2026-05-25 16:03:45 -04:00
Vijay Janapa Reddi 47c169f9f9 Enforce computed LEGO walkthroughs and registry-backed book sources.
Add binder gates that ban legacy constant aliases, hardcoded grid literals,
and prose operands next to {python} refs; migrate appendices and chapter
callouts to export intermediate values from mlsysim registries so worked
math stays machine-verified instead of hand-typed.
2026-05-25 15:49:27 -04:00
Vijay Janapa Reddi 1859afa546 Remove mlsysim.core.defaults and migrate book to domain registries.
Delete the catch-all defaults module and relocate assumptions into
Literature, Systems, Infrastructure, Ops, Platforms, and core.calibration.
Update textbook QMD cells, labs, audit tooling, and CI gates so registry
paths are authoritative with no package-root aliases or defaults shims.
2026-05-25 13:08:13 -04:00
Vijay Janapa Reddi 1d33fb03fb Add registry lint lock: pre-commit gates, QMD scanner, refreshed audit YAMLs.
Wire mlsysim allowlist tests and book_check_registry_sources into pre-commit;
refresh 44 mlsysim_constants YAML target_source fields; update LEGO_CELLS.md
and contributing.qmd for registry-first authoring.
2026-05-24 18:42:56 -04:00
Vijay Janapa Reddi f741a12103 Refactor inline-python chapters to one LEGO focal point per cell.
Split mega-classes and break cross-cell reads across vol1/vol2, add lego_focal_verify.py, wire foundation-model amortization prose to computed exports, and repair compute_infrastructure inline python fences and table placement.
2026-05-24 13:17:40 -04:00
Vijay Janapa Reddi 729ccde191 Document LEGO cell contract for inline-python chapter authoring.
Define one-cell-per-callout placement, naming, and review rules so future edits align with piecemeal LEGO cells rather than mega-classes.
2026-05-24 11:58:26 -04:00