Implement Alabama Child Care Subsidy Program (CCSP)#8322
Draft
hua7450 wants to merge 5 commits into
Draft
Conversation
Closes PolicyEngine#8321 - 16 parameter files including 486-cell rate matrix (provider × region × age × STAR tier) - 16 variables covering eligibility (180% FPL initial / 200% FPL continuing / 85% SMI cap), triple-test income, dual-tier copay table, multi-dimensional rate lookup, and waiver paths - 14 test YAML files (103 cases) covering unit + integration + edge cases - Registered in programs.yaml and federal CCDF child_care_subsidy_programs.yaml Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8322 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 3 16 +13
Lines 63 297 +234
==========================================
+ Hits 63 297 +234
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:
|
- Correct §2.5.5(c)(iii) section label on income_limit_fpl_continuing.yaml - Fix #page=26 on income_limit_fpl_initial.yaml (was 24) - Add #page=1/2 anchors to 6 Provider Rate Chart references - Add 4 direct unit tests for al_ccsp_weekly_copay_per_child - Add exact-boundary tests at 180% FPL, 200% FPL, 85% SMI Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Add #page= anchors to 5 variable .py files referencing Provider Rate Chart - Fix al_ccsp_enrolled.py section label (§2.2.4 → §2.5.5(c)(iii)) - Add STAR_1/STAR_2/STAR_4 test cases to al_ccsp_maximum_weekly_rate.yaml Co-Authored-By: Claude Opus 4.7 (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 Alabama Child Care Subsidy Program (CCSP) in PolicyEngine.
Closes #8321
Regulatory Authority
Program Overview
Eligibility
al_ccsp_eligible_childal_ccsp_income_eligiblewithal_ccsp_enrolled = Falseal_ccsp_income_eligiblewithal_ccsp_enrolled = Trueal_ccsp_income_eligibleis_ccdf_asset_eligible(federal CCDF helper, reused)al_ccsp_activity_eligibleis_ccdf_immigration_eligible_child(federal CCDF helper, reused)al_ccsp_protective_servicesviais_in_foster_care,is_homelessdefined_for = StateCode.ALFamily unit ≈ SPMUnit (PE's SPMUnit may include unrelated cohabitants that AL excludes; documented as known approximation).
Income Calculation
income/countable_income/sources.yaml(employment, self-employment, farm operations, SS, pensions, unemployment, workers' comp, TANF, SSI, state supplement, interest, dividends, alimony, veterans' benefits)WEEKS_IN_YEAR/MONTHS_IN_YEAR— per CT C4K precedent)Family Fee (Copay)
Weekly per-child fee, sliding scale by FPL band. Effective Jan 1, 2024.
Initial tier (9 bands, 0-180% FPL):
Continuing tier (181-200% FPL):
Copay waivers (REQ-021/022/023/024):
NOT waived: homeless families (homelessness only waives the eligibility test via the protective-services pathway, not the copay — per §2.2.2(f) and §3.3.1(iii)).
Provider Rates
486-cell rate matrix transcribed verbatim from Provider Rate Chart:
state_code_str == "AL"(per WA-PTE lesson) to prevent non-AL households crashing on missing keysBenefit Calculation
Per-child weekly subsidy =
max(0, min(provider charge, max weekly rate) − per-child copay).Per-child monthly subsidy = weekly subsidy × 4.333 ×
al_ccsp_eligible_child.Family-level copay split equally across eligible children. SPMUnit benefit = sum of per-child monthly subsidies.
Files Added
Coverage
28 in-scope requirements / 28 implemented (100%). 9 NOT-MODELED items documented as known limitations.
Not Modeled
is_enrolled_in_head_start)is_homelessHousehold variable instead)Test plan
make formatcleanVerification TODO
🤖 Generated with /encode-policy-v2