mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
PostgresUnitOfWork built its PropertyPostgresRepository without an overrides reader, so a Property re-hydrated through the unit silently dropped its Landlord Overrides (ADR-0032). The Baseline orchestrator runs through the UoW, so it scored the bare lodged EPC while the Plan modelled the override-folded Effective EPC — the two diverged (e.g. baseline effective 71/C vs plan baseline 62/D), producing "already at band C yet recommends reaching C". Wire PropertyOverridesPostgresReader into the unit's property repo (uow- independent committed reference data, read via the same session factory) so every re-hydration folds overrides, matching the live modelling path. 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 | ||