mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-06 01:28:35 -05:00
654 B
654 B
Standardized Lab Template
Use the existing labs in vol1/ and vol2/ as the canonical implementation
examples. New labs should follow the same Marimo structure:
- Setup cell with WASM bootstrap,
mlsysimimports, shared styles, and ledger. - Opening/header section with learning objectives and scenario.
- Structured prediction widgets before instruments are revealed.
- Interactive analysis parts organized with
mo.ui.tabs. - Synthesis section with takeaways and Design Ledger save.
After creating or editing a lab, run:
python3 -m pytest labs/tests/test_static.py -v
python3 -m pytest labs/tests/test_engine.py -v -k engine