mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
Teaches the pashub `from_site_notes` mapper the electric-storage-heater and room-heater families, following the existing boiler/heat-network split exactly (fix at the mapper boundary, ADR-0015 — never mis-rate, never strict-raise deep in the calculator). Adds: - Table 4e Group 4 storage charge-control codes (2401/2402/2404) and Group 6 room-heater control codes (2602/2605), each gated on its own system group so a control label never takes a wrong-group 2xxx code. - The Table 4a system code from the surveyed heater type lodged in the "Heating System (Other)" field (`community_heat_source`): Fan storage 404, slimline 402, PCDF-Search product ⇒ HHR 409 (RdSAP 10 p.80), room heaters 691/694. - A 2404⇔409 coherence guard: high-heat-retention controls on a non-HHR storage type is a surveyor contradiction and fails loud rather than rating a mismatch. All codes taken from the SAP 10.2 spec (14-03-2025 PDF) and already present in the calculator's inventories — no calculator change. LRHA WAVE 3 (lincs rural) accuracy: 8 computed / 96 blocked → 45 computed / 59 blocked / 0 errored (within-0.5 46.7%, MAE 2.989); ratchets re-baselined to the new coverage. Guinness cohort (208) + gov-API corpus unchanged; pyright --strict adds zero new errors. Closes #1619 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| domain | ||
| loaders | ||
| schema | ||
| search | ||
| surveys | ||
| __init__.py | ||
| construction_age_band.py | ||
| efficiency.py | ||
| floor.py | ||
| fuel.py | ||
| heating_controls.py | ||
| hotwater.py | ||
| main_heating.py | ||
| property_type_built_form.py | ||
| roof.py | ||
| walls.py | ||
| windows.py | ||