mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
RdSAP 10 §12 (PDF p.62) Dual-meter dispatch: "the choice between 7-hour and 10-hour is made by the main heating type ... if the main system is a direct-acting electric boiler (191), or electric room heaters ... it is 10-hour tariff." The electric room-heater codes — Table 4a 691 (panel/ convector/radiant), 692 (fan), 693 (portable), 694 (water-/oil-filled), 699 (assumed) — were missing from `_RULE_3_TEN_HOUR_CODES` (the long- standing TODO there), so a Dual-meter room-heater cert fell through to Rule 4 (7-hour default). Compounded with S0380.230 (which routes room heaters to Table 12a OTHER_DIRECT_ACTING_ELECTRIC): at 7-hour the high-rate fraction is 1.00 (all at 15.29 p), but at the correct 10-hour it is 0.50 split over the 10-hour rates (14.68 / 7.50 p) → blended ~11 p. Without this fix .230 over-charged and flipped the cluster from over- to under-rating. 1,000-cert 2026 API sample: cat-10 mean |err| 7.11 → 5.26, signed mean +5.08 → -0.86 (now balanced, 22 over / 26 under — the systematic directional bias is gone). Overall mean |err| 2.16 → 2.04. Full §4 suite green (2406 passed). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| addresses | ||
| data_transformation | ||
| epc | ||
| fuel_rates | ||
| geospatial | ||
| property | ||
| property_baseline | ||
| sap10_calculator | ||
| sap10_ml | ||
| tasks | ||
| postcode.py | ||