Pin New York itemized deductions to pre-TCJA rules#7250
Merged
DTrim99 merged 2 commits intoPolicyEngine:mainfrom Jan 26, 2026
Merged
Pin New York itemized deductions to pre-TCJA rules#7250DTrim99 merged 2 commits intoPolicyEngine:mainfrom
DTrim99 merged 2 commits intoPolicyEngine:mainfrom
Conversation
Starting implementation to pin New York itemized deductions to pre-TCJA rules as required by NY Tax Law Section 615. Closes PolicyEngine#6202 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
NY Tax Law § 615 requires itemized deductions to be computed using federal rules as they existed immediately prior to TCJA (Public Law 115-97). This commit: - Creates NY-specific SALT deduction (uncapped, excludes income tax) - Creates NY-specific misc deduction (still allowed with 2% AGI floor) - Creates NY-specific casualty loss deduction (not limited to federal disasters) - Updates ny_itemized_deductions_max to use pre-TCJA components - Adds comprehensive test cases Fixes PolicyEngine#6202 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collaborator
Author
Implementation CompleteThis PR implements NY pre-TCJA itemized deduction conformity per Tax Law § 615. Changes MadeNew NY-specific variables (in
Updated
Test CoverageAdded 6 test cases verifying:
What's NOT Included (per user request)
References |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7250 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 4 -6
Lines 137 55 -82
=========================================
- Hits 137 55 -82
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
Implements New York's requirement to use pre-TCJA (Tax Cuts and Jobs Act) itemized deduction rules for state tax purposes.
Per NY Tax Law Section 615, New York itemized deductions must be calculated using federal deduction rules "as such deductions existed immediately prior to the enactment of Public Law 115-97" (TCJA).
Closes #6202
Status
References
This is a draft PR. Implementation work is in progress.