Skip to content

Commit

Permalink
Merge pull request #3340 from SirMalamute/SirMalamute/issue3278
Browse files Browse the repository at this point in the history
Parameterize 25% on line 37 of AMT
  • Loading branch information
PavelMakarchuk authored Dec 18, 2023
2 parents 1033029 + 78eea71 commit ec3d51d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: patch
changes:
fixes:
- Parameterized 25% of the Alternative Minimum Tax calculation.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: The IRS multiplies the taxable excess capital gain by this rate.
metadata:
unit: /1
label: Alternative Minimum Tax capital gain excess tax rate
period: year
reference:
- title: 26 U.S.C. § 55 (2018) §55. Alternative minimum tax imposed (b)(3)(E)
href: https://www.law.cornell.edu/uscode/text/26/55#b_3_E
values:
2018-01-01: 0.25
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,17 @@ def formula(tax_unit, period, parameters):
dwks34 = dwks10 + dwks19
dwks36 = max_(0, dwks34 - dwks1)
dwks37 = max_(0, dwks33 - dwks36)
dwks38 = 0.25 * dwks37

p = parameters(period).gov.irs.income

dwks38 = p.amt.capital_gains.capital_gain_excess_tax_rate * dwks37
# Break in worksheet lines
dwks39 = dwks19 + dwks20 + dwks28 + dwks31 + dwks37
dwks40 = dwks1 - dwks39
dwks41 = 0.28 * dwks40

# Compute regular tax using bracket rates and thresholds
reg_taxinc = max_(0, dwks19)
p = parameters(period).gov.irs.income
bracket_tops = p.bracket.thresholds
bracket_rates = p.bracket.rates
reg_tax = 0
Expand Down

0 comments on commit ec3d51d

Please sign in to comment.