Skip to content

Derive clone-half childcare caps deterministically#704

Merged
MaxGhenis merged 3 commits into
mainfrom
codex/childcare-imputation
Apr 9, 2026
Merged

Derive clone-half childcare caps deterministically#704
MaxGhenis merged 3 commits into
mainfrom
codex/childcare-imputation

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • stop stage-2 QRF imputation of spm_unit_capped_work_childcare_expenses
  • rebuild clone-half capped childcare from clone pre-subsidy expenses, donor cap shares, and clone earnings caps
  • add regression tests that lock out impossible capped-childcare values

Testing

  • uv run pytest -q tests/unit/test_extended_cps.py tests/unit/calibration/test_calibration_puf_impute.py
  • uv run ruff check policyengine_us_data/datasets/cps/extended_cps.py tests/unit/test_extended_cps.py
  • uv run ruff format --check policyengine_us_data/datasets/cps/extended_cps.py tests/unit/test_extended_cps.py
  • git diff --check

@MaxGhenis MaxGhenis marked this pull request as ready for review April 9, 2026 01:15
@MaxGhenis MaxGhenis merged commit 7a79100 into main Apr 9, 2026
9 checks passed
@MaxGhenis MaxGhenis deleted the codex/childcare-imputation branch April 9, 2026 01:15
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