Add disabled adult dependent care expenses to the CDCC base#8746
Draft
hua7450 wants to merge 1 commit into
Draft
Add disabled adult dependent care expenses to the CDCC base#8746hua7450 wants to merge 1 commit into
hua7450 wants to merge 1 commit into
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 73 33 -40
=========================================
- Hits 73 33 -40
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
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
Fixes the original bug behind #8704, as a small, self-contained PR: 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