Skip to content

Allocate Kentucky CCAP bills to the children who attend - #11614

Draft
MaxGhenis wants to merge 2 commits into
mainfrom
ky-ccap-bill-for-children-in-care
Draft

MaxGhenis wants to merge 2 commits into
mainfrom
ky-ccap-bill-for-children-in-care

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.

What and why

Kentucky CCAP sets a maximum payment per day, child, and provider and caps reimbursement at the charge to the general public. The copay chart confirms a $0 copay at the regression household’s $1,000 monthly income. 922 KAR 2:160, 2024 edition, pp. 11–12

The per-child rate and provider charge cap also appear in the 2019 edition and the current codification. 2019 edition, pp. 10–11 · Current codification, § 10(1)(b) and (4)

The shared expense formula initially allocates a unit-level bill across every child (pre_subsidy_childcare_expenses.py:11). A sibling with zero care days could therefore reduce the charge used to calculate the attending child’s reimbursement.

Kentucky now keeps each attending child’s own share and splits unused shares equally among children with positive care days (ky_ccap_daily_benefit.py:54). The equal split preserves the unit’s total bill when unused shares have no child-specific breakdown. Eligible 18-year-olds count as children for this allocation. When no child attends, the formula uses the original shares. Person-level bills entered only for attending children carry through at their reported amounts.

Test plan

The tests use a supplied $30 daily rate and apply the cap in § 10. Daily amounts are in household member order.

Scenario Main daily / monthly / annual Branch daily / monthly / annual
$5,760 bill, one child attends, sibling has zero days [0, 12, 0] / $240 / $2,880 [0, 24, 0] / $480 / $5,760
Same bill and attendance, without the sibling [0, 24] / $480 / $5,760 [0, 24] / $480 / $5,760
$12,000 bill, one child attends, adult also reports days [0, 25, 0] / $500 / — [0, 30, 0] / $600 / —
Both children attend 20 days [0, 12, 12] / $480 / — [0, 12, 12] / $480 / —
Neither child attends [0, 0, 0] / $0 / — [0, 0, 0] / $0 / —
Two attending children split an unused share [0, 6, 12, 0] / $360 / — [0, 9, 15, 0] / $480 / —
Person-level bills only for attending children [0, 6, 12, 0] / $360 / — [0, 6, 12, 0] / $360 / —
  • Hand-calculated YAML cases in ky_ccap_daily_benefit.yaml:214, ky_ccap_daily_benefit.yaml:292, and ky_child_care_subsidies.yaml:69.
  • All 38 cases across six Kentucky YAML files and all 251 source-conflict checks pass.
  • make format passes.
  • Changelog fragment in changelog.d/.
  • Source-conflict entry and marker are inapplicable. The cited editions agree on the payment rule.

Related changes

#9557 changes care-hour inputs in ky_ccap_day_length.py and adds to integration.yaml. #11105 and #10764 change CCAP income and eligibility. #10694 uses a similar attendance pattern in Vermont. #10569 changes SPM expense netting. This change applies the bill allocation in Kentucky’s daily benefit formula.

axiom: pending

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 06:59
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8999568) to head (2bf5e10).
⚠️ Report is 410 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11614   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           24        29    +5     
=========================================
+ Hits            24        29    +5     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant