Repository navigation
Conversation
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.
Behavior
Fixes #9999 and addresses #9868. When a caller supplies separate marital units for a parent and adult child, the child no longer becomes an inferred tax-unit spouse. When a household omits marital units, an explicit head/spouse pair forms one unit and other people get singleton units, so their SSI marital income is not pooled with the couple.
is_tax_unit_head/is_tax_unit_spouseinputs within the same tax unit and household. Their true inputs must share a period. Conflicting dependent inputs or changing pair roles require explicit membership; separated pairs are left unpaired. Age and calculated tax roles never construct marriages.Draft dependencies and scope
pyproject.tomlanduv.lockso reviewers can run it. Replace the Git dependency with the released minimum and removeallow-direct-referencesbefore merge.filing_status_inputis added.Validation
make formatandgit diff --checkpass.Policy calculations are tested in variable-named YAML files. The new Python module covers construction and dataset contracts unavailable to YAML, and runs in the existing Microsimulation job; no runner or parallel heavy process is added. Local macOS timing including imports, using the existing six dataset-copy tests as a control: 10.81 seconds / 925,057,024 bytes peak RSS before adding the nine new tests, 11.07 seconds / 841,220,096 bytes after. The lower RSS is run-to-run variation, not a claimed memory improvement. Linux CI resource reports were not downloaded; these small-fixture measurements do not certify the full runner's peak.
axiom: n/a: supplied relationship preservation and simulation entity construction, not a change to a legal provision.