Skip to content

Add Alaska's income standards to the Trustees uprating readers test - #10619

Merged
hua7450 merged 1 commit into
PolicyEngine:mainfrom
hua7450:trustees-readers-alaska-standard
Nov 2, 2026
Merged

hua7450 merged 1 commit into
PolicyEngine:mainfrom
hua7450:trustees-readers-alaska-standard

Conversation

@hua7450

@hua7450 hua7450 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

What and why

policyengine_us/tests/core/test_trustees_2026_economic_assumptions.py::test_the_tree_has_the_expected_readers fails on main, so it fails on any PR whose CI runs against current main.

Two PRs that each passed on their own combined to break it:

  • PolicyEngine/policyengine-us#10565 (merged 2026-11-02 14:44 UTC) added UPRATING_READERS, a hard-coded list of the parameters whose uprating metadata names gov.ssa.uprating.
  • PolicyEngine/policyengine-us#10378 (merged 2026-11-02 16:36 UTC) added gov.states.ak.dpa.ssp.income_eligibility_standard.individual and .couple, which name that path. Its branch last merged main before 10565, so its CI never ran this test.

The test's docstring asks for a look at each new reader before it joins the list. The Alaska standards belong there: 7 AAC 40.310(c) raises them each January 1 by the Social Security cost-of-living percentage, so a different CPI-W path should move them.

This PR adds the two Alaska paths to the list. Only the test list changes, plus the changelog fragment. No parameter, formula or policy value changes.

A search of the repository found no other hard-coded copy of the list.

Test plan

Not run locally; CI runs this test. By reading the code at main:

  • The 13 parameter files that name gov.ssa.uprating are the 11 paths already on the list plus these two, so the expected set matches. The expected NAWI readers are unchanged.
  • Both Alaska files fit the parametrized tests that read this list: a plain values: block, a last stated value of 2027-01-01 (on or before 2027-12-31) and rounding of type nearest, interval 1. They also pass the reform's own checks: no at_defined_interval or start_instant.
  • Policy YAML tests from an external source: not applicable, no policy change.
  • Source-conflict register entry: not applicable.
  • ruff format --check on the changed test file
  • Changelog fragment in changelog.d/

axiom: n/a: test list update only; no policy, parameter or formula changes.

🤖 Generated with Claude Code

PR 10565 added a hard-coded list of the parameters that name
gov.ssa.uprating, and PR 10378 then added two Alaska parameters that name
it, so test_the_tree_has_the_expected_readers fails on main. 7 AAC 40.310(c)
ties these standards to the Social Security COLA, so they belong in the
Trustees reach. Only the test list changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hua7450
hua7450 merged commit da831c4 into PolicyEngine:main Nov 2, 2026
34 checks passed
hua7450 added a commit to hua7450/policyengine-us that referenced this pull request Nov 2, 2026
…al-asset-limit-2027

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DTrim99 added a commit that referenced this pull request Nov 2, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LqCGPgxDukji8Bhs57c5rH
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.

1 participant