Skip to content

Remove PUF support clone top-tail cap#170

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/remove-puf-top-tail-cap-20260602
Jun 2, 2026
Merged

Remove PUF support clone top-tail cap#170
MaxGhenis merged 1 commit into
mainfrom
codex/remove-puf-top-tail-cap-20260602

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

Rationale

The prior guard scaled high-income PUF support clone records toward 78_999_999, effectively moving records to the edge of a state AGI target bucket. That is not a defensible production data-generation step. PUF/CPS amount fields should come from donor imputation and calibration, not post-hoc target-bucket surgery.

The remaining CPS refresh still lets PUF support clone records borrow CPS-only categorical/status fields such as disability flags, WIC/housing indicators, and work-status indicators, but it no longer overwrites income, benefit, expense, hours, wage, or retirement-distribution amounts.

Tests

  • uv run --python 3.13 ruff check src/microplex_us/pipelines/us.py tests/pipelines/test_us.py
  • uv run --python 3.13 ruff format --check src/microplex_us/pipelines/us.py tests/pipelines/test_us.py
  • uv run --python 3.13 --extra dev python -m pytest tests/pipelines/test_us.py -k 'puf_support_clone'
  • uv run --python 3.13 --extra dev --extra policyengine python -m pytest tests/pipelines/test_us.py

@MaxGhenis MaxGhenis merged commit c14f8d4 into main Jun 2, 2026
5 checks passed
@MaxGhenis MaxGhenis deleted the codex/remove-puf-top-tail-cap-20260602 branch June 2, 2026 10:00
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