Repository navigation
Pay the Nevada LIHEAP Fixed Annual Credit to cooling-only households, assuming an energy account - #10738
Conversation
Assume every household has the active energy account Section 500 requires, so any sent heating type, including NONE, qualifies on income and size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…IHEAP Treat utilities as included in the rent when heat is in the rent or the tenant does not pay utilities, so a subsidized home without heating whose utilities are all in the rent needs an energy burden (Sections 501 I, 503 and 803 V.3). Add a mixed-household eligibility case and send has_cooling_expense explicitly in the benefit case that tests it. 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 #10738 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 37 21 -16
=========================================
- Hits 37 21 -16
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 the Nevada LIHEAP Fixed Annual Credit to cooling-only households, assuming an energy accountPR #10738 (author: hua7450), head Path prefixes:
Sources read for this review (each downloaded and searched as text):
SummaryThe change is right against the sources, and I found nothing that blocks it: 0 critical, 0 should, 6 suggestions.
The suggestions are about two input combinations that depend on flags the caller may not send, a source conflict worth recording, and test and housekeeping polish. Answer to the reviewer question (keep the 501 I exclusion?): yes, keep it. Both manuals state it four times (501 I, 503, 702 III, 803 V.3) and both plans repeat it in item 2.3. Applying it to homes without heating through CriticalNone. Should addressNone. SuggestionsG1. A subsidized household with no energy cost is paid $360 unless the caller sends an in-rent flag (
G2.
G3. Record the plan's renter sentence as a source-conflict candidate.
G4. Pin the amounts of the changed cases, not only eligibility.
G5. Cite the manual's affirmative text for paying a household with no bill (
G6. Housekeeping.
Verified correct1. Does Nevada pay the regular credit to a cooling-only household? Yes, in both years.
2. Quotes and pages in the PR body. All found at the cited place:
The reference change from 3. Is the amount right?
4. Line-by-line comparison with
5. Changed expectations (27 deleted lines). The deletions are 19 formula lines, 1 registry line and 7 test lines: 3 header comment lines, and the name and output of Cases 3 and 10. Both flips are intended and right:
No expectation in 6. Hand-checks. SFY2026, one person: limit 15,650 × 1.5 = 23,475; expected payment 0.0181 × 18,720 = 338.832.
7. Mutation check. Each term fails a test when removed:
8. Other checks.
Axiom line assessmentValid:
CI status39 pass, 0 fail, 0 pending, 3 skipped. Run 43153811436 tested head
Branch status
0 critical, 0 should and 6 suggestions are open at this head. Verdict: APPROVE |
DTrim99
left a comment
There was a problem hiding this comment.
Approving. Nevada pays one year-round credit that counts the electric bill with no heating or cooling condition, the credit formula is unchanged, nobody who qualified on main changes, and every new term is pinned by a test. On the reviewer question: yes, keep the Section 501 I exclusion; both manuals and both plans state it, and reading tenant_pays_utilities for homes without heating is the right extension.
Six optional suggestions are in the report above. The two worth a look are G1 (a subsidized household with no energy cost gets $360 unless the caller sends an in-rent flag) and G3 (record the plan item 2.3 renter sentence as a source-conflict candidate). CI is green at fd132c51e5.
Pays Nevada's LIHEAP Fixed Annual Credit to households with no heating, including cooling-only households, by assuming every household has the energy account the manual requires.
Fixes #10737
What and why
Nevada calls its program "a combined year-round heating and cooling program" (FY2026 plan item 1.1; the FY2027 plan says the same). The credit counts "primary heating and electric energy source costs" (EAP Manual 803 III, p. 60). The account rule is that "An applicant household must have or qualify to have an active open account with a Nevada utility/energy vendor" (Section 500, p. 31). On main,
nv_liheap_eligiblestood in for that account with a heating fuel and a heating expense. A home with no heating, or a gas-heated home with a $0 gas bill, got $0.PolicyEngine assumes every household has an active energy account and does not model the requirement.
nv_liheap_eligibleis now:has_cooling_expenseis required. UNSPECIFIED qualifies only with heat in rent, as on main.tenant_pays_utilitiesinput is false.nv_liheap) is unchanged: 12-month energy cost minus the median burden times income, with a $360 minimum that also applies to a negative figure (803 V.2, p. 61), capped by the benefit table, plus the $100 targeted supplement. With no heating, the cost is the electricity bill.Test plan
Tests were not run locally. CI is their first run and starts when this PR leaves draft.
has_cooling_expense: false, so its inputs match its name.us-nv:liheap-minimum-fixed-annual-credit(from PR 10432, unreviewed) records the $360 minimum over the $240 the SFY2026 manual prints in sections 504 A, 505 and 702 III. The new cooling-only cases rely on it: in SFY2026 a home with no heating whose credit computes below $360 gets $360. The SFY2027 manual prints $360 throughout.make format(ruff)changelog.d/Not modeled
Reviewer question
Should the Section 501 I exclusion for subsidized tenants with all utilities in rent stay? This PR keeps it and applies it to homes without heating through
tenant_pays_utilities.axiom: TheAxiomFoundation/rulespec-us#2176 queued
🤖 Generated with Claude Code