From 4f208f472c8749bd147036054dae0fbb9408bdfb Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 23 Jun 2026 09:59:15 +0000 Subject: [PATCH] =?UTF-8?q?test(corpus):=20ratchet=20SAP=20MAE=20floor=200?= =?UTF-8?q?.80=20->=200.79=20after=20the=20=C2=A712=20dual-immersion=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MAE improved 0.793 -> 0.789 via the Unknown-meter + dual-electric-immersion off-peak trigger (commit 22fe4f41). Ratchet the ceiling so the gain can't silently regress. within-0.5 unchanged (72.5%). pyright not installed in this container — strict type gate not run locally. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/infrastructure/epc_client/test_sap_accuracy_corpus.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py b/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py index e3447b47..16d7300f 100644 --- a/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py +++ b/tests/infrastructure/epc_client/test_sap_accuracy_corpus.py @@ -194,7 +194,11 @@ _CORPUS = Path( # stress worksheet (simulated case 46): closed its last ventilation residual # (our Jan ACH 9.14 -> 9.0748 exact; SAP 29 -> 30 = accredited Elmhurst). _MIN_WITHIN_HALF_SAP = 0.72 -_MAX_SAP_MAE = 0.80 +# 0.793 -> 0.789 via the §12 Unknown-meter + dual-electric-immersion off-peak +# trigger (RdSAP 10 PDF p.62): Apartment 241 (main 691 + 903 dual immersion) +# -5.38 -> -1.05. Worksheet-validated on "simulated case 48" (Elmhurst SAP 57, +# 10-Hour Off Peak). within-0.5 holds 72.5%. +_MAX_SAP_MAE = 0.79 _MAX_CO2_MAE_TONNES = 0.09 # t CO2 / yr vs co2_emissions_current _MAX_PE_PER_M2_MAE = 3.7 # kWh / m2 / yr vs energy_consumption_current