From 8a70d222784ab3f7101e22d0aa7f447d42bdb671 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 16 Jun 2026 06:23:11 +0000 Subject: [PATCH] test(corpus): ratchet SAP ceiling 1.00->0.99 (detailed-RR common walls) Co-Authored-By: Claude Opus 4.8 --- tests/infrastructure/epc_client/test_sap_accuracy_corpus.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py b/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py index a19c9b6d..aa05c9af 100644 --- a/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py +++ b/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py @@ -92,9 +92,11 @@ _CORPUS = Path( # Declaring + threading slope/stud into `detailed_surfaces` (cascade already # routes both to the roof aggregate) recovered the 15-cert /tmp cohort from # mean|err| 4.26 -> 2.05 (e.g. 0390-2538 +5.95 -> +3.56). Corpus within-0.5 -# 67.3% -> 67.5% (MAE 1.020 -> 0.987). +# 67.3% -> 67.5% (MAE 1.020 -> 0.987). The follow-on `common_wall_*` Detailed-RR +# surfaces (billed at main-wall U, deducted from the ยง3.10.1 residual) took the +# 6-cert detailed-common-wall cohort 2.43 -> 1.25; corpus -> 67.6% (MAE 0.979). _MIN_WITHIN_HALF_SAP = 0.67 -_MAX_SAP_MAE = 1.00 +_MAX_SAP_MAE = 0.99 _MAX_CO2_MAE_TONNES = 0.35 # t CO2 / yr vs co2_emissions_current _MAX_PE_PER_M2_MAE = 16.0 # kWh / m2 / yr vs energy_consumption_current