Repository navigation
Conversation
…p-utility-providers
…ules Replace the shared electricity and natural gas provider inputs with il_liheap_electricity_provider and il_liheap_natural_gas_provider, enums in the Illinois LIHEAP folder that list only the companies the Illinois rules name. The income limit and payment matrix formulas read them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
An electricity or natural gas company left unreported now counts as one of the five utilities DCEO names for state funds, so the PY2027 federal income limit applies only when both companies are reported as OTHER. Unreported companies keep the general payment matrix. Provider input notes move from documentation fields to comments. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The comments described printed TOTAL cells that differ from the sum of their component cells in the same chart, not a conflict between sources. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…olds - il_liheap_income_eligible: from model year 2027 a household on the cash route keeps the federal limit (60% of state median income); the PY2027 matrix prints no cash row in its state-funded block. - fpg_year_lag dated 2025-10-01 and described for income limits and payment bands; four provider matrix files name the printed schedule. No value changes. - il_liheap_income_bracket and il_liheap_base_payment: comment, reference and parameter-node cleanup; provider enums note the cash-route exception. - Tests: name and trim the provider cases; add heat-in-rent cases at and above the federal limit, a 2026 half-dollar band top, the 2025 band method, a 2026 ComEd payment and a 2026 income-limit case. - Changelog fragment is now `added`. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Verdict: APPROVE (head ca76056e43)
PR #11055, "Apply Illinois LIHEAP provider payment matrices and PY2027 income limits". Fixes #11225. The head did not move during the review (last commit 3:15pm EST, November 23, 2026, a merge of main).
Summary
The PR adds two enum inputs for the electricity and natural gas company. It adds four payment tables (ComEd electric, ComEd gas, ComEd propane, and LID gas by electric page). From model year 2026 it sets payment bands from monthly income against the printed band tops. From PY2027 it applies 300% of the 2026 poverty guideline to customers of the five named utilities, and the federal limit (60% SMI through 12 members, 150% of poverty above) otherwise. Heat-in-rent households keep the federal limit.
Every table cell, band top and income limit that I checked matches the FY2026 and PY2027 matrices and the DCEO page. The tests pass. I found no CRITICAL or SHOULD ADDRESS issue. Two default-value choices are listed as suggestions.
Findings
CRITICAL
None.
SHOULD ADDRESS
None.
SUGGESTION
- An unreported company gets the 300% limit, which changes every household in microsimulation.
policyengine_us/variables/gov/states/il/dceo/liheap/eligibility/il_liheap_income_eligible.py:36-38. Both inputs default toUNSPECIFIED, and no dataset sets them. From 2027 every Illinois household therefore uses 300% of poverty. For four people the limit becomes $99,000 a year; the federal limit is $79,404 (12 × $6,617). The PR body calls this a modeling assumption. It is reasonable, because ComEd and Ameren serve most Illinois electric customers. Consider a short note inprograms.yamlso that users of the national totals know about it. - The two defaults point in different directions.
payment/il_liheap_base_payment.py:57, 72. For the income limit an unreported gas company counts as one of the five utilities. For payment it uses the non-LID table. The ICC page says LIHEAP customers of the four LID gas utilities "automatically qualify" for the discount. So an unreported gas household gets $1,692 (one person, 0-50%) where a LID customer gets $1,184. This is the same amount as onmain, so it is not a regression. - The PY2027 matrix reference is a local agency copy.
fpg_band_rates.yamland three variable references cite the Illinois Valley Economic Development Corporation site. DCEO and the LIHEAP Clearinghouse do not post it yet (the Clearinghouse 2027 matrix URLs return 404). Replace the link when an official copy appears. programs.yamlis unchanged. The Illinois entry has no year field, and its notes do not mention the provider inputs or the PY2027 limits.
What I checked
- Head and state. Head
ca76056e43. Mergeable, merge state BLOCKED only for a required review. All 38 CI checks pass, including "Household API Partners". The branch is 0 commits behindmain. - Payment tables against both matrices. I parsed the TOTAL and CASH rows of both pages of the FY2026 matrix ("LID for Electric" and "No LID for Electric") and the PY2027 final matrix ("LID first for Electric (ComEd)" and "LIHEAP first for Electric (Ameren)"). For each of the four bands and six sizes,
all_electric_comed,nat_gas_comed,propane_comed,nat_gas_lid.comedandnat_gas_lid.othermatch. The existing general tables (all_electric,nat_gas,propane,cash) also match page 2 of both years. In PY2027 the "60% SMI to 300% FPL" fuel rows equal band 4 on both pages, and that block has no CASH row. This supports the PR's choice to reuse band 4 and to keep heat-in-rent households on the federal limit. - Income limits, run at head for sizes 1 to 13 (period 2027). With both companies
OTHER, income of 12 × the printed monthly 60% SMI top is eligible and $1 more is not, for sizes 1 to 12 ($3,441 to $9,926 a month). Size 13 uses 150% of poverty ($10,515 a month). WithUNSPECIFIEDorCOMED, the 300% limit holds at 12 × the DCEO monthly figure for sizes 1 to 13 ($3,990 to $21,030), and $1 more fails. The DCEO table ($47,880 for one person to $167,160 for eight) matches. - Band tops. PY2027, sizes 1 to 4: income at each printed top ($665/$1,330/$1,995 for one person, and the rows for two to four people) stays in the lower band, and $1 a month more moves up one band. FY2026, sizes 1 and 3 ($652/$1,304/$1,956 and $1,110/$2,221/$3,331) behave the same. These use the prior-year guideline through
fpg(..., year_lag=1). - Sources. 305 ILCS 20/6 sets the 150% of poverty or 60% SMI ceiling for federal funds and a 300% ceiling for the state fund. The FY2027 plan, section 2.4 (PDF page 10), uses 150% above 12 members. The DCEO page names Ameren Illinois, ComEd, Nicor Gas, North Shore Gas and Peoples Gas for 300%, and "60% of the State Median Income" for federal-funded vendors. The ICC page confirms automatic LID qualification for LIHEAP customers.
- Formula review. The
ifbranches read scalar parameters. Theselectorder puts LID gas before ComEd gas, so a ComEd electric customer with a LID gas utility gets the LID row of the ComEd page. Negative income is clipped to band 1. Entities and periods are correct. - Tests. Illinois LIHEAP folder: 72 passed at head, 50 at
main. Illinois IHWAP, nationalliheapand the two Illinois partner files: 47 passed. I did not edit any partner file. - Format and changelog.
ruff format --checkandruff checkpass on five Python files.changelog.d/il-liheap-utility-providers.added.mdis a top-level file with a valid type. - Overlap. No open PR touches the Illinois LIHEAP files. #11186 and #11181 change Illinois TANF and AABD only. The PRs under parallel review (#11243, #11053, #11054, #11203) do not touch Illinois.
Not verified
- The Illinois FY2027 SMI values in
hhs_smi. I checked only that the rounded monthly limits match the printed rows. - The PR body's statement that no partner test case sits inside the moved 2026 band windows. The partner files pass, which is consistent with it.
- Microsimulation impact of the 300% default on Illinois totals.
Illinois's FY2026 and PY2027 benefit matrices print different regular heating amounts for ComEd electric customers and for gas customers who receive a Low Income Discount (LID). For PY2027, DCEO also raises the income limit to 300% of the federal poverty guidelines for customers of Ameren Illinois, ComEd, Nicor Gas, North Shore Gas and Peoples Gas, paid from state funds. The model pays one representative table and applies one income test. This PR adds inputs for the household's electricity and natural gas companies and uses them for the payment table and, from PY2027, the income limit.
Fixes #11225
Changes
il_liheap_electricity_providerandil_liheap_natural_gas_provider: enum inputs in the Illinois LIHEAP folder that list the companies the rules name, plusOTHERandUNSPECIFIED(the default).all_electric_comed,nat_gas_comedandpropane_comedfor ComEd electric customers (the "LID for Electric" page), andnat_gas_lidfor customers of Ameren Illinois, Nicor Gas, North Shore Gas and Peoples Gas (the "LID NAT.GAS/OTHER" row). The PY2027 matrix prints the same 88 payment rows.il_liheap_income_bracketcompares monthly income with the matrix's printed band tops: 50%, 100% and 150% of the prior-year poverty guideline, each rounded to the nearest dollar. Main compares annual income with 51%, 101% and 151% of the current-year guideline.OTHERfor both companies uses the federal limit: 60% of state median income through 12 members and 150% of poverty above.What changes for a household that reports no company
A household that sends neither input keeps the general payment table. Two results still change:
Model year 2026: band boundaries move. For one person the annual band tops become $7,824, $15,648 and $23,472 (main: $8,139, $16,119 and $24,099). A one-person natural gas household changes only inside these windows:
An API request for
il_liheapthat sends no company changes inside the same windows. No existing or partner test case sits in a window.Model year 2027: the income limit rises. One person: $47,880 (300% of $15,960), where main applies 60% of state median income, about $41,291. A household with heat included in rent stays at the federal limit, $41,292 for one person.
A household that reports
OTHERfor both companies loses main's alternative limit of 200% of poverty from 2027. The limit moves by less than $5 for 1 to 7 members and falls for larger households (about $5,100 at 8 members), where 200% of poverty exceeds 60% of state median income.Source and modeling details
OTHERdoes not establish access to state funds. Municipal and cooperative utilities that pay into the state fund have no public participation list.Tests
il_liheap_income_bracket.yaml(new) Cases 1-3: both sides of each PY2027 band top for three household sizes, a 2026 half-dollar band top that rounds up, and the 2025 method.eligibility/il_liheap_income_eligible.yamlCases 6-10: the five utility routes at the 300% boundary, both sides of the federal limit for one size per rule, unreported andOTHERcompanies, a heat-in-rent household at the federal limit, and 2026, where the limit does not read the companies.payment/il_liheap_base_payment.yamlCases 26-36: each new table, mixed ComEd and gas-LID companies, the expense cap, the cash grant, and 2025 and 2026 schedules.integration.yamlCases 8-10: end-to-end payments, including a heat-in-rent household above the federal limit (not paid).The cases were not run locally after these changes; CI runs them.
Sources
axiom: needed
🤖 Generated with Claude Code