Skip to content

Conversation

@anth-volk
Copy link
Contributor

Summary

Adds label metadata to 12 breakdown parameters that had breakdown definitions but no labels. This enables automatic label generation for their child parameters in the PolicyEngine API.

Parameters updated

Parameter Label Added
gov.hhs.tanf.non_cash.asset_limit TANF non-cash asset limit for SNAP BBCE
gov.hhs.tanf.non_cash.income_limit.net_applies.hheod SNAP net income limit for elderly/disabled BBCE households
gov.hhs.tanf.non_cash.income_limit.net_applies.non_hheod SNAP net income limit for non-elderly/disabled BBCE households
gov.hhs.tanf.non_cash.requires_all_for_hheod TANF non-cash elderly/disabled household classification requirement
gov.states.co.cdhs.tanf.grant_standard.main Colorado TANF grant standard
gov.states.co.cdhs.tanf.need_standard.main Colorado TANF need standard
gov.states.md.tanf.maximum_benefit.main Maryland TANF maximum benefit
gov.states.wi.tax.income.deductions.standard.max Wisconsin standard deduction amount before phase-out
gov.states.wi.tax.income.subtractions.unemployment_compensation.income_phase_out.base Wisconsin unemployment compensation subtraction phase-out base income
gov.usda.snap.income.deductions.excess_medical_expense.standard SNAP standard medical deduction
gov.usda.snap.max_allotment.additional SNAP additional maximum allotment
openfisca.completed_programs.state Fully implemented state programs

Test plan

  • Verify parameter labels are correctly generated in the API
  • Confirm no breaking changes to existing functionality

Fixes #7113

🤖 Generated with Claude Code

Added label metadata to 12 breakdown parameters that had breakdown
definitions but no labels, enabling automatic label generation for
their child parameters.

Parameters updated:
- gov.hhs.tanf.non_cash.asset_limit
- gov.hhs.tanf.non_cash.income_limit.net_applies.hheod
- gov.hhs.tanf.non_cash.income_limit.net_applies.non_hheod
- gov.hhs.tanf.non_cash.requires_all_for_hheod
- gov.states.co.cdhs.tanf.grant_standard.main
- gov.states.co.cdhs.tanf.need_standard.main
- gov.states.md.tanf.maximum_benefit.main
- gov.states.wi.tax.income.deductions.standard.max
- gov.states.wi.tax.income.subtractions.unemployment_compensation.income_phase_out.base
- gov.usda.snap.income.deductions.excess_medical_expense.standard
- gov.usda.snap.max_allotment.additional
- openfisca.completed_programs.state

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@anth-volk anth-volk marked this pull request as ready for review January 6, 2026 15:11
@codecov
Copy link

codecov bot commented Jan 6, 2026

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff              @@
##              main    #7114       +/-   ##
============================================
- Coverage   100.00%   76.44%   -23.56%     
============================================
  Files           10     3649     +3639     
  Lines          144    52526    +52382     
  Branches         0      263      +263     
============================================
+ Hits           144    40155    +40011     
- Misses           0    12337    +12337     
- Partials         0       34       +34     
Flag Coverage Δ
unittests 76.44% <ø> (-23.56%) ⬇️

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.

Add labels to breakdown parameters without them

2 participants