Skip to content

Conversation

@anth-volk
Copy link
Contributor

Fixes #7117

Summary

  • Added missing breakdown metadata to 28 parameter files that had children with filing_status or state_code enum values but were missing the breakdown attribute on the parent node
  • Added missing label metadata where needed

Changes by category

Calibration parameters (4 files)

  • calibration.gov.census.populations.by_state - added breakdown: [state_code] and label
  • calibration.gov.hhs.medicaid.totals.enrollment - added breakdown: [state_code] and label
  • calibration.gov.hhs.medicaid.totals.spending - added breakdown: [state_code] and label
  • calibration.gov.irs.soi.returns_by_filing_status - added breakdown: [filing_status]

IRS parameters (14 files)

  • gov.irs.ald.loss.max - added breakdown: [filing_status]
  • gov.irs.ald.misc.max_business_losses - added breakdown: [filing_status] and label
  • gov.irs.capital_gains.loss_limit - added breakdown: [filing_status] and label
  • gov.irs.credits.cdcc.phase_out.amended_structure.second_increment - added breakdown: [filing_status]
  • gov.irs.credits.ctc.phase_out.arpa.threshold - added breakdown: [filing_status]
  • gov.irs.deductions.itemized.salt_and_real_estate.cap - added breakdown: [filing_status]
  • gov.irs.deductions.qbi.phase_out.length - added breakdown: [filing_status]
  • gov.irs.income.amt.exemption.amount - added breakdown: [filing_status] and label
  • gov.irs.income.amt.exemption.phase_out.start - added breakdown: [filing_status] and label
  • gov.irs.income.exemption.phase_out.start - added breakdown: [filing_status] and label
  • gov.irs.income.exemption.phase_out.step_size - added breakdown: [filing_status] and label
  • gov.irs.investment.net_investment_income_tax.threshold - added breakdown: [filing_status] and label
  • gov.irs.payroll.medicare.additional.exclusion - added breakdown: [filing_status]
  • gov.irs.unemployment_compensation.exemption.cutoff - added breakdown: [filing_status] and label

State parameters (10 files)

  • gov.states.ca.calepa.carb.cvrp.income_cap - added breakdown: [filing_status] and label
  • gov.states.il.tax.income.exemption.income_limit - added breakdown: [filing_status]
  • gov.states.ks.tax.income.exemptions.by_filing_status.amount - added breakdown: [filing_status]
  • gov.states.mn.tax.income.subtractions.social_security.reduction.increment - added breakdown: [filing_status]
  • gov.states.ny.tax.income.deductions.itemized.phase_out.start - added breakdown: [filing_status]
  • gov.states.ny.tax.income.deductions.itemized.reduction.incremental.lower.income_threshold - added breakdown: [filing_status]
  • gov.states.ut.tax.income.credits.retirement.phase_out.threshold - added breakdown: [filing_status]
  • gov.states.ut.tax.income.credits.ss_benefits.phase_out.threshold - added breakdown: [filing_status]
  • gov.states.ut.tax.income.credits.taxpayer.phase_out.threshold - added breakdown: [filing_status]
  • gov.states.wi.tax.income.additions.capital_loss.limit - added breakdown: [filing_status]

Test plan

  • Run parameter label tests to verify changes

🤖 Generated with Claude Code

Added missing breakdown and label metadata to 28 parameter files that had
children with filing_status or state_code values but were missing the
proper breakdown metadata on the parent node.

🤖 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 6, 2026

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff              @@
##              main    #7118       +/-   ##
============================================
- Coverage   100.00%   79.67%   -20.33%     
============================================
  Files           10     3649     +3639     
  Lines          144    52526    +52382     
  Branches         0      263      +263     
============================================
+ Hits           144    41849    +41705     
- Misses           0    10639    +10639     
- Partials         0       38       +38     
Flag Coverage Δ
unittests 79.67% <ø> (-20.33%) ⬇️

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.

anth-volk and others added 3 commits January 6, 2026 20:30
Added missing breakdown: [filing_status] to the 2 remaining pseudo-breakdown
parameters in gov/contrib/congress/wftca.

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Added missing breakdown: [state_code] to 10 HHS Medicaid and SMI parameters
that had state code children but were missing the breakdown metadata.

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
…ters

Add breakdown metadata to IRS parameters with nested bracket+filing_status structure:
- gov/irs/capital_gains/thresholds.yaml: Add breakdown: [range(1, 3), filing_status]
- gov/irs/credits/elderly_or_disabled/phase_out.yaml: Add breakdown: [filing_status] to threshold

These params had filing_status children but were missing breakdown metadata on the parent node.

🤖 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 18:57
Add labels to 8 ParameterScale parents (covers 68 bracket params):
- American Opportunity Credit amount
- EITC phase-out joint filer bonus
- Premium tax credit eligibility
- Premium tax credit phase-out ending/starting rates
- DC property tax credit elderly/non-elderly offset fractions
- DC income tax rates

Add labels to 10 breakdown parents (covers ~450 params):
- SNAP BBCE asset limit, net income tests, classification requirements
- Maryland TANF grant standard
- Wisconsin standard deduction maximum
- Wisconsin unemployment compensation subtraction phase-out base
- SNAP standard medical deduction
- SNAP additional household member allotment
- Completed state programs

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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 metadata to pseudo-breakdown params

2 participants