mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
16 modelling_e2e properties failed with "Effective EPC is missing renewable_heat_incentive; cannot read baseline space-heating / hot-water kWh". Baseline runs for predicted properties too (ADR-0031), reading space/water- heating kWh off the EPC's lodged RHI block. Predicted EPCs deep-copy a neighbour template that may carry no RHI, so `_require_rhi` hard-failed the whole subtask. Fix: when the EPC has no RHI, fall back to the property's OWN computed figures from the scored SapResult (space_heating_kwh_per_yr / hot_water_kwh_per_yr) — more representative than a neighbour's lodged numbers. Only when there is also no SapResult (the rebaseliner scored nothing) is there genuinely no demand to record, and we still fail noisily. Lodged certs are unchanged (RHI still wins). Regression tests: fallback-to-computed, and the no-RHI/no-result raise. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ara_first_run_pipeline.py | ||
| audit_generator_orchestrator.py | ||
| audit_generator_unit_of_work.py | ||
| bulk_upload_finaliser_orchestrator.py | ||
| classifiable_column.py | ||
| ingestion_orchestrator.py | ||
| landlord_description_overrides_orchestrator.py | ||
| magic_plan_orchestrator.py | ||
| modelling_orchestrator.py | ||
| postcode_splitter_orchestrator.py | ||
| property_baseline_orchestrator.py | ||
| sharepoint_renamer_orchestrator.py | ||
| task_orchestrator.py | ||