From 44752344a0e039e67ea67a4a5735a586cd6a2116 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 1 Jul 2026 22:56:12 +0000 Subject: [PATCH] Re-pin golden cert 0036 to expect the zoned tune-up its PCDB boiler now fires (#1399) Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/harness/test_report.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/harness/test_report.py b/tests/harness/test_report.py index 304f89408..7aa820a64 100644 --- a/tests/harness/test_report.py +++ b/tests/harness/test_report.py @@ -169,10 +169,17 @@ def test_few_measure_cert_surfaces_only_its_fired_measures_triggers() -> None: # Assert — 0036's gain-maximising package is solid-floor insulation plus the # low-energy-lighting upgrade (it lodges 7 low-energy + 0 incandescent fixed - # bulbs, so the LED top-up is a cheap positive-SAP lever, ADR-0023), and - # nothing else. + # bulbs, so the LED top-up is a cheap positive-SAP lever, ADR-0023) plus a + # zoned system tune-up: 0036 lodges its gas boiler as a PCDB main-heating + # index with no SAP code, which the heating generators now classify as a wet + # boiler eligible for a tune-up (#1399), so the boiler's controls upgrade + # joins the package. triggers: dict[str, MeasureTrigger] = _triggers_by_measure(report) - assert set(triggers) == {"solid_floor_insulation", "low_energy_lighting"} + assert set(triggers) == { + "solid_floor_insulation", + "low_energy_lighting", + "system_tune_up_zoned", + } assert triggers["solid_floor_insulation"].triggers == { "floor_insulation_thickness": None, "floor_construction_type": "Solid",