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

Add developer script to update TCJA policy parameters #2181

Merged
merged 5 commits into from
Jan 11, 2019
Merged

Add developer script to update TCJA policy parameters #2181

merged 5 commits into from
Jan 11, 2019

Conversation

martinholmer
Copy link
Collaborator

@martinholmer martinholmer commented Jan 8, 2019

This pull request adds a developer-only script that automates the updating of policy parameters that are slated to revert in 2026 to their pre-TCJA-reform values indexed by the TCJA inflation indexing rules. Here is the script's docstring:

Policy parameter projection script, which calculates future policy parameter
values under TCJA and which should be used when the following happens:
(1) the inflation factor values change in growfactors.csv, or
(2) the last known historical values of policy parameters are updated,
    in which case the byear parameter (see below) should be incremented.
USAGE:  $ python ppp.py
OUTPUT: ppp.old -- contains old parameter values in policy_current_law.json
        ppp.new -- contains new parameter values that should now be used

When byear is set to 2018, the script produces results that are, for the most part, within a few dollars of the values in the policy_current_law.json file.

@codecov-io
Copy link

codecov-io commented Jan 8, 2019

Codecov Report

Merging #2181 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2181   +/-   ##
======================================
  Coverage    99.9%   99.9%           
======================================
  Files          15      15           
  Lines        3241    3241           
======================================
  Hits         3238    3238           
  Misses          3       3

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b07e6fd...6423c37. Read the comment docs.

@martinholmer martinholmer merged commit 60e1be3 into PSLmodels:master Jan 11, 2019
@martinholmer martinholmer deleted the ppp branch January 11, 2019 14:31
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