mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Add a `predicted_epc` slot to the Property aggregate and a "predicted" branch to SourcePath / source_path / effective_epc (ADR-0031 decisions 1+3). A neighbour-synthesised EpcPropertyData resolves as the Effective EPC ONLY when there is neither a lodged EPC nor Site Notes — a real source always wins (prediction is last-resort gap-fill). The slot is distinct from `epc` so a predicted picture coexists with any lodged one (provenance is structural, not a flag on EpcPropertyData); downstream consumers are untouched. 3 tests: predicted resolves when sole source; lodged EPC wins over predicted; Site Notes win over predicted. 10/10 green, pyright strict clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_property.py | ||