6 Commits
Author SHA1 Message Date
Vijay Janapa Reddi b500328eb8 fix(notation): restore prose corruption and harden binder notation macros check
- Revert errant regex replacements across 25 book chapters, restoring English prose, list numbering, and mathematical symbols (e.g. B-splines, Volts, panel markers A-D, Big-O notation, divergence measures).
- Harden notation_macros audit check using LineWalker to properly track multi-line display math and LaTeX environments (gather, align, equation).
- Exclude frontmatter and shared include table templates from macro enforcement.
- Add comprehensive unit tests covering multi-line display math, LaTeX environments, and boundary rules.
2026-10-03 17:27:29 -04:00
Vijay Janapa Reddi afabad7c66 fix(binder): ignore all fenced code blocks in notation_macros audit check 2026-10-03 14:32:20 -04:00
Vijay Janapa Reddi 2c26c622d8 feat(binder): integrate notation_macros audit check with mlsysim.Notation and add test coverage 2026-10-03 10:01:50 -04:00
Vijay Janapa Reddi 946e5402cc lint: extend L020 domain formatters and units for physical quantities 2026-09-22 13:21:33 +02:00
Vijay Janapa Reddi f7ca2b0cbf fmt: migrate Vol 2 fmt_qty calls to domain formatters and add L020 lint 2026-09-22 13:04:22 +02:00
Vijay Janapa Reddi 14ca66d2e9 Rename bindery/ to binder/ and run the CLI by its real path
The toolchain folder is now binder/, and the root ./binder symlink is gone.
The command is ./binder/binder: a plain path to the script, with no link and
no install step. Every invocation moved with it: pre-commit entries, workflow
steps, the VS Code extension's command palette, help text, and docs.

- bindery/ paths and bindery.* imports, including the chapter code cells
  that import binder.tools.figures, now name binder/.
- Binder (mybinder.org) reads its configuration from a root binder/ folder
  and refuses to build when binder/ and .binder/ both exist. .binder/postBuild
  and .binder/requirements.txt move into binder/, so the TinyTorch "Launch
  Binder" buttons keep working; binder/README.md records which file names the
  toolchain must not use there.
- contributors/projects.json still pointed the book's contributor record at
  publishing/; it now names binder/, where that .all-contributorsrc lives.
- The margin-figure reader-link audit report linked its 222 figures through
  the retired quarto/ tree; the links now resolve under books/.

The hooks reformatted hidden Python cells and trimmed whitespace in the
Volume II chapters whose figure imports this rename touches.

Checks: ./binder/binder check cli passes (contract and canonical hooks),
binder.tools.figures imports, and every workflow YAML file parses.

binder test suite, excluding the four modules that cannot import mlsysim
through the root symlink (fixed separately): 7 failed, 346 passed.

The GitHub repository variables BOOK_ROOT, BOOK_TOOLS, BOOK_DEPS, and
BOOK_DOCKER still name the retired book/ layout and must change when this
reaches origin.
2026-09-10 15:26:07 +02:00