Map API roof_construction code 9 ("another premises above") to None

Same party-ceiling semantics as the already-mapped code 7 ("another
dwelling above" / "same dwelling above") — the unit has no exposed
roof, so there's nothing for the cascade to compute a U-value for.
Confirmed against the live cert (uprn 10013320122): roofs[].description
= "(another premises above)", roof_insulation_location = "ND" (the
codebase's established "no exposed roof" signal).

Surfaced by 1 failed modelling_e2e subtask on portfolio 817
(task_source='modelling_e2e', job_completed > '2026-07-03 12:50:37.555+01:00').
This commit is contained in:
Jun-te Kim 2026-07-03 13:24:10 +00:00
parent f629b42bd2
commit 71b970a697

View file

@ -4445,6 +4445,9 @@ _API_ROOF_CONSTRUCTION_TO_STR: Dict[int, Optional[str]] = {
6: None,
7: None,
8: "Pitched, sloping ceiling",
# "(another premises above)" per a live cert (uprn 10013320122) — same
# party-ceiling semantics as code 7, just "premises" not "dwelling".
9: None,
}