-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add TAXSIM-35 Validation: To replace PR #2453 #2619
Conversation
Now using TAXSIM-35 for the validation... |
I believe this PR is ready. It adds utilities for testing against TAXSIM 35. It does not update the expected files for 2017-2019 and does not add them for 2020 and 2021. This should be done after a couple issues are resolved, which the utilities included in this PR as helpful in identifying:
I think work on those two issues should be done in subsequent PRs. |
Please include me in discussion of how rebates should be handled.
I don't know if a rebate legislated and paid in year t based on tax status
in year t-1 should be included with year t or year t-1 results, and should
it even be included in liability or reported separately? The rebate
affects the ex post marginal rate in year t-1, and after-tax income only
in year t.
I have a bunch of state rebates to consider also.
Dan
…On Wed, 3 May 2023, Jason DeBacker wrote:
I believe this PR is ready. It adds utilities for testing against TAXSIM 35.
It does not update the expected files for 2017-2019 and does not add them for 2020 and 2021.
This should be done after a couple issues are resolved, which the utilities included in this
PR as helpful in identifying:
1. Some differences between how Tax-Calculator and TAXSIM calculate the Recovery Rebate
Credit in 2020 (it looks like a difference in how the phaseout is calculated.
2. Some differences between how Tax-Calculator and TAXSIM calculator (or report) the child
tax credit in 2021. Here, it looks like in many cases both yield the same tax liability,
but report different amounts for the child tax credit amount (perhaps due to a difference
in reporting the uncapped amount?).
I think work on those two issues should be done in subsequent PRs.
?
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you werementioned.[AB55AVO7KF4ISVSW57BLTQLXELR5LA5CNFSM5DQ6MTE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMV
XHJKTDN5WW2ZLOORPWSZGOLNWQ4QQ.gif] Message ID:
***@***.***>
|
This might be due to TAXSIM35 adding the |
@jdebacker I support merging this and then tracking down additional differences in another PR if that's your preference. Looks really great. |
On Fri, 5 May 2023, Matt Jensen wrote:
Some differences between how Tax-Calculator and TAXSIM
calculator (or report) the child tax credit in 2021. Here, it
looks like in many cases both yield the same tax liability, but
report different amounts for the child tax credit amount
(perhaps due to a difference in reporting the uncapped amount?).
This might be due to TAXSIM35 adding the odc amount to the CTC amount. (HT
Martin, who noted it here: #2658 (comment).
Please report to me anything you regard as a problem with taxsim. I can
normally get things fixed in a day or two. It is best if you can give me a
sample taxpayer exhibiting the problem, especially a simple taxpayer.
Daniel Feenberg
617-682-6204
…
?
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you werementioned.[AB55AVL75TWNF6VPQ4Y66JTXET42DA5CNFSM5DQ6MTE2YY3PNVWWK3TUL52HS4DF
VREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOLOIVHUY.gif] Message ID:
***@***.***>
|
This PR works off the contributions from @chusloj in PR #2453.
My goals are the following (over and above what was proposed in PR #2453):
taxsim_input.py
for the years 2017 and 2018 return the same results with TAXSIM-27 and TAXSIM-32 (or explain differences if not)Verify that for years 2017 and 2018, the input datasets from the TAXSIM-27 validation (in/taxcalc/validation/taxsim27
), produce the same output from TAXSIM-27 and TAXSIM-32 (or explain differences if not)taxcalc
ands TAXSIM-32 are the same as any differences betweentaxcalc
and TAXSIM-27 (checked into the repo as/taxcalc/validation/taxsim27/{assumption set}{year}.taxdiffs-expect
) using the input datasets in/taxcalc/validation/taxsim27
taxcalc
and TAXSIM-32 the input datasets produced bytaxsim_input.py
for the years 2017 and 2018 can be explained the same reasons for any non-zero expected differences in/taxcalc/validation/taxsim27/{assumption set}{year}.taxdiffs-expect
taxcalc
and TAXSIM-32 the input datasets produced bytaxsim_input.py
for the year 2019 are zero or can be explained (from TAXSIM-27 validation, it appears that for thea
andb
input datasets, there are few differences and they are all less than $1, but thec
datasets may produce some larger differences (see, e.g.,c18.taxdiffs-expect
taxcalc
variable names (rather than thev
names from TAXSIM) to ease interpretation of output.taxcalc
intermediate variables (mapping TAXSIM totaxcalc
variable names for ease of comparison) from samples of observations that do not match (e.g., to help identify where in the determination of the income tax amount calculations began to differ)Other suggestions welcome.
cc @bodiyang @MattHJensen