Repository navigation
Conversation
MDHS's FY2027 state plan attaches matrix Revision 1 (October 6, 2026). Every income band edge changes from 2026-10-01, household size 1 gains a seventh band, and sizes 7, 9 and 13 to 17 print one band fewer. Brackets a size no longer uses are retired with a .inf threshold, so period 2026 and earlier are unchanged. The dollar columns are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11665 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 3 +2
Lines 24 71 +47
Branches 0 1 +1
=========================================
+ Hits 24 71 +47
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:
|
DTrim99
left a comment
There was a problem hiding this comment.
Program review
Base repository: PolicyEngine/policyengine-us
PR number: 11665
Reviewed head SHA: 4e05d9c
Merge base SHA: 50af7fb
Mode: full
Scope: changed behavior and affected dependencies
Source manifest: /private/tmp/policyengine-command-runs/ea33c0bb2b64/pr-11665-review-sources.json
Review status: COMPLETE
Source Documents
- ms-liheap-fy2027-state-plan.pdf — cached original.
- ms-liheap-fy2026-matrix.pdf — cached original.
- hhs-smi-fy2027-att4.pdf — cached original.
- ms-liheap-fy2026-state-plan.pdf — cached original.
Critical
None.
Should Address
A1 — The Axiom line points at a rulespec issue that covers FY2026 only (OPEN)
- Location: PR body,
axiom: TheAxiomFoundation/rulespec-us#1467 queued. - Rule: repository CLAUDE.md, "Axiom Parity". A
queuedissue must be dispatch-ready and labelledpe-parity, with the module path and corpus citation, the verbatim law, the required outputs, and companion tests from the same external source as the YAML tests. - Observed (read-only gh): #1467 exists, is OPEN and carries
pe-parity. However, its scope is "federal fiscal year 2026 (2025-10-01 to 2026-09-30)", and its module path isus-ms/policies/acf/liheap-plan/fy2026/benefit-matrix. Its verbatim text and companion tests all come from the FY2026 matrix and manual. It was last updated 2026-10-24, before this PR was created (2026-12-02). Neither its body nor its two comments (on PE-US #10279 and #10409) mention the FY2027 matrix or this PR. A search of rulespec-us finds no other Mississippi LIHEAP issue. The FY2027 state plan is not in a corpus manifest. - Expected: a comment on #1467, in the form already used for #10279 and #10409, or a new
pe-parityissue. It should give the FY2027 benefit-matrix module path, the corpus citation or ingest need for the FY2027 state plan (PDF pp. 49-52), the printed FY2027 bands, and companion tests from that matrix (for example, the Case 21-23 and integration Case 7 values). The PR's axiom line should then link to that. - Impact: an Axiom-parity requirement is unmet for the changed provision.
- Proposed severity: SHOULD ADDRESS.
A2 — Sizes 18 and 20 above the printed FY2027 top now get the last-band payment, against the matrix's new "Over → 0" rows; not disclosed or tested (OPEN)
- Location:
income_bands/18.yamlandincome_bands/20.yaml(FY2026 zero brackets replaced by.infand band 3 from 2026-10-01). Read withms_liheap.py, which endsreturn where(band > 0, ...), andms_liheap_eligible.py(the 110% poverty floor). - Trigger, run on the PR snapshot with explicit 2027 inputs (
pr-11665-policy-evidence/diag.out). Electric heat and a $3,000 bill:- size 20 with wages $100,000: eligible through the floor,
ms_liheap$1,300; - size 18 with $95,000: $1,300.
On main, period 2027 carries the FY2026 bands, where size 18 has a zero band above 84,849 and size 20 above 60,075. Both households get $0 on main (code trace).
- size 20 with wages $100,000: eligible through the floor,
- Source: the FY2027 matrix newly prints an explicit zero row for every size, for example "Over $93,986.49 for HH of 20 → 0" and "Over $90,745.49 for HH of 18 → 0" (PDF p. 52). The FY2026 matrix printed no "Over" rows (0 occurrences in its text layer). 42 U.S.C. 8624(b)(2)(B) bars excluding a household below 110% of poverty from eligibility. The model's existing convention (PE-US #10279, recorded in #1467) pays such households from the open-ended last band.
- Impact: under that convention this PR extends last-band payments to floor-qualified households above the printed top at sizes 18 and 20. They now match sizes 11-17 and 19, but contradict the newly explicit $0 rows.
- Which outcome is legally right is not established: the state matrix conflicts with the federal floor, so this is not reported as a confirmed wrong amount.
- The change is not in the PR body.
- The
ms_liheap.pycomment says only that "The FY2027 matrix has no gaps through size 20". - No test covers income above the FY2027 printed top at sizes 11-20.
- #1467 line 137 ("At sizes 18 and 20 the matrix ends in a zero band") is now out of date for FY2027.
- Expected:
- Get a maintainer ruling on whether the explicit FY2027 "Over → 0" rows change the #10279 convention for sizes 11-20.
- Disclose the outcome in the PR body and the code comment.
- Add a test above the printed top at size 18 or 20 that pins the ruled behavior.
- Proposed severity: SHOULD ADDRESS (an undisclosed behavior change on a newly reachable path, with no test).
Coordinator assessment: The code review ran this separately and got the same result: a size-18 household with $100,000 (or $88,000) in 2027 is paid $1,300 at the head and $0 on main. Size 10 moves the same way. Sizes 11-17 and 19 already paid the last band above the printed top on main. I've kept this at should-address, not critical. The matrix's new "Over → 0" rows conflict with the federal 110%-of-poverty floor that the #10279 convention follows, so the $1,300 isn't a confirmed wrong amount. What's needed: a ruling on the convention, a line in the PR body and code comment, and a test above the printed top that pins whichever behavior is chosen.
A3 — FY2027 income-limit basis is uncited; the matrix-top conflict is documented with an FY2026 justification and the register says "not applicable" (OPEN)
- Location: PR body ("Not changed: Income limit" and "Source-conflict register: not applicable").
policyengine_us/variables/gov/states/ms/mdhs/liheap/ms_liheap_income_limit.py(comment "reproduces all 20 published FY2026 rows"; only reference is manual p. 58).parameters/gov/states/ms/mdhs/liheap/income_limit.yaml, whose references are the FY2026 manual and FY2026 plan only.verified_yearsnow claims 2027. - Check: the matrix's last-band tops are 60% SMI rounded to the nearest dollar. They are $1 above floor(54,015 × share) at sizes 1, 6, 8, 10, 13, 15, 17 and 19, and equal it elsewhere. The PR's claim is correct, and SMI $90,025 × 0.6 = $54,015 is right.
- Executed result (
diag.out): sizes 1, 6, 8 and 10 at the printed top ($28,088, $71,300, $74,541, $77,782) are ineligible and paid $0; $1 lower they are paid. At sizes 13 and up, the printed top is eligible anyway through the 110% floor. - The model is supported, not wrong:
- The plan's Eligibility and Benefit Determination attachment (PDF p. 54) sets eligibility "at or below 60% of the State Median Income guidelines that are in effect".
- HHS LIHEAP FY2027 Attachment 4 ("Mandatory Use in LIHEAP for FY27") prints Mississippi 60% SMI as $28,087, $36,730, $45,372, $54,015, $62,657 and $71,299 for sizes 1-6, and $72,920 to $81,022 for sizes 7-12. That is the model's floor arithmetic, not the matrix's rounded tops.
- Exact 60% SMI for size 1 is $28,087.80, which $28,088 exceeds.
- The documentation falls short:
- The PR rests the unchanged limit on FY2026 rows.
- It marks the source-conflict register "not applicable" while describing exactly such a conflict.
- It adds no FY2027 citation (plan p. 8 item 2.1 and p. 54; HHS FY2027 Attachment 4) to the limit parameter or variable.
- Expected:
- Add the FY2027 plan and HHS Attachment 4 references to
income_limit.yamlandms_liheap_income_limit.py. - Record the matrix-versus-HHS rounding conflict and its resolution in the register and in a comment.
- Optionally, add a size-1 test at $28,087 and $28,088 in 2027.
- Add the FY2027 plan and HHS Attachment 4 references to
- Proposed severity: SHOULD ADDRESS (missing and misleading citation; no executed defect).
Coordinator assessment: The model's limit is right: it matches HHS FY2027 Attachment 4 ($28,087 for size 1), and the code review ran the full path ($28,087 is paid $900, $28,088 is paid $0). This item is about citations and the source-conflict register, not the amount.
A4 — The .inf retirements at sizes 7, 9, 13, 14 and 17 have no test (OPEN)
- Location:
parameters/gov/states/ms/mdhs/liheap/income_bands/{7,9,13,14,17}.yaml, the2026-10-01: .infline on the retired bracket; testsms_liheap.yamlCase 22. - Trigger: I put back each retired bracket's FY2026 threshold and re-ran the lookup on every 2027 test income (
pr-11665-code-diag/mutation.py).- Sizes 10, 15, 16 and 18: Case 23 catches the change. It tests incomes above the old thresholds (72,508, 69,000, 78,000 and 84,850).
- Size 11: the change makes the thresholds non-monotone, so the tests catch it.
- Sizes 7, 9, 13, 14 and 17: nothing catches it. Their only 2027 test incomes are Case 22's next-to-last top and that top plus $1: 50,040/50,041, 46,050/46,051, 42,060/42,061, 44,900/44,901 and 53,420/53,421. All of these sit below the old thresholds of 60,813, 59,650, 61,238, 65,363 and 77,738.
- Expected vs observed: the parameters are right at head. In 2027, size 7 at 60,814 and at 72,919 gets band 5, paying Total Electric $1,100 and Propane $600. Size 13 at 61,239 and at 80,000 gets band 3, paying $1,300 and $700. On main, the same incomes get band 6 ($1,000 and $550) and band 4 ($1,200 and $650).
- Impact: these five sizes lost a band, and the tests do not pin that. If the
.infline were deleted, an eligible size-7 household with $65,000 would be paid $100 less, and every test would still pass. The PR body's claim that Case 22 "fixes the band count of every size" holds only from below. - Suggested test: for sizes 7, 9, 13, 14 and 17, add one 2027 income at the matrix's last-band top. That top equals
ms_liheap_income_limit2027, or the limit plus $1: 72,920, 76,161, 82,642/82,643, 84,263 and 89,124. This also covers the limit interaction. - Proposed severity: SHOULD ADDRESS (missing boundary coverage on a changed behavior; the executed values are correct).
Suggestions
S1 — Reference titles put "#page" in the human-readable text (OPEN)
- Location:
income_bands/5.yaml("household size 5 #page 49-50") andincome_bands/10.yaml("#page 50-51"). Alsomaximum_payment.yaml,payment_reduction.yaml,electric_maximum_payment.yamlandelectric_payment_reduction.yaml("... column #page 49-52"). - Expected: "pages 49-50", "pages 50-51" and "pages 49-52" in the title. The hrefs are correct.
- Proposed severity: SUGGESTION.
Coordinator assessment: The code review made the same point.
Evidence Gaps
No material gaps reported.
Notes
- The FY2027 bands are right. All 20 sizes match the printed FY2027 matrix (state plan PDF pp. 49-52, Revision 1 of October 6, 2026) threshold for threshold, and so do the band counts:
-
- size 1 gains a seventh band, $23,941-$28,088;
-
- sizes 7, 9 and 13-17 lose one band;
-
- size 20 gains one band;
-
- FY2027 has no unprinted income intervals.
- The dollar columns are unchanged from FY2026, size 1's seventh band pays 500/400/400/160/900/900, and every page anchor is correct.
- Timing is as the PR says. The program is annual and reads parameters at January 1. Period 2027 uses the FY2027 bands, and period 2026 and earlier are unchanged: identical at all 254 shared band edges and at 78 forced-payment points for 2022 and 2026, both heat types. The size-16 $350 propane exception still fires in 2026 and can't fire from 2027.
- The
.infencoding is sound. No threshold is NaN and every size's thresholds rise monotonically, at seven dates from 2022 to 2028. A finite income can't land in an.infbracket. An income exactly at a threshold stays in the lower band, matching the matrix's "0-3,990 / 3,991-7,980" printing. - Each new test fails on main (4 failed, 26 passed when the PR's tests run against main's package). The
ms_liheap.pylogic is byte-identical; only the docstring, references and comments changed.
Validation Summary
Local tests at the reviewed head passed: 49 passed, 0 failed across the Mississippi LIHEAP folder, run with the review venv (policyengine-core 3.37.2, matching uv.lock); imports resolved to the snapshot. Diagnostics ran band edges, the income-limit path, sizes 18 and 20 above the printed top, and a mutation check of the retired brackets, at the head and on main. Sources: the MDHS FY2027 and FY2026 LIHEAP state plans, the FY2026 matrix and HHS FY2027 SMI Attachment 4. Manifest check passed. CI: 37/37 checks pass at 4e05d9c.
Timing
setup seconds: 6.00s; scope seconds: 60.00s; parallel review seconds: 502.90s; policy role seconds: 502.90s; code role seconds: 451.30s; adjudication seconds: 150.00s; consolidation cleanup seconds: 59.80s; elapsed seconds: 608.00s
Review Severity
COMMENT. Open findings: 0 critical, 4 should address, 1 suggestions.
… bands - Cite the FY2027 plan and HHS Attachment 4 on the income limit, and say why the limit stays at the HHS amounts where the matrix prints $1 more. - Say in ms_liheap that a household qualifying only through the federal 110% poverty floor is paid from the last printed band, which from FY2027 includes sizes 18 and 20, and test it. - Test sizes 7, 9, 13, 14 and 17 at their income limit, so the retired brackets are covered, and one person at $28,087 and $28,088. - Record both points in the source-conflict candidates. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Thanks, David. All four items are addressed in the new commit.
|
DTrim99
left a comment
There was a problem hiding this comment.
Program review
Base repository: PolicyEngine/policyengine-us
PR number: 11665
Reviewed head SHA: 1e6a271
Merge base SHA: 50af7fb
Mode: incremental from 4e05d9c
Scope: changed behavior and affected dependencies
Source manifest: /private/tmp/policyengine-command-runs/ea33c0bb2b64/pr-11665-review-sources.json
Review status: COMPLETE
Source Documents
- ms-liheap-fy2027-state-plan.pdf — cached original.
- ms-liheap-fy2026-matrix.pdf — cached original.
- hhs-smi-fy2027-att4.pdf — cached original.
- ms-liheap-fy2026-state-plan.pdf — cached original.
Critical
None.
Should Address
A1 — The Axiom line points at a rulespec issue that covers FY2026 only (RESOLVED)
- Location: PR body,
axiom: TheAxiomFoundation/rulespec-us#1467 queued. - Rule: repository CLAUDE.md, "Axiom Parity". A
queuedissue must be dispatch-ready and labelledpe-parity, with the module path and corpus citation, the verbatim law, the required outputs, and companion tests from the same external source as the YAML tests. - Observed (read-only gh): #1467 exists, is OPEN and carries
pe-parity. However, its scope is "federal fiscal year 2026 (2025-10-01 to 2026-09-30)", and its module path isus-ms/policies/acf/liheap-plan/fy2026/benefit-matrix. Its verbatim text and companion tests all come from the FY2026 matrix and manual. It was last updated 2026-10-24, before this PR was created (2026-12-02). Neither its body nor its two comments (on PE-US #10279 and #10409) mention the FY2027 matrix or this PR. A search of rulespec-us finds no other Mississippi LIHEAP issue. The FY2027 state plan is not in a corpus manifest. - Expected: a comment on #1467, in the form already used for #10279 and #10409, or a new
pe-parityissue. It should give the FY2027 benefit-matrix module path, the corpus citation or ingest need for the FY2027 state plan (PDF pp. 49-52), the printed FY2027 bands, and companion tests from that matrix (for example, the Case 21-23 and integration Case 7 values). The PR's axiom line should then link to that. - Impact: an Axiom-parity requirement is unmet for the changed provision.
- Proposed severity: SHOULD ADDRESS.
Coordinator assessment: Hua's comment on rulespec-us#1467 now meets each point the queued rule requires. It gives the FY2027 module path (us-ms/policies/acf/liheap-plan/fy2027/benefit-matrix), the corpus ingest need for plan pp. 8, 49-52 and 54 and HHS Attachment 4, the verbatim text, the required outputs, and companion rows. Its 20-size band table matches the printed matrix. One companion row, size 18 at $100,000 paying $1,300, rests on the floor reading in A2, and the comment says so.
A2 — Sizes 18 and 20 above the printed FY2027 top now get the last-band payment, against the matrix's new "Over → 0" rows; not disclosed or tested (STILL OPEN)
- Location:
income_bands/18.yamlandincome_bands/20.yaml(FY2026 zero brackets replaced by.infand band 3 from 2026-10-01). Read withms_liheap.py, which endsreturn where(band > 0, ...), andms_liheap_eligible.py(the 110% poverty floor). - Trigger, run on the PR snapshot with explicit 2027 inputs (
pr-11665-policy-evidence/diag.out). Electric heat and a $3,000 bill:- size 20 with wages $100,000: eligible through the floor,
ms_liheap$1,300; - size 18 with $95,000: $1,300.
On main, period 2027 carries the FY2026 bands, where size 18 has a zero band above 84,849 and size 20 above 60,075. Both households get $0 on main (code trace).
- size 20 with wages $100,000: eligible through the floor,
- Source: the FY2027 matrix newly prints an explicit zero row for every size, for example "Over $93,986.49 for HH of 20 → 0" and "Over $90,745.49 for HH of 18 → 0" (PDF p. 52). The FY2026 matrix printed no "Over" rows (0 occurrences in its text layer). 42 U.S.C. 8624(b)(2)(B) bars excluding a household below 110% of poverty from eligibility. The model's existing convention (PE-US #10279, recorded in #1467) pays such households from the open-ended last band.
- Impact: under that convention this PR extends last-band payments to floor-qualified households above the printed top at sizes 18 and 20. They now match sizes 11-17 and 19, but contradict the newly explicit $0 rows.
- Which outcome is legally right is not established: the state matrix conflicts with the federal floor, so this is not reported as a confirmed wrong amount.
- The change is not in the PR body.
- The
ms_liheap.pycomment says only that "The FY2027 matrix has no gaps through size 20". - No test covers income above the FY2027 printed top at sizes 11-20.
- #1467 line 137 ("At sizes 18 and 20 the matrix ends in a zero band") is now out of date for FY2027.
- Expected:
- Get a maintainer ruling on whether the explicit FY2027 "Over → 0" rows change the #10279 convention for sizes 11-20.
- Disclose the outcome in the PR body and the code comment.
- Add a test above the printed top at size 18 or 20 that pins the ruled behavior.
- Proposed severity: SHOULD ADDRESS (an undisclosed behavior change on a newly reachable path, with no test).
Coordinator assessment: The code review ran this separately and got the same result: a size-18 household with $100,000 (or $88,000) in 2027 is paid $1,300 at the head and $0 on main. Size 10 moves the same way. Sizes 11-17 and 19 already paid the last band above the printed top on main. I've kept this at should-address, not critical. The matrix's new "Over → 0" rows conflict with the federal 110%-of-poverty floor that the #10279 convention follows, so the $1,300 isn't a confirmed wrong amount. What's needed: a ruling on the convention, a line in the PR body and code comment, and a test above the printed top that pins whichever behavior is chosen.
Coordinator assessment: Narrowed to the ruling record.
Fixed:
- The PR body and the
ms_liheap.pycomment now disclose the behavior: sizes 18 and 20 are newly paid from FY2027. ms_liheap.yamlCase 25 pins it. Size 18 at $100,000 is paid $1,300. At $123,772 the household is ineligible: 1.1 × (15,960 + 17 × 5,680) = 123,772, read from the 2026 guideline underfpg_year_lag, and the strict<matches 42 U.S.C. 8624(b)(2)(B)'s "less than 110 percent". Both reviewers ran this.
What remains: the commit changes us-ms:liheap-110-percent-poverty-floor in source_conflicts/candidates.yaml from unreviewed to ruled for all of 2026-2027. Its note ("Ruled 2026-12-02 for FY2027 ... (PR 11665)") names no decider and no basis, and FY2026 was never ruled.
- The eligibility half needs no separate ruling: the federal floor governs under the 2026-10-19 statute-first rule.
- The payment amount is a gap-fill. The statute sets no amount, and the matrix prints $0. That's the reading the earlier request asked to have ruled.
- An author ruling is fine if it's recorded as one; other entries say "Ruled ... by the PR author".
Fix: reword the note to say who ruled and on what basis. For example: "Ruled 2026-12-02 by the PR author: eligibility under the 2026-10-19 statute-first rule; amount extends the #10279 last-band convention". Either scope ruled to FY2027 or say why it also covers FY2026.
A3 — FY2027 income-limit basis is uncited; the matrix-top conflict is documented with an FY2026 justification and the register says "not applicable" (RESOLVED)
- Location: PR body ("Not changed: Income limit" and "Source-conflict register: not applicable").
policyengine_us/variables/gov/states/ms/mdhs/liheap/ms_liheap_income_limit.py(comment "reproduces all 20 published FY2026 rows"; only reference is manual p. 58).parameters/gov/states/ms/mdhs/liheap/income_limit.yaml, whose references are the FY2026 manual and FY2026 plan only.verified_yearsnow claims 2027. - Check: the matrix's last-band tops are 60% SMI rounded to the nearest dollar. They are $1 above floor(54,015 × share) at sizes 1, 6, 8, 10, 13, 15, 17 and 19, and equal it elsewhere. The PR's claim is correct, and SMI $90,025 × 0.6 = $54,015 is right.
- Executed result (
diag.out): sizes 1, 6, 8 and 10 at the printed top ($28,088, $71,300, $74,541, $77,782) are ineligible and paid $0; $1 lower they are paid. At sizes 13 and up, the printed top is eligible anyway through the 110% floor. - The model is supported, not wrong:
- The plan's Eligibility and Benefit Determination attachment (PDF p. 54) sets eligibility "at or below 60% of the State Median Income guidelines that are in effect".
- HHS LIHEAP FY2027 Attachment 4 ("Mandatory Use in LIHEAP for FY27") prints Mississippi 60% SMI as $28,087, $36,730, $45,372, $54,015, $62,657 and $71,299 for sizes 1-6, and $72,920 to $81,022 for sizes 7-12. That is the model's floor arithmetic, not the matrix's rounded tops.
- Exact 60% SMI for size 1 is $28,087.80, which $28,088 exceeds.
- The documentation falls short:
- The PR rests the unchanged limit on FY2026 rows.
- It marks the source-conflict register "not applicable" while describing exactly such a conflict.
- It adds no FY2027 citation (plan p. 8 item 2.1 and p. 54; HHS FY2027 Attachment 4) to the limit parameter or variable.
- Expected:
- Add the FY2027 plan and HHS Attachment 4 references to
income_limit.yamlandms_liheap_income_limit.py. - Record the matrix-versus-HHS rounding conflict and its resolution in the register and in a comment.
- Optionally, add a size-1 test at $28,087 and $28,088 in 2027.
- Add the FY2027 plan and HHS Attachment 4 references to
- Proposed severity: SHOULD ADDRESS (missing and misleading citation; no executed defect).
Coordinator assessment: The model's limit is right: it matches HHS FY2027 Attachment 4 ($28,087 for size 1), and the code review ran the full path ($28,087 is paid $900, $28,088 is paid $0). This item is about citations and the source-conflict register, not the amount.
Coordinator assessment: income_limit.yaml and ms_liheap_income_limit.py now cite the FY2027 plan (p. 8, item 2.1; p. 54) and HHS FY2027 Attachment 4 (pp. 2 and 5); each page was checked against the PDFs. The PR body's register line is corrected, and the new candidate us-ms:liheap-income-limit-matrix-top-rounding has every required field. ms_liheap_eligible.yaml Case 8 pins $28,087 (eligible) and $28,088 (not eligible).
A4 — The .inf retirements at sizes 7, 9, 13, 14 and 17 have no test (RESOLVED)
- Location:
parameters/gov/states/ms/mdhs/liheap/income_bands/{7,9,13,14,17}.yaml, the2026-10-01: .infline on the retired bracket; testsms_liheap.yamlCase 22. - Trigger: I put back each retired bracket's FY2026 threshold and re-ran the lookup on every 2027 test income (
pr-11665-code-diag/mutation.py).- Sizes 10, 15, 16 and 18: Case 23 catches the change. It tests incomes above the old thresholds (72,508, 69,000, 78,000 and 84,850).
- Size 11: the change makes the thresholds non-monotone, so the tests catch it.
- Sizes 7, 9, 13, 14 and 17: nothing catches it. Their only 2027 test incomes are Case 22's next-to-last top and that top plus $1: 50,040/50,041, 46,050/46,051, 42,060/42,061, 44,900/44,901 and 53,420/53,421. All of these sit below the old thresholds of 60,813, 59,650, 61,238, 65,363 and 77,738.
- Expected vs observed: the parameters are right at head. In 2027, size 7 at 60,814 and at 72,919 gets band 5, paying Total Electric $1,100 and Propane $600. Size 13 at 61,239 and at 80,000 gets band 3, paying $1,300 and $700. On main, the same incomes get band 6 ($1,000 and $550) and band 4 ($1,200 and $650).
- Impact: these five sizes lost a band, and the tests do not pin that. If the
.infline were deleted, an eligible size-7 household with $65,000 would be paid $100 less, and every test would still pass. The PR body's claim that Case 22 "fixes the band count of every size" holds only from below. - Suggested test: for sizes 7, 9, 13, 14 and 17, add one 2027 income at the matrix's last-band top. That top equals
ms_liheap_income_limit2027, or the limit plus $1: 72,920, 76,161, 82,642/82,643, 84,263 and 89,124. This also covers the limit interaction. - Proposed severity: SHOULD ADDRESS (missing boundary coverage on a changed behavior; the executed values are correct).
Coordinator assessment: ms_liheap.yaml Case 24 puts each size at its 2027 income limit: 72,920, 76,161, 82,642, 84,263 and 89,124. Each sits in the last printed band and above the retired FY2026 threshold. The mutation check was re-run: restoring each retired bracket now fails Case 24 (1 failed, 51 passed, for all five sizes).
Suggestions
S1 — Reference titles put "#page" in the human-readable text (WITHDRAWN)
- Location:
income_bands/5.yaml("household size 5 #page 49-50") andincome_bands/10.yaml("#page 50-51"). Alsomaximum_payment.yaml,payment_reduction.yaml,electric_maximum_payment.yamlandelectric_payment_reduction.yaml("... column #page 49-52"). - Expected: "pages 49-50", "pages 50-51" and "pages 49-52" in the title. The hrefs are correct.
- Proposed severity: SUGGESTION.
Coordinator assessment: The code review made the same point.
Coordinator assessment: Withdrawn. The model-development parameter reference asks for this form: "the href opens the first cited page, and the title ends with #page 72-75 for a consecutive run or #page 29,32-33,36,41 for a nonconsecutive list. Quote titles containing #".
S2 — The rounding candidate's "ruled" note also names no decider, and "follows: statute" fits only sizes 1-6 (OPEN)
- Location:
source_conflicts/candidates.yaml,us-ms:liheap-income-limit-matrix-top-rounding(state: ruled, "Ruled 2026-12-02: keep the limit at HHS's amounts"). - Observed: the reasoning in the note is correct:
- At sizes 1-6, 60% SMI is the federal maximum. For example, 150% FPL for size 6 is $66,540, below $71,299, so the statute bars the extra dollar.
- At sizes 8 and 10, 150% FPL is higher ($83,580 and $100,620), so the plan's text, not the statute, sets the limit. The matrix's own size-8 cutoff row ("Over $74,540.49") agrees with HHS.
- At sizes 13 and up, the floor makes the printed top eligible anyway.
- Gaps: as in policy-1, the note does not say who ruled. And
pe_us.follows: statuteis literally true only for sizes 1-6. - Impact: documentation only. The executed limit is correct (HHS Att. 4).
- Fix: add the decider or basis, for example "under the 2026-10-19 statute-first rule for sizes 1-6, and the plan's 'at or below 60% SMI' text for sizes 8 and 10".
- Proposed severity: SUGGESTION.
Evidence Gaps
No material gaps reported.
Notes
- This re-review covers commit 1e6a271. The PR has no merges of main and is 0 commits behind.
- The Python logic is unchanged. The ASTs of
ms_liheap.pyandms_liheap_eligible.pyare identical, andms_liheap_income_limit.py's formula is identical; only comments and two reference URLs were added. The new comments match the executed numbers. For example, in 2027 size 11 has a limit of 79,402 and a floor of 80,036, so sizes 11-20 qualify above the limit only through the floor. source_conflicts/candidates.yamlparses: 533 candidates, no duplicate ids. Everype_us.codepath in the two edited entries exists, andtest_source_conflicts.pypasses.
Validation Summary
Local tests at the reviewed head passed: the Mississippi LIHEAP folder, 52 YAML cases (49 from round 1 plus Cases 24 and 25 and eligibility Case 8), and test_source_conflicts.py, 251 tests, all with 0 failures. Both ran with the review venv (policyengine-core 3.37.2, matching uv.lock), and imports resolved to the snapshot. Five mutation runs restored each retired size-7, 9, 13, 14 and 17 bracket, and each was caught by Case 24. Direct runs checked Case 25 at the floor and Case 8 at the income limit. Sources: the round-1 manifest (FY2027 and FY2026 state plans, the FY2026 matrix, HHS FY2027 Attachment 4) plus rulespec-us#1467's new comment; the cached FY2027 plan's sha256 is unchanged. CI: 37/37 checks pass at 1e6a271.
Timing
setup seconds: 5.00s; scope seconds: 60.00s; parallel review seconds: 389.70s; policy role seconds: 389.70s; code role seconds: 308.70s; adjudication seconds: 120.00s; consolidation cleanup seconds: 86.60s; elapsed seconds: 512.00s
Review Severity
COMMENT. Open findings: 0 critical, 1 should address, 1 suggestions.
… notes - Poverty floor entry: eligibility follows the 2026-10-19 statute-first rule for FY2026 and FY2027; the FY2027 payment amount is an author ruling that extends the last-band treatment of PR 10279. The FY2026 amounts were not ruled separately. - Income limit rounding entry: author ruling; the statute sets the limit for sizes 1 to 6 and the plan's text sets it for sizes 8 and 10. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Applies the income bands of Mississippi's FY2027 LIHEAP benefit matrix from October 1, 2026.
Fixes #11664
Part of #11659.
What and why
MDHS's FY2027 LIHEAP State Plan attaches 2027 LIHEAP Benefit Matrix (Fuel Types), Revision 1, dated October 6, 2026 (PDF pages 49 to 52). Main carried the FY2026 bands into 2027.
income_bands/1toincome_bands/20):2026-10-01thresholds for every size. Examples: size 1, first band top $3,913 → $3,990; size 4, $8,038 → $8,250..infthreshold from2026-10-01. Size 1's seventh bracket has a.infthreshold before then. Period 2026 and earlier are unchanged.ms_liheapnow cites the FY2027 matrix and its comments say which matrix each quirk belongs to.verified_yearsbecomes "2026-2027".Tests
ms_liheap.yamlCase 21: size 1 at $0, on both sides of the first band top, and on both sides of the seventh band's start.ms_liheap.yamlCase 22: for each size from 2 to 20, the top of the next-to-last band and one dollar more.ms_liheap.yamlCase 24: sizes 7, 9, 13, 14 and 17 at their income limit stay in the last band. With Case 23, this covers every size that prints fewer bands than in FY2026.ms_liheap.yamlCase 25: 18 people with $100,000 qualify through the 110% floor and are paid $1,300; at the $123,772 floor they are not eligible.ms_liheap_eligible.yamlCase 8: one person is eligible at $28,087 and not at $28,088.ms_liheap.yamlCase 23: the five FY2026 unprinted intervals now pay, and size-16 propane at $78,000 pays $700, where the FY2026 matrix printed $350.integration.yamlCase 7: a retiree living alone with $24,600 of Social Security and electric heat is paid $900 from the seventh band.Test plan
source_conflicts/candidates.yamlextendsus-ms:liheap-110-percent-poverty-floorto the FY2027 matrix's $0 rows and addsus-ms:liheap-income-limit-matrix-top-rounding. Both follow the statute and are marked ruled.ruff format --checkandruff checkpass on the changed Python file (ruff 0.15.5).changelog.d/Not changed
ms_liheap_income_limitat sizes 1, 6, 8, 10, 13, 15, 17 and 19, and the same amount at the other sizes. For size 1 the matrix prints $28,088 and the model returns $28,087. The model's amounts are HHS's: Attachment 4 for FY2027 prints $28,087 for one person in Mississippi (PDF pages 2 and 5), and the plan sets eligibility "at or below 60% of the State Median Income guidelines that are in effect" (PDF page 54). The limit formula is unchanged; the parameter and variable now cite both FY2027 sources.axiom: TheAxiomFoundation/rulespec-us#1467 queued
🤖 Generated with Claude Code