Allow compound reforms when using tc tool --reform option #1842
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 enhances the existing tc
--reform REFORM
option so that it can handle a compound reform.A compound reform is a reform that is composed of two (or more) individual reforms. For an example of a compound reform, see the section entitled A Round-Trip Compound Reform at the bottom of this FAQ.
So, for example, if a user has specified
reformA.json
andreformB.json
and is interested in analyzing the joint effect of the two reforms (that is, first implementing reformA relative to current-law policy and then implementing reformB relative to reformA policy), the user simply executes a command like this:The above command will generate two output files with the following names:
As one would expect, using this new feature produces the following results:
As with the Python programming in #1830, the round-trip compound reform (of implementing
2017_law.json
and thenTCJA.json
) produces exactly the same results as does current-law policy.The need for this enhancement was discussed as part of merged pull request 1803 beginning with this comment.