mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
A predicted EPC is seeded by deep-copying one representative neighbour's structure. _template chose the member whose floor area was closest to the cohort median, ignoring building-part labels. When that member's only part was lodged with a null identifier (mapped to OTHER), the prediction had no MAIN part and the modelling_e2e handler rejected it as "not predictable" — discarding an otherwise-rich same-type cohort. Restrict the template to MAIN-bearing members (median still over the whole cohort); fall back to closest-on-size only when none are MAIN-bearing, so an all-unlabelled cohort is left for the handler's MAIN-part guard to reject rather than silently relabelling real data. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| applications | ||
| datatypes | ||
| domain | ||
| e2e | ||
| fixtures/epc_prediction | ||
| harness | ||
| infrastructure | ||
| lambdas | ||
| magic_plan | ||
| orchestration | ||
| repositories | ||
| scripts | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_lambda_packaging.py | ||