Skip to content

Age SIPP and SCF donors to target year#185

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/age-sipp-scf-donors-20260602
Jun 2, 2026
Merged

Age SIPP and SCF donors to target year#185
MaxGhenis merged 1 commit into
mainfrom
codex/age-sipp-scf-donors-20260602

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • add target-year uprating for SIPP and SCF donor survey value columns using PolicyEngine US-data uprating factors
  • wire the PE-US-data rebuild provider bundle so SIPP 2023 and SCF 2022 are valued at the PUF/final target year
  • keep donor survey weights and categorical/status columns unchanged, and keep source names tied to source vintage for provenance
  • refresh SIPP copied income after annualization so it stays aligned with employment_income

Tests

  • uv run --python 3.13 --extra dev --extra policyengine pytest tests/test_donor_survey_source_providers.py tests/pipelines/test_pe_us_data_rebuild.py -q
  • uv run --python 3.13 --extra dev --extra policyengine pytest tests/test_pe_source_impute_specs.py -q
  • uv run --python 3.13 --extra dev --extra policyengine ruff check src/microplex_us/data_sources/donor_surveys.py src/microplex_us/pipelines/pe_us_data_rebuild.py tests/test_donor_survey_source_providers.py tests/pipelines/test_pe_us_data_rebuild.py
  • uv run --python 3.13 --extra dev --extra policyengine ruff format --check src/microplex_us/data_sources/donor_surveys.py src/microplex_us/pipelines/pe_us_data_rebuild.py tests/test_donor_survey_source_providers.py tests/pipelines/test_pe_us_data_rebuild.py

@MaxGhenis MaxGhenis merged commit 95542f7 into main Jun 2, 2026
5 checks passed
@MaxGhenis MaxGhenis deleted the codex/age-sipp-scf-donors-20260602 branch June 2, 2026 19:35
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