Skip to content

Count Illinois SCRETD household income under 320 ILCS 25/3.07 - #11165

Merged
hua7450 merged 3 commits into
mainfrom
il-scretd-household-income
Nov 20, 2026
Merged

hua7450 merged 3 commits into
mainfrom
il-scretd-household-income

Conversation

@DTrim99

@DTrim99 DTrim99 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #10812 (state credit income audit).

What was wrong

il_scretd_income_eligible (Senior Citizens Real Estate Tax Deferral, 320 ILCS 30) compared the tax unit's irs_gross_income with the maximum household income. Federal gross income holds only the taxable part of Social Security. It also comes before above-the-line deductions and drops losses. The program's own income measure is different:

  • 320 ILCS 30/2(h): "'Household income' has the meaning ascribed to that term in the Senior Citizens and Persons with Disabilities Property Tax Relief Act."
  • 320 ILCS 25/3.05 and 3.06: household income is the combined income of the claimant and spouse.
  • 320 ILCS 25/3.07: "'Income' means adjusted gross income ... modified by adding thereto the sum of the following amounts to the extent deducted or excluded from gross income in the computation of adjusted gross income": (A) interest and dividends, (B) Illinois income tax paid, (C) annuities, (D) Social Security Act benefits, (E) Railroad Retirement Act benefits, (F) cash public assistance, (G) net operating loss and capital loss carryover deductions, (H) workers' compensation and occupational disease benefits.

The review couldn't read the statute because ilga.gov's old URLs return 403 or 404. The current official text is at https://www.ilga.gov/Documents/legislation/ilcs/documents/<doc>.htm, and I read 30/2, 25/3.05, 25/3.06 and 25/3.07 there. I also read Form IL-1017 (R-11/25) for tax year 2025, from the Cook County Treasurer's copy (IDOR doesn't post it), and IDOR's PIO-64.

What changes

New variable il_scretd_household_income (tax unit) = adjusted_gross_income + the amounts in the new list parameter gov.states.il.idor.scretd.household_income_additions. Person-level amounts are summed over the head and spouse. Federal AGI already leaves out dependents' income. il_scretd_income_eligible now tests this variable.

3.07 item Added Source
Base adjusted_gross_income (after above-the-line deductions and losses) 3.07; IL-1017 Worksheet A lines 9-13 (PDF page 2)
(A) interest and dividends tax_exempt_interest_income, us_bonds_for_higher_ed (IRC 135 interest the federal list subtracts as an above-the-line deduction) 3.07(A); IL-1017 line 8
(C) annuities tax_exempt_pension_income 3.07(C); IL-1017 lines 3-4. See "Source conflict" below
(D) Social Security Act filer_tax_exempt_social_security, ssi 3.07(D); IL-1017 line 1, "Social Security, SSI benefits. Include Medicare deductions"
(E) Railroad Retirement Act railroad_benefits, all of it, since PolicyEngine keeps it out of federal gross income 3.07(E); IL-1017 line 2
(F) cash public assistance tanf, general_assistance (not yet AABD, see below) 3.07(F); IL-1017 line 6
(H) workers' compensation workers_compensation 3.07(H)
Household head and spouse only 3.05, 3.06; IL-1017 Worksheet A, "Include both applicant's and spouse's income"

Not modelled, as noted in the formula: (B) is zero for individuals, who don't deduct state income tax in computing AGI. For (G), the long-term capital loss carryover deducted in computing AGI is added back (see below); net operating loss and short-term capital loss carryovers have no input. The 3.07 exclusions (35 ILCS 5/203(a)(2)(X) distributions and ARRA sections 2201/2202 payments) have no inputs.

I checked for another Illinois program that already models the 3.07 income. The Benefit Access Program (il_bap_eligible, 320 ILCS 25/4) uses the same Act, but it sums adjusted_gross_income_person inline over the SPM unit, so there was no variable to reuse. This PR doesn't change it.

Source conflict (recorded as a candidate)

