-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Different PUF weighted policy changes between API and tc CLI #2099
Comments
As an update: I figured out that if I remove So line 4 of my Python code becomes
And then the output is
I thought the |
@evtedeschi3, I was in the midst of replicating the results you first reported in issue #2099, and I had gotten far enough to confirm your CLI results (with and without filtering on the When I try to replicate your API results, I get this:
I'm wondering how you got any results from this |
@martinholmer wrote:
It ran fine on Saturday. This morning, I updated to 0.22.2-36-g1f327f0, and then started getting a fatal error too for the first time. That's what motivated me, based on the error log, to play around with the I found too that if I also specify the
|
@evtedeschi3 said in issue #2099:
I'm confused by the "involves a UBI" phrase. Your We probably need to clarify the documentation of the
The first phrase and the variable's name are misleading. In reality, the The Any suggestion about how to clarify the documentation of the |
@evtedeschi3 said in issue #2099:
That's interesting. Do you remember which version of Tax-Calculator you were using before? I guess your experience shows that we're improving Tax-Calculator with each new release :) |
@martinholmer wrote:
To be more precise, what I meant was "How the API handles tax changes that affect nonfilers too and might motivate them to file, such as refundable credits claimable even at 0 income." So a true UBI is one example of this, and the So with that answered, I think this from above is the only open question:
|
@evtedeschi3 said in issue #2099:
Yes, you can avoid the error of specifying the last Policy year being beyond the last year in the The In summary, always create a Policy object using |
@evtedeschi3 said in issue #2099:
I'm pretty sure that is not true, but maybe I'm missing something.
that includes all situations; even situations where you're using behavioral assumptions. For example, advanced recipe 2 in the Cookbook of Tested Recipes for Python Programming with Tax-Calculator demonstrates using the Behavior class and that recipe constructs Policy objects using the standard Maybe this is an opportunity for us to learn about the need to improve Tax-Calculator documentation. Did you read something in the documentation that made you think that when using behavioral assumptions you needed to construct the Policy object in a non-standard way? |
@martinholmer said:
Can you point me to a test that does this? |
The only one I could find is in
So, this reinforces my thought that we should simply remove both |
@martinholmer said:
That makes sense to me. |
@martinholmer wrote:
Hmm, looking over the API documentation, I may have inadvertently been looking at the wrong class to get that impression. At any rate, my question has been fully answered so I'm going to close this issue. Thank you! |
My policy reform is a very simple call to
_EITC_basic_frac
(thanks again for implementing):First, my CLI procedure:
And here's the weighted difference in
combined
that results using Stata. I'm not sure how the API handles non-filers when summing a policy change that involves a UBI, so I'm showing it both without and with nonfilers:So either $4.6B or $6.2B in 2019. Now for the API. Here's my code:
And here's the output:
So the API is giving me a cost of $5.2B, which doesn't match up with the dumped PUF results from the CLI.
Any ideas?
The text was updated successfully, but these errors were encountered: