mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Resolve every party-ceiling marker variant to its member 🟩
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7f00ee69e1
commit
3aa5dfc45f
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue