mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Task b9fcd354-2a33-4fc4-a64e-388c060a055c (portfolio 824 / scenario 1278) also failed property_id 749229 (UPRN 100010349400) with "RdSapSchema17_1: missing required field 'has_hot_water_cylinder'". Cert 9568-3034-6211-6089-5960 (SAP-Schema-15.0) lodges `sap_heating.cylinder_size` but omits the separate top-level `has_hot_water_cylinder` boolean RdSapSchema17_1 also requires. Unlike `multiple_glazed_proportion` (deliberately left un-defaulted a few lines above — a prior guessed default regressed the accuracy gate), `cylinder_size` isn't a proxy needing inference: RdSAP 10 Table 28 defines code 1 as "no cylinder" — literally the same fact `has_hot_water_cylinder` encodes. Confirmed 1:1 across every real 15.0/16.x fixture that lodges both fields (cylinder_size == 1 <-> false, every other code <-> true). Added to the shared `_normalize_sap_schema_16_x`, so it covers the whole 15.0/16.0/16.1/16.2/16.3 reduced-field family, not just 15.0. Co-Authored-By: Claude Sonnet 5 <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 | ||