Give the military-connection variable a program-neutral name and fix its marital-unit note
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 178
- Fork
- 224
- Merge medio
- 2g 7h
- PR unite (30g)
- 309
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PolicyEngine/policyengine-us
-
Secondary earnings threshold description names a stale 2035 capForse già presa @Prabh022 l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
PolicyEngine/policyengine-us#11252 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PolicyEngine/policyengine-us#11201 ·
I maintainer di solito rispondono entro 2 giorni
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income testForse già presa @DTrim99 l’ha presa 4 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
PolicyEngine/policyengine-us#11199 ·
I maintainer di solito rispondono entro 2 giorni
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
PolicyEngine/policyengine-us#11192 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
PolicyEngine/policyengine-us#11084 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di PolicyEngine/policyengine-us
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
bad-antics/lateralus-lang#1140 ·
I maintainer di solito rispondono entro 4 giorni
-
Groq: SQL fallback call sends tools with response_format, so a failed tool loop never recoversApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
fixture good first issue help wanted vendor:cisco
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100