Files
cs249r_book/book/tools/scripts
Vijay Janapa Reddi aa9a72ea03 chore(camera-ready): add overnight sweep helper scripts (run 20260418-204343)
Authored by setup-agent. These scripts orchestrate the camera-ready
overnight build sweep. Local-only; never pushed to any remote.
2026-04-18 20:53:08 -04:00
..
2026-01-30 15:09:00 -05:00

Scripts directory

Python and shell automation used by the Machine Learning Systems textbook tooling. Most behavior is exposed through the Book Binder CLI; this tree is the implementation layer.

Use Binder first

From the repository root:

./book/binder validate all
./book/binder maintain repo-health
./book/binder help

If your shell is already in book/, use ./binder instead of ./book/binder.

Full command list, validation options, and setup: book/docs/BINDER.md.

Direct python3 book/tools/scripts/... use is for maintenance or cases not wired into Binder yet. Prefer ./book/binder when a subcommand exists.

Subfolder docs

Area README
Content tools content/README.md
Images images/README.md
Glossary glossary/README.md
Infra / CI helpers infrastructure/README.md
Utilities utilities/README.md
Extra script notes docs/README.md

Other directories (publish/, maintenance/, testing/, socratiQ/) are documented here only where needed; see source and --help on individual scripts.

Shell entrypoints (often run outside Binder)

These are common when you need the exact script interface:

./book/tools/scripts/publish/mit-press-release.sh --vol1
./book/tools/scripts/publish/publish.sh
./book/tools/scripts/maintenance/run_maintenance.sh

Python scripts

Use Python 3. Most modules support --help:

python3 book/tools/scripts/publish/extract_figures.py --help