Household net income leaves out armed forces independence payment
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 53
- Fork
- 34
- Merge trung bình
- 3 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 323
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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/policyengine-uk
-
Lift the Universal Credit benefit cap for a claimant who receives War Widow's PensionCó thể đã có người làm @juaristi22 đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/policyengine-uk#2792 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
PolicyEngine/policyengine-uk#2881 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PolicyEngine/policyengine-uk#2879 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
PolicyEngine/policyengine-uk#2878 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`inflation_adjustment` prices to the year the simulation runsCó thể đã có người làm @MaxGhenis đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PolicyEngine/policyengine-uk#2875 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PolicyEngine/policyengine-uk
Issue tương tự
-
community enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
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 77/100
Hochfrequenz/sapgui.mcp#1039 ·
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 88/100
didi/helixharness#18 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
API /search : typer la réponseĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dataforgoodfr/democracy-watch#46 · 1 reaction ·