Skip to content

Add taxpayer ID primitives to Enhanced CPS#715

Closed
MaxGhenis wants to merge 2 commits intoPolicyEngine:mainfrom
MaxGhenis:codex/id-primitives
Closed

Add taxpayer ID primitives to Enhanced CPS#715
MaxGhenis wants to merge 2 commits intoPolicyEngine:mainfrom
MaxGhenis:codex/id-primitives

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • derive taxpayer_id_type, has_valid_ssn, and has_tin from CPS identification status
  • keep has_itin as a temporary compatibility alias in the emitted dataset
  • add unit coverage and artifact-aware integration checks for the new raw fields

Why

Federal tax rules increasingly distinguish between broader taxpayer-ID requirements and stricter valid-SSN requirements. The CPS pipeline currently only emits ssn_card_type, which forces upstream policy code to infer both concepts indirectly.

This PR adds explicit dataset-level primitives so policyengine-us can consume statute-facing inputs instead of overloading ssn_card_type.

Companion policy PR: PolicyEngine/policyengine-us#7974

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

@MaxGhenis is attempting to deploy a commit to the PolicyEngine Team on Vercel.

A member of the Team first needs to authorize it.

@MaxGhenis
Copy link
Copy Markdown
Contributor Author

Superseded by #708: the taxpayer ID primitives and conservative target-based TIN imputation have been folded into the org-branch PR so CI only has one us-data PR to run.

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

1 participant