Give the military-connection variable a program-neutral name and fix its marital-unit note
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue nà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
- 45/100
Hướng nghiên cứu
Start with the definition of is_snap_alien_military_connected and its age parameters under gov.usda.snap.eligibility.waiting_period.exceptions.military, then find its readers in the Medicaid, Medicare Savings Program and Nevada LIHEAP eligibility variables. Rename it to a program-neutral name, move the age parameters to a shared path, and fix the marital-unit note to match infer_missing_marital_units. Done when the existing SNAP, Medicaid, Medicare Savings Program, LIHEAP and Oklahoma LIHEAP tests pass under the new name with unchanged outputs.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
After PolicyEngine/policyengine-us#10950, is_snap_alien_military_connected decides the military exemption of 8 U.S.C. 1612 and 1613, or Nevada's version of it, for four programs:
- SNAP's waiting period;
- Medicaid and the Medicare Savings Programs, through
is_federal_medicaid_immigration_status_eligible; - Nevada LIHEAP, through
nv_liheap_immigration_eligible. Nevada's Division of Social Services exempts veterans, active duty members, and their spouses and unmarried dependent children from the program's five-year bar in Section 302 C VII of its manual.
Its name and its parameters, under gov.usda.snap.eligibility.waiting_period.exceptions.military, still say SNAP. A reform aimed at SNAP's dependent-child ages therefore changes all four programs. #10950 notes the sharing in the documentation, but the name hides it.
Its documentation also says a household that omits marital units "gets a single marital unit holding every member". Since #10000, infer_missing_marital_units gives each person their own unit unless it pairs a likely couple, so one member's service no longer marks every member.
Possible fix
- Rename the variable for the exemption itself, for example
is_alien_military_connected, and update its readers. - Move its two age parameters to a shared path, and keep the note that the ages come from 7 CFR 273.4(a)(6)(ii)(G)(3), since Congress set no ages for the exemption in 8 U.S.C. 1612 and 1613.
- Rewrite the marital-unit sentence to match
infer_missing_marital_units.
No result changes. The test files that name the variable need the new name, Oklahoma LIHEAP's among them, since that program reads SNAP's immigration test. The existing SNAP, Medicaid, Medicare Savings Program and LIHEAP cases should then pass with the same outputs.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Python
- Star
- 178
- Fork
- 224
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 309
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-us
-
Secondary earnings threshold description names a stale 2035 capCó thể đã có người làm @Prabh022 đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
PolicyEngine/policyengine-us#11252 ·
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 78/100
PolicyEngine/policyengine-us#11201 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income testCó thể đã có người làm @DTrim99 đã nhận 4 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
PolicyEngine/policyengine-us#11199 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
PolicyEngine/policyengine-us#11192 ·
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 90/100
PolicyEngine/policyengine-us#11084 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PolicyEngine/policyengine-us
Issue tương tự
-
S2-12 Atualizar README.mdĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
cofade/open-garden-planner#1044 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
python-commandline-toolsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
codecrafters-io/build-your-own-x#2126 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
julianleno/cortai#10 ·
-
difficulty:easy func:python os:windows prio:high type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NatronGitHub/Natron#2029 ·
Maintainer thường phản hồi trong vòng 1 ngày