mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Wire EPC Prediction gap-fill into IngestionOrchestrator (ADR-0031). When the predictor collaborators are injected (ComparablesRepo + PredictionAttributesReader + EpcPrediction), an EPC-less Property is predicted from its postcode cohort and persisted to the predicted slot; the eligibility gate (unknown property_type) and "a lodged EPC is never predicted over" both hold. The two-phase contract is kept: prediction attributes (Landlord Overrides) resolve in the unit prep phase, the cohort fetch + select + predict run in the no-unit IO phase, persistence in the write phase. All three collaborators are OPTIONAL — unwired, ingestion behaves exactly as before (existing tests unchanged). 3 tests (predict+persist, gate, lodged-wins); 228 pass across orchestration + epc_prediction + repositories; pyright strict clean. Production composition-root wiring (real ComparableProperties + override-attributes adapters) is part of the Jun-te handover. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| applications | ||
| datatypes | ||
| domain | ||
| fixtures/epc_prediction | ||
| harness | ||
| infrastructure | ||
| magic_plan | ||
| orchestration | ||
| repositories | ||
| scripts | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_lambda_packaging.py | ||