Skip to content

Commit

Permalink
update last budget year
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodi Yang committed Mar 22, 2024
1 parent f098fc0 commit b620765
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion taxcalc/growdiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class instance: GrowDiff
"""

JSON_START_YEAR = 2013 # must be same as Policy.JSON_START_YEAR
DEFAULT_NUM_YEARS = 21 # must be same as Policy.DEFAULT_NUM_YEARS
DEFAULT_NUM_YEARS = 22 # must be same as Policy.DEFAULT_NUM_YEARS
DEFAULTS_FILE_NAME = 'growdiff.json'
DEFAULTS_FILE_PATH = os.path.abspath(os.path.dirname(__file__))

Expand Down
2 changes: 1 addition & 1 deletion taxcalc/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class instance: Policy
JSON_START_YEAR = 2013 # remains the same unless earlier data added
LAST_KNOWN_YEAR = 2020 # last year for which indexed param vals are known
# should increase LAST_KNOWN_YEAR by one every calendar year
LAST_BUDGET_YEAR = 2033 # last extrapolation year
LAST_BUDGET_YEAR = 2034 # last extrapolation year
# should increase LAST_BUDGET_YEAR by one every calendar year
DEFAULT_NUM_YEARS = LAST_BUDGET_YEAR - JSON_START_YEAR + 1

Expand Down
2 changes: 1 addition & 1 deletion taxcalc/tests/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ class ArrayParams(Parameters):
array_first = False

START_YEAR = 2013
LAST_YEAR = 2033
LAST_YEAR = 2034
NUM_YEARS = LAST_YEAR - START_YEAR + 1

def __init__(self, **kwargs):
Expand Down

0 comments on commit b620765

Please sign in to comment.