mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
PRD #1385, lighting family. The 17.0 and 19.0 API mappers hardcoded every fixed-lighting bulb count to 0, dropping the lodged lighting mix that the reference-complete 17.1/18.0/20.0 paths read. The schema lodges total + low-energy OUTLET counts (ADR-0028); mirror the reference split — low-energy outlets → low_energy bulbs, the remainder → incandescent — so the SAP lighting-energy calc sees the real low-energy credit instead of assuming none. led/cfl stay 0 (reduced-field certs don't split those); 21.0.x use a different bulb-based lighting schema and are out of scope. The `total - low_energy` subtraction is safe: all 37 local 17.0/19.0 fixtures have low_energy <= total (no negative incandescent), matching the reference paths that already do this unclamped. Verification: new test 2 passed; test_mapper_corpus 6002 passed; SAP-accuracy / RealCertExpectation regressions 56 passed (no pinned shifts); 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 | ||