mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
`from_site_notes` copied the raw `walls_construction_type` survey label onto the building part; the calculator's `_int_or_none` read it as `None`, so every wall fell back to the age-band + thickness U-value and lost the solid/cavity/timber/system-built distinction. Add `_pashub_wall_construction_int` (mirroring `_pashub_party_wall_ construction_int`) mapping the four surveyed labels to the WALL_* codes `u_wall` consumes, strict-raising `UnmappedPasHubLabel` on an unknown label and passing a blank label through as the empty-string "no lodging" sentinel (the field is `Union[int, str]`). On the Guinness GMCA cohort this trims SAP MAE 3.22 -> 3.11 and lifts within-1.0 12.9% -> 14.9%. Closes #1560 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| epc | ||
| __init__.py | ||
| address_match.py | ||
| datatypes.py | ||
| enums.py | ||