From ce33cd94ef3cc59cf8d5406f6346d4f74a232465 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 1 Jun 2026 18:56:41 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20correct=20SAP=20calculator=20path=20in?= =?UTF-8?q?=20CONTEXT=20(domain/sap=20=E2=86=92=20domain/sap10=5Fcalculato?= =?UTF-8?q?r)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Factual staleness fix flagged in the handover; the calculator lives in domain/sap10_calculator/calculator.py. Glossary term 'Baseline Performance' deliberately left unchanged (concept vs PropertyBaselinePerformance class). Co-Authored-By: Claude Opus 4.8 --- CONTEXT.md | 2 +- docs/HANDOVER_ARA_NEXT.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CONTEXT.md b/CONTEXT.md index 345e5ce1..4e31c0a9 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -102,7 +102,7 @@ The SAP score, EPC Band, CO2 emissions, Primary Energy Intensity, space heating _Avoid_: calculator output, computed performance, worksheet performance, SAP10 output **SAP10 Calculation**: -The process that runs the deterministic SAP 10.2 (14-03-2025 amendment) worksheet over a Property's EpcPropertyData and emits **Calculated SAP10 Performance**. Implemented by the `Sap10Calculator` service class in `domain/sap/`. Reads cert fabric/heating/geometry fields, applies the RdSAP 10 (10-06-2025) cert→input mapping, executes the 12-month heat balance per SAP 10.2 §§1-14, looks up boiler/heat-pump performance in the **PCDB** when the cert lodges a product index, and returns a `SapResult` carrying the five Calculated SAP10 Performance quantities plus a monthly breakdown and worksheet-line audit trail. Distinct from **Rebaselining**, which is ML-based. ADR-0009 originally targeted SAP 10.3 (13-01-2026); ADR-0010 retargets to SAP 10.2 (14-03-2025) until the cert corpus migrates. +The process that runs the deterministic SAP 10.2 (14-03-2025 amendment) worksheet over a Property's EpcPropertyData and emits **Calculated SAP10 Performance**. Implemented by the `Sap10Calculator` service class in `domain/sap10_calculator/` (`calculator.py`). Reads cert fabric/heating/geometry fields, applies the RdSAP 10 (10-06-2025) cert→input mapping, executes the 12-month heat balance per SAP 10.2 §§1-14, looks up boiler/heat-pump performance in the **PCDB** when the cert lodges a product index, and returns a `SapResult` carrying the five Calculated SAP10 Performance quantities plus a monthly breakdown and worksheet-line audit trail. Distinct from **Rebaselining**, which is ML-based. ADR-0009 originally targeted SAP 10.3 (13-01-2026); ADR-0010 retargets to SAP 10.2 (14-03-2025) until the cert corpus migrates. _Avoid_: SAP calculation (ambiguous with the gov calculator), SAP scoring, calculator run, SAP 10.3 calculation (active target is 10.2 — see [[sap-spec-version]]) **SAP Spec Version**: diff --git a/docs/HANDOVER_ARA_NEXT.md b/docs/HANDOVER_ARA_NEXT.md index 61eac61a..4f61d9ff 100644 --- a/docs/HANDOVER_ARA_NEXT.md +++ b/docs/HANDOVER_ARA_NEXT.md @@ -145,8 +145,6 @@ known open points: *deliberately* left un-renamed — treat "Baseline Performance" as the spoken concept and `PropertyBaselinePerformance` as its class. If you want them aligned, rename the term to "Property Baseline Performance" across CONTEXT + ADR prose (a quick, mechanical change). -- **CONTEXT.md ≈line 105** says the calculator lives in `domain/sap/` — that's **stale**; - it's `domain/sap10_calculator/calculator.py`. Safe to correct. ## Issues / process