mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
SAP-Schema-16.2 (datatypes/epc/domain/mapper.py): - 16.2 is structurally an RdSAP-17.1 cert under a different name; add _normalize_sap_schema_16_2 (field renames + defaults) and dispatch to the tested from_rdsap_schema_17_1 mapper. uprn_100020933699 maps → SAP 71. - Honour a "Single glazed" windows description when multiple_glazing_type="ND" (was defaulting to double) → RdSAP-21 code 5; eng 72→71 (lodged 70). - 4 regression tests + sap_16_2.json fixture; 0 new pyright errors. Flat party-wall fix (domain/sap10_calculator/worksheet/heat_transmission.py): - Full-SAP flats carry flatness in dwelling_type, not property_type, so the party-wall default fell through to the 0.25 house value instead of the RdSAP Table-15 flat 0.0. Add _is_flat_or_maisonette_dwelling fallback + regression test. uprn_10093116529 80→81 (matches the cert's lodged party u_value 0). Accuracy corpus pins (tests/domain/sap10_calculator/test_real_cert_sap_accuracy.py): - uprn_10093116543 (SAP-17.1 gas-combi semi): engine 81 (Elmhurst 77; documented full-SAP→RdSAP residual — measured wall/floor U + PCDB boiler vs RdSAP defaults). - uprn_10093116529 (SAP-17.1 g/f flat): engine 81 (Elmhurst 78). devcontainer: add poppler-utils (pdfinfo) for the documents-parser PDF fixtures. 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 | ||