mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
PRD #1385, shower/WWHRS family. The 17.0 and 19.0 API mappers left sap_heating.number_baths / mixer_shower_count as None, so the water-heating demand (cert_to_inputs) fell back to defaults instead of the lodged bath/shower room counts. Derive them from schema.sap_heating.instantaneous_wwhrs, mirroring the 17.1/18.0/20.0 paths: number_baths = rooms_with_bath_and_or_shower + rooms_with_bath_and_mixer_shower mixer_shower_count = rooms_with_mixer_shower_no_bath + rooms_with_bath_and_mixer_shower Guarded on instantaneous_wwhrs is not None (Optional in the schema), like 17.1. Counts, same meaning across the reduced-field family. Verification: new test 2 passed; test_mapper_corpus 6002 passed; SAP-accuracy / RealCertExpectation regressions pass; pyright unchanged (39 -> 39, pre-existing). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| applications | ||
| datatypes | ||
| domain | ||
| e2e | ||
| fixtures/epc_prediction | ||
| harness | ||
| infrastructure | ||
| lambdas | ||
| magic_plan | ||
| orchestration | ||
| repositories | ||
| scripts | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_lambda_packaging.py | ||