-
-
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
Editing policy_current_law.json to incorporate ARPA.json values #2588
Conversation
taxcalc/policy_current_law.json
Outdated
{ | ||
"year": 2021, | ||
"value": 1000.00 | ||
}, | ||
{ | ||
"year": 2013, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This year should be 2022. See error message from tests about CTC_new_c
:
The Value objects for CTC_new_c do not span the specified parameter space. Duplicate combinations:
14085
E [((2013,), 2)]
@amshoulders After fixing that year index in the JSON file, you will need to do a couple things to make sure tests pass:
|
I'm don't understand the failure with
But the cc @hdoupe |
@hdoupe I the issue here with the |
@jdebacker sorry I just saw this. It looks like this test only loads the JSON file and does not feed it through ParamTools for extrapolation: Tax-Calculator/taxcalc/tests/test_parameters.py Lines 204 to 252 in 2f94e6e
Maybe a better test would be:
|
Ah - thanks @hdoupe! I'll take a stab at rewriting this test. |
Update PUF expected results
Codecov Report
@@ Coverage Diff @@
## master #2588 +/- ##
=======================================
Coverage 98.46% 98.46%
=======================================
Files 14 14
Lines 2611 2611
=======================================
Hits 2571 2571
Misses 40 40
Flags with carried forward coverage won't be shown. Click here to find out more. |
@amshoulders This PR looks good to me -- thanks for your work! You can go ahead and remove the [WIP] from the title. @MattHJensen I have one question confirming that you are ok with a change to a unit test, but after that, this is ready for your final review. |
Co-authored-by: Henry "Hank" Doupe <henrymdoupe@gmail.com>
Co-authored-by: Henry "Hank" Doupe <henrymdoupe@gmail.com>
Thanks very much @amshoulders for the PR, @jdebacker for your review and contributions, and @hdoupe for your review and suggestions. Merging. |
This pull request edits the policy_current_law.json file to incorporate the ARPA.json parameter values.
cc @jdebacker