Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMTR on charitable contributions #1104

Merged
merged 2 commits into from
Dec 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions taxcalc/calculate.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def current_year(self):
'e02000', 'e02400',
'p22250', 'p23250',
'e18500', 'e19200',
'e26270']
'e26270', 'e19800']

def mtr(self, variable_str='e00200p',
negative_finite_diff=False,
Expand Down Expand Up @@ -314,7 +314,8 @@ def mtr(self, variable_str='e00200p',
'p23250', long-term capital gains;
'e18500', Schedule A real-estate-tax deduction;
'e19200', Schedule A total-interest deduction;
'e26270', S-corporation/partnership income (also included in e02000).
'e26270', S-corporation/partnership income (also included in e02000);
'e19800', Charity cash contributions.
"""
# check validity of variable_str parameter
if variable_str not in Calculator.MTR_VALID_VARIABLES:
Expand Down
3 changes: 3 additions & 0 deletions taxcalc/tests/pufcsv_mtr_expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,6 @@ PTAX and ITAX mtr histogram bin counts for e19200:
PTAX and ITAX mtr histogram bin counts for e26270:
219814 : 219814 0 0 0 0 0 0 0 0 0
219814 : 0 0 0 0 53606 69554 46063 28185 21699 707
PTAX and ITAX mtr histogram bin counts for e19800:
219814 : 219814 0 0 0 0 0 0 0 0 0
219814 : 33386 29253 18977 5269 132929 0 0 0 0 0