Add Schedule D capital gain distributions memo variable#8850
Open
MaxGhenis wants to merge 1 commit into
Open
Conversation
schedule_d_capital_gain_distributions carries the Schedule D line 13 amount as a memo component of long_term_capital_gains (no separate AGI entry), and capital_gain_distributions totals both reporting routes. Gives reforms that treat fund distributions differently from other realized gains (e.g. the GROWTH Act, H.R. 2089) a variable to act on, and gives the data pipeline a column to impute (PolicyEngine/populace#274). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8850 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 2 -1
Lines 55 19 -36
=========================================
- Hits 55 19 -36
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:
|
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
Adds two variables:
schedule_d_capital_gain_distributions— input memo for the Schedule D line 13 amount. It is a component oflong_term_capital_gains(already included there), so it does not separately enter gross income — Case 2 in the tests pins AGI unchanged.capital_gain_distributions— adds-total across both reporting routes (line 13 + the non-Schedule-D Form 1040 line 7 route,non_sch_d_capital_gains).Why
Reforms that treat fund distributions differently from other realized gains — the GROWTH Act (H.R. 2089 / S. 1839) defers tax on automatically reinvested RIC capital gain dividends — need a variable to act on, and the populace imputation (PolicyEngine/populace#274) needs an engine-known column to fill. Default 0 → zero behavior change for every existing dataset.
Companion to #8839 (which wires the non-Schedule-D route into AGI/NII).
🤖 Generated with Claude Code