mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
The accuracy corpus scores straight off the mapped fixture and never saves, so it is structurally blind to any field the calculator reads but the schema drops (#1665). This gate maps -> saves to the ephemeral test DB -> reads back -> re-scores every corpus cert and asserts the reloaded SAP equals the in-memory SAP to 1e-9. It would have caught cylinder_heat_loss / room-in-roof / roof-windows / wall_u_value on day one; a new drop now fails here immediately. Save+read+rollback per cert keeps the graph off disk (bounded, ~18s over 1000 certs). One documented, precise skip: the pre-#1666 decimal main_heating_fraction cohort, whose INTEGER column truncates the raw decimal on save (0.8 -> 1) — fixed upstream by #1666 (mapper normalisation, on #1672). Remove the skip once #1672 is in main so the gate asserts a hard zero. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| abri | ||
| applications | ||
| backend | ||
| datatypes | ||
| domain | ||
| e2e | ||
| fixtures | ||
| harness | ||
| infrastructure | ||
| lambdas | ||
| magic_plan | ||
| orchestration | ||
| repositories | ||
| scripts | ||
| utilities | ||
| utils | ||
| __init__.py | ||
| conftest.py | ||
| test_lambda_packaging.py | ||