Add disabled adult dependent care expenses to the CDCC base#8746
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8746 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 3 -2
Lines 63 34 -29
=========================================
- Hits 63 34 -29
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:
|
65512a6 to
745bf72
Compare
The Child and Dependent Care Credit drew care expenses only from tax_unit_childcare_expenses, which is child-scoped (children under 18). A disabled adult qualifying individual under IRC section 21 — a dependent or spouse age 18 or older — was therefore attributed $0 of care expenses and received a $0 credit (and $0 in state mirrors such as Kansas, where ks_cdcc is a share of the federal credit). Route adult dependent care through the existing care_expenses input (now year-defined) and add it to cdcc_relevant_expenses alongside childcare. The childcare and childcare-subsidy pipeline is left unchanged, so CCDF/state CCAP programs and the DC KCCATC are unaffected. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
745bf72 to
cf199ab
Compare
| label = "Pre subsidy care expenses" | ||
| definition_period = MONTH | ||
| label = "Pre-subsidy care expenses for a disabled adult dependent or spouse" | ||
| definition_period = YEAR |
There was a problem hiding this comment.
are you sure this is safe?
There was a problem hiding this comment.
@hua7450 I traced every reference to care_expenses and pre_subsidy_care_expenses on main — the only usage anywhere was care_expenses's own formula reading pre_subsidy_care_expenses; no other variable consumes either (the CO/MA/MT hits are local Python vars coincidentally named care_expenses, assigned from tax_unit_childcare_expenses/pre_subsidy_childcare_expenses). So the MONTH→YEAR change looks safe to me — nothing relied on the monthly period. Can you confirm you're comfortable it's safe? If so I'll approve.
(Minor: the comment in cdcc_relevant_expenses.py still says "person-level monthly input summed to the year" — now stale since it's a YEAR input.)
There was a problem hiding this comment.
Make it YEAR so it is consistent with the childcare_expenses
PavelMakarchuk
left a comment
There was a problem hiding this comment.
A bit worried about month to year change
Reframe the care_expenses limitation comment to avoid an absolute policy claim, and document pre_subsidy_care_expenses' intended future consumer (an adult-care subsidy program's benefit formula) since it currently has no formula of its own. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Closes #8786
Summary
A small, self-contained fix for #8786: the Child and Dependent Care Credit drew care expenses only from
tax_unit_childcare_expenses, which is child-scoped (children under 18). A disabled adult qualifying individual under IRC § 21 — a dependent or spouse age 18 or older — was therefore attributed $0 of care expenses and received a $0 credit. Becauseks_cdccis a share of the federal credit, Kansas inherited the same gap.Approach
Rather than broadening the childcare pipeline (which would ripple into ~40 CCDF/state CCAP programs, SNAP/TANF dependent-care deductions, and the DC KCCATC), this routes adult dependent care through a separate, dedicated input and leaves childcare untouched:
care_expenses/pre_subsidy_care_expenses(pre-existing, previously-unused person variables) now represent care for a disabled adult dependent or spouse, redefined asYEARto match the rest of the CDCC chain.cdcc_relevant_expensesaddscare_expensestotax_unit_childcare_expensesbefore the § 21(c) dollar cap and the earned-income cap:min(childcare + adult care, cdcc_limit, min_head_spouse_earned).Result (TY 2024)
A disabled adult dependent with an earning spouse (so the earned-income test is met), $6,000 of care via
care_expenses:tax_unit_childcare_expensescare_expensescdcc_relevant_expensesScope / follow-up
care_expenses; the childcare input stays children-only by design.Files
variables/household/expense/childcare/care_expenses.py,pre_subsidy_care_expenses.py— YEAR, relabeled for disabled-adult carevariables/gov/irs/credits/cdcc/cdcc_relevant_expenses.py— addcare_expensesto the basecare_expenses.yaml,cdcc_relevant_expenses.yaml, CDCCintegration.yaml,ks_cdcc.yamlTests
New cases for
care_expensespassthrough, the combined CDCC base, and federal + Kansas end-to-end (12 pass locally). CI runs the full suite.🤖 Generated with Claude Code