Repository navigation
Count pensions, veterans benefits and Railroad Retirement as Illinois TANF unearned income - #11186
Conversation
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Review at a59f780
This PR adds pensions, military retirement pay, non-Social Security survivor benefits, veterans benefits, Railroad Retirement, strike benefits and contributions to the Illinois TANF unearned income list. The change matches 89 Ill. Adm. Code 112.100 and 112.110 and the IDHS manual, the variables are the right ones, and no source is counted twice.
Verdict: APPROVE
Suggestions
- Coordinate with #10764. That open PR also adds
railroad_benefitsaftersocial_securityinpolicyengine_us/parameters/gov/states/il/dhs/tanf/income/sources/unearned.yaml(line 16 here). A test merge of the two heads gives a content conflict in this file. Whoever merges second must keep only onerailroad_benefitsline. If both lines stay,addssums the variable twice: a $775 a month Railroad Retirement annuity would count as $1,550 and Case 27 would go from $2 to $0. Consider a note on #10764, or remove the Illinois TANF line from #10764 when this PR merges first. - Optional test for no double counting across the new sources. The new sources do not overlap:
pension_incomeis only public and private pensions,military_retirement_incomeismilitary_retirement_payplusmilitary_retirement_pay_survivors,survivor_benefitsexcludes Social Security survivors, andrailroad_benefitsis separate fromsocial_security. Case 3 already shows this for military pay versus pensions. A one-line case withsocial_security_survivorsandsurvivor_benefitstogether would lock in the same for survivors. This is not required.
What I checked
- Sources read: 89 Ill. Adm. Code 112.110, items (a) to (mm). No item exempts pensions, annuities, Railroad Retirement, union benefits, contributions or veterans benefits in general. The veterans items are (o) Agent Orange, (aa) 100% VA disability up to the SSI level, and (kk) educational benefits. There is no exemption for VA aid and attendance or housebound amounts, so counting
veterans_benefitsin full is correct apart from the (aa), (kk) and (o) gaps the PR lists. - IDHS PM 08-01-07-c: "Nongovernment benefits such as private pensions and union benefits are nonexempt income." PM 08-01-07-e: contributions from relatives with no legal duty of support and from non-relatives are nonexempt unearned income.
financial_assistance(cash from friends or relatives outside the household) is the right variable. - Variable definitions:
pension_income= taxable + tax-exempt pension income (public and private). It does not includemilitary_retirement_pay,retirement_distributionsorrailroad_benefits, so no amount counts twice with the existing list. - Arithmetic in Cases 3, 4, 25 to 28 (payment level $777.29, $1 minimum).
- Tests on the PR head: Illinois TANF folder 133 passed; all Illinois baseline tests 1,001 passed; partner tests 623 passed.
- CI: all checks pass. The branch merges cleanly with
main. - #11181 (Illinois AABD) changes only AABD files. It has no shared file and no conflict with this PR.
- Changelog fragment
changelog.d/il-tanf-unearned-income.fixed.mdis at the top level with a valid type.
MaxGhenis
left a comment
There was a problem hiding this comment.
Agent review for Max, written by Claude Code for Max Ghenis.
Thanks for expanding Illinois TANF income coverage. A Codex cloud task reviewed a59f780 (GPT-6.2 Sol at Extra High effort; chat https://chatgpt.com/local/6b0c5090-f3e4-83e9-872b-582614a570e9). Its verdict is request changes, with 7 P1 findings:
- Parent disability payments. At
income/sources/unearned.yaml:12–17,il_tanf_countable_unearned_income.py:19andil_tanf_payment_eligible_parent.py:16, a parent with two eligible children and $800 monthly Railroad Retirement disability should yield a two-person unit, $0 countable and a $463 January 2026 grant. The head gives three people, $800 countable and $0. Qualifying 100% VA disability also lacks a disregard (IDHS PM and WAG 08-01-07-c, PM 10-04-04, and MR #25.39, New Payment Levels). - Exempt VA payments.
income/sources/unearned.yaml:17andil_tanf_gross_unearned_income.yaml:17count $300 monthly from $3,600 in annual VA educational assistance and pay $477. Expect $0 countable and a $777 grant (IDHS PM 08-01-07-b and 08-01-07-z). - Exempt birthday gift.
income/sources/unearned.yaml:27counts $4 monthly from a one-time $48 gift from outside the household, leaving a parent and two children $773 in January. Expect $0 countable and $777 under the $50 quarterly exemption (IDHS PM 08-01-07-e and 08-01-07-q). - Child survivor income.
il_tanf_countable_unearned_income.py:17–19drops an eligible child’s $100 monthly non-Social-Security survivor payment listed inincome/sources/unearned.yaml:23. The head counts $0 and pays $777. Expect $100 countable and $677 (IDHS PM 10-02-02-a, 10-02-02-c and 10-02-03). - Grant cutoffs.
integration.yaml:859–863uses the levels fromil_tanf_payment_level_for_initial_eligibility.py:33–34andil_tanf_payment_level_for_grant_calculation.py:49–58. At $616 per month in ordinary Railroad Retirement, a parent with one child should receive $1 and gets $0. At $776.25 per month, a parent with two children should receive $0 and gets $1 (IDHS MR #25.39, New Payment Levels, and PM 10-01-02). - Variable contributions.
il_tanf_gross_unearned_income.py:11–14averages $200 monthly contributions starting in July into $100 monthly and pays $677 in both January and July. Expect $0 countable and $777 in January, then $200 countable and $577 in July (IDHS PM 10-01-03-d). - Downstream checks in the description. The description calls three dependencies direct. With positive
il_tanf, take-up and reported receipt both false, and other routes off, a direct check would returntrue. Their TANF branches returnfalse, consistent with participation or reported receipt, atil_pfae_has_highest_priority_factor.py:35,il_pi_is_deep_poverty.py:25andil_ipass_assist_categorical_eligible.py:23(PFAE enrollment form, p. 2, Prevention Initiative form, p. 2, and I-PASS Assist, p. 1).
Also worth fixing (P2):
- Negative cash assistance offsets pension receipts. The exemption tests also assume blanket exclusions for child support and guaranteed income (IDHS PM 08-01-07, 08-01-07-f and 08-01-07-aa).
Confirmed
- The two changed YAML files passed 5 and 28 cases, and all 251 source-conflict tests passed.
Behavior that predates this PR:
- The tax-head/spouse filter, grant-level formulas and annual averaging predate the PR.
Proposed YAML
- name: Railroad disability below SSI ceiling leaves a child-only grant
period: 2026-01
input: &family
people:
parent: {<<: &adult {age: 40, immigration_status: CITIZEN, ssi: 0}, is_disabled: true, railroad_benefits: 9600}
child1: &child1 {age: 5, immigration_status: CITIZEN, ssi: 0, is_tax_unit_dependent: true}
child2: &child2 {<<: *child1, age: 3}
tax_units: {tax: {members: [parent, child1, child2]}}
spm_units: {spm: {members: [parent, child1, child2]}}
households: {home: {members: [parent, child1, child2], state_code: IL}}
output: {il_tanf: 463, il_tanf_countable_unearned_income: 0, il_tanf_assistance_unit_size: 2}
- name: Ordinary survivor income paid to a child in the assistance unit counts
period: 2026-01
input:
<<: *family
people: {parent: *adult, child1: {<<: *child1, survivor_benefits: 1200}, child2: *child2}
output: {il_tanf_countable_unearned_income: 100, il_tanf: 677}
Follow-up on the 11-29 Codex review, at a59f780I reproduced all seven P1 cases at this head and compared each with the old unearned income list. All seven are correct about the law. None is a wrong value that this PR creates for a typical household, and most are gaps that the PR already lists under "Not in this PR". So my APPROVE stays. Please open one follow-up issue, linked here, for items 1 to 5, and make the two small text fixes below. For the follow-up issue:
Small fixes in this PR:
|
… TANF unearned income 89 Ill. Adm. Code 112.100 counts all unearned income that 112.110 doesn't exempt, and 112.110 has no exemption for pensions, veterans benefits, Railroad Retirement, union benefits or contributions. The Illinois TANF unearned income list had pensions and veterans benefits commented out as exempt and left out Railroad Retirement, military retirement pay, survivor benefits, strike benefits and contributions from relatives. Add them, cite 112.110(ee) and (mm) for the two sources that stay exempt, and fix the test that asserted pensions and veterans benefits were exempt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e 5, add a survivor no-double-count case Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
a59f780 to
0c76707
Compare
|
Thanks, Pavel and Max. The in-PR items are in Fixed here
In #11363
The issue keeps each item's citation and example household, and says which items predate this PR. #10764 Verification
|
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Review at 0c76707
This PR adds pensions, military retirement pay, non-Social Security survivor benefits, veterans benefits, Railroad Retirement, strike benefits and contributions to the Illinois TANF unearned income list. The new commit fixes the text items from the earlier reviews, qualifies Case 5, and adds Case 6 for survivor benefits. #11363 now tracks the gaps that need new inputs or that predate this PR.
Verdict: APPROVE
Earlier items
| Item | Status at this head |
|---|---|
| Test comments cite 777.29 (our 11-29 comment) | Fixed. The header of section 18 in integration.yaml now cites the $777 in MR #25.39 and says the model level is 777.29 unrounded. The expected grants in Cases 25 to 28 are the same at $777. |
| Description: downstream readers (review item 7) | Fixed. PFAE, Prevention Initiative and I-PASS Assist read tanf or receives_tanf. IHWAP reads il_tanf. SMIB reads il_tanf_eligible. I confirmed each one in the code. |
| Optional test for no double counting of survivor benefits | Fixed. Case 6 gives $200 a month for $1,200 a year of social_security_survivors plus $1,200 a year of survivor_benefits. |
| Case 5 wording (review P2: child support and guaranteed income) | Fixed. The name and comment now call the exclusion the model's reading of 112.110(ee) and (mm), and cite PM 08-01-07-f and PM 08-01-07-aa. Both PM citations match the manual text. |
| 1. Parent disability disregard, exclusion and liability | Deferred to #11363. See the note below. |
| 2. VA educational benefits | Deferred to #11363. Needs a new input. |
| 3. $50 a quarter petty income | Deferred to #11363. At most about $16.67 a month per person. |
| 4. A child's unearned income | Deferred to #11363. Predates this PR. |
| 5. Whole-dollar payment levels | Deferred to #11363. Predates this PR. |
| 6. Month-by-month budgeting of varying income | Deferred to #11363. Predates this PR. |
| P2: negative entries | Deferred to #11363 (item 7). |
Item 1 is the only deferred item that gives a wrong value that this PR changes. A disabled parent with $777 to about $2,945 a month of Railroad Retirement or 100% VA disability goes from $777 (too high) to $0 (too low). Above about $2,945 a month, the new $0 is correct. Ordinary VA compensation below a 100% rating has no disregard, so it is correct to count it in full. #10764 adds the SSI-level disregard for Railroad Retirement disability, which removes part of this gap. #11363 describes the rest with a test household. I accept the deferral.
Merge order with #10764
#10764 (head 70f896dc) adds il_tanf_countable_railroad_benefits after social_security in gov/states/il/dhs/tanf/income/sources/unearned.yaml. This PR adds railroad_benefits and veterans_benefits at the same place. A test merge of the two heads gives content conflicts in two files:
unearned.yaml, the sources list.il_tanf_countable_railroad_benefitsreturnsrailroad_benefitsless the disability disregard. If both lines stay, railroad income counts about twice. A $775 a month annuity counts as $1,550.unearned.yaml, the references. #10764 changes the 112.110 link to the Illinois Register PDF. This PR adds the PM 08-01-07-c and -e links after it.il_tanf_gross_unearned_income.yaml. Both PRs add cases at the end of the file. In the merged file, #10764's two cases come after this PR's Case 6, not after Case 2.
The PR that merges second must:
- Keep
il_tanf_countable_railroad_benefitsandveterans_benefits, and removerailroad_benefits. - Keep one 112.110 link and both PM links.
- Keep all cases from both PRs in the test file.
- Update the NOTE above the list. After #10764, Railroad Retirement disability gets the SSI-level disregard. Only Social Security and 100% VA disability still count in full.
I resolved the merge this way and ran the Illinois TANF folder: 136 passed. With both railroad lines kept, 5 cases fail (3 in il_tanf_gross_unearned_income.yaml and 2 in integration.yaml), so CI catches the double count.
Suggestions
- Description, "Who is affected" and "Tests". Both still say "payment level $777.29". The test header now says the published level is $777 and 777.29 is the model value. Consider the same wording in the description. This does not change any value.
- Case 27 and Case 28 names (
integration.yaml). The names say "$2.29 below" and "$0.29 below the payment level". At the published $777, the Case 28 household is $0 below. Consider "below the model payment level". The expected values are correct at both levels. This is optional.
What I checked
- Head
0c76707a61. It is two commits on currentmain(50756f2c). CI: 35 of 35 checks pass. - Illinois TANF test folder at the head (
policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf): 134 passed, 0 failed. With #10764 merged and resolved as above: 136 passed. With both railroad lines: 131 passed, 5 failed. - Case 5:
child_support_receivedandgi_cash_assistanceare not in the list, so the result is $0. Correct. - Case 6:
social_securityaddssocial_security_survivors, andsurvivor_benefitsis "Survivor benefits other than Social Security survivor benefits". (1,200 + 1,200) / 12 = 200. Correct. - Cases 25 to 28: (15,650 + 2 x 5,500) / 12 = 2,220.83, and 0.35 x 2,220.83 = 777.29. Grants: $0, floor(477.29) = $477, floor(2.29) = $2, and $0 (0.29 is below the $1 minimum in PM 10-01-02). At the published $777, the grants are $0, $477, $2 and $0. All match.
- Sources read: PM 08-01-07-f (child support received directly, less a $100 or $200 disregard) and PM 08-01-07-aa (named research projects, for example Every Dollar Counts, exempt for up to 60 months). Both match the Case 5 comment. MR #25.39: $777 for 3 people.
- #11363: it lists items 1 to 6 and the two P2 notes, each with a citation, a household example and whether it predates this PR.
- #10764 at
70f896dc:il_tanf_countable_railroad_benefitsand the test merge above.
Found while working on #11181 (Illinois AABD pension income), part of the #10812 state credit income audit follow-ups.
What was wrong
Illinois TANF didn't count pension income or veterans benefits.
pension_incomeandveterans_benefitswere commented out as "exempt" ingov.states.il.dhs.tanf.income.sources.unearned, and Railroad Retirement, military retirement pay, non-Social Security survivor benefits, union strike benefits and contributions from relatives weren't listed. A parent whose only income was a $1,000 a month pension got the full payment level ($777 a month for a parent and 2 children in January 2026).The rules count this income:
These are HTML pages, so there are no PDF page anchors.
What changes
gov.states.il.dhs.tanf.income.sources.unearnednow also lists:pension_incomemilitary_retirement_incomesurvivor_benefitsveterans_benefitsrailroad_benefitsstrike_benefitsfinancial_assistanceThe two remaining "exempt" comments now cite their rules and stay excluded:
child_support_received(112.110(ee), "Total child support payments made to an assistance unit") andgi_cash_assistance(112.110(mm), up to 60 months of assistance from a research program on poverty or financial stability). I added the two PM references and a note that the list counts the 112.110(aa) disability payments in full. No formula changes.Who is affected
Illinois TANF families where a parent (head or spouse; the model counts only their unearned income) has any of the incomes above. Their TANF falls by the monthly amount, or ends once that income comes within $1 of the payment level. For a parent and 2 children in January 2026 (payment level $777.29):
Programs that read TANF follow the lower benefit: through the take-up-gated
tanf(orreceives_tanf), SNAP income, school meals categorical eligibility, the ISBE Preschool for All Expansion and Prevention Initiative priority rules, and I-PASS Assist categorical eligibility; directly, IHWAP categorical eligibility (readsil_tanf) and SMIB categorical eligibility (readsil_tanf_eligible).Tests
No #10812 audit cases to move: this gap wasn't one of the audit's cases.
Added:
income/unearned/il_tanf_gross_unearned_income.yaml: Case 3 (private, public and military pensions, $800 a month), Case 4 (Railroad Retirement, survivor benefits, strike benefits and contributions, $750 a month) and Case 5 (child support and guaranteed income pilot payments still exempt, $0).integration.yaml, a parent and 2 children in 2026-01, payment level 0.35 x (15,650 + 2 x 5,500) / 12 = $777.29:Changed:
il_tanf_gross_unearned_income.yamlCase 2 asserted that $2,400 of veterans benefits and $1,200 of pension a year were exempt (expected $0). That contradicts 112.100 and 112.110, so it now expects (2,400 + 1,200) / 12 = $300, and the name says they count.No other existing expected value changed. No existing Illinois or partner case gives a TANF household any of the added incomes.
Not in this PR
#11363 tracks these and the other gaps the reviews raised (petty income, whole-dollar payment levels, monthly budgeting of contributions, negative entries).
veterans_benefitscan't separate the exempt VA educational benefits (112.110(kk)) and Agent Orange payments (112.110(o)).estate_income; PM 08-01-07-i budgets trust payments for a child) and gambling winnings (gambling_winnings; prizes above the $50 a quarter exempt by 112.110(cc)) also look countable under 112.100 but aren't listed. I left them for a separate check.il_tanf_countable_unearned_incomecounts only the head's and spouse's unearned income, so a child's unearned income (for example Social Security survivor benefits) isn't counted.axiom: needed (no encoder run was authorized for this PR)
Tested on Modal: run
w1-il-tanf-a, 320/320 passed (319 YAML files: the Illinois test folder, the partner tests, the school meals countable income test and three Medicaid category tests with Illinois households that have these incomes; plustest_source_conflicts.py).🤖 Generated with Claude Code