Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been 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.
Fix DC and Illinois LIHEAP payments and Louisiana's school readiness credit when simulations combine states or tax units. Each household keeps the amount it receives alone.
Closes #10788
Invariants
Validation
dc_liheap_payment.yaml: 29 cases, including both new zero-mask controls.il_liheap_base_payment.yaml: 25 cases.il_liheap.yaml: two cases checking the total and both IHWAP eligibility outputs.la_school_readiness_tax_credit.yaml: 14 cases, including both new no-child controls.test_liheap_la_credit_mixed_simulations.py::test_households_keep_their_results_in_any_state_mix: one property passes withmax_examples=8and two explicit examples.make format: passes with the pinned Ruff 0.15.5.The YAML hand checks give DC
min(904, 2,000) = 904, Illinoismin(910, 2,000) = 910, and Louisiana50 × 2 = 100and80 × 1.5 = 120.Python checks population independence through separately constructed simulations, which fixed YAML examples cannot establish for generated compositions. The property uses eight generated populations and two explicit populations, including all 50 states and DC together.
Local macOS measurements include startup and wrapper overhead. The log's creation time and the memory report's completion time supply elapsed time.
The failing run stops before the population comparisons. The passing pytest session reports 65.43 seconds. The test shares the default model and retains result arrays, with at most 106 small simulations across the configured examples.
The existing rest-python core group will collect the property. On the base commit, its Linux CI chunks peaked at 6.478–8.794 GiB. These reports predate this addition; local single-file checks do not validate the full group. Base CI run.
PR checks skipped because this PR remains a draft. Full suites, partner checks and microsimulations await the hub and CI.
Methodology choices
axiom: n/a: repairs vectorized lookups and entity projection without changing encoded provisions.
Microsimulation impact
To be measured before merge.
Other open work
🤖 Generated with Claude Code