Fix KY family size tax credit at 1.33 boundary#8251
Open
DTrim99 wants to merge 3 commits into
Open
Conversation
KY's 2025 Schedule ITC publishes the FSTC table with whole-dollar MGI boundaries. At the 1.27 and 1.33 share-of-FPG breakpoints, KY rounds the .5-cent fraction up to the next whole dollar (e.g. for family of 4 the 1.33 cutoff is published as $42,760, not $42,759.50). PE's bracket was encoded at exactly 1.33, leaving households with MGI between $42,759.50 and $42,760 receiving 0% credit instead of 10%. Adjust the 1.27 and 1.33 thresholds to 1.2701 and 1.3301 to absorb the 0.5-cent rounding-up convention. The 1.04, 1.08, 1.12, 1.16, 1.20, 1.24, and 1.30 brackets land on whole dollars for all KY family sizes and are unchanged. Reported in PolicyEngine/policyengine-taxsim#852. 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 #8251 +/- ##
============================================
- Coverage 100.00% 70.47% -29.53%
============================================
Files 12 4726 +4714
Lines 173 68743 +68570
Branches 4 347 +343
============================================
+ Hits 173 48450 +48277
- Misses 0 20292 +20292
- Partials 0 1 +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:
|
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
KY's Schedule ITC publishes Family Size Tax Credit thresholds in whole dollars and rounds 0.5-cent fractions up to the next whole dollar. PE's
family_size/rate.yamlencoded the breakpoints as exactly 1.27 and 1.33, leaving a sub-dollar window where MGI lands between the share threshold and KY's published cutoff — resulting in PE returning a 0% rate instead of 10% (or 20% instead of 30%) at the boundary.For 2025 family of 4 (FPG = $32,150):
Fix bumps the two affected thresholds to 1.2701 and 1.3301. The other brackets (1.04, 1.08, 1.12, 1.16, 1.20, 1.24, 1.30) land on whole dollars for all KY family sizes and are unchanged.
Test plan
Reported in PolicyEngine/policyengine-taxsim#852.
🤖 Generated with Claude Code