mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Make run_modelling_e2e the single script that does everything for a portfolio, so the 291-property run needs one invocation with per-property recovery (no all-or-nothing chunking): - On --persist, a lodged-EPC Property now also gets its Baseline Performance row written via PropertyBaselineOrchestrator (per Property, so one bad cert does not abort the batch). Predicted (EPC-less) Properties have no lodged figures, so they get a Plan but no baseline row. - The run CSV gains api_sap (register) vs baseline_sap (calculator) + sap_delta, so calculator-vs-API divergence is reviewable per property. Fill the off-catalogue overlay for the measures the live material catalogue cannot price, so they stop crashing the run: - double_glazing (£550/window) and secondary_glazing (£400/window): priced per window (the generator multiplies by single-glazed window count, matching the legacy window_glazing). Grounded in 2025/26 UK installed costs; per-window is the right unit for windows (fixed per-unit install dominates) — per-m2 fits walls/floors, not glazing. - gas_boiler_upgrade / system_tune_up / system_tune_up_zoned: these are priced off the heating rate sheet (Products()), with get() reading the catalogue only for an id — so the overlay entry exists to satisfy that lookup (material_id stays None, as with ASHP); the rate sheet remains authoritative. Validated on a 12-property sample (incl. a secondary-glazing case and a SAP-Schema-16.2 cert): 12/12 baseline rows + plans, 0 errors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| eon | ||
| hyde | ||
| lisasrequest | ||
| analyse_api_sap_clusters.py | ||
| build_epc_prediction_fixture.py | ||
| compare_epc_paths.py | ||
| decompose_api_cost_error.py | ||
| decompose_co2_pe_error.py | ||
| dive_cert.py | ||
| download_cotality_evidence.py | ||
| e2e_common.py | ||
| elmhurst_input_sheet.py | ||
| eval_api_sap_accuracy.py | ||
| fetch_2026_epc_sample.py | ||
| fetch_cohort2_api_jsons.py | ||
| fetch_corpus_coordinates.py | ||
| fetch_epc_bulk_sample.py | ||
| fetch_epc_dump.py | ||
| fetch_epc_prediction_corpus.py | ||
| fetch_epc_prediction_dense_corpus.py | ||
| fetch_real_life_epc_sample.py | ||
| fill_domna_addresses.py | ||
| finalise_to_property_table.py | ||
| historic_epc_demo.py | ||
| hyde_epc_schema_versions.py | ||
| init_db.py | ||
| inspect_overlay.py | ||
| profile_api_error.py | ||
| profile_case34.py | ||
| profile_corpus_error.py | ||
| resolve_uprns_for_finaliser.py | ||
| run_audit_generator_local.py | ||
| run_first_run_e2e.py | ||
| run_modelling_cohort.py | ||
| run_modelling_e2e.py | ||
| run_property_report.py | ||
| validate_epc_prediction.py | ||