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

Fix to exemption of UI from AGI for EITC in certain years #2675

Merged
merged 15 commits into from
Mar 13, 2023

Conversation

jdebacker
Copy link
Member

This PR addresses Issue #2660 by using a modified AGI in the calculation of the EITC.

@jdebacker
Copy link
Member Author

jdebacker commented Mar 8, 2023

To do:

@jdebacker
Copy link
Member Author

jdebacker commented Mar 8, 2023

Following the example in the issue pointing out this errror:

Comparing the results of two similar filing units shows the problem.

Consider this first unit:

% cat UInone.csv
RECID,MARS,e00200,e00200p,EIC,e02300
   1,   4, 19330,  19330,  3,     0
and this very similar second unit:

and this very similar second unit:

% cat UIsome.csv
RECID,MARS,e00200,e00200p,EIC,e02300
    1,   4, 19330,  19330,  3, 10200

And then using the Tax-Calculator package created from this branch, I get:

% tc UInone.csv 2020 --dump
--> UInone-20-#-#-#.csv with:
c00100 19330.0
eitc 6660.0
taxbc 68.0

and

% tc UIsome.csv 2020 --dump
--> UIsome-20-#-#-#.csv with:
c00100 29530.0
eitc 6660.0
taxbc 68.0

This gives an EITC calculation that matches TAXSIM35. Note that the AGI amount differs between TC and TAXSIM35, but the IRS guidance suggests that unemployment compensation of excluded from Taxable Income and modified AGI (used for example to compute the EITC amount), but does not affect the filer's AGI.

@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Merging #2675 (6b2c8e9) into master (049e37e) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2675   +/-   ##
=======================================
  Coverage   98.54%   98.54%           
=======================================
  Files          14       14           
  Lines        2609     2609           
=======================================
  Hits         2571     2571           
  Misses         38       38           
Flag Coverage Δ
unittests 98.54% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@jdebacker
Copy link
Member Author

I found this IRS document, which provides more clarity on how to report the exclusion. The exclusion of UI benefits will be entered as a negative in the "other income" line of Schedule 1 and therefore will affect AGI. This is what @martinholmer had suggested in Issue #2648, but it took me a while to track down the specific instructions.

This PR will be updated to reflect this.

@jdebacker
Copy link
Member Author

With the latest commits (and using the CSV files as specified above), the Tax-Calculator package created from this branch returns:

% tc UInone.csv 2020 --dump
--> UInone-20-#-#-#.csv with:
c00100 19330.0
eitc 6660.0
taxbc 68.0

and

% tc UIsome.csv 2020 --dump
--> UIsome-20-#-#-#.csv with:
c00100 19330.0
eitc 6660.0
taxbc 68.0

@jdebacker
Copy link
Member Author

@MattHJensen This PR is ready for your review.

@MattHJensen
Copy link
Contributor

LGTM. Nice fix @jdebacker and thanks for the issue report @martinholmer.

@jdebacker jdebacker merged commit 4c85758 into PSLmodels:master Mar 13, 2023
@jdebacker jdebacker deleted the ui_eitc_fix branch March 13, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants