DC, Illinois and Massachusetts LIHEAP measure income as IRS gross income, leaving out SSI, TANF and untaxed Social Security
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- Over a week
- Newbie friendliness
- 28/100
Research direction
Start by reading the existing countable-income parameter sets in policyengine_us/parameters/gov/states/al/liheap/income/sources/ (also AR and AZ) to see the shape a source list takes, then the six variables named in the table (dc_liheap_eligible, dc_liheap_income_level, il_liheap_income_eligible, il_liheap_eligible, il_liheap_income_bracket, ma_liheap_income). Add a liheap/income/ folder per state, compute countable income from it and swap out the irs_gross_income reads, one PR per state. Done means the household table in the issue reproduces with SSI, TANF and untaxed Social Security counted; note the merge freeze until after 2026-11-26 and the partner tests under tests/policy/baseline/partners/analytics_coverage/edge_cases/state/il/ and .../ma/.
Written by the indexing model from the issue text.
Description
Problem
The LIHEAP formulas for DC, Illinois and Massachusetts measure household income as irs_gross_income (26 U.S.C. 61). That measure holds taxable income only, so these three states leave out SSI, TANF, general assistance, child support and the untaxed part of Social Security. Each state's FY2027 plan counts those sources. These are the only three state LIHEAP programs in the model that still read irs_gross_income; the others build a countable-income list (Texas moved to one in #8628).
Six places read it (main at 2b922bc592, version 2.153.6):
| State | Variable | Used for |
|---|---|---|
| DC | dc_liheap_eligible |
Income test |
| DC | dc_liheap_income_level |
Benefit level |
| Illinois | il_liheap_income_eligible |
Income test |
| Illinois | il_liheap_eligible |
Rent share test when heat is included in rent |
| Illinois | il_liheap_income_bracket |
Benefit bracket |
| Massachusetts | ma_liheap_income |
Income test and benefit level |
The DC and Massachusetts formulas carry the comment "The income concept is not clearly defined, assuming IRS gross income".
What the model returns today
policyengine-us 2.153.6, period 2027, natural gas heat, $1,500 gas bill. "Income counted" is the income the LIHEAP formula sees.
| Household | Income counted | DC | Illinois | Massachusetts |
|---|---|---|---|---|
| One adult aged 67, $24,000 wages | $24,000 | Level 5, $250 | Bracket 3, $496 | Level 4, $630 |
| One adult aged 67, $24,000 Social Security | $0 | Level 1, $1,500 | Bracket 1, $1,500 | Level 1, $925 |
| One adult aged 67, SSI only ($12,348) | $0 | Level 1, $1,500 | Bracket 1, $1,500 | Level 1, $925 |
| Parent with two children, TANF only | $0 | The model pays this household no DC TANF | Bracket 1, $1,500 (TANF $9,624) | Level 1, $925 (TANF $11,812) |
| Couple aged 67, $42,000 wages each | $84,000 | Not eligible | Not eligible | Not eligible |
| Couple aged 67, $42,000 Social Security each | $5,000 | Level 1, $1,500 | Bracket 1, $1,500 | Level 1, $925 |
- $24,000 of Social Security counts as $0, and the household gets the lowest-income payment. The same $24,000 as wages gets a smaller payment in all three states.
- $84,000 of Social Security counts as $5,000, the taxable part. The same $84,000 as wages is over the income limit in all three states.
- SSI and TANF count as $0.
Sources
FY2027 state plans, item 1.9 (page 6 of each). All three tick SSI and TANF as countable income, along with Social Security, unemployment, strike pay, retirement or pension income and general assistance. I read the tick boxes from page images, because the PDF text does not carry them.
| State | Plan | Also ticked | Social Security |
|---|---|---|---|
| DC | DC FY2027 plan | Rental income, alimony, child support, interest | Excluding the Medicare deduction |
| Illinois | Illinois FY2027 plan | Cash gifts | Excluding the Medicare deduction |
| Massachusetts | Massachusetts FY2027 plan | Cash gifts, one-time lump sums, rental income | Including the Medicare deduction |
Item 1.8 on the same page is "Gross Income" in Illinois and Massachusetts.
Illinois: 47 Ill. Adm. Code 100.30, "Household Income". The rule counts "Gross income received by all members of the household", calculated for the past 30 days, and then lists what income does not include. SSI, TANF, AABD and Social Security are not on that list. The list does name gifts, one-time payments and the earned income of dependent children under 18. The plan ticks cash gifts, so the rule and the plan disagree there.
Massachusetts. The plan names the "Massachusetts HEAP Administrative Guidance", which the state does not publish. The mass.gov HEAP page bases eligibility on "combined gross annual income of household members". The plan is the only published list.
DC. I found no public manual or regulation that defines income. The plan is the only published list.
Not checked
- Child support, general assistance and veterans' benefits were not run. They are absent from
gov.irs.gross_income.sources, so the formulas cannot see them. - Sources that IRS gross income counts and a state may exclude (capital gains, for example) were not compared.
- The FY2026 plans' item 1.9 was not read for these three states.
Proposed change
For each state, add a countable-income source list under the state's liheap/income/ parameter folder, as Alabama, Arkansas and Arizona have (income/sources/earned.yaml, income/sources/unearned.yaml), compute countable income from it, and replace the irs_gross_income reads above. One PR per state.
- Illinois: follow the rule where it differs from the plan (gifts, one-time payments, dependent children's earnings), and record the difference in the source-conflict register.
- DC and Illinois: count Social Security net of the Medicare deduction; Massachusetts counts it in full.
Related, outside this issue
The DC plan, item 1.4a (page 5), treats "categorically eligible households, those with at least one member receiving SNAP, TANF, or SSI" as income-eligible. dc_liheap_eligible has no such route.
Timing
Do not merge yet. Household API users already request LIHEAP in these states, and the partner contract tests cover Illinois and Massachusetts (tests/policy/baseline/partners/analytics_coverage/edge_cases/state/il/liheap.yaml, .../state/ma/liheap.yaml, signatures/il.yaml and signatures/ma.yaml). The fix changes the results those users see. The project lead is holding the merge past the Thanksgiving holiday (November 26, 2026) so that partners do not have to absorb changed results that week. Please do not merge a fix before then.
- Dominant language
- Python
- Stars
- 178
- Forks
- 224
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 309
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PolicyEngine/policyengine-us
-
Secondary earnings threshold description names a stale 2035 capPossibly taken @Prabh022 claimed this 1 day ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
PolicyEngine/policyengine-us#11252 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PolicyEngine/policyengine-us#11201 ·
Maintainers usually reply within 2 days
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income testPossibly taken @DTrim99 claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
PolicyEngine/policyengine-us#11199 ·
Maintainers usually reply within 2 days
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
PolicyEngine/policyengine-us#11192 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
PolicyEngine/policyengine-us#11084 ·
Maintainers usually reply within 2 days
All issues in PolicyEngine/policyengine-us
Similar issues
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NousResearch/hermes-official-plugins#538 ·
Maintainers usually reply within 3 days
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidatePossibly taken @houzhongyu claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days