Skip to content

Add federal CCDF infrastructure for scaling CCAP to all states#29

Closed
hua7450 wants to merge 4 commits intomasterfrom
federal-ccdf-infrastructure
Closed

Add federal CCDF infrastructure for scaling CCAP to all states#29
hua7450 wants to merge 4 commits intomasterfrom
federal-ccdf-infrastructure

Conversation

@hua7450
Copy link
Owner

@hua7450 hua7450 commented Mar 12, 2026

Summary

Creates shared federal-level CCDF variables and parameters so state CCAP implementations don't duplicate identical federal rules. This is the foundation for scaling child care subsidies to all 50 states + DC.

Changes

1. New: is_ccdf_immigration_eligible_child variable + parameter

  • Federal qualified alien list from 8 USC 1641 (CITIZEN, LPR, REFUGEE, ASYLEE, DEPORTATION_WITHHELD, CUBAN_HAITIAN_ENTRANT, CONDITIONAL_ENTRANT, PAROLED_ONE_YEAR)
  • States that follow the federal list can reuse this directly instead of creating their own
  • 11 test cases covering all qualified + ineligible statuses

2. New: child_care_subsidies federal aggregator

  • Follows the same pattern as tanf.py — maintains a list of state subsidy variables and sums them
  • Replaces the hardcoded state list in childcare_expenses.py (was ["CA", "CO", "NE", "MA"])
  • Adding a new state now means adding one line to STATE_CHILD_CARE_SUBSIDY_VARIABLES

3. Refactored: childcare_expenses.py

  • Removed inline state list and string manipulation
  • Now references child_care_subsidies aggregator directly

What's NOT in this PR

  • No refactoring of existing state implementations (CA, CO, MA, NE) — they continue to work as-is
  • No changes to RI CCAP — that will reference these federal variables in a follow-up

Test plan

  • is_ccdf_immigration_eligible_child tests pass (11 cases: 8 qualified statuses + 3 ineligible)
  • Existing CCDF tests still pass
  • Existing state childcare subsidy tests still pass (CA, CO, MA, NE)

🤖 Generated with Claude Code

hua7450 and others added 4 commits March 12, 2026 12:57
…ll states

Create shared federal-level variables and parameters to avoid duplicating
identical logic across state CCAP implementations. Closes PolicyEngine#7764.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… TX CCS

- Remove duplicate qualified_immigration_statuses.yaml parameter
- Reference gov/dhs/immigration/qualified_noncitizen_status instead
- Fix invalid Cornell LII link for 45 CFR 98.20
- Add TX CCS to child care subsidies aggregator

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
TX CCS was not in the original childcare_expenses.py list. Adding it to the
aggregator triggers a shape mismatch in microsim. Will wire in separately
once the TX CCS entity issue is resolved.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hua7450 hua7450 closed this Mar 12, 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