UK: blank FRS tenure silently becomes RENT_PRIVATELY
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 6
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 190
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PolicyEngine/microcosm
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
PolicyEngine/microcosm#1766 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/microcosm#1721 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
PolicyEngine/microcosm#1701 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
County rung: a malformed-geography refusal leaves an old county_surface.json success receiptĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PolicyEngine/microcosm#1638 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
PolicyEngine/microcosm#1431 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/microcosm
Issue tương tự
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NousResearch/hermes-official-plugins#538 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidateCó thể đã có người làm @houzhongyu đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày