Model/tests/domain/epc
Jun-te Kim a680d65188 fix(overlay): synthesise a coherent gas-boiler heating system on Landlord Override
A Landlord heating-system override was applied as a sparse patch, so the
replaced system's fields bled through. A storage flat reclassified as a gas
combi (property 728513) kept mains_gas=False, heating category 7, the 2401
storage charge control, a Dual meter and an electric-immersion cylinder — an
incoherent record that gated out the gas-boiler-upgrade Measure and made the
heating Generator read the dwelling as off-gas (offering HHRSH storage).

Extend the ADR-0035 drag-along to gas boilers (Table 4b 102/104/120): the
overlay now sets the whole coherent companion set — mains_gas, gas main fuel,
heating category 2, fanned flue, full modern controls (2106), a single-rate
meter, and hot water from the main system with the cylinder set from the boiler
type (combi → none, regular/CPSU → cylinder). The main_fuel overlay also flips
mains_gas=True for a "mains gas" fuel. Non-off-peak archetypes now drag an
explicit Single meter so a system switch never leaves a stale Dual.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 12:48:33 +00:00
..
__init__.py Map landlord-override property type and built form to gov EPC codes 🟩 2026-06-16 15:07:09 +00:00
test_attribute_overlay.py move overlas to its own thing 2026-06-18 10:04:14 +00:00
test_construction_age_band_overlay.py Group landlord property-override enums under domain/epc/property_overrides 🟪 2026-06-19 14:49:58 +00:00
test_glazing_overlay.py Group landlord property-override enums under domain/epc/property_overrides 🟪 2026-06-19 14:49:58 +00:00
test_main_fuel_overlay.py fix(overlay): synthesise a coherent gas-boiler heating system on Landlord Override 2026-06-26 12:48:33 +00:00
test_main_heating_system_overlay.py fix(overlay): synthesise a coherent gas-boiler heating system on Landlord Override 2026-06-26 12:48:33 +00:00
test_override_code_mapping.py Group landlord property-override enums under domain/epc/property_overrides 🟪 2026-06-19 14:49:58 +00:00
test_roof_type_overlay.py landlord override data added 2026-06-20 12:57:54 +00:00
test_wall_type_overlay.py landlord override data added 2026-06-20 12:57:54 +00:00
test_water_heating_overlay.py Group landlord property-override enums under domain/epc/property_overrides 🟪 2026-06-19 14:49:58 +00:00