mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
A Landlord Override's building_part is a positional index (0=main, 1=extension 1…, ADR-0004), but the gov-API EPC can label that slot differently (e.g. lodge the 2nd part as 'other', not 'extension_1'). The previous fix skipped such orphaned overrides, silently discarding the landlord's correction. Now the override falls back onto the EPC's part at that position (via _resolve_part), so the correction lands; only a position the EPC models no part at is skipped (no geometry to model a wholly-absent part). Replaces the skip-only behaviour. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| addresses | ||
| billing | ||
| epc | ||
| epc_prediction | ||
| fuel_rates | ||
| magicplan | ||
| modelling | ||
| property | ||
| property_baseline | ||
| sap10_calculator | ||
| tasks | ||
| __init__.py | ||
| test_building_geometry.py | ||
| test_postcode.py | ||