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 PR aims to implement a new method in Tax-Calculator to automate inflation adjustment each year, following IRS's publication of forms/instructions containing actual (not projected) parameter values
files for the year 2021 as an example
Form 1040 and instructions, Form 1040 (Schedule 1), Form 1040 (Schedule 2), Form 1040 (Schedule 4), Form 1040 (Schedule A) and instructions
Form W-2 and instructions
Form 6251 and instructions
Form 8863 and instructions
Form 8812 and instructions
Previously, this process of inflation parameters replacement is completed manually, as PR #2633
Basic steps to implement the inflation automation:
(1). Collect tax parameters' base year values and make the update in policy_current_law.json
(2). Write a new method to calculate each year's inflation adjusted values, calculated by CPI or chained CPI and then rounded following rounding rules
The calculation process in (2) above is based on:
(a). Tax parameter values' inflation adjustment is calculated by CPI or chained CPI, following $$ ReferenceyearValue = BaseyearValue * {CPI(Referenceyear) \over CPI(Baseyear)}$$
(b). Calculated tax parameter values are then rounded to the near $25, $50 or $100 following the IRS tax parameter rounding rules