Add Pennsylvania CCAP (Child Care Assistance Program)#7829
Merged
MaxGhenis merged 9 commits intoPolicyEngine:mainfrom Apr 6, 2026
Merged
Add Pennsylvania CCAP (Child Care Assistance Program)#7829MaxGhenis merged 9 commits intoPolicyEngine:mainfrom
MaxGhenis merged 9 commits intoPolicyEngine:mainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7829 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 12 19 +7
Lines 174 297 +123
==========================================
+ Hits 174 297 +123
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:
|
…_hours_per_day, age_group Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Activity test (pa_ccw_activity_eligible): - Fix training combo: require is_student AND >=10 hrs/week (was >=10 hrs alone, violating 55 Pa. Code 3042.33) - Require ALL parents to qualify in two-parent households - Add meets_ccdf_activity_test fallback for non-derivable activities - Change to YEAR period: eligibility continues through 12-month certification after a break in work/education (55 Pa. Code 3042.19) Child eligibility (pa_ccw_eligible_child): - Change to YEAR period: child turning 13 mid-period stays eligible until next redetermination (55 Pa. Code 3042.11(d)) - Add foster care and protective services bypass (55 Pa. Code 3042.3) Region lookup (pa_ccw_region): - Add formula deriving ELRC region from county_str (18 parameter files mapping 67 counties to 19 regions) - Use compact getattr + list comprehension pattern Code simplification: - pa_ccw_adjusted_income: keep formula in annual units (annualize stepparent deduction instead of converting all inputs to monthly) - pa_ccw_market_rate: replace 18-way select + default with compact getattr loop over all 19 regions - pa_ccw_copay: document per-family copay and Appendix B approximation References: - Add href links to all 19 rate files (MCCA 2025 + 2023 PDFs) - Remove sources/working_references.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Enrolled families use 85% SMI as the income cap between redeterminations, not min(235% FPIG, 85% SMI). The 235% FPIG cap applies only at the redetermination itself (55 Pa. Code 3042.31(b)-(c)). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Implements Pennsylvania Child Care Works (CCW) — the state's CCDF child care subsidy program — in PolicyEngine.
Closes #7828
Regulatory Authority
Income Eligibility Tests
New applicants use the 200% FPIG threshold. Currently enrolled families (
pa_ccw_enrolled = True) use 85% SMI between redeterminations (55 Pa. Code 3042.31(b)). The 235% FPIG cap applies only at the redetermination itself (3042.31(c)), which is not separately modeled.Income Deductions & Exemptions
Income counted (55 Pa. Code 3042.42): Parent/caretaker, spouse, and children's unearned income. Appendix A Part I lists 21 income types (wages, self-employment, Social Security, pensions, unemployment, workers comp, veterans benefits, child support received, alimony, dividends, interest, rental income, etc.). Implemented via
sources.yamlwith 16 mapped PolicyEngine variables.Deductions (55 Pa. Code Appendix A Part II):
Stepparent Deduction (Appendix C):
Income exclusions (55 Pa. Code Appendix A Part III): Teen earnings, tax refunds/EITC, SNAP, WIC, foster care payments, student aid, LIHEAP, and ~15 other categories. These are excluded by not including them in the
sources.yamlincome list.Income adjustment procedure (55 Pa. Code 3042.43): 8-step process — determine gross income per Appendix A Part I, estimate monthly per conversion table (55 Pa. Code Appendix A), apply stepparent deduction and other deductions, multiply result by 12 for annual adjusted family income.
Copayment
The copayment is weekly, per family (not per child) — 55 Pa. Code 3042.91(c)-(d); CCDF State Plan 3.2.1.
Formula (implemented as rate-based calculation per 55 Pa. Code 3042.98):
where:
rate= 5% if annual income <= 100% FPIG, otherwise 7%Note: Appendix B contains a detailed sliding-fee copayment chart by family size and income bracket. The implementation uses the 5%/7% caps as an approximation, which overestimates copay by $4-35/month within the eligibility range (conservative — understates the actual benefit). The exact formula PA DHS uses to generate Appendix B is not published.
Benefit Calculation
Formula (55 Pa. Code 3042.14(b), 3042.92, 3042.118(c)):
MCCA Rates
Structure: 19 regions x 4 provider types (CENTER, GROUP, FAMILY, R/N) x 5 age groups (Infant, Young Toddler, Old Toddler, Pre-School, School-Age) x 2 time categories (Full-Time, Part-Time).
Rate eras:
Region mapping: Each PA county maps to one of 19 ELRC regions.
pa_ccw_regionderives the region fromcounty_strusing 18 parameter files (region 1 is the default). Source: PA DHS ELRC page.Age group thresholds: Defined in
age_group/months.yaml— Infant, Young Toddler, Old Toddler, Pre-School, School-Age based on child's age in months.Not Modeled
Files Added
Review Fixes
weekly_hours_worked,is_full_time_student; requires ALL parents to qualify in two-parent households; training combo requires student status AND >=10 hrs; falls back tomeets_ccdf_activity_testpa_ccw_eligible_childandpa_ccw_activity_eligiblechanged to YEAR to match PA's 12-month certification rules (55 Pa. Code 3042.11(d), 3042.19)pa_ccw_eligible_childnow accepts foster care and protective services children regardless of tax dependency or immigration (55 Pa. Code 3042.3)pa_ccw_regionderives ELRC region fromcounty_str(18 county-mapping parameter files, 67 counties)select()replaced withgetattrloop (2 lines instead of 22)min(235% FPIG, 85% SMI)); the 235% cap applies at redetermination, not between (55 Pa. Code 3042.31(b)-(c))Test plan