DC, Illinois and Massachusetts LIHEAP measure income as IRS gross income, leaving out SSI, TANF and untaxed Social Security
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 28/100
調査の方向性
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/.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 178
- フォーク
- 224
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 309
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine-us のほかの issue
-
Secondary earnings threshold description names a stale 2035 cap対応中かも @Prabh022 が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
PolicyEngine/policyengine-us#11252 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PolicyEngine/policyengine-us#11201 ·
メンテナーはふだん 2 日以内に返信
-
Idaho BBCE households without an elderly or disabled member should face the SNAP net income test対応中かも @DTrim99 が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
PolicyEngine/policyengine-us#11199 ·
メンテナーはふだん 2 日以内に返信
-
California's Medi-Cal immigration test passes pregnant people but not those in the postpartum periodオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PolicyEngine/policyengine-us#11192 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
PolicyEngine/policyengine-us#11084 ·
メンテナーはふだん 2 日以内に返信
PolicyEngine/policyengine-us の issue をすべて見る
似ている issue
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NousResearch/hermes-official-plugins#538 ·
メンテナーはふだん 3 日以内に返信
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidate対応中かも @houzhongyu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MakazhanAlpamys/Soup#3415 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信