assessment-model/src
Khalim Conn-Kowlessar fac425762e fix(postcode-search): classify RH (HMO) family as addable residential
7 Leyton Avenue (UPRN 100031252876) came back from OS Places as RH03
("HMO Not Further Divided") and rendered as "Non-residential", so it
couldn't be added from the postcode-search "add properties" journey.

classifyOsCode decided "residential?" purely on an RD prefix, dropping the
whole RH (HMO) family — even though RD07 (the RD-family HMO code) was
already mapped to House. Extend the residential check to RH and map
RH01/RH02/RH03 to House (built form unknowable), consistent with RD07.

Updates ADR-0007's enumerated mapping table to stay truthful.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 10:33:07 +00:00
..
app Merge pull request #376 from Hestia-Homes/feature/bulk-document-download 2026-07-08 17:40:53 +01:00
lib fix(postcode-search): classify RH (HMO) family as addable residential 2026-07-09 10:33:07 +00:00
types next js 2025-12-08 12:20:07 +00:00
middleware.ts fixed filtering logic 2026-02-07 19:59:51 +00:00