Section 3.07(C) adds "all amounts received during the taxable year as an annuity under an annuity, endowment or life insurance contract or under any other contract or agreement". IL-1017 counts Civil Service benefits (line 3) and annuity benefits (line 4) in full. But line 4, the form's General Information (PDF page 3) and PIO-64 count "Pension and IRA benefits (federally taxable portion only)". Under the statute-first rule, the model adds the nontaxable part of pension and annuity payments (tax_exempt_pension_income). It doesn't add nontaxable IRA or Roth distributions, which aren't annuities. This matches the form. The reading is recorded in source_conflicts/candidates.yaml as us-il:scretd-household-income-nontaxable-pension (follows: statute, state: unreviewed). The register entry and marker follow after merge.

Who is affected

This affects Illinois homeowners 65 and older in the deferral eligibility test. Most see higher household income: nontaxable Social Security, SSI, railroad retirement, tax-exempt interest, the nontaxable part of pensions, public assistance and workers' compensation now count. So fewer households pass the $75,000 (2025) limit. Households with above-the-line deductions or losses see lower income. The deferral is a loan, and il_scretd_deferral_amount feeds no tax, benefit or net income variable, so no other output changes.

Tests

  • Moved from Audit state credit income definitions against the law (CI run, do not merge) #10812: il_scretd_income_eligible_audit.yaml is now case 13 of il_scretd_income_eligible.yaml (pension 30,000 + Social Security 60,000 = 90,000 > 75,000, so not eligible). The value is unchanged and the comment keeps the arithmetic and citation.
  • Added to il_scretd_income_eligible.yaml: household income exactly at the 2025 limit (AGI 60,000 + tax-exempt interest 10,000 + workers' compensation 5,000 = 75,000, eligible) and one dollar above (75,001, not eligible).
  • New il_scretd_household_income.yaml:
    • all Social Security counts (90,000);
    • AGI as the base, with a 2,000 capital loss and a 1,000 early withdrawal penalty (37,000);
    • one case with every listed addition (38,500);
    • the spouse's Social Security counts and a 16-year-old dependent's interest and SSI don't (42,000).
  • integration.yaml: two 2025 cases, Social Security pushing income over the limit (no deferral) and pension plus Social Security under it (deferral 7,500).
  • No existing expected value changed. The existing cases use only wages, where AGI equals gross income.

Not in this PR

  • 3.07(G) for net operating loss and short-term capital loss carryovers, which have no inputs. The long-term capital loss carryover is added back as of the review fix (the share of the capital loss deduction that comes from the carryover, capped by the federal loss limit).
  • Illinois AABD cash (il_aabd_person) is cash public assistance under 3.07(F), but I left it out of the list. PolicyEngine's AABD doesn't count pension income (pension_income is commented out as exempt in gov.states.il.dhs.aabd.income.sources.unearned), so it pays about $850 a month to pensioners with no other countable income. The first Modal run included AABD and showed this: a 70-year-old with a $40,000 pension came out at $47,216 instead of $37,000. People who really get AABD have incomes far below the $75,000 limit, so leaving it out should rarely change eligibility. It can be added once AABD's pension treatment is checked.
  • The Benefit Access Program's income test (il_bap_eligible) under the same Act could reuse il_scretd_household_income. It isn't changed here.
  • The existing references ilga.gov/legislation/ilcs/ilcs3.asp?ActID=1454&ChapterID=31 and .../documents/032000300K3.htm now return 404. I kept them and added the working Documents/... URLs beside them.
  • Audit state credit income definitions against the law (CI run, do not merge) #10812 lists no other Illinois gaps.

Tested on Modal: run w1-il-b, 317/317 passed (316 YAML files: the Illinois test folder and the partner tests; plus test_source_conflicts.py).

🤖 Generated with Claude Code

@hua7450 hua7450 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, David. The new measure matches 320 ILCS 25/3.05-3.07: federal AGI of the claimant and spouse plus items (A), (B), (D), (E) and (H), tested against the same year's limit. No addition overlaps AGI (tax-exempt Social Security and pensions are remainders only), nothing outside the SCRETD folder reads these variables, and the expected values derive by hand (90,000 for the pension and Social Security household; 75,000 eligible and 75,001 not). One small fix before I approve.

Before merge

  1. Add back the capital loss carryover. 3.07(G) adds "any net operating loss carryover deduction or capital loss carryover deduction", and IL-1017 line 10 says "Do not include any loss carryover". long_term_capital_loss_carryover exists, and Arizona and Montana already add it back (az_property_tax_credit_capital_gains.py line 47). With the base now AGI, a carried-over loss newly lowers income: a 77,000 pension with a 3,000 carryover gives 74,000 and eligible, where the statute (and main) give 77,000 and not eligible. The PR body's "there is no input for the carryover deduction used" holds for NOL and short-term carryovers only.

Optional

  • Reference. household_income_additions.yaml (lines 59-62) lists the IL-1017 PDF twice, at #page=2 and #page=3. One entry with the title ending #page 2-3 fits the repo style.
  • TANF comment. tanf is an SPM-unit amount, so it is split per person and summed over every tax-unit member, dependents included. The comment in il_scretd_household_income.py (lines 31-36) says head and spouse only.
  • AABD cash (3.07(F)) is left out because the AABD model exempts pension income. An issue for that would let il_aabd_person be added once it is fixed.
  • Register entry. years.from is 2025, but the parameter applies the reading from 2006. "Nontaxable IRA and Roth distributions are not annuities" is the PR's own gloss; it reads better as a modelling limit (no input separates annuitized from lump-sum distributions).
  • Tests. The same household (pension 30,000, Social Security 60,000) is asserted in three files, and the new file's cases lack the Case N, prefix.

DTrim99 and others added 3 commits November 20, 2026 11:05
The Senior Citizens Real Estate Tax Deferral income test summed federal
gross income, which holds only the taxable part of Social Security and
comes before above-the-line deductions. Household income now starts from
federal AGI and adds the amounts section 3.07 lists that AGI leaves out:
tax-exempt and excluded savings bond interest, the nontaxable part of
annuities, nontaxable Social Security, SSI, railroad retirement benefits,
cash public assistance and workers' compensation, for the claimant and
spouse. The pension reading is recorded as a source-conflict candidate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PolicyEngine's AABD does not count pension income, so it pays AABD to
pensioners with household income well above the deferral limit. Adding it
to the deferral's household income pushed some of them over the limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… income

IL-1017 Worksheet A line 10 (320 ILCS 25/3.07(G)) adds back the capital
loss carryover deducted in computing AGI. Add back only the share of the
federal capital loss limit the carryover used, and add two tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DTrim99
DTrim99 force-pushed the il-scretd-household-income branch from 5c0cf70 to 591c7b2 Compare November 20, 2026 16:07
@DTrim99

DTrim99 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks, Ziming. Fixed in 591c7b2, rebased on main.

Fixed (your "Before merge" item)

  • Capital loss carryover added back. il_scretd_household_income now adds back the long-term capital loss carryover that was deducted in computing AGI, under 3.07(G) and IL-1017 line 10 ("Do not include any loss carryover"). The add-back is the share of the capital loss deduction that comes from the carryover, capped by gov.irs.ald.loss.capital.max, so an unused carryover isn't added. It covers the head and spouse.
  • Two new cases:
    • A 77,000 pension with a 3,000 carryover gives 77,000 and not eligible (74,000 and eligible before the fix).
    • A 40,000 pension with a 5,000 carryover gives 40,000, since only the 3,000 actually deducted counts.
  • PR body. I corrected the sentence: only net operating loss and short-term carryovers lack an input.

Skipped (optional, not in this round): the IL-1017 reference consolidation, the TANF comment, an AABD issue, the register entry's years.from and test naming.

Verification: the IL SCRETD tests pass locally after the rebase (48/48), and test_source_conflicts.py passes (251/251). An independent check confirmed both values by hand. It also ran seven more households: joint carryovers, a separate filer, gains absorbing the carryover, and a dependent's carryover (ignored).

@DTrim99
DTrim99 requested a review from hua7450 November 20, 2026 16:08

@hua7450 hua7450 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, David. SCRETD household income now adds back the capital loss carryover deducted in AGI: the loss-limited net capital gain without the carryover less the same amount with it, so an unused carryover isn't added. The two new cases pin it (a 77,000 pension with a 3,000 carryover is 77,000 and ineligible; a 5,000 carryover against a 40,000 pension adds back only the 3,000 deducted). Comparing the PR's own diff before and after the rebase, those are the only changes. Approving.

@hua7450
hua7450 merged commit 0ca80be into main Nov 20, 2026
38 checks passed
@hua7450
hua7450 deleted the il-scretd-household-income branch November 20, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants