Model/packages
Khalim Conn-Kowlessar 7d4f3d78dc pcdb followup: 000474 fixture lodges main_heating_index_number=16839; e2e ceiling 7 → 2
PDF "PCDF boiler reference: 16839 Vaillant ecoTEC pro 28 88.70%" → fixture sets `main_heating_index_number=16839` + `main_heating_data_source=1`. cert_to_inputs PCDB precedence resolves Table 105 record 16839 (Vaillant ecoTEC pro 28 VUW GB 286/5-3, 2005-2015, winter 88.7%, summer 87.0%, comparative HW 75.1%).

000474 e2e impact — near-closure:
  - main_heating_efficiency: 0.80 → 0.887
  - hot_water_kwh: 3020 → 2622 (PDF 2292, gap +32% → +14.4%)
  - total_fuel_cost: £778 → £652 (PDF £656, gap +19% → -0.6%)
  - SAP rating: 69 → 63 (PDF 62, +7 → +1)

Ceiling tightened 7 → 2 (SAP integer) and 7.0 → 2.0 (continuous). Residual HW kWh gap (+14.4%) is the Appendix J §3b PCDB combi-loss row that our HW cascade still defaults from Table 3a — closes in a future §4 slice.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 11:30:18 +00:00
..
domain pcdb followup: 000474 fixture lodges main_heating_index_number=16839; e2e ceiling 7 → 2 2026-05-21 11:30:18 +00:00
fetchers added potential file scaffolding: 2026-05-15 10:56:53 +00:00
repos added potential file scaffolding: 2026-05-15 10:56:53 +00:00
utils added potential file scaffolding: 2026-05-15 10:56:53 +00:00
README.md added potential file scaffolding: 2026-05-15 10:56:53 +00:00

Shared packages

Workspace packages consumed by services/*. Each package is its own Python distribution with its own pyproject.toml; services import via the workspace dependency mechanism ({ workspace = true }).

Package Purpose
domain/ Shared domain types — Property, BaselinePerformance, Plan, Scenario, EpcPropertyData, etc. No persistence, no IO, no business logic.
repos/ Persistence layer — one repo per aggregate. Owns the SQL. Depends on domain.
fetchers/ External API clients (gov EPC, Ofgem, Google Solar, etc.). Depend on domain for response shapes.
utils/ Cross-cutting infra — logging, S3, CloudWatch URL builders, SQS task helpers.

Adding a new shared package

Only when a real second consumer materialises. Don't pre-shatter (repos-epc, repos-property, ...) — split when a deployment needs to drop a dep, not before.

See ../ara_backend_design.md §11 for the broader monorepo layout and ../CONTEXT.md for the domain glossary that names the types living in domain/.