Raise PasHub SAP-accuracy floor to 13.4% within-0.5 on the merged fabric stack 🟩

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-14 16:55:03 +00:00
parent 1e9231a086
commit aa69462b5b

View file

@ -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 "