mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
Three silent-drop extraction fixes the gov-API/Elmhurst mappers already apply but `from_site_notes` uniquely omitted — each let a favorable default reach the SAP-10.2 calculator and over-rate the dwelling. Same calculator, so the whole gap was extraction fidelity (gov-API corpus 78.6% within-0.5 vs pashub 23.9%). #1598 — electric-shower + bath counts: `_map_sap_heating` built `shower_outlets` but never set `electric_shower_count`/`mixer_shower_count`/`number_baths`, so the cascade defaulted to 1 gas mixer / 0 electric, billing electric-shower hot water off the cheap main system. 100/205 fixtures lodge "Electric Shower". #1599 — floor label: pashub lodges "Ground Floor" (capital F); the calculator's RdSAP §5(12) suspended-timber floor-infiltration gate is case-sensitive on "Ground floor", so the 0.2-ACH term was silently dropped. Normalized at the mapper boundary. 98/205 suspended-timber. #1600 — water-heating "None": the RdSAP 10 §10.7 "no water heating system" signal was discarded and HW inherited the gas combi (58 Hackle 67.7 vs verified 59). Coded to WHC 999 so the existing electric-immersion + Table 28/29 default fires (also folds in #1594: blank cylinder size is no cylinder, not a phantom one). Guinness GMCA 205 cohort: within-0.5 23.9% -> 50.2% (103/205), MAE 1.410 -> 0.650. Ratchets tightened to 0.50 / 0.65. Verified vs Khalim's ground truth (16 Stillwater 78.2 -> 75.7 vs 76). #1601 (upper-floor +0.25 m) held — it empirically over-corrects this cohort (internal-vs-external dimension question, under investigation). pyright: 0 new errors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| test_elmhurst_end_to_end.py | ||
| test_elmhurst_extractor.py | ||
| test_end_to_end.py | ||
| test_extractor.py | ||
| test_heating_systems_corpus.py | ||
| test_pashub_sap_accuracy.py | ||
| test_pdf.py | ||
| test_room_heater_worksheet_001431.py | ||
| test_summary_pdf_mapper_chain.py | ||