mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-18 17:03:56 -05:00
- frozen=True on all registry pydantic types (hardware, models, systems, infrastructure, datasets, platforms): registry entries are shared singletons read by every LEGO cell in a render — a stray assignment in any cell previously corrupted every downstream cell silently; it now raises ValidationError at the assignment site - The freeze immediately caught the one real mutation site: SensitivitySolver's deepcopy-then-assign perturbation now builds modified copies via model_copy(update=...) instead - mlsysim zoo: the CATEGORY argument --help always marked optional now actually is — omitting it renders both registries and exits 0 (previously errored); contract test re-pinned, cli-reference updated 751 passed; training/ml_systems/distributed_training chapters execute clean against frozen registries.
9.5 KiB
9.5 KiB