mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
RdSAP 10 §5.17 / Table 23. `wall_is_basement` is not a lodged U-value — it is a disambiguation flag selecting WHICH RdSAP default applies, so unlike wall/roof/floor_u_value it must survive the round-trip. Code 6 is canonically SYSTEM-BUILT and the gov-API path infers "basement" from a code-6 heuristic; the Elmhurst site-notes mapper sets wall_is_basement=False precisely to defeat it. Dropping the field inverted the answer — a system-built wall came back as a basement wall, dragging the whole ground floor onto the Table 23 basement-floor U-value via `has_basement`. Declared on no RdSAP schema, so it never arrives via the gov API; the earlier corpus scan showing 0 occurrences measured the wrong population. The Elmhurst site-notes path sets it and those EPCs are persisted (scripts/wchg_elmhurst_ingest.py). Nullable is load-bearing: None = "not stated, use the heuristic", False = "explicitly system-built, do not". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bulk_upload | ||
| comparable_properties | ||
| epc | ||
| fuel_rates | ||
| geospatial | ||
| historic_epc | ||
| hubspot_deals | ||
| landlord_overrides | ||
| magic_plan | ||
| materials | ||
| plan | ||
| product | ||
| property | ||
| property_baseline | ||
| scenario | ||
| solar | ||
| spatial | ||
| tasks | ||
| unstandardised_address | ||
| uploaded_file | ||
| __init__.py | ||
| postgres_unit_of_work.py | ||
| unit_of_work.py | ||