Skip to content

Conversation

@anth-volk
Copy link
Contributor

@anth-volk anth-volk commented Jan 7, 2026

Summary

Under development. Requires PolicyEngine/policyengine.py#209. Add breakdown_labels metadata to parameters with range() dimensions to provide semantic labels for numeric breakdown dimensions.

This enables human-readable labels like "Household size 3" instead of raw "3".

Updated parameters (25 files):

  • SNAP: max_allotment, income deductions standard
  • IL AABD utility params (7 files): bottled_gas, coal, cooking_fuel, electricity, fuel_oil, metered_gas, water
  • VT renter credit (3 files): fair_market_rent, income_limit_ami (30%, 50%)
  • DC LIHEAP (2 files): electricity, gas
  • NC SCCA: childcare_market_rates
  • IRS: state_sales_tax_table/tax
  • ACA: state_rating_area_cost
  • OR: WFHDC credit match
  • State TANF/benefits: DC, MN MFIP, UT FEP (2), MO, AR TEA, RI Works

Test plan

  • Parameters load correctly with new metadata
  • Labels generate correctly when used with policyengine.py changes

Depends on: PolicyEngine/policyengine.py#TBD (breakdown_labels support)

🤖 Generated with Claude Code

Add breakdown_labels to params with range() dimensions to provide
semantic labels for numeric breakdown dimensions. This enables
human-readable labels like "Household size 3" instead of raw "3".

Updated params:
- SNAP max_allotment.main: Household size
- SNAP income deductions standard: Household size
- NC SCCA childcare market rates: Age group
- IRS state sales tax table: Family size, Income bracket
- ACA state rating area cost: Rating area
- IL AABD utility params (7 files): Household size
- VT renter credit params (3 files): Household size
- DC LIHEAP params (2 files): Income level, Household size
- OR WFHDC credit: FPL bracket
- DC TANF standard payment: Household size
- MN MFIP transitional standard: Assistance unit size
- UT FEP params (2 files): Household size
- MO TANF standard of need: Assistance unit size
- AR TEA payment standard: Assistance unit size
- RI Works payment standard: Household size

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.12%. Comparing base (fc2b613) to head (e2be743).
⚠️ Report is 45 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##              main    #7126       +/-   ##
============================================
- Coverage   100.00%   82.12%   -17.88%     
============================================
  Files           10     3649     +3639     
  Lines          144    52526    +52382     
  Branches         0      263      +263     
============================================
+ Hits           144    43135    +42991     
- Misses           0     9359     +9359     
- Partials         0       32       +32     
Flag Coverage Δ
unittests 82.12% <ø> (-17.88%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants