mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Slice 1 of the DB-less inspection harness. Complete the in-memory FakeUnitOfWork so the ModellingOrchestrator runs with no Postgres: add FakeScenarioRepository + FakePlanRepository (idempotent, keyed by (property_id, scenario_id)), expose scenario/product/plan on the fake unit, and grow FakePropertyRepo to compose the effective EPC from the EPC repo at read time — mirroring PropertyPostgresRepository, so the EPC Ingestion persists is visible to Baseline + Modelling (the through-repos hand-off, in memory). The new integration test drives the full AraFirstRunPipeline (Ingestion -> Baseline -> Modelling) against the FakeUnitOfWork — no Session ever opened — on the uninsulated 000490 fixture with its lodged recorded-performance filled in (it already carries the RHI block, so Baseline can run) and asserts a multi-measure Plan is produced. The committed product catalogue prices the wall/floor/ventilation measures it fires. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| applications | ||
| datatypes | ||
| domain | ||
| infrastructure | ||
| orchestration | ||
| repositories | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_lambda_packaging.py | ||