Household net income leaves out armed forces independence payment
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 65/100
Línea de trabajo
Read household_benefits.py and its HOUSEHOLD_BENEFIT_VARIABLES definition, then find the existing tests for household_benefits and add a case showing AFIP is counted. Check whether issue #2809 has moved the list into programs.yaml; if so, add the AFIP entry beside afcs there. Before changing HBAI_HOUSEHOLD_NET_INCOME_ADDS in hbai_household_net_income.py, establish whether DWP's Households Below Average Income counts AFIP. Done when the household benefit total includes AFIP and the test passes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
household_benefits adds afcs but not armed_forces_independence_payment, so household net and gross income leave out armed forces independence payment (AFIP). afcs adds only afcs_reported, the FRS's benefit code 8, and AFIP's documentation says "It is not part of afcs."
On main at 5c7744144:
HOUSEHOLD_BENEFIT_VARIABLESinhousehold_benefits.pylistsafcsand no AFIP, andhousehold_net_income,household_net_income_ahcandhousehold_gross_incomeeach addhousehold_benefits.HBAI_HOUSEHOLD_NET_INCOME_ADDSinhbai_household_net_income.pylistsafcs,pipanddla, and no AFIP.- The other readers of AFIP, such as the benefit cap exemptions and the severe disability premium, test receipt. The Childcare Offer for Wales counts the amount in its own income test, and none of them adds AFIP to household income.
policyengine-uk-data doesn't set armed_forces_independence_payment, so the gap shows in households a user enters with AFIP rather than in survey aggregates.
Fix
Add armed_forces_independence_payment beside afcs in HOUSEHOLD_BENEFIT_VARIABLES, with a test that household_benefits counts it. #2809 moves that list into programs.yaml and flags afcs there as budget: benefit. If #2809 lands first, add an AFIP entry beside it. Before adding AFIP to HBAI_HOUSEHOLD_NET_INCOME_ADDS, check whether DWP's Households Below Average Income counts it.
- Lenguaje dominante
- Python
- Estrellas
- 53
- Forks
- 34
- Merge medio
- 3 d 10 h
- PR fusionados (30 d)
- 321
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
-
Lift the Universal Credit benefit cap for a claimant who receives War Widow's PensionPosiblemente ocupada @juaristi22 la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PolicyEngine/policyengine-uk#2792 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
PolicyEngine/policyengine-uk#2896 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
PolicyEngine/policyengine-uk#2894 ·
Los mantenedores suelen responder en 2 días
-
Scottish Budget 2027-28: Scottish property income rates, council tax growth and a freeze switch, Bands I and J, and missing Scottish paymentsPosiblemente ocupada @vahid-ahmadi la tomó hace 2 días. Abierto
PolicyEngine/policyengine-uk#2891 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
January 2027 price cap: kWh, a mains gas flag and tariff parameters, the cap's consumption basis, and Northern IrelandPosiblemente ocupada @vahid-ahmadi la tomó hace 2 días. Abierto
PolicyEngine/policyengine-uk#2890 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
Todos los issues de PolicyEngine/policyengine-uk
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
pylint-dev/pylint#11791 ·
Los mantenedores suelen responder en 1 día
-
Rasterio granule reads never retry, so one 503 (Service Unavailable) fails the whole requestPosiblemente ocupada @chuckwondo la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
developmentseed/titiler-cmr#305 ·
Los mantenedores suelen responder en 1 día
-
community enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día