From aa69462b5b375c2fe1b13944843a43695d32fe5c Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 14 Jul 2026 16:55:03 +0000 Subject: [PATCH] =?UTF-8?q?Raise=20PasHub=20SAP-accuracy=20floor=20to=2013?= =?UTF-8?q?.4%=20within-0.5=20on=20the=20merged=20fabric=20stack=20?= =?UTF-8?q?=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- .../documents_parser/tests/test_pashub_sap_accuracy.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/documents_parser/tests/test_pashub_sap_accuracy.py b/backend/documents_parser/tests/test_pashub_sap_accuracy.py index e79120322..8db79ed75 100644 --- a/backend/documents_parser/tests/test_pashub_sap_accuracy.py +++ b/backend/documents_parser/tests/test_pashub_sap_accuracy.py @@ -66,10 +66,11 @@ _MANIFEST_PATH = _FIXTURES_DIR / "manifest.json" # gap that unblocks computation for the cohort. Before it, every fixture raised # `UnmappedSapCode: main_heating_control` (0/205 computed, aggregate xfailed); # with it, 201/205 compute (4 still blocked on the residual fuel-code gap, -# e.g. Bulk LPG). Observed at that point: SAP within-0.5 = 10.9% (22/201), -# MAE = 2.792. Ratchet up as later field fixes land, per #1568. -_MIN_WITHIN_HALF: float = 0.109 -_MAX_SAP_MAE: float = 2.793 +# e.g. Bulk LPG). Observed on this branch (control fix layered on the merged +# fabric stack #1559-#1562): SAP within-0.5 = 13.4% (27/201), MAE = 2.651. +# Ratchet up as later field fixes land, per #1568. +_MIN_WITHIN_HALF: float = 0.134 +_MAX_SAP_MAE: float = 2.652 _KNOWN_GAP_REASON = ( "pashub `from_site_notes` mapper does not int-code a main-heating string "