UK: blank FRS tenure silently becomes RENT_PRIVATELY
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start at uk_runtime/frs_spine.py lines 1868-1869, where _map_dictionary_codes maps blank ptentyp2 to RENT_PRIVATELY, and read TENURE_MAP. Compare with how spi_housing_shell imputes tenure for SPI households. Done means blank-tenure rows are counted in the build receipt and either imputed or explicitly flagged rather than defaulted to private renting.
由索引模型根据 Issue 内容生成。
描述
uk_runtime/frs_spine.py:1868-1869 maps a blank FRS tenure code (ptentyp2) to RENT_PRIVATELY:
pe_household["tenure_type"] = _map_dictionary_codes(
household, "ptentyp2", TENURE_MAP, blank="RENT_PRIVATELY"
)
Private renting is also policyengine-uk's enum default, so a user can't tell a household with a reported tenure from one that defaulted. An external user asked whether records "take the default (renting privately)".
Asks:
- Count these rows in a build receipt.
- If there are more than a handful, impute tenure for them as
spi_housing_shelldoes for SPI households, rather than defaulting to private renting, which affects LHA, Housing Benefit and housing costs.
Drafted with AI assistance and checked against main at 8740c6f.
- 主要语言
- Python
- 星标
- 0
- 派生
- 6
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 190
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/microcosm 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 79/100
PolicyEngine/microcosm#1766 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
PolicyEngine/microcosm#1721 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
PolicyEngine/microcosm#1701 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
PolicyEngine/microcosm#1638 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
PolicyEngine/microcosm#1431 ·
维护者通常 1 天内回复
查看 PolicyEngine/microcosm 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
meetecho/juturna_nodes#43 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
TigreGotico/text2spoken#726 ·
维护者通常 1 天内回复
-
bug dependencies
难度 2/5 1-3 小时 新手友好度 83/100
nolte/claude-shared#822 ·
维护者通常 1 天内回复
-
`RequestHandler.build_request_kwargs` drops empty request bodies such as `{}` or `""`可能已有人在做 @abhirajadhikary06 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
typesense/typesense-python#170 ·
维护者通常 1 天内回复
-
claude-subscription-directsdk: tool calls with raw control characters in string values are dropped未关闭
难度 2/5 1-3 小时 新手友好度 72/100
NousResearch/hermes-official-plugins#538 ·
维护者通常 3 天内回复