Mapper reads 'Individual Trickle Vent' label variant 🟥

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-06-30 13:43:48 +00:00
parent 3461b54498
commit 33061ba347

View file

@ -255,3 +255,17 @@ def test_trickle_vent_area_read_from_legacy_field_label() -> None:
# Assert
assert vent is not None
assert vent.trickle_vent_area_mm2 == 1700
def test_trickle_vent_area_read_from_individual_field_label() -> None:
# Arrange — "Individual" variant used in some MagicPlan templates
fields = [_make_survey_field(
"Individual Trickle Vent Effective Area (mm2) (No Code Then Width x Height)", "900"
)]
# Act
vent = _map_window_ventilation(fields)
# Assert
assert vent is not None
assert vent.trickle_vent_area_mm2 == 900