Scale NJ CCAP copay by children actually in care#8068
Merged
MaxGhenis merged 1 commit intoPolicyEngine:mainfrom Apr 18, 2026
Merged
Scale NJ CCAP copay by children actually in care#8068MaxGhenis merged 1 commit intoPolicyEngine:mainfrom
MaxGhenis merged 1 commit intoPolicyEngine:mainfrom
Conversation
Follow-up to PolicyEngine#7811. The New Jersey CCAP copay schedule (CC-236) applies the first-child rate for one child in care, and a first+second rate for two. The initial implementation in PolicyEngine#7811 counted *eligible* children rather than children *actually attending care*. A family with two age-and- immigration-eligible children but only one using subsidized care would be charged at the two-child rate instead of the one-child rate. This follows the established pattern from VA CCSP (va_ccsp_copay.py) and SC CCAP (sc_ccap_copay.py), gating the per-child count on an "in care" flag derived from `childcare_hours_per_week > 0`. The CPS exemption still keys off `is_eligible_child` so the logic there is unchanged. Regression tests: * Case 11: two eligible children with one FT in care -> first-child FT rate only (2%). * Case 12: two eligible children with one PT in care -> first-child PT rate only (1%). 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 #8068 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 18 1 -17
Lines 353 29 -324
Branches 4 0 -4
==========================================
- Hits 353 29 -324
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:
|
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
Follow-up to #7811. The New Jersey CCAP copay schedule (CC-236) scales the family co-payment by the number of children actually receiving subsidized care, applying a first-child rate for one child in care and a first + second rate for two in care. The initial implementation counted all age- and immigration-eligible children, so a family with two eligible children but only one in subsidized care would be charged at the two-child rate instead of the one-child rate.
The fix gates the per-child count on an "in care" signal (
childcare_hours_per_week > 0, evaluated at the year), following the existing pattern inva_ccsp_copay.pyandsc_ccap_copay.py. The CPS-exemption check still referencesis_eligible_child, so the protective-services waiver is unchanged.Regulatory authority
Regression tests
Added two cases to
nj_ccap_copay.yaml:Both tests fail on
mainand pass after this change. All 126 NJ CCAP tests and all 450 NJ-state tests pass.Test plan