Model/domain/sap10_calculator/rdsap/tests
Khalim Conn-Kowlessar d3058bf1d5 Slice 102f-prep.11: Track 6 ASHP cohort fixtures + register 7 golden pins
Fetches the API JSON for each of the 6 previously-missing ASHP
cohort certs (0350, 2225, 2636, 3800, 9285, 9418) into
tests/fixtures/golden/ so they're tracked alongside cert 0380 (the
cohort anchor lodged earlier). Each cert's residual against its
GOV.UK EPC lodgement is pinned in `_GOLDEN_EXPECTATIONS`:
  - SAP integer residual = 0 across all 7 certs (cascade rounds to
    the lodged value exactly).
  - PE residual: -7.93 to -14.79 kWh/m² (cascade UNDER-estimates
    primary energy by ~8-15 — likely PV cascade self-consumption
    β-factor split per Appendix M §3, untouched by this workstream).
  - CO2 residual: +0.16 to +0.28 t/yr (cascade OVER-estimates by ~0.2).

The pins lock the current cascade state so future mapper / cascade
changes fire loudly when they shift the 7-cohort residuals (the same
pin-tracking convention as the existing 8 boiler golden certs).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 16:28:46 +00:00
..
fixtures/golden Slice 102f-prep.11: Track 6 ASHP cohort fixtures + register 7 golden pins 2026-06-01 16:28:46 +00:00
__init__.py refactor: lift-and-shift packages/domain/src/domain/sap → domain/sap10_calculator 2026-05-26 12:22:37 +00:00
test_cert_to_inputs.py Slice 102e: heat-pump APM efficiencies via SAP 10.2 Appendix N3.6 / N3.7(a) 2026-06-01 16:28:46 +00:00
test_golden_fixtures.py Slice 102f-prep.11: Track 6 ASHP cohort fixtures + register 7 golden pins 2026-06-01 16:28:46 +00:00