UK: blank FRS tenure silently becomes RENT_PRIVATELY
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 6
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 190
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PolicyEngine/microcosm
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
PolicyEngine/microcosm#1766 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PolicyEngine/microcosm#1721 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
PolicyEngine/microcosm#1701 ·
Los mantenedores suelen responder en 1 día
-
County rung: a malformed-geography refusal leaves an old county_surface.json success receiptAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PolicyEngine/microcosm#1638 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
PolicyEngine/microcosm#1431 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PolicyEngine/microcosm
Issues similares
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NousResearch/hermes-official-plugins#538 ·
Los mantenedores suelen responder en 3 días
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidatePosiblemente ocupada @houzhongyu la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MakazhanAlpamys/Soup#3415 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días