Model/backend/documents_parser/tests
Khalim Conn-Kowlessar 26e0584855 Record Elmhurst-validation provenance finding (#1649)
Two outputs of validating the Wythenshawe cohort against accredited Elmhurst:

1. Harness note: the DB-oracle residual tail is not engine defects. The two
   worst under-raters, 6 Barry Road (ours 60.12, oracle 62) and 87 Alderue
   (ours 61.80, oracle 63), were re-keyed into accredited Elmhurst on our exact
   inputs — Elmhurst returned 60 and 62, matching our engine and both below the
   lodged oracle. So our engine computes correct RdSAP; the lodged certs carried
   a lighter input set (dropped the surveyed 17.4 m2 solid-brick alternative
   wall, +1.7 SAP). It's input-provenance drift, not a calculation gap — don't
   chase these as engine bugs or tune the engine to close them. Corrects the
   earlier "spec-literal alt-wall" note.

2. epc-to-elmhurst skill gotcha: give Elmhurst the RAW surveyed room height, not
   the engine's storey height. The mapper already adds +0.25 m to upper floors
   (_UPPER_FLOOR_HEIGHT_ADD_M), so feeding sap_floor_dimensions.room_height_m
   makes Elmhurst double-add the joist void (~1 SAP too low — it under-scored
   6 Barry 60->59 until the first-floor height was corrected 2.76 -> raw 2.51).

Comment/doc only; no behaviour change (harness still 89.2%/0.297, pyright clean).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 09:16:54 +00:00
..
fixtures Re-pin Wythenshawe accuracy harness to the DB oracle (#1649) 2026-07-19 11:40:51 +00:00
__init__.py Map to RdSapSiteNotes from site notes JSON 🟥 2026-04-16 13:54:03 +00:00
test_elmhurst_end_to_end.py rename mains_gas to gas_connection_available 2026-07-01 10:50:58 +00:00
test_elmhurst_extractor.py fix(extractor): drop windows-table header remnant from first window glazing type 2026-06-02 22:54:49 +00:00
test_end_to_end.py PasHub SAP accuracy: infiltration inputs + immersion DHW + lights/lobby/heat-network (#1615) 2026-07-16 00:30:55 +01:00
test_extractor.py Fix six PasHub from_site_notes extractor/mapper defects (#1649) 2026-07-19 11:30:00 +00:00
test_heating_systems_corpus.py Merge remote-tracking branch 'origin/main' into feature/per-cert-mapper-validation 2026-06-13 22:20:15 +00:00
test_pashub_sap_accuracy.py PasHub SAP accuracy: refresh 5 Paxton fixture to the current V5 (MEV) re-survey 🟩 2026-07-16 00:52:33 +00:00
test_pashub_sap_accuracy_lrha_wave3.py Document LRHA WAVE 3 end-state coverage and residual blocks 🟩 2026-07-16 16:41:32 +00:00
test_pashub_sap_accuracy_wythenshawe.py Record Elmhurst-validation provenance finding (#1649) 2026-07-20 09:16:54 +00:00
test_pdf.py rename example site notes to PasHub_ and add Elmhurst example 2026-04-24 13:01:51 +00:00
test_room_heater_worksheet_001431.py S0380.239: system-build walls take masonry structural infiltration (0.35) 2026-06-05 19:00:02 +00:00
test_summary_pdf_mapper_chain.py fix(roof): bill at-rafters insulation on RdSAP 10 Table 16/18 column (2) 2026-06-16 04:42:44 +00:00