Model/backend/documents_parser/tests
Khalim Conn-Kowlessar 5f9978ca33 Slice 102f-prep.7: Table N4 fixed durations ("24"/"16") in HP extended-heating helper
SAP 10.2 Appendix N3.5 Table N4 (PDF p.107) — heat-pump packages
with fixed daily heating durations:
  - "24" → N24,9 = 365 (continuous): every day at heating temperature,
    no off period → (days_in_month, 0) per month → MIT_zone = Th.
  - "16" → N16,9 = 365 (unimodal, 0700-2300): every day with single
    8h off → (0, days_in_month) per month → MIT_zone = Th − u1(8h).
  - "9" → standard SAP schedule (bimodal 7+8 off): falls through to
    `None` so the orchestrator applies the legacy bimodal path.

Cert 9418 (Daikin Altherma EDLQ05CAV3, PCDB 102421) lodges
`heating_duration_code = "24"` — worksheet (87) MIT_living = 21.0
every month (= Th1, no off period) and (90) MIT_elsewhere collapses
to Th2 directly. Pre-fix the bimodal cascade produced MIT ~17.8-19.8
(2.04°C low at Jan) and SAP was +2.20 over worksheet 84.6305.

Post-fix cert 9418 closes to SAP Δ +0.0296 (from +2.20) — the
residual is consistent with the same ~0.05 PSR-formula drift seen
in 5/7 cohort certs sharing PCDB 104568.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 16:28:46 +00:00
..
fixtures chore: stage cert 9501 fixtures (second boiler validation cert) 2026-06-01 16:28:45 +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 fix: address 22 project-wide test failures from previous sweep 2026-05-26 13:34:51 +00:00
test_elmhurst_extractor.py extract window frame details from elmhurst site notes 🟥 2026-04-27 15:50:25 +00:00
test_end_to_end.py P6.1 follow-on: unbox BuildingPartIdentifier at backend boundaries 2026-05-20 09:58:23 +00:00
test_extractor.py Handle wall thickness "Unmeasurable" 🟩 2026-04-30 16:41:16 +00:00
test_pdf.py rename example site notes to PasHub_ and add Elmhurst example 2026-04-24 13:01:51 +00:00
test_summary_pdf_mapper_chain.py Slice 102f-prep.7: Table N4 fixed durations ("24"/"16") in HP extended-heating helper 2026-06-01 16:28:46 +00:00