Fix OH CDCC to use uncapped federal credit for low-income filers#7687
Open
Fix OH CDCC to use uncapped federal credit for low-income filers#7687
Conversation
Per ORC § 5747.054(A), only filers with AGI below $20,000 receive the Ohio CDCC based on "the credit allowed under section 21 of the Internal Revenue Code without regard to any limitation imposed by section 26" (cdcc_potential). Filers in the $20,000-$39,999 bracket receive 25% of the § 26-limited cdcc. Closes #7682 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7687 +/- ##
===========================================
+ Coverage 97.82% 100.00% +2.17%
===========================================
Files 3 1 -2
Lines 92 16 -76
Branches 2 0 -2
===========================================
- Hits 90 16 -74
+ Misses 1 0 -1
+ Partials 1 0 -1
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:
|
The OH CDCC worksheet (page 45 of 2024 IT 1040 booklet) specifies: - Line 2: Form 2441 line 9c (credit before IRC §26 cap) - Line 3: 25% of Form 2441 line 11 (credit AFTER IRC §26 cap) - Line 4: AGI < $20k uses Line 2; $20k-$40k uses Line 3 The test case has AGI ~$39,645 (in $20k-$40k bracket), so the credit should be 25% of the capped federal credit ($0), not 25% of the uncapped credit ($660). Updated expected values accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
Form worksheet verificationVerified against the 2024 OH IT 1040 Booklet, page 45 — "Child and Dependent Care Credit Worksheet (Ohio Schedule of Credits, Line 6)":
For the integration test case (AGI ~$39,645):
|
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
low_income_thresholdparameter ($20,000) in the OH CDCC parameter directorycdcc_potential(federal credit without the IRC § 26 limitation)cdcc(federal credit limited by IRC § 26 tax liability)cdcc<cdcc_potentialto verify the bracket-specific behaviorCloses #7682
What was wrong
The previous formula applied
cdcc_potential(the uncapped federal credit) to all filers regardless of AGI. This overstated the Ohio credit for middle-income filers ($20,000–$39,999) whose federal credit is reduced by the § 26 tax liability cap.Statute
ORC § 5747.054(A) specifies:
cdcc_potentialcdccTest plan
oh_cdcc.yamlpass (uv run policyengine-core test)cdcc<cdcc_potential(confirmscdcc_potentialis used), middle-income filer wherecdcc<cdcc_potential(confirmscdccis used), middle-income where both are equal, high-income ineligible, out-of-state ineligible🤖 Generated with Claude Code