Skip to content

Populate AOTC eligibility inputs#842

Closed
MaxGhenis wants to merge 1 commit intoPolicyEngine:mainfrom
MaxGhenis:codex/fix-aotc-eligibility
Closed

Populate AOTC eligibility inputs#842
MaxGhenis wants to merge 1 commit intoPolicyEngine:mainfrom
MaxGhenis:codex/fix-aotc-eligibility

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • convert the PUF-imputed tax-unit AOTC signal into lower-level Enhanced CPS AOTC eligibility inputs
  • fill qualified tuition expenses when a positive imputed AOTC unit lacks a tuition recipient
  • avoid writing all-false AOTC inputs when there is no positive imputed AOTC signal

Dependency

Tests

  • uv run ruff format policyengine_us_data/datasets/cps/extended_cps.py tests/unit/test_extended_cps.py && uv run ruff check policyengine_us_data/datasets/cps/extended_cps.py tests/unit/test_extended_cps.py
  • uv run pytest tests/unit/test_extended_cps.py -q

Fixes #841

@MaxGhenis
Copy link
Copy Markdown
Contributor Author

Closing because this repository's CI requires PR branches to live in PolicyEngine/policyengine-us-data rather than a fork. Reopening from an upstream branch.

@MaxGhenis MaxGhenis closed this Apr 28, 2026
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.

AOTC is effectively disabled in Enhanced CPS because eligibility input is never true

1 participant