Skip to content

Resolve conflicting tax unit role flags#75

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/sanitize-tax-unit-role-flags-20260529
May 29, 2026
Merged

Resolve conflicting tax unit role flags#75
MaxGhenis merged 1 commit into
mainfrom
codex/sanitize-tax-unit-role-flags-20260529

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • resolve imputed tax-unit role flag conflicts before constructing PolicyEngine tax units
  • use household relationship hints so spouse/dependent conflicts do not create extra standalone filer units
  • add regressions for head/spouse, head/dependent, and spouse/dependent conflicts

Validation

  • uv run --python 3.13 --extra dev ruff check src/microplex_us/pipelines/us.py tests/pipelines/test_us.py
  • uv run --python 3.13 --extra dev pytest tests/pipelines/test_us.py -k 'tax_unit_role_flags or role_conflicts'\n- structural probe on the current 100k-household candidate: tax units fall from 177,692 to 171,058; still above eCPS and needs broader coherence work\n

@MaxGhenis MaxGhenis merged commit dec3b4c into main May 29, 2026
3 checks passed
@MaxGhenis MaxGhenis deleted the codex/sanitize-tax-unit-role-flags-20260529 branch May 29, 2026 13:32
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