Repository navigation
Conversation
…p-utility-providers
Replace the shared electricity and natural gas provider inputs with id_liheap_electricity_provider and id_liheap_natural_gas_provider, enums in the Idaho LIHEAP folder that list only the companies the Idaho heating matrix distinguishes. The matrix and estimated-cost formulas read them. 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 #11054 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 4 +3
Lines 24 95 +71
=========================================
+ Hits 24 95 +71
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:
|
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ider tests - Three provider matrix files: bare date keys, key comments and `breakdown` metadata whose ranges match the stored areas. No value changes. - northern_electric_providers: state why Lamb Creek Trailer Park is omitted and use one title for the chart PDF. estimated_heating_costs names the "Utah Power & Light" column. - Tests: id_liheap Cases 15-22 use counties each utility serves, drop a duplicate case and add the Intermountain, OTHER and unreported gas choices; id_liheap_estimated_heating_cost Case 6 covers the six provider cost cells. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Idaho's PY26 Benefit Determination Chart pays different heating amounts by utility: "AVISTA & Northern Utilities", "Idaho Power & Southern Utilities" and "Rocky Mountain Power" for electric heat, and "Avista" and "Intermountain Gas" for gas heat. The model pays the Idaho Power and Intermountain Gas columns to everyone. This PR adds inputs for the household's electricity and natural gas companies and uses them to select the chart column and the matching heating-cost estimate, which sets the energy-burden group.
Fixes #11224
Changes
id_liheap_electricity_providerandid_liheap_natural_gas_provider, enum inputs in the Idaho LIHEAP folder, each withOTHERandUNSPECIFIED(the default).matrix/electricity_northern.yaml,matrix/electricity_rocky_mountain.yaml,matrix/natural_gas_avista.yaml) and the matching provider rows inestimated_heating_costs.yaml.northern_electric_providers.yaml: the companies that use the "AVISTA & Northern Utilities" column. One list feeds both formulas.id_liheapandid_liheap_estimated_heating_costselect the column from the reported company.IDAHO_POWER,INTERMOUNTAIN_GAS,OTHERandUNSPECIFIEDkeep the Idaho Power and Intermountain Gas columns, so a household that reports no company keeps its current result.Example
A one-person electric-heat household in heating Area II with a high energy burden, before any target-household bonus:
Where the choices come from
OTHERand uses the Idaho Power column.Limitations
verified_yearsis unchanged.Tests
id_liheap.yamlCases 15-22: every published cell of the three new columns, a household whose burden group changes with the company's cost estimate, the three blank-cell pairs, all seven added northern companies withOTHERandUNSPECIFIED, the Intermountain Gas andOTHERgas choices, and a gas-heated household whose electric company is Avista.id_liheap_estimated_heating_cost.yamlCase 6: the six provider cost cells and one blank-cell pair.The cases were not run locally after these changes; CI runs them.
Sources
axiom: needed
🤖 Generated with Claude Code