diff --git a/.claude/skills/expand-sap-accuracy-corpus/worklist.md b/.claude/skills/expand-sap-accuracy-corpus/worklist.md index c062be22..2890163c 100644 --- a/.claude/skills/expand-sap-accuracy-corpus/worklist.md +++ b/.claude/skills/expand-sap-accuracy-corpus/worklist.md @@ -86,7 +86,7 @@ Skip the 🚩 MVHR / 🚩 heat-pump-fuel and ⛔ sparse certs. - [⚠] 10091636116 — SAP-17.0 · eng 80 / lodged 88 · 🚩 MVHR idx 500249 not credited (flagged) - [ ] 10093049853 — SAP-17.0 · eng 82 / lodged 87 - [ ] 10093390790 — SAP-17.1 · eng 79 / lodged 82 -- [ ] 10093116330 — SAP-17.1 · eng 82 / lodged 83 +- [x] 10093116330 — SAP-17.1 (2017 gas-combi 2-storey semi HOUSE, TFA 73) · eng 82 / elm 78 (lodged 83) · PINNED engine 82. +4 = documented full-SAP→RdSAP residual. Build clean. No mapper change. - [ ] 10093116326 — SAP-17.1 · eng 82 / lodged 82 - [ ] 10090317693 — SAP-17.0 · eng 81 / lodged 88 - [ ] 10090034872 — SAP-17.0 · eng 83 / lodged 85 diff --git a/backend/epc_api/json_samples/real_life_examples/SAP-Schema-17.1/uprn_10093116330/elmhurst_summary.pdf b/backend/epc_api/json_samples/real_life_examples/SAP-Schema-17.1/uprn_10093116330/elmhurst_summary.pdf new file mode 100644 index 00000000..c830b3f9 Binary files /dev/null and b/backend/epc_api/json_samples/real_life_examples/SAP-Schema-17.1/uprn_10093116330/elmhurst_summary.pdf differ diff --git a/backend/epc_api/json_samples/real_life_examples/SAP-Schema-17.1/uprn_10093116330/elmhurst_worksheet.pdf b/backend/epc_api/json_samples/real_life_examples/SAP-Schema-17.1/uprn_10093116330/elmhurst_worksheet.pdf new file mode 100644 index 00000000..b1bbad34 Binary files /dev/null and b/backend/epc_api/json_samples/real_life_examples/SAP-Schema-17.1/uprn_10093116330/elmhurst_worksheet.pdf differ diff --git a/tests/domain/sap10_calculator/test_real_cert_sap_accuracy.py b/tests/domain/sap10_calculator/test_real_cert_sap_accuracy.py index 89bcee3d..715fb053 100644 --- a/tests/domain/sap10_calculator/test_real_cert_sap_accuracy.py +++ b/tests/domain/sap10_calculator/test_real_cert_sap_accuracy.py @@ -228,6 +228,16 @@ _EXPECTATIONS: Final[tuple[RealCertExpectation, ...]] = ( cert_num="7608-9066-7346-5236-4944", sap_score=83, ), + # UPRN 10093116330 — SAP-Schema-17.1, FULL-SAP 2017 mains-gas combi + # 2-storey SEMI-DETACHED HOUSE (Emsworth, TFA 73 m²), same 10093116xxx street + # / boiler PCDB 17505. Lodged 83; engine 82. Elmhurst worksheet 78 (evidence + # saved). The +4 is the documented full-SAP→RdSAP residual. Build clean. + RealCertExpectation( + schema="SAP-Schema-17.1", + sample="uprn_10093116330", + cert_num="8318-7437-5660-3332-6922", + sap_score=82, + ), # UPRN 10002468137 → cert 0215-2818-7357-9703-2145. RdSAP-Schema-17.1, # all-electric high-heat-retention storage heaters on Economy 7, solid- # brick uninsulated end-terrace. Validated against Elmhurst RdSAP10 on