mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
Wet underfloor responsiveness was pinned at R=0.75 for the lumped gov-EPC emitter code 2, regardless of floor construction. SAP 10.2 Table 4d splits it three ways and RdSAP 10 Table 29 (p.56-57) selects from floor construction + age band: timber floor 1.0, screed above insulation 0.75, concrete slab 0.25. A concrete-slab system (solid floor, age A-E) was billed as screed, over-stating responsiveness (higher MIT) and over-rating the dwelling; R=0.25 was unreachable. _responsiveness now takes the cert and, for the lumped underfloor code, derives the Table 29 subtype via _underfloor_responsiveness from the main part's floor construction + age band: suspended TIMBER -> 1.0; solid A-E -> 0.25 (concrete slab); solid F-M / suspended-not-timber / unknown / no ground floor -> 0.75 (screed, the prior default, so ambiguous no-ground-floor certs do not move). The mapper stays a pass-through. Spec: SAP 10.2 Table 4d (p.170), RdSAP 10 Table 29 (p.56-57). Corpus: MAE 0.570 -> 0.565 (net toward lodged), within-0.5 81.2%. Cert 100100137438 (solid, band B) 72 -> 69, exactly lodged. Closes #1668 on the API path. NOTE: the issue's worksheet adjudication (run 100100137438 through accredited Elmhurst to confirm concrete-slab R=0.25) is still outstanding — it corrects to lodged 69 exactly, but is not yet Elmhurst-worksheet-confirmed. The Elmhurst site-notes path (_resolve_elmhurst_underfloor_subtype still raises for solid A-E) is untouched — no corpus/fixture exercises it; separate follow-up. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| abri | ||
| applications | ||
| backend | ||
| datatypes | ||
| domain | ||
| e2e | ||
| fixtures | ||
| harness | ||
| infrastructure | ||
| lambdas | ||
| magic_plan | ||
| orchestration | ||
| repositories | ||
| scripts | ||
| utilities | ||
| utils | ||
| __init__.py | ||
| conftest.py | ||
| test_lambda_packaging.py | ||