From 3aa5dfc45ffb2888df5c2e160538a11a615f1954 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 1 Jul 2026 09:37:41 +0000 Subject: [PATCH] =?UTF-8?q?Resolve=20every=20party-ceiling=20marker=20vari?= =?UTF-8?q?ant=20to=20its=20member=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- domain/epc/property_overrides/roof_party_ceiling_guard.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/domain/epc/property_overrides/roof_party_ceiling_guard.py b/domain/epc/property_overrides/roof_party_ceiling_guard.py index c4b446c3e..359cc219e 100644 --- a/domain/epc/property_overrides/roof_party_ceiling_guard.py +++ b/domain/epc/property_overrides/roof_party_ceiling_guard.py @@ -11,6 +11,12 @@ from domain.epc.property_overrides.roof_type import RoofType # match the same marker. _PARTY_CEILING_MARKERS: dict[str, RoofType] = { "anotherdwellingabove": RoofType.ADJACENT_ANOTHER_DWELLING_ABOVE, + "samedwellingabove": RoofType.ADJACENT_SAME_DWELLING_ABOVE, + "otherpremisesabove": RoofType.ADJACENT_OTHER_PREMISES_ABOVE, + # Both the "(another premises above)" adjacency and the redundant "Another + # Premises Above" taxonomy member normalise here; map to the parenthesised + # family (both resolve to no overlay, so there is no scoring difference). + "anotherpremisesabove": RoofType.ADJACENT_ANOTHER_PREMISES_ABOVE, }