Add protected Housing Benefit family premiums with explicit history input
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 8/100
Línea de trabajo
The work touches policyengine_uk/variables/gov/dwp/housing_benefit/housing_benefit_applicable_amount.py and a new premiums/family package of YAML and Python files, but the issue is a dense legal-design plan with pre-assessed categories and jurisdiction-specific closure dates. Pull request #2223 is already open against it, so the work is claimed. Done would mean the approved plan's files exist with test cases, which requires the maintainers' design context.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Approved plan C3 adds the protected Housing Benefit family premium, with ordinary and historical lone-parent amounts, jurisdiction-specific new-claim closure dates, one pre-assessed category and one derived formula. Eight files and one categorical input; no claim-history input matrix. Benefit and pension rates 2025 to 2026 (Housing Benefit: personal allowances, capital, non-dependant deductions and earnings disregards); Benefit and pension rates 2026 to 2027 (Housing Benefit: personal allowances, non-dependant deductions and disregards; cross-checked against the enacted 2026 Order); Housing Benefit family premium amounts (Paragraph 3: ordinary and historically protected lone-parent rates and conditions); Family premium closure and transitional protection (Regulations 1, 2 and 4: closure 1 May 2016 and saved existing families); NI family-premium abolition and transition (Regulations 1, 3 and 5; 5 September 2016 closure, 4 September protected awards)
Audited model surface
- Audited release:
policyengine-uk 2.106.1 - Audit unit:
variable:housing_benefit_applicable_amount - Last model modification: 2024-07-15
- Explicitly reviewed units:
variable:housing_benefit_applicable_amount— last model modification: 2024-07-15
- Audit date: 2026-10-09
- Periods reviewed: 2015 to 2026 rate history; GB 1 May 2016 and NI 5 September 2016 closure
- Jurisdictions: Great Britain and Northern Ireland
Findings and implementation parts
1. The applicable amount omits the family premium for protected awards and the distinct historical lone-parent amount.
Sources: Benefit and pension rates 2025 to 2026 (Housing Benefit: personal allowances, capital, non-dependant deductions and earnings disregards); Benefit and pension rates 2026 to 2027 (Housing Benefit: personal allowances, non-dependant deductions and disregards; cross-checked against the enacted 2026 Order); Housing Benefit family premium amounts (Paragraph 3: ordinary and historically protected lone-parent rates and conditions); Family premium closure and transitional protection (Regulations 1, 2 and 4: closure 1 May 2016 and saved existing families); NI family-premium abolition and transition (Regulations 1, 3 and 5; 5 September 2016 closure, 4 September protected awards)
- Add premiums/family/{amount,lone_parent_protected_amount,new_claim_end}.yaml, housing_benefit_family_premium_category.py and housing_benefit_family_premium.py. Integrate once in applicable amount, add focused YAML cases and changelog. Category supplies legally assessed continuous protection, not an inference from present lone-parent status; at least one legally included child is required. Ordinary pre-closure years can use existing family facts. Benefit and pension rates 2025 to 2026 (Housing Benefit: personal allowances, capital, non-dependant deductions and earnings disregards); Benefit and pension rates 2026 to 2027 (Housing Benefit: personal allowances, non-dependant deductions and disregards; cross-checked against the enacted 2026 Order); Housing Benefit family premium amounts (Paragraph 3: ordinary and historically protected lone-parent rates and conditions); Family premium closure and transitional protection (Regulations 1, 2 and 4: closure 1 May 2016 and saved existing families); NI family-premium abolition and transition (Regulations 1, 3 and 5; 5 September 2016 closure, 4 September protected awards)
- Add or update
referenceatpolicyengine_uk/variables/gov/dwp/housing_benefit/housing_benefit_applicable_amount.py→reference and protected family premium additionusing Benefit and pension rates 2025 to 2026 (Housing Benefit: personal allowances, capital, non-dependant deductions and earnings disregards); Benefit and pension rates 2026 to 2027 (Housing Benefit: personal allowances, non-dependant deductions and disregards; cross-checked against the enacted 2026 Order); Housing Benefit family premium amounts (Paragraph 3: ordinary and historically protected lone-parent rates and conditions); Family premium closure and transitional protection (Regulations 1, 2 and 4: closure 1 May 2016 and saved existing families); NI family-premium abolition and transition (Regulations 1, 3 and 5; 5 September 2016 closure, 4 September protected awards).
- Add or update
Uncertainties and exclusions
No verified dataset mapping for continuous award protection. From each jurisdiction's closure year, absent/NONE input omits protected premiums and may understate awards. The category must reflect all continuity and loss-of-protection conditions; the model does not reconstruct them. Annual input does not recover changes within the year. New-claim end dates are legal metadata, not a future freshness guarantee.
- Lenguaje dominante
- Python
- Estrellas
- 51
- Forks
- 34
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 177
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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/policyengine-uk
-
Personal allowance for 2016-17 is £10,600; it was £11,000Posiblemente ocupada @juaristi22 la tomó hoy. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
PolicyEngine/policyengine-uk#2359 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Northern Ireland business rates statistic is twice the OBR NI line: regional vs district ratesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PolicyEngine/policyengine-uk#2343 ·
Los mantenedores suelen responder en 1 día
-
Wealth and consumption shares divide by a weighted total that can be zeroPosiblemente ocupada @juaristi22 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PolicyEngine/policyengine-uk#2296 ·
Los mantenedores suelen responder en 1 día
-
Childcare funding rates are CPI-uprated 2024-25 values, below DfE's published 2025-26 and 2026-27 ratesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PolicyEngine/policyengine-uk#2183 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
PolicyEngine/policyengine-uk#2162 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PolicyEngine/policyengine-uk
Issues similares
-
bot-triaged module: LrScheduler module: optimizer triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
documentation glm5 llm-model
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vllm-project/vllm-ascend#19062 ·
Los mantenedores suelen responder en 1 día
-
Author Page: shuai-zhao-llmAbiertoauthor-page correction
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
acl-org/acl-anthology#10496 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Issue Type: Bug Report
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
celery/celery#10875 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
SasanLabs/VulnerableApp#836 ·
Los mantenedores suelen responder en 1 día