Add federal CCDF infrastructure for scaling CCAP to all states#7765
Merged
hua7450 merged 5 commits intoPolicyEngine:mainfrom Mar 13, 2026
Merged
Add federal CCDF infrastructure for scaling CCAP to all states#7765hua7450 merged 5 commits intoPolicyEngine:mainfrom
hua7450 merged 5 commits intoPolicyEngine:mainfrom
Conversation
…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>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7765 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 3 +1
Lines 13 33 +20
=========================================
+ Hits 13 33 +20
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5 tasks
… 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>
5 tasks
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>
5 tasks
PavelMakarchuk
approved these changes
Mar 13, 2026
Collaborator
PavelMakarchuk
left a comment
There was a problem hiding this comment.
LGTM after yaml file
Use unit:list parameter pattern instead of hardcoded Python list, consistent with household_benefits and 209 other aggregator variables. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #7764
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_childvariablegov/dhs/immigration/qualified_noncitizen_statusparameter (8 USC 1641) and adds a citizen check — no duplicate parameter file2. New:
child_care_subsidiesfederal aggregatortanf.py— maintains a list of state subsidy variables and sums themchildcare_expenses.py(was["CA", "CO", "NE", "MA"])STATE_CHILD_CARE_SUBSIDY_VARIABLES3. Refactored:
childcare_expenses.pychild_care_subsidiesaggregator directlyWhat's NOT in this PR
Test plan
is_ccdf_immigration_eligible_childtests pass (11 cases: 8 qualified statuses + 3 ineligible)🤖 Generated with Claude Code