mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Revives the local recommendation-inspection flow for specific Properties. `scripts/run_modelling_e2e.py` reads each Property's UPRN from the DB (read-only), fetches the latest EPC live from the gov EPC API by UPRN, runs the Modelling stage in memory (all Generators → Optimiser → costed, attributed Plan), and prints a per-Property plan table + writes a Markdown/CSV summary. Persists nothing — purely for inspection. The local DB's Properties have no linked ingested EPC (epc_property.property_id is NULL for all rows; Ingestion's source clients are stubbed, #1136), so the EPC must be fetched inline rather than read back. Builds the connection from the `DB_*` env vars in backend/.env and the EPC token from `EPC_AUTH_TOKEN`. Threads optional solar insights through harness `run_modelling` (so Solar PV Options can fire once coordinates are wired) and adds the `solar_pv` catalogue row. Solar + planning restrictions + DB persistence are noted follow-ups. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analyse_api_sap_clusters.py | ||
| decompose_api_cost_error.py | ||
| download_cotality_evidence.py | ||
| elmhurst_input_sheet.py | ||
| eval_api_sap_accuracy.py | ||
| fetch_2026_epc_sample.py | ||
| fetch_cohort2_api_jsons.py | ||
| fetch_epc_bulk_sample.py | ||
| fetch_epc_dump.py | ||
| historic_epc_demo.py | ||
| init_db.py | ||
| profile_api_error.py | ||
| rename_sharepoint_files.py | ||
| run_modelling_cohort.py | ||
| run_modelling_e2e.py | ||
| run_property_report.py | ||
| sero_address_list.csv | ||