Use shared childcare attendance inputs in CalWORKs child care - #9354
Open
hua7450 wants to merge 1 commit into
Open
Use shared childcare attendance inputs in CalWORKs child care#9354hua7450 wants to merge 1 commit into
hua7450 wants to merge 1 commit into
Conversation
Replace the CA-only ca_calworks_child_care_days_per_month and ca_calworks_child_care_weeks_per_month inputs with the shared childcare_attending_days_per_month and childcare_days_per_week variables, deriving weekly billing as 52/12 weeks per month when attendance is reported. Adds integration coverage of the default (weekly) billing path without pinning the time category. Fixes #9286 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9354 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 35 17 -18
Branches 2 0 -2
=========================================
- Hits 35 17 -18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
hua7450
marked this pull request as ready for review
August 27, 2026 16:08
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
Replaces the CA-only
ca_calworks_child_care_days_per_monthandca_calworks_child_care_weeks_per_monthinputs with the sharedchildcare_attending_days_per_monthandchildcare_days_per_weekvariables. The CA-only variables wereintinputs with no default, so the defaultWEEKLYbilling category multiplied every California child care payment (CalWORKs Stage 1, Stage 2, Stage 3, and CAPP) by a coefficient of 0.Fixes #9286
Changes
ca_calworks_child_care_time_coefficientnow reads the shared attendance inputs that 17 other state child care programs already use:HOURLY:childcare_hours_per_day×childcare_attending_days_per_month(hours input was already shared)DAILY:childcare_attending_days_per_monthWEEKLY: 52/12 weeks per month when attendance is reported through either shared input, following the existingWEEKS_IN_YEAR / MONTHS_IN_YEARidiom in LA CCAP (la_ccap_monthly_days); zero when no attendance is reportedMONTHLY: unchanged (coefficient 1)ca_calworks_child_care_days_per_monthandca_calworks_child_care_weeks_per_month(their only reader was the coefficient formula; verified with a repo-wide sweep)ca_calworks_child_care_time_category: MONTHLY, which every prior money test did — including a case asserting the weekly ceiling payout ($227.58 × 52/12 = $986.18 for a part-time three-year-old at a child care center) and a case documenting that no attendance inputs still means $0Partner impact
The API partner has been informed and approved this change: their integration pins
ca_calworks_child_care_time_category: MONTHLY, which bypasses the changed branch entirely. The partner contract tests undertests/policy/baseline/partners/analytics_coverage/edge_cases/state/ca/are untouched and pass unchanged. Note this also does not change microsimulation output: the shared attendance inputs are zero across the Populace microdata, as they are for every other attending-days state.Testing
tests/policy/baseline/gov/states/ca/cdss/tanf/child_care)tests/policy/baseline/gov/states/ca/cdss/child_care)Checklist
🤖 Generated with Claude Code