Repository navigation
Pay Hawaii's LIHEAP Energy Credit on electric (cooling) accounts - #10734
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both manuals pay electricity as cooling and let the household choose the utility credited, so any reported heating type with a gas or electric bill qualifies, with no cooling-cost condition. Update the main case whose row changes and drop a duplicate row from the cooling case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10734 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 2 +1
Lines 37 39 +2
=========================================
+ Hits 37 39 +2
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: Pay Hawaii's LIHEAP Energy Credit on electric (cooling) accountsHead reviewed: SummaryThe core change is right. Hawaii's sources pay the regular Energy Credit on an electric account, at the same flat amounts as a gas account, once a year, with no cooling-cost test. The formula does that, cannot pay twice, and leaves every household that qualified on gas unchanged. CI is green at the head and every new term is pinned by a test. One item should be addressed before merge: the electric account has no route through rent. The same sentences that the 2026-11-02 ruling follows for gas in rent say "electric/gas", inputs for it exist, and the body's stated reason for the gap is not accurate. Counts: 0 critical, 1 should, 3 suggestions. Answers to the Hawaii questions, from the sources:
CriticalNone. Should addressS1. Electricity included in rent pays $0, while gas in rent pays, and the body's reason for the gap does not hold. Where.
Governing text. Every sentence the gas-in-rent route rests on names both utilities:
The backlog entry The body's reason. The body says "no input marks electricity in rent when the heat is not electric." Two inputs do:
Households.
Household (a) is the candidate's own example with electricity in place of gas. Every home has electric service, so "all utilities in the rent" always includes electricity; that was not true of gas, which is why the gap did not matter on main. Why this is a should and not a critical. The body discloses the gap, the 2020 manual reads the other way ("Households where all utilities are included in the rent" are ineligible, p. 9), and the choice between those sources is a recorded ruling. What is missing is either the code or the record for the electric side. Fix. Either:
Either way, update rulespec-us#2177 (interpretation 5, which says "The text does not settle whether such households are paid on the electric account", and companion test 7). SuggestionsG1. The FY2027 plan is accepted, and period 2027 pays the FY2026 amounts on both accounts.
G2. Add a row with both bills.
G3. Housekeeping.
Verified correct1. Hawaii pays its regular benefit on an electric account in FY2026. No source conflicts on this point.
2. The amount is right for an electric account.
3. The new condition, term by term.
4. No double payment, and gas results are unchanged.
5. The one changed expectation is intended. Case 4 row 4: ELECTRICITY, electric $900, gas $0, income $20,000. (false OR true) AND true gives true. Was false on main. 6. Mutation check. Every new term has a row that fails without it.
7. Non-residents. 8. Periods. Every variable read by the new term is annual. The PR keeps 9. Registry. The Hawaii note in 10. National total. #10730's Hand-checked expectations (limits and amounts from matrix pp. 2-3):
Citations checked against the documents.
Not checked: the Yes/No answers to plan items 2.2, 2.3, 3.2 and 3.3 are check boxes that are not in the PDF text layer, and I did not view page images. The FY2026 plan prints no description under any of them, which is consistent with "No". Other checks.
Axiom line assessment
CI statusGreen: 39 checks pass and 3 workflow placeholders are skipped, on run 43153832766 at head The PR's own test files ran at this head in the selective-test job: Branch status
Verdict: REQUEST_CHANGES |
DTrim99
left a comment
There was a problem hiding this comment.
Requesting one change. Now that the electric account pays, a household with electricity in its rent gets $0 while gas in rent pays, although the draft manual sentences the 2026-11-02 ruling follows say "electric/gas", and tenant_pays_utilities is available as an input. Please either encode the electric side or extend us-hi:liheap-utilities-in-rent to cover it and correct the body's "no input" sentence (Should Address 1 in the report above).
The core change is right: one flat credit on either account, no double payment, gas results unchanged, and every new term is pinned by a test. The three suggestions are optional. CI is green at 09381beb93.
… rent Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, David. Encoded in
Tests were not run locally. |
PR Review (round 2): Pay Hawaii's LIHEAP Energy Credit on electric (cooling) accountsHead reviewed: SummaryThe round-1 finding is fixed. Utilities in the rent and electric heat in the rent now qualify, each new term has a row that fails without it, and the three new or changed expectations are right by hand. The backlog entry, the PR body and the queued Axiom issue now say the same thing as the code. CI is green at the new head and both changed test files ran there. One new item should be addressed before merge, and it is a one-row fix. Flipping Case 4 row 9 to true was correct, but that row was the only one where heat in the rent gave false. No row now fails if the rent arm's fuel condition is removed. Nothing that was eligible at round 1 or on main loses eligibility or changes amount. A household that does not send Counts: 0 critical, 1 should, 3 suggestions. How each claim below was established: the formula and mutation results are hand traces of the head's code against the test rows ("by my reading"); I ran no test locally. Source quotes come from the documents themselves, downloaded and read for this round. CI results come from the job log. Merge results come from merges I ran. Prior findings
New findingsCriticalNone. Should addressN-S1. The rent arm's fuel condition is no longer pinned by any test. Where.
What. At round 1, row 9 (electric heat in rent, no bill, false) was the only row with heat in the rent and a false result. It was the row that failed if the fuel test was dropped from the rent arm. The fix flips it to true, which is right, and adds no replacement. Every row at the head with Mutation. Replace Household the mutant gets wrong, unnoticed. One person in Hawaii, period 2026, income $20,000,
This is an ordinary input, not a corner. The The inclusion side is pinned: dropping ELECTRICITY from Fix. Add two rows to Case 4 or Case 6, both with heat in the rent, no bills and
Optional third row: PROPANE with SuggestionsN-G1. The utilities-in-rent term takes the flag at its word: it checks neither rent nor tenure.
N-G2. The candidate quotes a page its sources list does not cite.
N-G3. Leftovers in rulespec-us#2177 and the registry note. The issue's operative parts match the head. Four descriptive passages under "Why queued" and "PolicyEngine implementation" were not updated:
Optional: a companion test for eligibility Case 6 (no heating, utilities in the rent, private dwelling: eligible; UNSPECIFIED: not). Test 12 covers only the public-housing variant. The Hawaii note in Verified1. The formula at the head, term by term (hand trace of
2. Nothing eligible before becomes ineligible, and no amount changes.
3. The amount still needs a subsidized dwelling, and a private dwelling gets what Hawaii's rules give it.
4. One credit a year. One eligibility flag feeds one amount. A household with a bill and utilities in the rent, or both rent routes, gets one credit. Nothing else at the head reads either variable. 5. Mutation check on the new terms (by my reading; not run).
6. Hand-checked expectations (limits and amounts from matrix pp. 2-3; one-person limit $41,941).
Subsidized Case 6 does not pin SNAP. The household passes the income test, so SNAP receipt cannot change the result. 7. Quotes and pages in the fix commit, checked against the documents.
The draft also backs the route in a place the PR does not cite. Section 2.5 (p. 60): "If the subscriber is a realty company, realtor, organization, or management company, and the rent includes utilities, or the bill is prorated amongst units, the Landlord Agreement and Verification Form must be completed." 8. The ruling record. Fields of
No marker is added, which is right at this step. The guard test passed in CI at the head. Is extending a ruled entry's question consistent with the ruling? Yes, in my reading. The ruling chooses between sources, not between fuels: "follow the draft manual and application". Both sides of the conflict are fuel-neutral. The draft says "if rent includes utilities" and "when rent includes electric/gas", the application asks about "electric/gas service", and the 2020 manual excludes households where "all utilities" are in the rent. The question said "gas" only because main paid only the gas account. This PR opens the electric account, and the same sentences then decide the same question for it. That is the same conflict and the same choice, not a new one, and step 1 tells a PR to update an existing backlog item. The note keeps the ruling's words apart from the PR's application of them. It does not need a new ruling. Because the question of an entry marked 9. Guards. The edited comments in 10. PR body. The formula in the body matches the head. The changed rows (Case 4 rows 4 and 9) and the new cases are disclosed. The changelog fragment is updated to match. Axiom
CIRun 43266409441 at head The PR's own test files ran at this head in the selective-test job: Branch
Verdict: REQUEST_CHANGES |
DTrim99
left a comment
There was a problem hiding this comment.
Requesting one change, a two-row test fix. The round-1 finding is fixed: utilities in the rent and electric heat in the rent now qualify, each new term has a row that fails without it, and the backlog entry, the description and rulespec-us#2177 match the code.
Flipping Case 4 row 9 to true was right, but that row was the only one where heat in the rent gave false. Every row with heat in the rent now has gas or electric heat and expects true, so by my reading heat_in_rent & rent_fuel can be replaced with heat_in_rent and no test fails; that would pay a home with heat in the rent and an UNSPECIFIED or propane fuel. Please add those two rows, both expecting false (New finding N-S1 in the report above).
Three optional suggestions are in the report. One for the project lead to see at merge: the question of the ruled entry us-hi:liheap-utilities-in-rent was reworded to cover electricity; I read that as the same ruling applied to the newly opened account, not a new choice. CI is green at 6983cd97c9 apart from the pending coverage status.
Case 4 adds propane and unspecified heat in the rent with no bill, both ineligible, so dropping the gas-or-electric condition fails a test. Cite the draft's Energy Credit definition (p. 55) in the candidate and the variable, attribute the Case 6 quote to 2.1 and 4.2, note that a third-party payer or a rent-free home is not identified, and mention utilities in the rent in the registry note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, David. In
No formula changed. |
PR Review (round 3): Pay Hawaii's LIHEAP Energy Credit on electric (cooling) accountsSummaryI read the one commit since round 2, Prior findings
New findingsCritical: none. Should address: none. Suggestions: none. Verified
Axiom
CIAt head Branch12 commits behind main; the merge with main is clean. Verdict: APPROVE |
DTrim99
left a comment
There was a problem hiding this comment.
Approving. Case 4's two new rows (propane and an unspecified fuel with heat in the rent and no bills, both false) pin the fuel condition on the rent arm, the three suggestions are taken, and no formula changed since round 2.
Quick Feedback, the baseline state shards and PR validation pass at 2bb2ed796c. The six contributed-reform shards were still running when I approved; please let them finish before merging.
Pays Hawaii's LIHEAP Energy Credit on electric accounts, which Hawaii books as cooling, not only on gas accounts.
Fixes #10733
What and why
The FY2026 Policies and Procedures pay the Energy Credit once per federal fiscal year to the account the household picks: "Gas paid as heating and Electric paid as cooling" (1.4, p. 57), and "An applicant can apply for one utility type, gas or electric" (2.12, p. 61). The FY2026 ACF plan uses the same income limits and subsidized-dwelling size groups for cooling (items 3.1 and 3.5), the matrix prints the flat amounts for both (p. 2), and the FY2026 matrix is headed "H-HEAP HEATING AND COOLING ENERGY CREDIT (EC)". On main,
hi_liheap_eligibleaccepts only a gas bill or gas heat in rent, so households with only an electric account got $0.The account test becomes:
electric_bill = pre_subsidy_electricity_expense > 0utilities_in_rent = ~tenant_pays_utilitiesresponsible = ((gas_bill | electric_bill | utilities_in_rent) & (heating_type != UNSPECIFIED)) | (heat_in_rent & heating_type in (NATURAL_GAS, ELECTRICITY))The electric route mirrors main's gas route, which accepts any reported heating type. Hawaii lets any household choose the gas or the electric account and asks no cooling-cost question, so the route has no
has_cooling_expensecondition. This follows Hawaii's text rather than the all-state cooling-only definition, which also requires a cooling cost. Utilities included in the rent qualify too: the draft's Energy Credit offsets "rent or applicant's share of the electric/gas cost when rent includes electric/gas" (p. 55), and the 2026-11-02 ruling onus-hi:liheap-utilities-in-rentfollows the draft manual and application. Main applied it to gas in rent only, because only the gas account paid.hi_liheap_subsidized_amountreadshi_liheap_eligible, so the flat $375, $425 and $475 amounts reach subsidized and public-housing households on the electric account with no formula change. The registry note says the credit is paid on the electric account for any eligible household with that bill or with utilities in its rent.Test plan
Tests were not run locally; CI runs them.
tenant_pays_utilitiesfalse) is eligible with no bill, and an unspecified fuel is not; a Honolulu public-housing tenant aged 70 whose utilities are in the rent gets $375.us-hi:liheap-utilities-in-rent(ruled 2026-11-02, draft manual and application over the 2020 manual) now covers the electric account and lists this PR; its manual source also cites the Energy Credit definition (p. 55).make format(ruff)changelog.d/Not modeled
axiom: TheAxiomFoundation/rulespec-us#2177 queued
🤖 Generated with Claude Code