Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # policyengine_us/programs.yaml
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10431 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 5 +1
Lines 76 119 +43
Branches 2 2
=========================================
+ Hits 76 119 +43
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
PR Review: Add New Mexico LIHEAP regular heating assistancePR #10431 (author: hua7450), head Path prefixes:
Sources read for this review:
SummaryWhat is right. The published FFY2026 and FFY2027 tables are encoded correctly:
There are no critical findings and four should-address items:
There are also three suggestions: Item 17 ( Status.
Critical (must fix)None. Should addressS1. Electricity never counts as an energy cost, so cooling-only households and subsidized heat-in-rent tenants who pay their own electric bill get $0
S2. The 3-point income cutoff follows the guides (110%) over 8.150.620.9 B (100%), and the backlog entry claims a ruling that has not been made
S3. 18 of the 25 income-source entries, and the unearned per-source floor, have no test that would fail if they were dropped
S4. Disability points read only
|
DTrim99
left a comment
There was a problem hiding this comment.
Every FFY2026/27 limit, cutoff, point band, allowance and point value matches the guides, ISD 017 and the plans, and Social Security counts gross per 8.150.520.13 B. All 16 expectations hand-check, the guards pass on the merged tree, and rulespec-us#1892 is valid. Four should-address items: (1) electricity never counts as an energy cost, so cooling-only households and subsidized tenants who pay the electric bill get $0 (8.150.410.9 A; $0 vs $210); (2) the 3-point cutoff follows the guides' 110% over 8.150.620.9 B's 100%, against statute-first, and the candidate is marked 'ruled' with no ruling; (3) 18 of 25 income sources are never positive in a test; (4) disability points read only is_disabled, though SSDI or disabled SSI alone qualifies under 620.9 C(3). Three suggestions. Full report in the comment above.
Adds New Mexico LIHEAP regular heating assistance for FY2026 and FY2027, administered by the Health Care Authority (HCA). New Mexico pays one benefit per federal fiscal year, for heating or cooling, equal to the household's points times the point value ($35 in FY2026, $40 in FY2027). The model counts citizens and qualified noncitizens in household size, prorates an ineligible noncitizen's income by the share of eligible members, tests gross countable income against 150% of the poverty guideline, and scores energy burden (0-3 points, +2 for propane), income (3 points at or below 110% of the guideline, otherwise 2) and vulnerable members (+2 each for a child 5 or younger, a member 60 or older, a disabled member). Benefits range from $70 to $490 in FY2026 and $80 to $560 in FY2027.
Fixes #10421
Regulatory authority
Eligibility
defined_for = StateCode.NMnm_liheap_household_sizesumsis_citizen_or_legal_immigrantNONEineligible,UNSPECIFIEDonly with heat in rentCountable income
retirement_distributions), military retirement, railroad, survivor, veterans, disability, workers' compensation, unemployment, general assistance, child support, alimony, interest, dividends, rental, estate and trust income, contributions from family or friends (financial_assistance)tanf(New Mexico Works)The FY2026 and FY2027 plans' section 1.9 checklists differ from the rule on four items (Social Security net of Medicare, one-time lump sums, cash gifts, an 18-year-old's earnings); the regulation is followed.
Benefit
source_conflicts/candidates.yaml,us-nm:liheap-three-income-points).Not modeled
is_citizen_or_legal_immigrantapproximatesretirement_distributionsdoes not separate them, so every withdrawal counts as recurring incomeHeating and cooling share one annual benefit; the model returns it for households with a heating cost or eligible heat in rent. Earlier years are unverified estimates through parameter backfilling.
Microsimulation:
heating_typeand the per-fuel bills are not in current datasets; callers must supply them.Test plan
46 YAML cases in 4 files (not re-run locally after the review fixes; CI validates them):
limits for sizes 1, 8 and 9 in FY2026 and sizes 8 and 9 in FY2027, size zero, and the exact-limit boundary;
countable income: noncitizen proration, an 18- and a 19-year-old, gross Social Security, SSI and contributions, TANF, child support versus capital gains, per-source floors, and IRA withdrawals that put a 68-year-old over the FY2026 limit;
every burden-point edge, the allowance floor, zero income, heat in rent, gathered and purchased wood, propane, the 110% income cutoff, each vulnerable group, the 2- and 14-point bounds in FY2026, and the FY2027 $298 allowance and $40 point value.
YAML tests with expected values from the rule, plans, guides and cards
ruff formatChangelog fragment in
changelog.d/CI passes
axiom: TheAxiomFoundation/rulespec-us#1892 queued
🤖 Generated with Claude Code