Repository navigation
Conversation
Subtract gross unearned income before carrying the remaining exemption to wages. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apply the Cash disregard to qualifying income and deduct work expenses after the earned income disregard. Preserve the HBWD wage disregard and exclude SSI from HBIS income. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.
What and why
Illinois AABD Cash allows one $25 flat income disregard per client across income sources. The model applies it to qualifying unearned income first and carries the remainder to wages (
il_aabd_flat_exemption_excess_over_unearned_income.py:14). That order is an inference carried over from main, not a manual rule. A net loss counts as zero, so the remainder stays within the allowance inflat.yaml:3. Support from a spouse who lives outside the home, entered asalimony_income, counts in full and uses none of the disregard. Countable unearned income deducts only the part of the disregard that unearned income uses. The manual lists the single-disregard rule before the model’s first year. IDHS PM 08 · PM 08-02-00 · PM 08-02-01 · WAG 08-02-01 · PM 11 · PM 11-01-13Cash subtracts the flat-disregard remainder from wages, then the earned-income disregard, then employment expenses such as withheld taxes (
il_aabd_earned_income_after_exemption_person.py:32). This follows the order of the Cash budget example in PM 11-01-13. For aged or disabled clients, the order matters only when wages minus the flat disregard and expenses fall below $80. For blind clients, whose schedule disregards $85 plus half of the rest, the full expense comes off after halving. Applying this order to the blind schedule is an inference from the general Cash example.The December 2025 case has $20 in reported SSI and $200 in monthly wages. SSI uses $20 of the flat disregard and leaves $5 for wages. Subtracting the $5 remainder, the aged earned-income disregard of $20 plus half of the next $60, and $12.40 in Social Security tax leaves $132.60 in countable income. IDHS PM 08-02-03 · PM 08-02-03-a · PM 08-02-03-b · IRS Publication 15 (2025), page 28
The case has no shelter or utility costs. The December grant adjustment of $788.90 plus the $62.43 active personal allowance gives a need standard of $851.33. The $718.73 difference exceeds the community minimum of $1. IDHS PM 11-01-00 · WAG 11-01-01 · WAG 11-01-02 · PM 11-01-03 · PM 11-01-07 · WAG 25-06-01 · PM 11-02-02 · PM 11-02-03
Health Benefits for Workers with Disabilities (HBWD) and Health Benefits for Immigrant Seniors (HBIS) use their own income calculations. HBWD applies the full $25 flat amount and the earned-income schedule to the worker’s wages after expenses, leaves SSI out, and adds countable unearned income separately (
il_hbwd_countable_earned_income.py:34). HBIS removes SSI first, applies its $25 medical disregard to other unearned income except contributions, and carries any remainder to wages after expenses (il_hbi_senior_countable_income.py:21). That unearned-first order is the same inference as in Cash. IDHS PM 15-04-03-aTwo related gaps predate this PR and are not fixed here. Cash can pay a grant below the $1 community minimum, such as $0.50, when income falls less than $1 short of need. Integration 10 (
integration.yaml:645) expects such a $0.33 grant. The HBWD premium uses countable unearned income, which leaves out SSI, while PM 06-24-07 bases it on gross unearned income.Test plan
integration.yaml:307covers a 70-year-old Cook County resident with SSI and wages in December 2025.New Cash tests cover outside-spouse support (
il_aabd_gross_unearned_income.yaml:96), the deduction order (il_aabd_earned_income_after_exemption_person.yaml:75), and the flat-disregard boundaries for six clients across all five filing statuses (il_aabd_earned_income_after_exemption_person.yaml:92). New HBWD tests cover the wage disregard with SSI or with dividends (il_hbwd_countable_earned_income.yaml:333). New HBIS tests cover SSI, a pension and wages (il_hbi_senior_countable_income.yaml:68).The deduction order and the HBWD wage disregard change these existing cases. Each changed Cash case uses the blind schedule. The $2,000 Cash case passes the financial test on the branch and fails it on main.
The two HBWD premiums stay at $94 and $113.
ruff format --checkandruff checkpassed on the five changed Python files.changelog.d/.Overlap
#11181, merged into main, counts pensions, veterans benefits and Railroad Retirement as AABD unearned income. The branch includes it, and its pension cases pass. The December case uses SSI alone and sits beside the existing partial-SSI case. #10631 changes the child-care expense exemption that AABD Cash and HBWD deduct, and it edits the HBWD earned-income and integration tests that this PR also changes. #10639 changes asset rounding, and #10696 changes the withholding AGI input.
axiom: needed
🤖 Generated with Claude Code