Repository navigation
Conversation
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Review at 18f7d24
This PR adds pension_income, veterans_benefits and railroad_benefits to the Illinois AABD unearned income list. The change agrees with 89 Ill. Adm. Code 113.100 and 113.113 and with IDHS PM 08-02-06-c, and the tests are correct. One item needs attention before merge: military retirement pay and non-Social Security survivor annuities are still not counted. An open PR also edits the same lines.
Verdict: REQUEST_CHANGES
Should address
- Military retirement pay and survivor annuities are still left out.
military_retirement_income(military_retirement_pay+military_retirement_pay_survivors) andsurvivor_benefitsare not part ofpension_income. The federal SSI list counts both (gov/ssa/ssi/income/sources/unearned.yaml), but the AABD list atunearned.yaml:9-29does not. PM 08-02-06-c budgets government benefits and pensions as nonexempt, and 113.113 has no exemption for them. Failing input, 2026-01, Cook County, age 70,takes_up_ssi_if_eligible: false:military_retirement_pay: 40_000: expectedil_aabd_gross_unearned_income3,333.33 andil_aabd0. Actual 0 and 851.33.survivor_benefits: 40_000: same result, actualil_aabd851.33.
This is the same bug that the PR fixes for other pensions. Please addmilitary_retirement_incomeandsurvivor_benefitsto the list, with a test for each.
Suggestions
-
Overlap with open PR #10764 on the same lines. PR #10764 ("Count railroad retirement benefits as income in state and county benefit programs") also adds
- railroad_benefitsafter- social_securityinpolicyengine_us/parameters/gov/states/il/dhs/aabd/income/sources/unearned.yaml(lines 9-11 here). It also edits the Illinois TANF list that #11186 changes. The two diffs have different context lines, so the second PR to merge gets a text conflict. If someone resolves that conflict by keeping both sides, the list hasrailroad_benefitstwo times.addsthen sums it twice: a person with $12,000 a year of Railroad Retirement gets $2,000 a month of gross unearned income, not $1,000. Please coordinate with #10764: either rebase after it merges, or ask that it drops its Illinois AABD and TANF hunks. -
Exemptions for VA payments. I checked 113.113 and the AABD income pages of the IDHS manual (PM 08-02-00, 08-02-06, 08-02-06-c, 08-02-06-x). They do not exempt VA aid and attendance, housebound allowances or amounts for unusual medical expenses. The only veterans exemptions are (a)(20) Agent Orange payments, (a)(30) the 2009 Economic Recovery Payment and (a)(31) the Far East veterans payment. The model has no inputs for these, so counting all of
veterans_benefitsagrees with the rules. You can add one line to the comment atunearned.yaml:4-8that says these one-time exemptions are not modeled. -
HBIS test. The change also raises
il_hbi_senior_countable_income, which addsil_aabd_countable_unearned_income. One HBIS test with pension income would protect that path.
What I checked
- Rules: 89 Ill. Adm. Code 113.100 and 113.113 (LII text, last amended 45 Ill. Reg. 9000, June 30, 2021); IDHS PM 08-02-06-c, PM 08-02-06, PM 08-02-00 and PM 08-02-06-x. Each added source counts as nonexempt income.
- Variables:
pension_incomeis taxable plus tax-exempt public and private pensions. It does not overlapretirement_distributions(IRA, 401(k), 403(b), SEP, Keogh).railroad_benefitsis separate fromsocial_security, and its RUIA unemployment and sickness parts go to other variables.ssiin the same list is SSI after the pension reduces it, so SSI + pension is not double counting (Integration 9: 994 - (300 - 20) = 714; 714 + 300 = 1,014). - Hand checks: all four new unit tests and Integrations 8-11 (need standard 851.33 = 788.90 + 62.43; edge at 851 vs 852 countable income).
- Tests on the PR head: the Illinois AABD, HFS and ISBE folders, 369 passed. The full Illinois folder plus all partner tests, 1,625 passed.
- CI: all checks pass, including Household API Partners. Changelog fragment
changelog.d/il-aabd-pension-income.fixed.mdis at the top level. - Related PRs: #11186 (Illinois TANF) shares no files with this PR. #10764 overlaps (see above). #10086 (count AABD cash in household benefits) is still a draft.
Illinois AABD left pension income and veterans benefits out of countable unearned income (commented out as exempt) and didn't list Railroad Retirement benefits, so a pensioner with no other countable income got the full need standard of about $851 a month. 89 Ill. Adm. Code 113.100 counts all unearned income that 113.113 doesn't exempt, 113.113 exempts none of these, and IDHS PM 08-02-06-c budgets Social Security, Railroad Retirement, veterans benefits and private pensions as nonexempt income. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nuities Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18f7d24 to
643ef7c
Compare
|
Thanks for the review. Everything is in Should address
Suggestions
The changelog fragment now names military retirement pay and survivor annuities. Verification
|
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Review at 643ef7c
Thanks for the quick fix. The rebased PR now counts military retirement income and non-Social Security survivor annuities for Illinois AABD, with a test for each, and it adds the veterans comment and the HBIS test. All earlier items are resolved, and I found no new issues.
Verdict: APPROVE
| Earlier item (review at 18f7d24) | Status | Evidence on 643ef7c |
|---|---|---|
Should address 1: military_retirement_income and survivor_benefits not counted |
Fixed | unearned.yaml:19-21 lists both. Probe (2026-01, Cook County, age 70, no SSI take-up), $40,000 a year: military_retirement_pay gives il_aabd_gross_unearned_income 3,333.33 and il_aabd 0 (was 0 and 851.33). survivor_benefits gives 3,333.33 and 0 (was 0 and 851.33). military_retirement_pay_survivors also gives 3,333.33 and 0. New cases in il_aabd_gross_unearned_income.yaml:63-94 pass. |
| Suggestion 1: overlap with #10764 | Open, no change needed in this PR | #10764 is still open (head 4f52f39, last update Nov 15). Its hunk for il/dhs/aabd/income/sources/unearned.yaml does not apply on this head (git apply --check fails at line 3), so the second PR to merge gets a text conflict. Your reply says the second PR keeps one railroad_benefits entry. That is correct. |
| Suggestion 2: comment on VA exemptions | Done | unearned.yaml:10-13 names 113.113 (a)(20), (a)(30) and (a)(31) and says they are not modeled. "Veterans payments" in place of "one-time" is more accurate, because (a)(20) also covers annual Agent Orange payments. |
| Suggestion 3: HBIS test with pension income | Done | il_hbi_senior_countable_income.yaml:39-66, Case 2: $6,000 pension, 500 gross, 475 countable, il_hbi_senior_countable_income 475. It passes. |
What I checked
- Diff: I compared the PR's own diff on the new base (
116d7ba267) with the old diff. The pension, veterans and Railroad Retirement changes and Integrations 8-11 are the same as before. The new parts are the two list entries, the longer comment, two unit cases, the HBIS case and the changelog text. - Double counting:
pension_incomeadds only the four taxable and tax-exempt public and private pension inputs.military_retirement_incomeaddsmilitary_retirement_payandmilitary_retirement_pay_survivors, and no pension variable reads them.survivor_benefitsis an input that leaves out Social Security survivor benefits, andsocial_securityaddssocial_security_survivors. So no amount is in two entries. A combined probe agrees: $6,000 Social Security survivors + $1,200survivor_benefitsgives 600 gross andil_aabd276.33 (851.33 - 575). $6,000 military pay + $1,200 survivor + $2,400 pension + $6,000 Social Security gives 1,300 gross. - SSI interaction:
ssiin the list is SSI after the other income reduces it. With $3,600 a year of military pay and SSI take-up,ssiis 714 (994 - 280), gross AABD unearned income is 1,014 (714 + 300) andil_aabdis 0. This is the same pattern as Integration 9. - Federal SSI list (
gov/ssa/ssi/income/sources/unearned.yaml): it haspension_income,social_security,railroad_benefits,veterans_benefits,survivor_benefitsandmilitary_retirement_income. The AABD list now has the same retirement and survivor sources. - Tests on this head: the Illinois AABD, HFS and ISBE folders, 372 passed. The full Illinois folder plus all partner tests, 1,639 passed. Code-health tests (including the military retirement readers check), 730 passed and 1 skipped.
- CI: all checks pass, including Household API Partners and PR validation. The PR is mergeable. It waits only for an approving review.
- Changelog:
changelog.d/il-aabd-pension-income.fixed.mdis at the top level and names the new sources.
Found while working on #11165 (part of the #10812 state credit income audit).
What was wrong
Illinois Aid to the Aged, Blind or Disabled (AABD) cash didn't count pension income.
pension_incomeandveterans_benefitswere commented out as "exempt" ingov.states.il.dhs.aabd.income.sources.unearned, andrailroad_benefitswasn't listed. An aged, blind or disabled person whose only income was a pension therefore had countable income of $0 and got the full need standard, about $851 a month in 2026 ($788.90 grant + $62.43 personal allowance). In #11165's first Modal run, a 70-year-old with a $40,000 pension came out with household income of $47,216 instead of $37,000 ($10,216 = $851.33 x 12 of AABD).The rules count this income:
These are HTML pages, so there are no PDF page anchors.
What changes
gov.states.il.dhs.aabd.income.sources.unearnednow lists:pension_incomeveterans_benefitsrailroad_benefitsThe list already counted Social Security, SSI, retirement account distributions, unemployment compensation, disability benefits and workers' compensation. I added the PM 08-02-06-c reference and replaced the "exempt" comments with a note citing the rules. No formula changes. The $25 flat exemption (113.120(a)) still applies once per client across all sources.
Who is affected
Illinois residents who are aged, blind or disabled (SSI-eligible apart from income) and have pension, annuity, VA or Railroad Retirement income. Their AABD falls, usually to $0:
Downstream, the same countable unearned income feeds
il_hbi_senior_countable_income(Health Benefits for Immigrant Seniors, which "follows the current AABD community eligibility criteria" per IDHS MR #24.12), so seniors with these incomes now have them counted there too. Programs that read AABD (IHWAP categorical eligibility, SMIB categorical eligibility, the school meals state supplement income list) follow the lower AABD.Tests
No #10812 audit cases to move: this gap wasn't one of the audit's cases.
Added:
aabd/income/il_aabd_gross_unearned_income.yaml(new): private plus public pension, veterans benefits, Railroad Retirement, and all of them with Social Security, each with gross and countable unearned income.aabd/integration.yaml:Existing tests: no expected value changed. No existing AABD, HBIS or partner case has pension, VA or Railroad Retirement income.
Not in this PR
gov.states.il.dhs.tanf.income.sources.unearned) has the same "exempt" comments onpension_incomeandveterans_benefits. I didn't check Part 112 for TANF.child_support_receivedandgi_cash_assistanceas exempt. 113.113 doesn't name either. Child support for a child is earmarked for that child (113.106) and an AABD case holds one person (PM 04-03-00), and 113.113(b)(3) exempts research-program cash for up to 60 months, which covers some guaranteed income pilots. I left both as they were.general_assistanceisn't in the AABD list (the TANF list counts it). The rules don't name it, so I left it out.axiom: needed (no encoder run was authorized for this PR)
Tested on Modal: run
w1-il-aabd-a, 321/321 passed (317 YAML files: the Illinois test folder, the partner tests and the school meals countable income test, which reads AABD; plustest_source_conflicts.pyand the three Python tests that read AABD:test_ssi_monthly_ism_properties.py,test_ssi_spousal_deeming_invariants.py,test_il_aabd_expense_exemption_invariants.py).🤖 Generated with Claude Code