Add published BLS monthly CPI actuals through June 2026 and update the HHS uprating index#9100
Open
MaxGhenis wants to merge 2 commits into
Open
Add published BLS monthly CPI actuals through June 2026 and update the HHS uprating index#9100MaxGhenis wants to merge 2 commits into
MaxGhenis wants to merge 2 commits into
Conversation
MaxGhenis
force-pushed
the
refresh-bls-cpi-actuals
branch
2 times, most recently
from
July 21, 2026 01:30
231ce25 to
4352aed
Compare
…prating 2025 entry CPI-U, Chained CPI-U, and CPI-W gain monthly actuals for September 2025-June 2026 (October 2025 was never published), replacing the CBO projection points those months cover per the refresh protocol documented in uprating_extensions.py. HHS uprating 2025 entry becomes the published calendar-2025 CPI-U average (321.9). Partner contract pins recalibrated under the partner-test gate (approved by Max). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…irect BLS-series tests
MaxGhenis
force-pushed
the
refresh-bls-cpi-actuals
branch
from
July 21, 2026 13:30
4352aed to
b30f34d
Compare
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.
Fixes #9091. Follow-up to #9090 (SNAP index), which refreshed the one index this PR doesn't touch.
What
The three BLS CPI parameter files' monthly actuals ended at August 2025 while BLS has published through June 2026. This PR:
gov/bls/cpi/cpi_u.yaml(CUSR0000SA0),c_cpi_u.yaml(SUUR0000SA0), andcpi_w.yaml(CWSR0000SA0), retrieved from the BLS API 2026-07-20. October 2025 was never published (canceled release) — the gap is documented in-file and October instants carry September forward.2026-02-01annual points in all three files; also2026-05-01in CPI-W), per the refresh protocol documented inuprating_extensions.py(get_or_ctc_coladocstring: "a monthly refresh that reaches a February replaces that instant's projection with the observed value"). Later projection points stay on the February 2026 CBO baseline.gov/hhs/uprating.yaml's 2025 entry from the CBO forecast (320.6) to the published calendar-2025 CPI-U average (321.9), matching the file's convention (CY average at each year's January instant, truncated to 1 dp like the existing actuals). 2026+ stay CBO forecasts.Downstream effects (computed from the model)
gov.irs.uprating(~660 references): TY2025 and TY2026 factors are byte-identical (their Sep–Aug C-CPI-U windows lie entirely in untouched history). TY2027 +0.33%, TY2028 +0.51% — e.g. the 2027 single standard deduction moves $16,500 → $16,550.gov.ssa.uprating) needed no update — its 2025Q3 actual is already encoded; 2026Q3 is legitimately still a forecast. CPI-W's only model consumer (WA millionaires-tax deduction) is unchanged.Tests
New discriminating cases, strong-form verified (with the four parameter files reverted to
main, exactly these fail, with the old values; with the refresh, all pass):Partner contract tests
99 pinned values across 14 files — 96
wic, plus one each ofschool_meal_daily_subsidy,head_start, andearly_head_start(amplifi, analytics_coverage signatures and edge cases, my_friend_ben) — moved — all five affected output variables and magnitudes:wic±$0.6–3.1/year,school_meal_daily_subsidy+$0.12,head_start/early_head_start+0.41% in 2025. Partner tree passes 630/630 before this change and after recalibration; the three-question gate was run with Max and approved (round 2; team/partner notification his). Documented comment arithmetic in the edge-case files was recomputed from model outputs.Review
Sol (gpt-5.6-sol) cross-family adversarial review, round 1: fixed three WIC comment-arithmetic lines, the HHS convention comment, and added direct per-series BLS tests (revert-one-series now fails exactly that series' test). His remaining observation — pre-existing
get_irs_cpiaverages Aug–Jul while documenting the 12 months ending August — is real but predates this PR and shifts every tax year's factors; filed separately.Deferred (tracked in #9091)
policyengine-core#523— the anchored-year-period storage key bug found while writing the SNAP tests.🤖 Generated with Claude Code