A few minor changes to make input data testing easier #2713
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request contains a few changes that will make it easier to conduct validation tests of new datasets being developed for use by Tax-Calculator. These changes have no effect on the taxes calculated by the model.
In the
Makefile
change the logic of theclean
target to correspond to the existing logic in thepackage
target.In the
Makefile
add the--disable-warnings
option to just thepytest-cps
target.Add a
SS_all_in_agi
boolean parameter to thepolicy_current_law.json
file and use it in theSSBenefits
function in thecalcfunctions.py
module. This parameter permits the estimation of the tax expenditure associated with the less-than-complete taxation of social security benefits.Promote a local variable in the
GainsTax
function in thecalcfunctions.py
module to be a global variable defined in therecords_variables.json
file. This variable makes it easier to check that the existingCG_nodiff
parameter is doing what it is designed to do.Suppress a pandas deprecation warning in the
taxcalcio.py
module.Break up several overly long lines in the
pytest_sessionfinish
function in theconftest.py
module.