From 948704d7b0ce33ea75b32878256bd8b533a95286 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 15 Jul 2026 00:28:40 +0000 Subject: [PATCH] Record the secondary-heating-type coding fix in the accuracy ratchet note Co-Authored-By: Claude Fable 5 --- backend/documents_parser/tests/test_pashub_sap_accuracy.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/documents_parser/tests/test_pashub_sap_accuracy.py b/backend/documents_parser/tests/test_pashub_sap_accuracy.py index 37ada113f..22ce21d08 100644 --- a/backend/documents_parser/tests/test_pashub_sap_accuracy.py +++ b/backend/documents_parser/tests/test_pashub_sap_accuracy.py @@ -113,6 +113,11 @@ _MIN_WITHIN_HALF: float = 0.19 # community residual — cylinder insulation label int-coded so storage loss # bills, Table 3 primary loss + RdSAP p.59 flat-rate charging default on the # water-only heat-network branch (+5.7 -> +3.2). Observed 20.0% / MAE 1.383. +# Held at 1.39 (not loosened) after the secondary-heating-type coding fix +# (raw "Secondary System:" label int-coded to its Table 4a room-heater code +# instead of silently defaulting to code 693 eff 1.00): correctness fix, +# 499607224524 +4.0 -> +1.2, observed MAE 1.383 -> 1.381 — too small to +# tighten the 2-decimal ceiling, within-0.5 unchanged at 20.0%. _MAX_SAP_MAE: float = 1.39 _KNOWN_GAP_REASON = (