Implement Washington State Child Care Assistance Program#8208
Draft
hua7450 wants to merge 5 commits intoPolicyEngine:mainfrom
Draft
Implement Washington State Child Care Assistance Program#8208hua7450 wants to merge 5 commits intoPolicyEngine:mainfrom
hua7450 wants to merge 5 commits intoPolicyEngine:mainfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #8208 +/- ##
===========================================
- Coverage 100.00% 97.09% -2.91%
===========================================
Files 2 21 +19
Lines 35 344 +309
Branches 0 4 +4
===========================================
+ Hits 35 334 +299
- Misses 0 8 +8
- Partials 0 2 +2
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:
|
- HGP "under 85% SMI" boundary: use strict less-than - HGP path bypasses both asset cap and income tier per WAC 110-15-0023(2)(a) - Drop teen-parent age cap on K-12 path per RCW 43.216.814 - Rename wa_wccc_categorical_eligible to wa_wccc_hgp_eligible - SNAP categorical: include is_snap_eligible per RCW 43.216.802(5) - Backdate eligibility/copay/sources parameters to align with rate parameters - Fix homeless.yaml effective date to 2023-12-14 (WSR 23-23-082) - Fix center_full_days.yaml subsection cite to WAC 110-15-0190(3)(b) - Add wa_wccc, wa_wccc_center_time_category, wa_wccc_family_home_time_category unit tests - Document copay waivers (5)(b) ECE-workforce and (5)(c)(ii) categorical as unmodeled - Drop wa_wccc_time_category constant formula (now bare input with default FULL_TIME) - Subtract child_support_expense from countable income per WAC 110-15-0065 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Reduce payment/ from 12 to 7 variables by consolidating the time category indirection layer and inlining single-use rate lookups. The deleted intermediate variables matched the wrapper-variable anti-pattern: each was used in exactly one place. Replace wa_wccc_time_category (FULL_TIME/PART_TIME parent activity proxy), wa_wccc_center_time_category, and wa_wccc_family_home_time_category with a single wa_wccc_day_type input enum (FULL_DAY / HALF_DAY / PARTIAL_DAY). The new enum reflects WAC 110-15-0190(7), which defines day types by per-day care hours — not parent activity hours, which the previous indirection conflated. PARTIAL_DAY is now reachable for family home providers (it was unreachable in the old code). Inline wa_wccc_center_daily_rate, wa_wccc_family_home_daily_rate, and wa_wccc_in_home_relative_hourly_rate into wa_wccc_max_monthly_reimbursement. Update center.yaml and family_home.yaml rate parameter breakdowns to use wa_wccc_day_type. Center rates have no PARTIAL_DAY tier per WAC 110-15-0200; PARTIAL_DAY entries mirror HALF_DAY for centers. Tests: 121 pass after refactor. Six unit-test files for the deleted wrapper variables removed alongside them. Two new cases added to wa_wccc_max_monthly_reimbursement.yaml exercising PARTIAL_DAY for family home and the HALF_DAY fallback for centers. 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 Washington State Working Connections Child Care (WCCC) — the state's CCDF/CCDBG-funded child care subsidy program administered by DCYF (intake by DSHS Child Care Subsidy Contact Center).
Closes #8207
Regulatory Authority
Program Overview
Eligibility
wa_wccc_smi_rateselects viais_wccc_enrolledis_homelesstriggers higher SMI rateis_in_k12_schoolwa_wccc_income_eligiblechecksis_snap_eligible | (snap_reported > 0)is_ccdf_asset_eligible(replaces state-specific check)wa_wccc_eligible_child(age < 13)wa_wccc_eligible_childextends to age 19 whenis_disabledis_tax_unit_dependentdefined_for = StateCode.WAwa_wccc_activity_eligible(simplified — we don't track approved-activity hours at the moment)Family Share / Copay
Source: WAC 110-15-0075(2). Copay is not prorated for partial-month use (WAC 110-15-0075(4)).
Copay waived for:
Benefit Calculation
Provider rates (WAC 110-15-0200/0205/0240, effective 7/1/2023 for centers and family home; in-home/relative $4.00/hr from 7/1/2024):
Architecture
is_ccdf_asset_eligiblevariable (matching the $1M CCDBG ceiling), not a state-specific check.payment/folder: 7 variables total, with single-use rate lookups inlined intowa_wccc_max_monthly_reimbursement. Day-type indirection (FULL_TIME/PART_TIME → FULL_DAY/HALF_DAY) was removed in favor of a singlewa_wccc_day_typeinput that directly encodes WAC 110-15-0190(7)'s per-day care-hour distinction.Requirements Coverage
35 in-scope requirements implemented (REQ-001/002/005/006/007/008/009/010/011/012/014/017/018/019/020/021/022/024/027/028/029/030/031/032/033/038/040/041/042/043/044/045/046). One in-scope item (REQ-034 16-hr/day cap) is non-binding under simplified billing standards (16 × 30 = 480 > 230 monthly hour cap) and is documented in the Not Modeled section.
Not Modeled
wa_wccc_day_typedefaults to FULL_DAY; user override acceptedHistorical Notes
Key Implementation Notes
policyengine_us/{variables,parameters}/gov/states/me/dhhs/ccap/).parameters/.../wccc/sources.yaml;wa_wccc_countable_income.pyusesadds = "..."(not inline). TANF excluded from sources to prevent a benefit cycle.programs.yaml,spm_unit_benefits.py, andhousehold_state_benefits.yamlper CO CCAP precedent.Files
Verification TODO
parameters/.../wccc/copay/amount.yamlagainst WAC 110-15-0075(2)rates/center.yamlandrates/family_home.yamlagainst WAC 110-15-0200(1) and 110-15-0205(2)Test plan
policyengine-core test policyengine_us/tests/policy/baseline/gov/states/wa/dcyf/wccc/ -c policyengine_us)