Fix VT capital gains exclusion for financial instruments#7300
Draft
Fix VT capital gains exclusion for financial instruments#7300
Conversation
Closes #7291 - Vermont's 40% capital gains exclusion now correctly excludes financial instruments (stocks/bonds) from eligibility - Only the flat $5,000 exclusion applies to financial instrument gains - Added new input variable long_term_capital_gains_on_assets_eligible_for_vt_exclusion to allow modeling the 40% exclusion on qualifying assets (farms, businesses, timber) - Updated tests to reflect correct behavior Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7300 +/- ##
============================================
+ Coverage 72.72% 100.00% +27.27%
============================================
Files 3757 3 -3754
Lines 54115 45 -54070
Branches 267 0 -267
============================================
- Hits 39353 45 -39308
+ Misses 14742 0 -14742
+ Partials 20 0 -20
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.
Closes #7291
Summary
long_term_capital_gains_on_assets_eligible_for_vt_exclusionto allow users to model the 40% exclusion on qualifying assets (farms, businesses, timber)Changes
vt_percentage_capital_gains_exclusionto only consider explicitly eligible capital gainsvt_capital_gains_exclusionto properly document the distinction between flat and percentage exclusionsTest plan
Generated with Claude Code