mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
`from_elmhurst_site_notes` hard-coded `extensions_count=0` regardless of how many extensions the survey lodged. The 6 cohort certs from Slices 47-53 all happened to have 0-2 extensions whose count nothing load-bearing read, so this latent bug was invisible. Cert 001479 (Summary_001479.pdf, GOV.UK EPB cert 0535-9020-6509-0821-6222) has Main + Extension 1 + Extension 2 and is the first cohort cert with a real API counterpart — accurate `extensions_count` becomes load-bearing the moment the cross-mapper parity assertion compares API vs Elmhurst EpcPropertyData side by side. No SAP-cascade impact (the cascade iterates `sap_building_parts`, not `extensions_count`) — but a real data-integrity bug surfaced by the cross-mapper diff. Adds Summary_001479.pdf as a new chain-test fixture and `_SUMMARY_001479_PDF` constant for follow-up slices that will land per-bp ages, exposed floors, secondary-heating SAP codes, etc. All 9 chain tests green; 321 mapper/site-notes/rdsap tests green; pyright net-zero (35-error baseline preserved on mapper.py). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
92 KiB
92 KiB