Repository navigation
Conversation
Where coverage had ended by the query, the priors were known and the current period's ending stayed unknown, DISABILITY and ALL refused with ongoing_disability_period_dli_horizon_unsupported, even with the status settled. They now report the status and a range for the date, and that reason no longer exists. A later ending can take a QC of the exit year off the clock (404.146(d)), so the date can fall through the first quarter after that year. The list of endings now runs through that quarter. Later endings only set aside uncredited quarters, so no date falls from there on, and the last ending's date tops the range. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Two new tests fail under list_ignores_the_exit_in_period_outcomes and list_ignores_the_exit_high, which passed every earlier test. Round 23's flagged-prior test now pins a record that catches flagged_refuses_every_placement on every run. round_26_mutations takes round 24's 135 mutations and round 25's one and adds nine for the frozen-exit range. Each ran against 29cd40a's insured_status.py and failed its named test, with no restricted open and no subprocess. The list gives five node ids with spaces in full and quotes every target. The unit tier count rises by the two new tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/README-tiers.md repeats tests/tier_counts.json, which the last commit raised to 26,677 unit tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each recorded command writes python where the runs used the repository's .venv interpreter, so round_26_replay now says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
This PR stays a draft until its independent review agrees, and it retargets to master once #601 merges.
Coverage can end before the query while a record gives the priors and leaves the current period's ending unknown. When the date last insured could then run past the query, the rule refused DISABILITY and ALL queries with
ongoing_disability_period_dli_horizon_unsupportedbefore it decided the status. It now reports the status with a range for the date, and the code drops that reason. A reviewer flagged the refusal as a low finding on #562: #562 (comment).A later ending can take a QC of the exit year off the clock (404.146(d)), so the date can fall through the first quarter after that year. The rule now checks each ending through that quarter. Later endings only set aside uncredited quarters, so no date falls from there on, and the last ending's date tops the range.
Invariants
test_every_declared_ending_fits_the_rangedraws records across ages, sexes, priors, blindness and continuity observations. For each record, it declares each ending through the first quarter after the exit year and a sample of later ones through retirement age, reruns the rule, and checks four properties:Example tests pin the edges. With no exit by the query, the date stays at the query's quarter and right-censored, and a death date caps both the range and the list.
Verification
We ran the old and new code on 600 invented records, 391 of them with an exit already reached. Outside the old code's 43 horizon refusals, the two agree on every output, including every other refusal and invalid input. The new code computes 39 of those 43 and refuses the other 4 by name: two with
disability_boundary_assignments_unsupported, one withongoing_disability_period_end_decides_statusand one withsubsequent_special_long_period_unsupported.round_26_mutationsindocs/design/track_b_insured_status_mutations.jsontakes round 24's 135 mutations and round 25's one and adds nine for this range. Each of the 145 ran against this PR'sinsured_status.pyand failed a named test, and the audit hook counted no restricted open and no subprocess. Two of the nine drop the exit from the list_period_outcomesreads or from the high list, and they passed every earlier test.test_an_ending_after_the_query_alone_can_refuse_the_lowandtest_an_unknown_exit_year_can_split_the_cap_after_the_querynow fail under them. Round 23's flagged-prior property caughtflagged_refuses_every_placementon 3 of 40 seeds, so that test now pins a record that catches it every time. The list gives five node ids with spaces in full, and its commands need bash.axiom: TheAxiomFoundation/rulespec-us#2055 queued. This changes how the reference code reports an unknown ending and leaves every reading of the law as it was.
🤖 Generated with Claude Code