Repository navigation
Point dollar inputs at closer uprating series - #9527
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9527 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 3 59 +56
Lines 78 510 +432
==========================================
+ Hits 78 510 +432
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:
|
MaxGhenis
force-pushed
the
uprating-series-mappings
branch
4 times, most recently
from
September 18, 2026 18:35
6403982 to
c316a05
Compare
- Unemployment compensation: the SOI series was extended by CBO's taxable Social Security projection. Extend it by CBO's unemployment compensation outlays, which no variable used, and carry that series past 2036. - Alimony income followed the SOI self-employment series; alimony income and expense now follow the SOI alimony series. Fix that series' label. - Capital gains components follow SOI long-term capital gains. - Pay-linked inputs (hourly wage, tips, overtime premium, W-2 wages of qualified businesses, desired retirement contributions, military and government pay) and wage-replacement benefits follow SOI employment income; self-employed pension contributions follow self-employment income. - General health insurance premiums follow CMS per-capita out-of-pocket spending, as the other premium inputs do. - Veterans benefits follow the Social Security cost-of-living index. - Rent, child care, tuition, utilities, phone, insurance and transport expenses, and mortgage, student loan and investment debt inputs follow CPI-U, as assets, real estate taxes and child support already do. Everything else keeps the default, CBO total AGI per capita. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Two of the four are deprecated (issue #9275), and the file also holds three deduction formulas that the selective coverage job never runs, so touching it left 30 formula lines uncovered in the project report. The person-level home_mortgage_interest input keeps CPI-U. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
MaxGhenis
force-pushed
the
uprating-series-mappings
branch
from
September 18, 2026 20:10
c316a05 to
024e09a
Compare
This was referenced Sep 20, 2026
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.
Points dollar inputs at the series closest to what each one measures. Follows #9525 (docs) and #9526 (per-capita uprating), both merged; this branch is one commit on main.
The rule applied
An input follows, in order of preference: its own national series when the parameter tree has one; the income source it is part of; prices for consumption expenses and debts; CMS per-capita spending for health costs. Everything else keeps the default, CBO total AGI per capita. National totals are converted to per capita at runtime by #9526.
Two defects
calibration.gov.irs.soi.unemployment_compensationwas extended bycalibration.gov.cbo.income_by_source.taxable_social_security.calibration.gov.cbo.unemployment_compensationsat in the tree with no variable using it. The SOI series now grows with CBO's unemployment compensation outlays from 2022, the first year that series has, and that series is carried past 2036 like the other CBO anchors.calibration.gov.irs.soi.alimony_income, whose label said "SOI short-term capital gains" and is corrected.Reassignments from the default
hourly_wage,tip_income,fsla_overtime_premium, W-2 wages of qualified businesses, desired 401(k), 403(b) and IRA contributions, military and government payworkers_compensation,disability_benefitsself_employed_pension_contributions_desiredhealth_insurance_premiumsveterans_benefitsgov.ssa.uprating, the Social Security cost-of-living indexThe dataset-extension override table already mapped the computed
rentcolumn to CPI-U; thepre_subsidy_rentinput the default dataset carries now matches it.Growth each series applies, from 2024
The largest changes are to rent and child care, which feed SPM resources: 3.0 percent in 2025 in place of 5.9 percent, and 28.6 percent by 2035 in place of 47.3 percent. Unemployment compensation grows 53.6 percent by 2035 in place of 95.4 percent.
Judgment calls
These are choices among the series the tree already holds, not corrections of errors. I flag them for review:
Tests
tests/core/test_uprating_series.py: one case per reassigned variable, each series defined across the projection window, unemployment compensation growth equals CBO's for 2025 to 2036 and does not flatten afterwards, the alimony label, and rent matching its override.tests/core/test_per_capita_uprating.pynow uses charitable donations as its default-series example, since rent moved to CPI-U.tests/code_health,tests/microsimulation/data,tests/policy/contrib/ssa,tests/policy/baseline/parameters/test_uprating_extensions.py,tests/test_system_import.py. The full suite is left to CI.I have not measured the effect on budgetary or poverty estimates.
🤖 Generated with Claude Code