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) <noreply@anthropic.com>
This commit is contained in:
Khalim Conn-Kowlessar 2026-07-01 22:56:12 +00:00
parent de9159f9b8
commit 44752344a0

View file

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