mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
`restrict_to_considered_measures` filtered candidates only *after* every generator had run, so an excluded measure still queried the catalogue. That crashed properties with a lodged secondary heater: the live `material.type` enum has no `secondary_heating_removal` value, so the query raised a psycopg2 `InvalidTextRepresentation` before the allowlist could drop it. `_candidate_recommendations` now pairs each generator with the measure types it can emit and runs it only when the allowlist admits one of them (None = all), so an excluded measure never reaches the catalogue. `restrict_to_considered_measures` still trims disallowed Options off the multi-Option survivors. Add `--exclude-measures` to run_modelling_e2e (allowlist minus the excluded set) for excluding one measure without enumerating the rest. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| eon | ||
| analyse_api_sap_clusters.py | ||
| build_epc_prediction_fixture.py | ||
| decompose_api_cost_error.py | ||
| decompose_co2_pe_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_corpus_coordinates.py | ||
| fetch_epc_bulk_sample.py | ||
| fetch_epc_dump.py | ||
| fetch_epc_prediction_corpus.py | ||
| fetch_epc_prediction_dense_corpus.py | ||
| historic_epc_demo.py | ||
| init_db.py | ||
| profile_api_error.py | ||
| profile_case34.py | ||
| run_audit_generator_local.py | ||
| run_modelling_cohort.py | ||
| run_modelling_e2e.py | ||
| run_property_report.py | ||
| validate_epc_prediction.py | ||