From 194c1f6237dda80080f3baed132bbecc928facdc Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 25 Sep 2026 08:11:30 -0400 Subject: [PATCH 01/29] Index IRS parameters to the 12-months-ending-August chained CPI-U 26 U.S.C. 1(f)(6)(B) defines each calendar year's C-CPI-U as the average over the 12 months ending August 31. get_irs_cpi averaged August through July (#9105), and for years without BLS data it read c_cpi_u's February projection points, which since #7394 are CBO calendar-year averages that run about 0.7% above the September-August average (#9608). Add CBO's tax-year CPI projections (Tax Parameters rows 152-153) as their own series and read them for windows with no BLS observation, leaving the calendar-year points for the 50-plus general CPI-U consumers. Route gov.irs.uprating, the Oregon Kids' Credit COLA, and the 63(c)(4) computation through the shared 12-months-ending-August helper. The statute applied to this index reproduces all ten CBO projections of the dependent standard deduction floor, so drop those hardcoded values. Fixes #9105. Fixes #9608. Co-Authored-By: Claude Opus 5.5 --- changelog.d/irs-index-tax-year-cpi.fixed.md | 1 + .../parameters/gov/bls/cpi/c_cpi_u.yaml | 24 ++-- .../parameters/gov/bls/cpi/cpi_u.yaml | 22 ++-- .../bls/cpi/tax_year_projection/c_cpi_u.yaml | 28 ++++ .../bls/cpi/tax_year_projection/cpi_u.yaml | 26 ++++ .../deductions/standard/dependent/amount.yaml | 23 +--- .../parameters/uprating_extensions.py | 121 +++++++++--------- .../standard/basic_standard_deduction.yaml | 27 ++-- .../tax/income/credits/test_or_ctc_sunset.py | 42 +++--- .../parameters/test_uprating_extensions.py | 86 ++++++++++--- 10 files changed, 254 insertions(+), 146 deletions(-) create mode 100644 changelog.d/irs-index-tax-year-cpi.fixed.md create mode 100644 policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml create mode 100644 policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml diff --git a/changelog.d/irs-index-tax-year-cpi.fixed.md b/changelog.d/irs-index-tax-year-cpi.fixed.md new file mode 100644 index 00000000000..6dbc7617ee9 --- /dev/null +++ b/changelog.d/irs-index-tax-year-cpi.fixed.md @@ -0,0 +1 @@ +Compute the IRS uprating index as the chained CPI-U averaged over the 12 months ending August 31 (26 U.S.C. 1(f)(6)(B)), instead of August through July, and project windows with no BLS observation from CBO's tax-year index (Tax Parameters row 153) instead of CBO's calendar-year averages, which ran about 0.7% high. Oregon Kids' Credit projections use CBO's tax-year CPI-U the same way. The dependent standard deduction floor now comes from 63(c)(4) for every year after 2026, reproducing all ten CBO projections for 2027-2036 without hardcoded values. diff --git a/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml index f9f7cc3021e..3195bb8ed00 100644 --- a/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml @@ -320,18 +320,18 @@ values: 2026-04-01: 184.499 2026-05-01: 185.589 2026-06-01: 184.992 - # CBO projections from CBO Feb 2026 forecast for future periods. - # CBO projects the average C-CPI-U over the 12mo ending August, - # which determines tax parameters for the following year. - 2027-02-01: 187.2 # 2028 value. - 2028-02-01: 191.1 # 2029 value. - 2029-02-01: 194.9 # 2030 value. - 2030-02-01: 198.8 # 2031 value. - 2031-02-01: 202.7 # 2032 value. - 2032-02-01: 206.7 # 2033 value. - 2033-02-01: 210.8 # 2034 value. - 2034-02-01: 214.9 # 2035 value. - 2035-02-01: 219.2 # 2036 value. + # CBO's February 2026 projections of each calendar year's average C-CPI-U. + # Tax parameters use the average over the 12 months ending August instead; + # CBO's projections of that average are in tax_year_projection/c_cpi_u.yaml. + 2027-02-01: 187.2 # Calendar year 2027 average. + 2028-02-01: 191.1 # Calendar year 2028 average. + 2029-02-01: 194.9 # Calendar year 2029 average. + 2030-02-01: 198.8 # Calendar year 2030 average. + 2031-02-01: 202.7 # Calendar year 2031 average. + 2032-02-01: 206.7 # Calendar year 2032 average. + 2033-02-01: 210.8 # Calendar year 2033 average. + 2034-02-01: 214.9 # Calendar year 2034 average. + 2035-02-01: 219.2 # Calendar year 2035 average. # Values for 2036-2100 are set programmatically in uprating_extensions.py metadata: economy: false diff --git a/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml index 2a76d76e7ec..9ee95b3415e 100644 --- a/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml @@ -1363,16 +1363,18 @@ values: 2026-04-01: 332.407 2026-05-01: 333.979 2026-06-01: 332.568 - # CBO projections from CBO Feb 2026 forecast for future periods. - 2027-02-01: 340.3 # 2028 value. - 2028-02-01: 348.3 # 2029 value. - 2029-02-01: 356.3 # 2030 value. - 2030-02-01: 364.3 # 2031 value. - 2031-02-01: 372.6 # 2032 value. - 2032-02-01: 381.0 # 2033 value. - 2033-02-01: 389.6 # 2034 value. - 2034-02-01: 398.4 # 2035 value. - 2035-02-01: 407.3 # 2036 value. + # CBO's February 2026 projections of each calendar year's average CPI-U. + # Tax parameters use the average over the 12 months ending August instead; + # CBO's projections of that average are in tax_year_projection/cpi_u.yaml. + 2027-02-01: 340.3 # Calendar year 2027 average. + 2028-02-01: 348.3 # Calendar year 2028 average. + 2029-02-01: 356.3 # Calendar year 2029 average. + 2030-02-01: 364.3 # Calendar year 2030 average. + 2031-02-01: 372.6 # Calendar year 2031 average. + 2032-02-01: 381.0 # Calendar year 2032 average. + 2033-02-01: 389.6 # Calendar year 2033 average. + 2034-02-01: 398.4 # Calendar year 2034 average. + 2035-02-01: 407.3 # Calendar year 2035 average. # Values for 2036-2100 are set programmatically in uprating_extensions.py metadata: unit: currency-USD diff --git a/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml new file mode 100644 index 00000000000..4cede88a163 --- /dev/null +++ b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml @@ -0,0 +1,28 @@ +description: The Congressional Budget Office projects this average of the Chained Consumer Price Index for All Urban Consumers over the 12 months ending the August before each tax year, the index that adjusts federal tax parameters for that year. +values: + # Keyed by tax year: the 2028 value averages September 2026 through + # August 2027. Windows with BLS observations use c_cpi_u.yaml instead. + 2027-01-01: 181.654 + 2028-01-01: 185.881 + 2029-01-01: 189.775 + 2030-01-01: 193.6 + 2031-01-01: 197.44 + 2032-01-01: 201.335 + 2033-01-01: 205.302 + 2034-01-01: 209.346 + 2035-01-01: 213.471 + 2036-01-01: 217.68 + # Values for 2037-2100 are set programmatically in uprating_extensions.py. +metadata: + unit: /1 + period: year + label: CBO tax-year Chained CPI-U projection + economy: false + reference: + - title: 26 U.S. Code § 1(f)(6) - C-CPI-U + href: https://www.law.cornell.edu/uscode/text/26/1#f_6 + - title: CBO | Tax Parameters and Effective Marginal Tax Rates | February 2026 + # Sheet 1. Tax Parameters, row 153: Chained consumer price index, all + # urban consumers (C-CPIU), under "Inflation indexes for tax year + # (average CPI over the 12 months ending the previous August)". + href: https://www.cbo.gov/system/files/2026-02/53724-2026-02-Tax-Parameters.xlsx diff --git a/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml new file mode 100644 index 00000000000..e4b45465a4a --- /dev/null +++ b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml @@ -0,0 +1,26 @@ +description: The Congressional Budget Office projects this average of the Consumer Price Index for All Urban Consumers over the 12 months ending the August before each tax year. +values: + # Keyed by tax year: the 2028 value averages September 2026 through + # August 2027. Windows with BLS observations use cpi_u.yaml instead. + 2027-01-01: 328.701 + 2028-01-01: 337.382 + 2029-01-01: 345.443 + 2030-01-01: 353.398 + 2031-01-01: 361.404 + 2032-01-01: 369.57 + 2033-01-01: 377.913 + 2034-01-01: 386.443 + 2035-01-01: 395.162 + 2036-01-01: 404.081 + # Values for 2037-2100 are set programmatically in uprating_extensions.py. +metadata: + unit: /1 + period: year + label: CBO tax-year CPI-U projection + economy: false + reference: + - title: CBO | Tax Parameters and Effective Marginal Tax Rates | February 2026 + # Sheet 1. Tax Parameters, row 152: Consumer price index, all urban + # consumers (CPIU), under "Inflation indexes for tax year (average CPI + # over the 12 months ending the previous August)". + href: https://www.cbo.gov/system/files/2026-02/53724-2026-02-Tax-Parameters.xlsx diff --git a/policyengine_us/parameters/gov/irs/deductions/standard/dependent/amount.yaml b/policyengine_us/parameters/gov/irs/deductions/standard/dependent/amount.yaml index 8e71e18153f..266a13ab354 100644 --- a/policyengine_us/parameters/gov/irs/deductions/standard/dependent/amount.yaml +++ b/policyengine_us/parameters/gov/irs/deductions/standard/dependent/amount.yaml @@ -7,27 +7,18 @@ values: 2024-01-01: 1_300 2025-01-01: 1_350 2026-01-01: 1_350 - # CBO forecast. - 2027-01-01: 1_400 - 2028-01-01: 1_450 - 2029-01-01: 1_450 - 2030-01-01: 1_500 - 2031-01-01: 1_500 - 2032-01-01: 1_550 - 2033-01-01: 1_600 - 2034-01-01: 1_600 - 2035-01-01: 1_650 - 2036-01-01: 1_700 metadata: unit: currency-USD period: year label: Dependent standard deduction floor - # Values after the CBO horizon are computed in + # Values after the last IRS publication are computed in # parameters/uprating_extensions.py per 26 U.S.C. 63(c)(4)(B)(i): the # statutory $500 increased by the 1(f)(3) cost-of-living adjustment with - # calendar year 1987 as the base year, each increase rounded down to the - # next lowest multiple of $50 under 1(f)(7)(A). Those values supersede - # this uprating rule, which describes the index and rounding. + # calendar year 1987 as the base year (C-CPI-U for the 12 months ending + # August 31 of the prior year), each increase rounded down to the next + # lowest multiple of $50 under 1(f)(7)(A). Applied to CBO's projected + # index, this reproduces every CBO projection of the floor. Those values + # supersede this uprating rule, which describes the index and rounding. uprating: parameter: gov.irs.uprating rounding: @@ -54,5 +45,3 @@ metadata: href: https://www.irs.gov/pub/irs-drop/rp-19-44.pdf#page=13 - title: Rev. Proc. 2018-57, sec. 3.16(2) (tax year 2019) href: https://www.irs.gov/pub/irs-drop/rp-18-57.pdf#page=16 - - title: CBO Tax Parameters and Effective Marginal Tax Rates, Feb 2026, sheet 1, row 68 (dependent filers, unearned), tax years 2027-2036 - href: https://www.cbo.gov/system/files/2026-02/53724-2026-02-Tax-Parameters.xlsx diff --git a/policyengine_us/parameters/uprating_extensions.py b/policyengine_us/parameters/uprating_extensions.py index 1e047d86f67..a78c80019cd 100644 --- a/policyengine_us/parameters/uprating_extensions.py +++ b/policyengine_us/parameters/uprating_extensions.py @@ -21,18 +21,11 @@ ) -def get_irs_cpi(parameters: ParameterNode, year: int) -> float: - """Calculate IRS CPI based on Chained CPI-U average from Sep to Aug.""" - cpi = parameters.gov.bls.cpi.c_cpi_u - end = instant(f"{year}-08-01") - start = end.offset(-MONTHS_IN_YEAR, MONTH) - monthly_cpi_values = [] - for month in range(MONTHS_IN_YEAR): - monthly_cpi_values += [cpi(start.offset(month, MONTH))] - return sum(monthly_cpi_values) / MONTHS_IN_YEAR - - -def get_average_for_12_months_ending_august(cpi: Parameter, year: int) -> float: +def get_average_for_12_months_ending_august( + cpi: Parameter, + year: int, + projection: Parameter, +) -> float: """Average a monthly price index over the 12 months ending August 31. Covers September of ``year - 1`` through August of ``year``: the @@ -40,14 +33,13 @@ def get_average_for_12_months_ending_august(cpi: Parameter, year: int) -> float: ORS 315.273(5). The BLS index series hold monthly observations through the latest BLS - release, then annual projection points at February instants; a monthly - refresh that reaches a February replaces that instant's projection with - the observed value. Windows with observed months average them, carrying - the last observation flat through any unobserved tail; windows with no - observed month read the year's annual projection point, whose - February instant necessarily lies beyond the last observation and so - can only hold a projection. No branch reads an instant a refresh could - have turned from projection into observation. + release, then CBO's calendar-year averages at February instants; a + monthly refresh that reaches a February replaces that instant's + projection with the observed value. Windows with observed months average + them, carrying the last observation flat through any unobserved tail. + Windows with no observed month read ``projection``, CBO's projection of + this 12-month average keyed by the tax year it indexes (``year + 1``); + a calendar-year average would run about four months of inflation high. """ # February instants can hold annual projections, so only non-February # instants identify the end of the observed monthly series (one month @@ -63,17 +55,25 @@ def get_average_for_12_months_ending_august(cpi: Parameter, year: int) -> float: ] observed = [month for month in window_months if month <= last_observation] if not observed: - # Since #7394 the projection points cite CBO's calendar-year - # averages, which run about 0.7% above the 12-months-ending-August - # averages this window stands for, so projected windows read slightly - # high until that series is fixed (#9608). - return cpi(f"{year}-02-01") + return projection(f"{year + 1}-01-01") unobserved_tail = MONTHS_IN_YEAR - len(observed) return ( sum(cpi(month) for month in observed) + cpi(observed[-1]) * unobserved_tail ) / MONTHS_IN_YEAR +def get_irs_cpi(parameters: ParameterNode, year: int) -> float: + """The C-CPI-U for a calendar year under 26 U.S.C. 1(f)(6)(B). + + The average over the 12 months ending August 31 of ``year``, which + indexes tax parameters for ``year + 1``. + """ + cpi = parameters.gov.bls.cpi + return get_average_for_12_months_ending_august( + cpi.c_cpi_u, year, cpi.tax_year_projection.c_cpi_u + ) + + def get_or_ctc_cola(parameters: ParameterNode, tax_year: int) -> float: """Calculate the Oregon Kids' Credit cost-of-living adjustment. @@ -82,9 +82,11 @@ def get_or_ctc_cola(parameters: ParameterNode, tax_year: int) -> float: ending August 31 of the prior calendar year exceeds the monthly averaged index for the second quarter of calendar year 2022. """ - cpi = parameters.gov.bls.cpi.cpi_u - base = sum(cpi(f"2022-{month:02d}-01") for month in (4, 5, 6)) / 3 - window = get_average_for_12_months_ending_august(cpi, tax_year - 1) + cpi = parameters.gov.bls.cpi + base = sum(cpi.cpi_u(f"2022-{month:02d}-01") for month in (4, 5, 6)) / 3 + window = get_average_for_12_months_ending_august( + cpi.cpi_u, tax_year - 1, cpi.tax_year_projection.cpi_u + ) return max(window / base - 1, 0) @@ -102,13 +104,14 @@ def get_irs_cola_denominator(parameters: ParameterNode, base_year: int) -> float "1(f)(3)(C) replaces this denominator with the C-CPI-U for base " f"years after 2016; got {base_year}." ) - cpi = parameters.gov.bls.cpi.cpi_u - chained_2016 = get_average_for_12_months_ending_august( - parameters.gov.bls.cpi.c_cpi_u, 2016 + cpi = parameters.gov.bls.cpi + cpi_2016, cpi_base_year = ( + get_average_for_12_months_ending_august( + cpi.cpi_u, year, cpi.tax_year_projection.cpi_u + ) + for year in (2016, base_year) ) - cpi_2016 = get_average_for_12_months_ending_august(cpi, 2016) - cpi_base_year = get_average_for_12_months_ending_august(cpi, base_year) - return cpi_base_year * chained_2016 / cpi_2016 + return cpi_base_year * get_irs_cpi(parameters, 2016) / cpi_2016 def get_irs_cola( @@ -122,9 +125,7 @@ def get_irs_cola( preceding ``tax_year`` exceeds the denominator for ``base_year``; see ``get_irs_cola_denominator``. """ - chained = get_average_for_12_months_ending_august( - parameters.gov.bls.cpi.c_cpi_u, tax_year - 1 - ) + chained = get_irs_cpi(parameters, tax_year - 1) return max(chained / get_irs_cola_denominator(parameters, base_year) - 1, 0) @@ -148,8 +149,8 @@ def extend_dependent_standard_deduction_parameters( 2016, and 1(f)(7)(A) rounds each increase down to the next lowest multiple of $50. Each year is computed from the statutory base rather than chained from the last rounded value, which can lag the statute by - a full $50 step; IRS and CBO values encoded in the YAML take precedence - for their own years. + a full $50 step; IRS values encoded in the YAML take precedence for + their own years. """ ROUNDING_INTERVAL = 50 dependent = parameters.gov.irs.deductions.standard.dependent @@ -466,25 +467,27 @@ def set_all_uprating_parameters(parameters: ParameterNode) -> ParameterNode: """ END_YEAR = 2100 - # IRS uprating - special case that computes from CPI - IRS_UPRATING_START_YEAR = 2010 - IRS_LAST_PROJECTED_YEAR = 2035 + # CBO's tax-year CPI projections (January values, last projection year + # 2036) cover 12-month windows with no BLS observation. Extend them first + # so every IRS uprating year below has a window average. + for projection in ( + parameters.gov.bls.cpi.tax_year_projection.c_cpi_u, + parameters.gov.bls.cpi.tax_year_projection.cpi_u, + ): + extend_parameter_values( + projection, + last_projected_year=2036, + end_year=END_YEAR, + period_month=1, + period_day=1, + ) + # IRS uprating: the 26 U.S.C. 1(f)(6)(B) C-CPI-U for the calendar year + # before each tax year. + IRS_UPRATING_START_YEAR = 2010 uprating_index = parameters.gov.irs.uprating - - # Calculate the growth rate from the last two years of CPI projections - cpi_second_to_last = get_irs_cpi(parameters, IRS_LAST_PROJECTED_YEAR - 2) - cpi_last = get_irs_cpi(parameters, IRS_LAST_PROJECTED_YEAR - 1) - growth_rate = cpi_last / cpi_second_to_last - - # Apply IRS uprating for year in range(IRS_UPRATING_START_YEAR, END_YEAR + 1): - if year <= IRS_LAST_PROJECTED_YEAR: - # Use actual CPI values through the last projected year - irs_cpi = get_irs_cpi(parameters, year - 1) - else: - # For all years after LAST_PROJECTED_YEAR, apply the constant growth rate - irs_cpi = uprating_index(f"{year - 1}-01-01") * growth_rate + irs_cpi = get_irs_cpi(parameters, year - 1) uprating_index.update(period=f"year:{year}-01-01:1", value=irs_cpi) uprating_index.update(start=instant(f"{END_YEAR}-01-01"), value=irs_cpi) @@ -629,14 +632,14 @@ def set_all_uprating_parameters(parameters: ParameterNode) -> ParameterNode: # Oregon Kids' Credit dollar amounts follow the ORS 315.273(5) # cost-of-living schedule (unchained CPI-U over a 2022 Q2 base), computed - # from the statutory base amounts. Must run after the CPI-U extension - # above so projected windows are available. + # from the statutory base amounts. Must run after the tax-year CPI + # projection extension above so projected windows are available. extend_or_ctc_parameters(parameters, end_year=END_YEAR) # The limits on a dependent's standard deduction follow 26 U.S.C. # 63(c)(4)'s chained CPI-U schedule, computed from the statutory 1987 and - # 1997 bases. Must run after the Chained CPI-U extension above so - # projected windows are available. + # 1997 bases. Must run after the tax-year CPI projection extension above + # so projected windows are available. extend_dependent_standard_deduction_parameters(parameters, end_year=END_YEAR) return parameters diff --git a/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml index 483f073599a..1071c619a59 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml @@ -115,7 +115,8 @@ # C-CPI-U Sep 2015-Aug 2016 average 135.993 / CPI-U Sep 2015-Aug 2016 # average 238.649 = 90.886. # Increase = $250 x (182.424 / 90.886 - 1) = $251.80, rounded down to - # $250, so $500. Floor: CBO's $1,400. + # $250, so $500. Floor (63(c)(4)(B)(i), 1987 denominator 63.813): + # $500 x 182.424 / 63.813 = $1,429.36, rounded down to $1,400. # max($1,400, $500 + $3,000) = $3,500, below the $16,550 cap. period: 2027 input: @@ -136,14 +137,11 @@ - name: 2032 dependent filer with $3,000 of wages gets $550 plus earned income # Same 63(c)(4)(B)(ii) adjustment. The 12 months ending August 2031 have - # no observed month, so the window reads the c_cpi_u.yaml projection point - # at 2031-02-01: 202.7. That point is CBO's calendar-year 2031 average, not - # a September-August average (#9608). - # Increase = $250 x (202.7 / 90.886 - 1) = $307.57, rounded down to $300, - # so $550. CBO's tax-year index for 2032 (Feb 2026 Tax Parameters, row - # 153: 201.335) gives the same step: $250 x (201.335 / 90.886 - 1) = - # $303.81, rounded down to $300. Floor: CBO's $1,550. - # max($1,550, $550 + $3,000) = $3,550, below the $18,250 cap. + # no observed month, so the window reads CBO's projection of that average + # (tax_year_projection/c_cpi_u.yaml, 2032): 201.335. + # Increase = $250 x (201.335 / 90.886 - 1) = $303.81, rounded down to + # $300, so $550. Floor: $500 x 201.335 / 63.813 = $1,577.53, so $1,550. + # max($1,550, $550 + $3,000) = $3,550, below the $18,300 cap. period: 2032 input: people: @@ -165,11 +163,12 @@ # Past CBO's 2036 horizon, 63(c)(4)(B)(i) increases the 63(c)(5)(A) $500 # by the 1(f)(3) adjustment with calendar year 1987 as the base year. # C-CPI-U for the 12 months ending August 2041: uprating_extensions.py - # extends c_cpi_u.yaml past 2034 at its 2033-2034 growth rate, - # 214.9 x (214.9 / 210.8)^7 = 245.922. + # extends CBO's tax-year projection (tax_year_projection/c_cpi_u.yaml) + # past 2036 at its 2035-2036 growth rate, + # 217.68 x (217.68 / 213.471)^6 = 244.735. # 1(f)(3)(A)(ii) and (B): CPI-U Sep 1986-Aug 1987 average 111.983 x # 135.993 / 238.649 = 63.813. - # Increase = $500 x (245.922 / 63.813 - 1) = $1,426.89, rounded down to + # Increase = $500 x (244.735 / 63.813 - 1) = $1,417.59, rounded down to # $1,400, so $1,900. period: 2042 input: @@ -188,8 +187,8 @@ basic_standard_deduction: 1_900 - name: 2042 dependent filer with $3,000 of wages gets $650 plus earned income - # Same 2041 C-CPI-U of 245.922 and 1997 denominator of 90.886. - # Increase = $250 x (245.922 / 90.886 - 1) = $426.46, rounded down to + # Same 2041 C-CPI-U of 244.735 and 1997 denominator of 90.886. + # Increase = $250 x (244.735 / 90.886 - 1) = $423.20, rounded down to # $400, so $650. max($1,900, $650 + $3,000) = $3,650. period: 2042 input: diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py index 0b9af4b1cf2..57a7f336b83 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py @@ -125,9 +125,13 @@ def test_projections_compute_from_statutory_bases_not_chained(): def _cola_on_series(values, tax_year): """Run the COLA helper against a synthetic CPI-U series.""" - cpi_u = Parameter("cpi_u", data=dict(values)) - bls = SimpleNamespace(cpi=SimpleNamespace(cpi_u=cpi_u)) - parameters = SimpleNamespace(gov=SimpleNamespace(bls=bls)) + cpi = SimpleNamespace( + cpi_u=Parameter("cpi_u", data=dict(values)), + tax_year_projection=SimpleNamespace( + cpi_u=Parameter("cpi_u_projection", data=_tax_year_projection()) + ), + ) + parameters = SimpleNamespace(gov=SimpleNamespace(bls=SimpleNamespace(cpi=cpi))) return get_or_ctc_cola(parameters, tax_year) @@ -141,8 +145,8 @@ def _monthly(values, start_year, start_month, end_year, end_month, level): # A synthetic mirror of the live series shape: 2022 Q2 base months averaging -# 300, monthly observations through August 2025, then annual projection -# points at February instants. +# 300, monthly observations through August 2025, then calendar-year +# projection points at February instants. def _base_series(): values = {"2022-04-01": 297, "2022-05-01": 300, "2022-06-01": 303} _monthly(values, 2022, 7, 2025, 8, 331) @@ -151,16 +155,24 @@ def _base_series(): return values +# CBO's projections of the 12 months ending the August before each tax +# year. They differ from the calendar-year points above, so each assertion +# shows which series a window read. +def _tax_year_projection(): + return {"2027-01-01": 344, "2028-01-01": 358} + + def test_cola_fully_observed_window_averages_monthly_data(): # Tax year 2026 window (September 2024 - August 2025) is fully observed # at 331: COLA = 331 / 300 - 1. assert _cola_on_series(_base_series(), 2026) == pytest.approx(31 / 300) -def test_cola_unobserved_window_uses_annual_projection_point(): - # Tax year 2027 has no observed months, so the February 2026 annual - # projection point (347) applies: COLA = 347 / 300 - 1. - assert _cola_on_series(_base_series(), 2027) == pytest.approx(47 / 300) +def test_cola_unobserved_window_uses_tax_year_projection(): + # Tax year 2027 has no observed months, so CBO's projection of that + # window (344) applies, not the February 2026 calendar-year point (347): + # COLA = 344 / 300 - 1. + assert _cola_on_series(_base_series(), 2027) == pytest.approx(44 / 300) def test_cola_partial_window_ignores_overwritten_february_projection(): @@ -170,16 +182,16 @@ def test_cola_partial_window_ignores_overwritten_february_projection(): # disagrees: the tax year 2027 window averages the ten observed months # (five at 330, five at 342) with a flat two-month tail at the last # observation (342), giving (5 * 330 + 5 * 342 + 2 * 342) / 12 = 337 and - # COLA = 37 / 300. Reading the overwritten February instant as an - # annual projection would instead give 42 / 300 — so this assertion - # fails against the raw-February-read regression it guards against. + # COLA = 37 / 300. Reading the overwritten February instant as a + # projection would instead give 42 / 300 — so this assertion fails + # against the raw-February-read regression it guards against. values = _base_series() _monthly(values, 2025, 9, 2026, 1, 330) _monthly(values, 2026, 2, 2026, 6, 342) assert _cola_on_series(values, 2027) == pytest.approx(37 / 300) - # Later, fully unobserved windows still read their own projection - # points: tax year 2028 uses February 2027 (361). - assert _cola_on_series(values, 2028) == pytest.approx(61 / 300) + # Later, fully unobserved windows still read their own tax-year + # projection: tax year 2028 uses 358. + assert _cola_on_series(values, 2028) == pytest.approx(58 / 300) def test_cola_observations_ending_on_a_february_stay_conservative(): diff --git a/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py b/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py index 6da33a15d0c..2fdee86c0d6 100644 --- a/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py +++ b/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py @@ -479,14 +479,20 @@ def months(start_year, start_month, end_year, end_month, level): c_cpi_u = { **months(2015, 9, 2016, 8, 150), **months(2019, 9, 2020, 8, 60), - # Monthly observations end in August 2030; later years hold annual - # projection points at February instants. + # Monthly observations end in August 2030; later years hold + # calendar-year projection points at February instants. **months(2029, 9, 2030, 8, 180), - "2032-02-01": 195, + "2032-02-01": 199, } cpi = SimpleNamespace( cpi_u=Parameter("cpi_u", data=cpi_u), c_cpi_u=Parameter("c_cpi_u", data=c_cpi_u), + # CBO's projections of the 12 months ending the August before each + # tax year. + tax_year_projection=SimpleNamespace( + cpi_u=Parameter("cpi_u_projection", data={"2033-01-01": 390}), + c_cpi_u=Parameter("c_cpi_u_projection", data={"2033-01-01": 195}), + ), ) return SimpleNamespace(gov=SimpleNamespace(bls=SimpleNamespace(cpi=cpi))) @@ -499,7 +505,8 @@ def test_irs_cola_follows_1f3_on_a_synthetic_index(): assert get_irs_cola_denominator(parameters, 1997) == pytest.approx(75) # Tax year 2031 reads the fully observed Sep 2029-Aug 2030 window (180). assert get_irs_cola(parameters, 2031, 1997) == pytest.approx(180 / 75 - 1) - # Tax year 2033 has no observed month and reads the 2032 projection point. + # Tax year 2033 has no observed month, so it reads CBO's tax-year + # projection (195), not the 2032 calendar-year point (199). assert get_irs_cola(parameters, 2033, 1997) == pytest.approx(195 / 75 - 1) # "The percentage (if any)": the Sep 2019-Aug 2020 window (60) is below # the denominator, so the tax year 2021 COLA is zero, not negative. @@ -559,10 +566,14 @@ def encoded_dependent_standard_deduction_values(name): def test_dependent_standard_deduction_encoded_values_take_precedence(): - """IRS and CBO values in the YAML survive the statutory extension.""" + """IRS values in the YAML survive the statutory extension. + + Every encoded value is an IRS publication that the statute reproduces, + so precedence for a non-statutory value is checked on the synthetic tree + in the next test. + """ dependent = PARAMETERS.gov.irs.deductions.standard.dependent - statute_differs = [] - for name, base, base_year in DEPENDENT_STANDARD_DEDUCTION_STATUTORY_BASES: + for name, _, _ in DEPENDENT_STANDARD_DEDUCTION_STATUTORY_BASES: parameter = getattr(dependent, name) # The 0001 placeholder in additional_earned_income.yaml is not a year. encoded = { @@ -572,14 +583,6 @@ def test_dependent_standard_deduction_encoded_values_take_precedence(): } for year, value in encoded.items(): assert parameter(f"{year}-01-01") == value, (name, year) - if value != statutory_dependent_standard_deduction_amount( - base, base_year, year - ): - statute_differs.append((name, year)) - # The check only bites where an encoded value differs from the statutory - # computation on the model's index: CBO's floor does in 2031 and 2034 - # (#9608). - assert statute_differs def test_dependent_standard_deduction_extension_starts_after_last_encoded_year(): @@ -595,10 +598,19 @@ def months(start_year, level): cpi_u=Parameter( "cpi_u", data={**months(1986, 40), **months(1996, 100), **months(2015, 200)} ), - # Monthly observations end in August 2030; 2032 holds a projection. + # Monthly observations end in August 2030; 2032 holds a calendar-year + # point, which windows do not read. c_cpi_u=Parameter( "c_cpi_u", - data={**months(2015, 150), **months(2029, 190), "2032-02-01": 205}, + data={**months(2015, 150), **months(2029, 190), "2032-02-01": 211}, + ), + # CBO's projections of the 12 months ending the August before each + # tax year. + tax_year_projection=SimpleNamespace( + cpi_u=Parameter("cpi_u_projection", data={"2033-01-01": 410}), + c_cpi_u=Parameter( + "c_cpi_u_projection", data={"2032-01-01": 190, "2033-01-01": 205} + ), ), ) # A node, so Parameter.update can reach a parent. @@ -630,13 +642,13 @@ def months(start_year, level): assert dependent.additional_earned_income("2030-01-01") == 999 # Denominators: 1987 base 40 x 150 / 200 = 30; 1997 base 100 x 150 / 200 = 75. # 2031 reads the observed Sep 2029-Aug 2030 window (190); 2032 has no - # observed month and no projection point of its own, so it reads 190 too. + # observed month and reads its tax-year projection, also 190. # Floor: $500 x (190 / 30 - 1) = $2,666.67, rounded down to $2,650. # Addition: $250 x (190 / 75 - 1) = $383.33, rounded down to $350. for year in (2031, 2032): assert dependent.amount(f"{year}-01-01") == 3_150 assert dependent.additional_earned_income(f"{year}-01-01") == 600 - # 2033 reads the 2032 projection point (205). + # 2033 reads its tax-year projection (205), not the calendar-year point. # Floor: $500 x (205 / 30 - 1) = $2,916.67, rounded down to $2,900. # Addition: $250 x (205 / 75 - 1) = $433.33, rounded down to $400. assert dependent.amount("2033-01-01") == 3_400 @@ -670,3 +682,39 @@ def test_dependent_standard_deduction_projections_follow_statute(): assert dependent.additional_earned_income("2032-01-01") == 550 assert dependent.additional_earned_income("2042-01-01") == 650 assert dependent.amount("2042-01-01") == 1_900 + + +def test_statute_on_the_index_reproduces_cbo_dependent_floor_projections(): + """CBO's projected floor is 63(c)(4) applied to CBO's projected index. + + CBO Tax Parameters, February 2026, sheet 1: row 68 ("Dependent filers + (unearned)") by tax year. The model derives the floor from row 153, the + C-CPI-U over the 12 months ending the previous August, for 2028-2036, + and from BLS observations for 2027, so matching row 68 in every year + checks both the index and the statute encoding. + """ + cbo_floor = { + 2027: 1_400, + 2028: 1_450, + 2029: 1_450, + 2030: 1_500, + 2031: 1_500, + 2032: 1_550, + 2033: 1_600, + 2034: 1_600, + 2035: 1_650, + 2036: 1_700, + } + dependent = PARAMETERS.gov.irs.deductions.standard.dependent + for year, amount in cbo_floor.items(): + assert dependent.amount(f"{year}-01-01") == amount, year + + +def test_irs_uprating_is_the_c_cpi_u_for_12_months_ending_august(): + """1(f)(6)(B): the index for tax year T averages Sep T-2 through Aug T-1.""" + uprating = PARAMETERS.gov.irs.uprating + # CBO's actual tax year 2026 index (Tax Parameters row 153): 177.114. + assert uprating("2026-01-01") == pytest.approx(177.114, abs=5e-4) + # No BLS observation covers Sep 2026-Aug 2027: CBO's projection. + assert uprating("2028-01-01") == pytest.approx(185.881) + assert uprating("2036-01-01") == pytest.approx(217.68) From 8c48647c78684ada504153e6f32176c5ed640c8d Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 8 Oct 2026 10:51:45 -0400 Subject: [PATCH 02/29] Complete observed CPI windows through August 2026 --- changelog.d/irs-index-tax-year-cpi.fixed.md | 2 +- policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml | 4 +++- policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml | 4 +++- .../tests/core/test_state_uprating_rounding.py | 8 +++++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/changelog.d/irs-index-tax-year-cpi.fixed.md b/changelog.d/irs-index-tax-year-cpi.fixed.md index 95b71bb3b2a..420fa3b7fa5 100644 --- a/changelog.d/irs-index-tax-year-cpi.fixed.md +++ b/changelog.d/irs-index-tax-year-cpi.fixed.md @@ -1 +1 @@ -Correct IRS September–August inflation windows and separate CBO tax-year projections while preserving published amounts; calculate dependent deduction limits from statutory bases, separate Vermont and Wisconsin unchained CPI schedules, preserve CBO calendar forecast anchors, and encode published 2026 Wisconsin and California tax amounts. +Correct IRS September–August inflation windows and separate CBO tax-year projections while preserving published amounts; calculate dependent deduction limits from statutory bases, separate Vermont and Wisconsin unchained CPI schedules, preserve CBO calendar forecast anchors, and encode published 2026 Wisconsin and California tax amounts. Update observed chained and seasonally adjusted CPI-U through August 2026. diff --git a/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml index 3195bb8ed00..148074018ad 100644 --- a/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml @@ -320,6 +320,8 @@ values: 2026-04-01: 184.499 2026-05-01: 185.589 2026-06-01: 184.992 + 2026-07-01: 185.162 + 2026-08-01: 185.739 # CBO's February 2026 projections of each calendar year's average C-CPI-U. # Tax parameters use the average over the 12 months ending August instead; # CBO's projections of that average are in tax_year_projection/c_cpi_u.yaml. @@ -338,7 +340,7 @@ metadata: unit: currency-USD label: Chained CPI-U reference: - - title: BLS | Chained CPI-U, U.S. city average, all items (SUUR0000SA0), monthly values through June 2026 + - title: BLS | Chained CPI-U, U.S. city average, all items (SUUR0000SA0), monthly values through August 2026 href: https://data.bls.gov/timeseries/SUUR0000SA0 - title: CBO | Tax Parameters and Effective Marginal Tax Rates | June 2024 # Source: https://www.cbo.gov/data/budget-economic-data#10 diff --git a/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml index 9ee95b3415e..3361530da39 100644 --- a/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml @@ -1363,6 +1363,8 @@ values: 2026-04-01: 332.407 2026-05-01: 333.979 2026-06-01: 332.568 + 2026-07-01: 332.813 + 2026-08-01: 334.131 # CBO's February 2026 projections of each calendar year's average CPI-U. # Tax parameters use the average over the 12 months ending August instead; # CBO's projections of that average are in tax_year_projection/cpi_u.yaml. @@ -1381,7 +1383,7 @@ metadata: label: CPI-U economy: false reference: - - title: BLS | CPI-U, U.S. city average, all items, seasonally adjusted (CUSR0000SA0), monthly values through June 2026 + - title: BLS | CPI-U, U.S. city average, all items, seasonally adjusted (CUSR0000SA0), monthly values through August 2026 href: https://data.bls.gov/timeseries/CUSR0000SA0 - title: CBO | Tax Parameters and Effective Marginal Tax Rates | June 2024 # Source: https://www.cbo.gov/data/budget-economic-data#10 diff --git a/policyengine_us/tests/core/test_state_uprating_rounding.py b/policyengine_us/tests/core/test_state_uprating_rounding.py index 12f3d0985af..c1ef927fac5 100644 --- a/policyengine_us/tests/core/test_state_uprating_rounding.py +++ b/policyengine_us/tests/core/test_state_uprating_rounding.py @@ -184,8 +184,14 @@ def test_sc_dependent_deductions_round_down_to_ten_dollars(): def test_sc_income_tax_rounding_applies_to_threshold_not_rates(): scale = SYSTEM.parameters.gov.states.sc.tax.income.rates + uprating = SYSTEM.parameters.gov.irs.uprating + factor = Decimal(str(uprating("2027-01-01"))) / Decimal(str(uprating("2026-01-01"))) + expected_threshold = int( + (Decimal(30_000) * factor).quantize(Decimal("1E1"), rounding=ROUND_FLOOR) + ) - assert scale.brackets[1].threshold("2027-01-01") == 30_890 + assert scale.brackets[1].threshold("2026-01-01") == 30_000 + assert scale.brackets[1].threshold("2027-01-01") == expected_threshold assert scale.brackets[1].rate("2027-01-01") == pytest.approx(0.0521) assert scale.brackets[2].rate("2027-01-01") == pytest.approx(0.06) From 6f307d62aac5d2033decc04abd1a8a7c9db60357 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 8 Oct 2026 10:54:53 -0400 Subject: [PATCH 03/29] Isolate reform and eligibility tests from changing CPI forecasts --- .../high_earner_tax/ri_high_earner_tax.yaml | 35 ++++++++++--------- ...social_security_modification_eligible.yaml | 12 ++++--- .../gov/states/ri/tax/income/integration.yaml | 9 +++-- .../ri/tax/income/ri_high_earner_tax.yaml | 14 ++++++-- .../contrib/states/ca/ab2591/ca_ab2591.yaml | 10 +++--- .../ut_dependent_exemption.yaml | 16 ++++++--- 6 files changed, 60 insertions(+), 36 deletions(-) diff --git a/policyengine_us/tests/policy/baseline/contrib/states/ri/high_earner_tax/ri_high_earner_tax.yaml b/policyengine_us/tests/policy/baseline/contrib/states/ri/high_earner_tax/ri_high_earner_tax.yaml index a94fb67aa54..610af6034ba 100644 --- a/policyengine_us/tests/policy/baseline/contrib/states/ri/high_earner_tax/ri_high_earner_tax.yaml +++ b/policyengine_us/tests/policy/baseline/contrib/states/ri/high_earner_tax/ri_high_earner_tax.yaml @@ -1,22 +1,18 @@ # Test RI H7317 Additional Tax on High-Income Filers # For 2027+: 3% additional tax on income above $640,000 (inflation-adjusted). -# The $640,000 threshold has an explicit value only for 2026-01-01; #8905 -# unfroze its `uprating:` block (previously a silently-ignored sibling of -# `values:`), so 2027 is now gov.irs.uprating(2027)/gov.irs.uprating(2026) * -# 640,000, rounded down to the nearest 50 -- not yet an officially published -# 2027 figure (none exists for this proposed reform). -# -# The baseline tax below these tests also moved: gov/states/ri/tax/income/ -# rate.yaml's bracket thresholds ($79,900 @ bracket[1] / $181,650 @ bracket[2] -# in 2025) were frozen by the same #8905 bug and are now gov.irs.uprating -# projections ($84,450 / $192,000 for 2027) from RI's official 2026 -# thresholds -- this remains a projection pending RI's 2027 publication. +# Retain the original fixture's synthetic 2027 forecast assumptions: +# baseline bracket thresholds of $84,450 / $192,000 and a proposed surtax +# threshold of $659,050. These inputs isolate reform activation and tax +# stacking; they are not published Rhode Island tax-year amounts. - name: RI high earner tax - income below threshold (no surtax) period: 2027 reforms: policyengine_us.reforms.states.ri.high_earner_tax.ri_high_earner_tax_reform.ri_high_earner_tax input: gov.contrib.states.ri.high_earner_tax.in_effect: true + gov.contrib.states.ri.high_earner_tax.brackets[1].threshold: 659_050 + gov.states.ri.tax.income.rate[1].threshold: 84_450 + gov.states.ri.tax.income.rate[2].threshold: 192_000 people: person1: age: 45 @@ -30,7 +26,7 @@ members: [person1] state_code: RI output: - # Income below the 2027 threshold - only baseline tax applies, surtax = 0. + # Income below the synthetic threshold - only baseline tax applies, surtax = 0. # Baseline: .0375*84,450 + .0475*(192,000-84,450) + .0599*(500,000-192,000) = 26,724.70 ri_income_tax_before_non_refundable_credits: 26_724.70 @@ -39,6 +35,9 @@ reforms: policyengine_us.reforms.states.ri.high_earner_tax.ri_high_earner_tax_reform.ri_high_earner_tax input: gov.contrib.states.ri.high_earner_tax.in_effect: true + gov.contrib.states.ri.high_earner_tax.brackets[1].threshold: 659_050 + gov.states.ri.tax.income.rate[1].threshold: 84_450 + gov.states.ri.tax.income.rate[2].threshold: 192_000 people: person1: age: 45 @@ -52,8 +51,7 @@ members: [person1] state_code: RI output: - # Baseline tax (41,699.70) + 3% surtax on income above the 2027 threshold - # (gov.irs.uprating-projected from $640,000 @ 2026 to $659,050 @ 2027) + # Baseline tax (41,699.70) + 3% surtax above the synthetic $659,050 threshold. # Baseline: .0375*84,450 + .0475*(192,000-84,450) + .0599*(750,000-192,000) = 41,699.70 # Surtax: (750,000 - 659,050) * 0.03 = 90,950 * 0.03 = 2,728.5 # Total: 41,699.70 + 2,728.5 = 44,428.20 @@ -64,6 +62,9 @@ reforms: policyengine_us.reforms.states.ri.high_earner_tax.ri_high_earner_tax_reform.ri_high_earner_tax input: gov.contrib.states.ri.high_earner_tax.in_effect: true + gov.contrib.states.ri.high_earner_tax.brackets[1].threshold: 659_050 + gov.states.ri.tax.income.rate[1].threshold: 84_450 + gov.states.ri.tax.income.rate[2].threshold: 192_000 people: person1: age: 45 @@ -77,8 +78,7 @@ members: [person1] state_code: RI output: - # Baseline tax (56,674.70) + 3% surtax on income above the 2027 threshold - # (gov.irs.uprating-projected from $640,000 @ 2026 to $659,050 @ 2027) + # Baseline tax (56,674.70) + 3% surtax above the synthetic $659,050 threshold. # Baseline: .0375*84,450 + .0475*(192,000-84,450) + .0599*(1,000,000-192,000) = 56,674.70 # Surtax: (1,000,000 - 659,050) * 0.03 = 340,950 * 0.03 = 10,228.5 # Total: 56,674.70 + 10,228.5 = 66,903.20 @@ -89,6 +89,9 @@ reforms: policyengine_us.reforms.states.ri.high_earner_tax.ri_high_earner_tax_reform.ri_high_earner_tax input: gov.contrib.states.ri.high_earner_tax.in_effect: false + gov.contrib.states.ri.high_earner_tax.brackets[1].threshold: 659_050 + gov.states.ri.tax.income.rate[1].threshold: 84_450 + gov.states.ri.tax.income.rate[2].threshold: 192_000 people: person1: age: 45 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/social_security/ri_social_security_modification_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/social_security/ri_social_security_modification_eligible.yaml index 7f9b6848742..c12d59b5e29 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/social_security/ri_social_security_modification_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/social_security/ri_social_security_modification_eligible.yaml @@ -109,14 +109,13 @@ output: ri_social_security_modification_eligible: false -# The 2027 income limit is a gov.irs.uprating CPI projection from the 2025 -# explicit value (#8905 unfroze the sibling-of-values `uprating:` block that -# had been silently ignored, freezing 2026/2027 at the 2025 figure). RI has -# not yet published its own 2027 adjustment; the official figure supersedes -# this projection once released (see #8905). +# Retain the original fixture's synthetic 2027 income limits to isolate the +# strict eligibility boundary after removal of the age requirement. These +# assumptions are not published Rhode Island tax-year amounts. - name: 2027 - Single filer just below income limit is eligible period: 2027 input: + gov.states.ri.tax.income.agi.subtractions.social_security.limit.income.SINGLE: 112_650 adjusted_gross_income: 112_649 filing_status: SINGLE older_spouse_birth_year: 1990 @@ -127,6 +126,7 @@ - name: 2027 - Single filer at income limit is ineligible period: 2027 input: + gov.states.ri.tax.income.agi.subtractions.social_security.limit.income.SINGLE: 112_650 adjusted_gross_income: 112_650 filing_status: SINGLE older_spouse_birth_year: 1990 @@ -137,6 +137,7 @@ - name: 2027 - Joint filer just below income limit is eligible period: 2027 input: + gov.states.ri.tax.income.agi.subtractions.social_security.limit.income.JOINT: 140_850 adjusted_gross_income: 140_849 filing_status: JOINT older_spouse_birth_year: 1990 @@ -147,6 +148,7 @@ - name: 2027 - Joint filer at income limit is ineligible period: 2027 input: + gov.states.ri.tax.income.agi.subtractions.social_security.limit.income.JOINT: 140_850 adjusted_gross_income: 140_850 filing_status: JOINT older_spouse_birth_year: 1990 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml index c0c3dbbfce7..40c3d20a350 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml @@ -239,6 +239,10 @@ absolute_error_margin: 0.01 period: 2027 input: + # Synthetic forecast assumptions retained from the original fixture to + # isolate credit/surtax interaction; not published RI tax-year amounts. + gov.states.ri.tax.income.rate[1].threshold: 84_450 + gov.states.ri.tax.income.rate[2].threshold: 192_000 people: person1: age: 40 @@ -264,8 +268,7 @@ ri_ctc: 330 ri_high_earner_tax: 2_500 ri_social_security_modification: 10_000 - # Baseline tax uses gov/states/ri/tax/income/rate.yaml's bracket - # thresholds, gov.irs.uprating-projected for 2027 from the official 2026 - # thresholds (84,450 / 192,000): 71,649.70 before credits, + 2,500 surtax, + # Baseline tax uses the synthetic bracket thresholds supplied above + # (84,450 / 192,000): 71,649.70 before credits, + 2,500 surtax, # - 330 CTC = 73,819.70. ri_income_tax: 73_819.70 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/ri_high_earner_tax.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/ri_high_earner_tax.yaml index e7e572d10ac..bda137fea82 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/ri_high_earner_tax.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/ri_high_earner_tax.yaml @@ -20,6 +20,9 @@ period: 2028 absolute_error_margin: 0.01 input: + # Synthetic forecast assumption retained from the original fixture to + # isolate the surtax rate; not a published Rhode Island tax-year amount. + gov.states.ri.tax.income.high_earner_tax.threshold: 1_022_600 state_code: RI ri_taxable_income: 1_250_000 output: @@ -30,6 +33,9 @@ period: 2029 absolute_error_margin: 0.01 input: + # Synthetic forecast assumption retained from the original fixture to + # isolate the surtax rate; not a published Rhode Island tax-year amount. + gov.states.ri.tax.income.high_earner_tax.threshold: 1_039_400 state_code: RI ri_taxable_income: 1_250_000 output: @@ -40,12 +46,14 @@ period: 2027 absolute_error_margin: 0.01 input: + # Synthetic forecast assumptions retained from the original fixture to + # isolate tax stacking; not published Rhode Island tax-year amounts. + gov.states.ri.tax.income.rate[1].threshold: 84_450 + gov.states.ri.tax.income.rate[2].threshold: 192_000 state_code: RI ri_taxable_income: 1_250_000 output: - # Baseline tax uses gov/states/ri/tax/income/rate.yaml's bracket - # thresholds, gov.irs.uprating-projected for 2027 from the official 2026 - # thresholds: + # Baseline tax uses the synthetic bracket thresholds supplied above: # .0375*84,450 + .0475*(192,000-84,450) + .0599*(1,250,000-192,000) = 71,649.70 # + 1% high-earner surtax on income above the (explicit, unaffected) # $1,000,000 2027 threshold: (1,250,000 - 1,000,000) * 0.01 = 2,500 diff --git a/policyengine_us/tests/policy/contrib/states/ca/ab2591/ca_ab2591.yaml b/policyengine_us/tests/policy/contrib/states/ca/ab2591/ca_ab2591.yaml index 760f94e4e75..2461bd119f8 100644 --- a/policyengine_us/tests/policy/contrib/states/ca/ab2591/ca_ab2591.yaml +++ b/policyengine_us/tests/policy/contrib/states/ca/ab2591/ca_ab2591.yaml @@ -2,7 +2,7 @@ # Allows taxpayers to elect a standard deduction equal to the federal # poverty line for their household size. # Effective for taxable years beginning on or after July 1, 2027. -# 2027 federal poverty guidelines (CONTIGUOUS_US): +# Existing 2027 federal poverty guideline projections (CONTIGUOUS_US): # first person = $16,334 # additional person = $5,813 # 1-person FPL = $16,334 @@ -168,6 +168,9 @@ absolute_error_margin: 1 reforms: policyengine_us.reforms.states.ca.ab2591.ab2591.ca_ab2591 input: + # Synthetic forecast assumption retained from the original fixture to + # isolate reform inactivity; not a published California tax-year amount. + gov.states.ca.tax.income.deductions.standard.amount.SINGLE: 6_009.22 gov.contrib.states.ca.ab2591.in_effect: false people: person1: @@ -182,9 +185,8 @@ members: [person1] state_code: CA output: - # 2025 indexed value ($5,706) uprated by CA CPI to 2027; the 2027 - # CA CPI point is an IRS-uprating projection, so it reflects the - # observed chained-CPI actuals through June 2026. + # The inactive reform leaves the synthetic baseline amount supplied + # above unchanged. ca_standard_deduction: 6_009.22 - name: Non-California filer unaffected by the reform. diff --git a/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml b/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml index 49278857c1e..da37f9913d1 100644 --- a/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml +++ b/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml @@ -1,8 +1,12 @@ +# The baseline exemption inputs below retain the original fixture's +# synthetic 2026 forecast assumption to isolate reform behavior. The $2,159 +# per-dependent amount is not asserted as a published Utah tax-year amount. - name: Under-18 repeal zeroes the young dependent, preserves the older one. period: 2026 absolute_error_margin: 1 reforms: policyengine_us.reforms.states.ut.dependent_exemption.ut_dependent_exemption_reform input: + gov.states.ut.tax.income.credits.taxpayer.personal_exemption: 2_159 gov.contrib.states.ut.dependent_exemption.in_effect: true gov.contrib.states.ut.dependent_exemption.amount: 0 gov.contrib.states.ut.dependent_exemption.age_limit.in_effect: true @@ -27,11 +31,11 @@ members: [person1, child1, person2] state_code: UT output: - # Only the 19-year-old keeps the uprated baseline per-dependent - # exemption (about $2,159 in 2026). + # Only the 19-year-old keeps the synthetic baseline per-dependent + # exemption supplied above. ut_personal_exemption: 2_159 # About $130 above the same household's baseline tax of $1,379: the - # taxpayer credit shrinks by 6% of the repealed ~$2,159 exemption. + # taxpayer credit shrinks by 6% of the repealed $2,159 exemption. # Asserts the exemption flows through to the bottom line. ut_income_tax: 1_508 @@ -40,6 +44,7 @@ absolute_error_margin: 1 reforms: policyengine_us.reforms.states.ut.dependent_exemption.ut_dependent_exemption_reform input: + gov.states.ut.tax.income.credits.taxpayer.personal_exemption: 2_159 gov.contrib.states.ut.dependent_exemption.in_effect: true people: person1: @@ -60,7 +65,7 @@ members: [person1, child1, person2] state_code: UT output: - # Two dependents at the uprated baseline amount. + # Two dependents at the synthetic baseline amount supplied above. ut_personal_exemption: 4_318 - name: A flat reform amount applies to every dependent when the age limit is off. @@ -125,6 +130,7 @@ absolute_error_margin: 1 reforms: policyengine_us.reforms.states.ut.dependent_exemption.ut_dependent_exemption_reform input: + gov.states.ut.tax.income.credits.taxpayer.personal_exemption: 2_159 gov.contrib.states.ut.dependent_exemption.amount: 0 people: person1: @@ -146,5 +152,5 @@ state_code: UT output: # in_effect is false, so the $0 amount does not apply: two dependents - # at the uprated baseline amount. + # at the synthetic baseline amount supplied above. ut_personal_exemption: 4_318 From 0ef13ac750a86be6e1e90d3b3e13afef20134c68 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 8 Oct 2026 11:18:53 -0400 Subject: [PATCH 04/29] Test Wisconsin phaseouts against statutory August CPI bases --- .../core/test_state_uprating_rounding.py | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/policyengine_us/tests/core/test_state_uprating_rounding.py b/policyengine_us/tests/core/test_state_uprating_rounding.py index c1ef927fac5..f8df551ae84 100644 --- a/policyengine_us/tests/core/test_state_uprating_rounding.py +++ b/policyengine_us/tests/core/test_state_uprating_rounding.py @@ -273,31 +273,36 @@ def test_vt_income_tax_thresholds_preserve_published_preliminary_2026( @pytest.mark.parametrize( - ("filing_status", "published_2026"), + ("filing_status", "published_2026", "statutory_base", "base_index"), ( # 2026 Form 1-ES instructions, 2026 Standard Deduction schedules. - ("head_of_household", 20_120), - ("joint", 29_040), - ("separate", 13_780), - ("single", 20_120), + ("head_of_household", 20_120, 10_380, "167.1"), + ("joint", 29_040, 21_360, "238.316"), + ("separate", 13_780, 10_140, "238.316"), + ("single", 20_120, 10_380, "167.1"), ), ) -def test_wi_standard_deduction_phase_out_thresholds_preserve_published_2026( +def test_wi_standard_deduction_phase_out_thresholds_use_published_then_statutory_values( filing_status, published_2026, + statutory_base, + base_index, ): # 2026 Form 1-ES instructions, p. 2, Standard Deduction Schedules. + # Future amounts: Wis. Stat. 71.05(22)(dp)-(dt), using prior-August + # CUUR0000SA0 and the statutory 1999 (single/HOH) or 2015 (joint/MFS) base. scale = getattr( SYSTEM.parameters.gov.states.wi.tax.income.deductions.standard.phase_out, filing_status, ) - uprating = SYSTEM.parameters.gov.irs.uprating - assert scale.brackets[1].threshold("2026-01-01") == published_2026 - # Later years project from the published 2026 start, rounded to the - # nearest $10. Expected values follow the loaded index. - factor = uprating("2027-01-01") / uprating("2026-01-01") - expected_2027 = round(published_2026 * factor / 10) * 10 + nsa = SYSTEM.parameters.gov.bls.cpi.cpi_u_nsa + assert nsa("2026-08-01") == 334.980 + base_year = 1999 if filing_status in ("single", "head_of_household") else 2015 + assert nsa(f"{base_year}-08-01") == float(base_index) + expected_2027 = _wi_independent_indexed_amount( + statutory_base, "334.980", base_index, published_2026 + ) assert scale.brackets[1].threshold("2027-01-01") == expected_2027 From 36a8a9705e86a8da9ce201a01f1d363854095365 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 8 Oct 2026 11:31:39 -0400 Subject: [PATCH 05/29] Preserve the Utah reform fixture phaseout assumption --- .../states/ut/dependent_exemption/ut_dependent_exemption.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml b/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml index da37f9913d1..ae021fe146e 100644 --- a/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml +++ b/policyengine_us/tests/policy/contrib/states/ut/dependent_exemption/ut_dependent_exemption.yaml @@ -7,6 +7,9 @@ reforms: policyengine_us.reforms.states.ut.dependent_exemption.ut_dependent_exemption_reform input: gov.states.ut.tax.income.credits.taxpayer.personal_exemption: 2_159 + # Retain the original fixture's synthetic phase-out forecast as well; + # this is not asserted as a published Utah tax-year threshold. + gov.states.ut.tax.income.credits.taxpayer.phase_out.threshold.HEAD_OF_HOUSEHOLD: 27_939.15 gov.contrib.states.ut.dependent_exemption.in_effect: true gov.contrib.states.ut.dependent_exemption.amount: 0 gov.contrib.states.ut.dependent_exemption.age_limit.in_effect: true From c5124290f65bc360b0730601473b51ce81bd5097 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 14:38:44 -0500 Subject: [PATCH 06/29] Join CBO's tax-year CPI projections to BLS observations by growth For a 12-month window with no BLS observation, the model took CBO's projected level as the tax-year index. CBO projected 181.654 for the 12 months ending August 2026, and the BLS values average 182.501, so the index grew 1.85% into tax year 2028 where CBO projects 2.33%. get_average_for_12_months_ending_august now multiplies the last window that holds an observation by CBO's projected growth since that window. The chained index (gov.irs.uprating) and the unchained 12-month average both use it. The Medicare income-related premium thresholds, New York City's income tax elimination credit and Oregon's Kids' Credit read the unchained average. Vermont's index keeps CBO's levels through splice_on_growth=False. Compared with CBO's levels, no parameter moves before 2028. test_tax_year_index_growth_splice.py checks four invariants on Hypothesis-generated series and on the live series: unobserved windows grow at CBO's rates, observed windows ignore the projection, rescaling the projection changes no index value, and a recomputation from the YAML files agrees with the model for tax years 2018 to 2036. Expected values from 2028 on move in the index, standard deduction and California tests, and each carries its arithmetic. Co-Authored-By: Claude Fable 5.2 --- changelog.d/irs-index-tax-year-cpi.fixed.md | 2 +- .../bls/cpi/tax_year_projection/c_cpi_u.yaml | 4 +- .../bls/cpi/tax_year_projection/cpi_u.yaml | 5 +- .../parameters/uprating_extensions.py | 58 ++- ..._income_tax_elimination_credit_indexing.py | 94 +++-- .../standard/basic_standard_deduction.yaml | 59 ++- .../alternative_minimum_tax/ca_amt.yaml | 10 +- .../income/ca_income_tax_before_credits.yaml | 28 +- ..._income_tax_before_refundable_credits.yaml | 6 +- .../tax/income/credits/test_or_ctc_sunset.py | 27 +- .../test_tax_year_index_growth_splice.py | 382 ++++++++++++++++++ .../parameters/test_uprating_extensions.py | 122 ++++-- .../contrib/states/ca/prop3/ca_prop3.yaml | 59 +-- .../states/ca/prop3/test_ca_prop3_reform.py | 6 +- 14 files changed, 698 insertions(+), 164 deletions(-) create mode 100644 policyengine_us/tests/policy/baseline/parameters/test_tax_year_index_growth_splice.py diff --git a/changelog.d/irs-index-tax-year-cpi.fixed.md b/changelog.d/irs-index-tax-year-cpi.fixed.md index 420fa3b7fa5..dd50f123cef 100644 --- a/changelog.d/irs-index-tax-year-cpi.fixed.md +++ b/changelog.d/irs-index-tax-year-cpi.fixed.md @@ -1 +1 @@ -Correct IRS September–August inflation windows and separate CBO tax-year projections while preserving published amounts; calculate dependent deduction limits from statutory bases, separate Vermont and Wisconsin unchained CPI schedules, preserve CBO calendar forecast anchors, and encode published 2026 Wisconsin and California tax amounts. Update observed chained and seasonally adjusted CPI-U through August 2026. +Correct IRS September–August inflation windows, keep published amounts, and extend the last observed window at CBO's projected tax-year growth rates. Calculate dependent deduction limits from statutory bases, separate Vermont and Wisconsin unchained CPI schedules, preserve CBO calendar forecast anchors, and encode published 2026 Wisconsin and California tax amounts. Update observed chained and seasonally adjusted CPI-U through August 2026. diff --git a/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml index 4cede88a163..fc1966519e9 100644 --- a/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml @@ -1,7 +1,9 @@ description: The Congressional Budget Office projects this average of the Chained Consumer Price Index for All Urban Consumers over the 12 months ending the August before each tax year, the index that adjusts federal tax parameters for that year. values: # Keyed by tax year: the 2028 value averages September 2026 through - # August 2027. Windows with BLS observations use c_cpi_u.yaml instead. + # August 2027. A window with a BLS observation averages c_cpi_u.yaml. Each + # later window multiplies the last such average by the growth of these + # values since that window. 2027-01-01: 181.654 2028-01-01: 185.881 2029-01-01: 189.775 diff --git a/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml index e4b45465a4a..76d99e752ef 100644 --- a/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml @@ -1,7 +1,10 @@ description: The Congressional Budget Office projects this average of the Consumer Price Index for All Urban Consumers over the 12 months ending the August before each tax year. values: # Keyed by tax year: the 2028 value averages September 2026 through - # August 2027. Windows with BLS observations use cpi_u.yaml instead. + # August 2027. A window with a BLS observation averages cpi_u.yaml. Each + # later window multiplies the last such average by the growth of these + # values since that window. Vermont's index (get_vt_cpi) averages + # cpi_u_nsa.yaml and takes these values as levels for later windows. 2027-01-01: 328.701 2028-01-01: 337.382 2029-01-01: 345.443 diff --git a/policyengine_us/parameters/uprating_extensions.py b/policyengine_us/parameters/uprating_extensions.py index 17969e894de..0fca323eab5 100644 --- a/policyengine_us/parameters/uprating_extensions.py +++ b/policyengine_us/parameters/uprating_extensions.py @@ -87,6 +87,7 @@ def get_average_for_12_months_ending_august( cpi: Parameter, year: int, projection: Parameter, + splice_on_growth: bool = True, ) -> float: """Average a monthly price index over the 12 months ending August 31. @@ -98,10 +99,9 @@ def get_average_for_12_months_ending_august( release, then (for the seasonally adjusted and chained series) CBO's calendar-year averages at February instants; a monthly refresh that reaches a February replaces that instant's projection with the observed - value. Windows with no observed month read ``projection``, CBO's - projection of this 12-month average keyed by the tax year it indexes - (``year + 1``); a calendar-year average would run about four months of - inflation high. + value. ``projection`` holds CBO's projection of this 12-month average, + keyed by the tax year it indexes (``year + 1``); a calendar-year average + would run about four months of inflation high. Windows with observed months average them, and complete any month without an observation with the latest value published before it. Those @@ -114,6 +114,16 @@ def get_average_for_12_months_ending_august( - each month after the last observation takes the last observation, so the unobserved tail of the latest window is held flat. + Windows with no observed month splice ``projection`` onto the + observations by growth. The base is the last window that holds an + observed month, averaged as above. Each later window multiplies that + base by the ratio of its own projection to the base window's + projection, so the index grows from year to year at the rate CBO + projects, whatever level CBO's vintage gave the base window. + ``projection`` must hold a value for the tax year the base window + indexes. With ``splice_on_growth=False`` a window with no observed month + takes its projection as a level. + The levels averaged are those in the parameter file, one vintage per month. Where BLS revises a series after first publication (the C-CPI-U moves from initial to interim to final estimates), that vintage need not @@ -129,7 +139,21 @@ def get_average_for_12_months_ending_august( ) window_start = instant(f"{year - 1}-09-01") if window_start > last_observation: - return projection(f"{year + 1}-01-01") + projected = projection(f"{year + 1}-01-01") + if not splice_on_growth: + return projected + # Windows start in September, so the last window with an observed + # month ends in the August on or after the last observation. + base_year = last_observation.year + int(last_observation.month >= 9) + projected_base = projection(f"{base_year + 1}-01-01") + if projected_base is None: + raise ValueError( + f"{projection.name} holds no value for tax year " + f"{base_year + 1}, which the last window with an observed " + "month indexes; later windows grow from that value." + ) + base = get_average_for_12_months_ending_august(cpi, base_year, projection) + return base * projected / projected_base window_months = [ window_start.offset(month, MONTH) for month in range(MONTHS_IN_YEAR) ] @@ -509,13 +533,12 @@ def get_projected_cpi_u_for_month(cpi: Parameter, month: Instant) -> float: The model's CPI-U series holds BLS monthly observations, then CBO's calendar-year averages as projection points at February instants (see - ``get_average_for_12_months_ending_august`` and #9608; the "# YYYY - value" comments in cpi_u.yaml label the tax year a point feeds, not its - calendar year). A calendar-year average sits halfway between June and - July of its year. So an unobserved month is interpolated geometrically, - by month, between the last observation and the next projection point - placed there, or between two such points; past the last point the index - holds flat. + ``get_average_for_12_months_ending_august`` and #9608; the comments in + cpi_u.yaml name each point's calendar year). A calendar-year average + sits halfway between June and July of its year. So an unobserved month + is interpolated geometrically, by month, between the last observation + and the next projection point placed there, or between two such points; + past the last point the index holds flat. As in ``get_average_for_12_months_ending_august``, only non-February instants identify the end of the observed series, and no branch reads @@ -570,10 +593,17 @@ def extend_nsa_cpi_u_projections(parameters: ParameterNode) -> None: def get_vt_cpi(parameters: ParameterNode, tax_year: int) -> float: - """Vermont's unchained NSA CPI-U average under 32 V.S.A. 5811 and 5822.""" + """Vermont's unchained NSA CPI-U average under 32 V.S.A. 5811 and 5822. + + A window with no observed month takes CBO's projected level of the + national CPI-U average for that window. + """ cpi = parameters.gov.bls.cpi return get_average_for_12_months_ending_august( - cpi.cpi_u_nsa, tax_year - 1, cpi.tax_year_projection.cpi_u + cpi.cpi_u_nsa, + tax_year - 1, + cpi.tax_year_projection.cpi_u, + splice_on_growth=False, ) diff --git a/policyengine_us/tests/core/test_nyc_income_tax_elimination_credit_indexing.py b/policyengine_us/tests/core/test_nyc_income_tax_elimination_credit_indexing.py index bd6cb5a1a54..692c8ecf19c 100644 --- a/policyengine_us/tests/core/test_nyc_income_tax_elimination_credit_indexing.py +++ b/policyengine_us/tests/core/test_nyc_income_tax_elimination_credit_indexing.py @@ -230,8 +230,13 @@ def _base_series(): def _tax_year_projection(): - """Window averages keyed by tax year, unlike February calendar averages.""" - return {"2027-01-01": 344, "2028-01-01": 358} + """Window averages keyed by tax year, unlike February calendar averages. + + The projection puts the last observed window (tax year 2026) at 162, + half its observed 324, so growth and level readings give different + answers: 324 x 172 / 162 = 344 and 324 x 179 / 162 = 358. + """ + return {"2026-01-01": 162, "2027-01-01": 172, "2028-01-01": 179} def test_cola_fully_observed_window_averages_monthly_data(): @@ -243,13 +248,16 @@ def test_cola_fully_observed_window_averages_monthly_data(): assert _nyc_cola_on_series(_base_series(), 2025) == 0 -def test_cola_unobserved_window_uses_tax_year_projection(): +def test_cola_unobserved_window_grows_at_the_tax_year_projection_rate(): # The tax year 2027 window (September 2025 - August 2026) has no observed - # month, so its tax-year projection (344) applies. The February 2026 - # calendar-year projection is deliberately different (339); averaging - # the raw instants would give (5 * 330 + 7 * 339) / 12 = 335.25. + # month, so the 2025 index (324) grows at the tax-year projection's + # rate: 324 x 172 / 162 = 344. The February 2026 calendar-year + # projection is deliberately different (339); averaging the raw instants + # would give (5 * 330 + 7 * 339) / 12 = 335.25, and reading the + # projection as a level would give 172. assert _nyc_cola_on_series(_base_series(), 2027) == pytest.approx(44 / 300) - # Tax year 2028 reads its own projection (358), not February 2027 (351). + # Tax year 2028 applies its own projected growth, 324 x 179 / 162 = 358, + # not February 2027 (351). assert _nyc_cola_on_series(_base_series(), 2028) == pytest.approx(58 / 300) @@ -265,10 +273,12 @@ def test_cola_partial_window_carries_last_observation_flat(): {"2025-09-01": 330, "2025-10-01": 332, "2025-11-01": 334, "2025-12-01": 336} ) assert _nyc_cola_on_series(values, 2027) == pytest.approx(35 / 300) - # The completed tax year 2026 window and later unobserved windows are - # unaffected. + # The completed tax year 2026 window is unaffected. assert _nyc_cola_on_series(values, 2026) == pytest.approx(24 / 300) - assert _nyc_cola_on_series(values, 2028) == pytest.approx(58 / 300) + # The tax year 2027 window is now the last with an observed month, so + # tax year 2028 grows from its 335 at the projection's 2027-2028 rate: + # 335 x 179 / 172 = 348.63. + assert _nyc_cola_on_series(values, 2028) == pytest.approx(335 * 179 / 172 / 300 - 1) def test_cola_partial_window_treats_an_observed_february_as_an_observation(): @@ -291,9 +301,9 @@ def test_cola_floors_at_zero_when_the_index_falls_below_2024(): values = _base_series() _monthly(values, 2024, 9, 2025, 8, 297) assert _nyc_cola_on_series(values, 2026) == 0 - # A tax-year projection below the 2024 index also floors at zero, - # even though the calendar-year projection remains above it. - projections = {**_tax_year_projection(), "2027-01-01": 288} + # A projected fall also floors at zero, even though the calendar-year + # projection remains above the 2024 index: 297 x 160 / 162 = 293.33. + projections = {**_tax_year_projection(), "2027-01-01": 160} assert _nyc_cola_on_series(values, 2027, projections) == 0 # An index exactly equal to the 2024 index gives zero too. _monthly(values, 2024, 9, 2025, 8, 300) @@ -314,18 +324,26 @@ def test_cola_floors_at_zero_when_the_index_falls_below_2024(): base_window=st.lists(CPI_LEVELS, min_size=12, max_size=12), window_2025=st.lists(CPI_LEVELS, min_size=12, max_size=12), calendar_projections=st.lists(CPI_LEVELS, min_size=2, max_size=2), - tax_year_projections=st.lists(CPI_LEVELS, min_size=2, max_size=2), + tax_year_projections=st.lists(CPI_LEVELS, min_size=3, max_size=3), scale=st.floats(min_value=0.01, max_value=100), + projection_scale=st.floats(min_value=0.01, max_value=100), ) def test_cola_invariants( - base_window, window_2025, calendar_projections, tax_year_projections, scale + base_window, + window_2025, + calendar_projections, + tax_year_projections, + scale, + projection_scale, ): """Invariants for any CPI-U series observed through August 2025. - 1. The adjustment is the plain ratio of twelve-month averages (or of the - tax-year projection to the 2024 average) less one, floored at zero. + 1. The adjustment is the plain ratio of twelve-month averages less one, + floored at zero. A window with no observed month takes the 2025 + average times the tax-year projection's growth since tax year 2026. 2. It is never negative. - 3. It is unit-free: rescaling the whole series leaves it unchanged. + 3. It is unit-free: rescaling the whole series leaves it unchanged, and + so does rescaling the tax-year projection alone. """ values = {} for (year, month), level in zip( @@ -333,26 +351,38 @@ def test_cola_invariants( ): values[f"{year}-{month:02d}-01"] = level values["2026-02-01"], values["2027-02-01"] = calendar_projections - projection_values = dict(zip(("2027-01-01", "2028-01-01"), tax_year_projections)) + projection_values = dict( + zip(("2026-01-01", "2027-01-01", "2028-01-01"), tax_year_projections) + ) index_2024 = sum(base_window) / 12 + index_2025 = sum(window_2025) / 12 + projected_2026, projected_2027, projected_2028 = tax_year_projections expected = { - 2026: max(sum(window_2025) / 12 / index_2024 - 1, 0), - 2027: max(tax_year_projections[0] / index_2024 - 1, 0), - 2028: max(tax_year_projections[1] / index_2024 - 1, 0), + 2026: max(index_2025 / index_2024 - 1, 0), + 2027: max(index_2025 * projected_2027 / projected_2026 / index_2024 - 1, 0), + 2028: max(index_2025 * projected_2028 / projected_2026 / index_2024 - 1, 0), } parameters = _parameters_for_series(values, projection_values) scaled_parameters = _parameters_for_series( {instant: level * scale for instant, level in values.items()}, {instant: level * scale for instant, level in projection_values.items()}, ) + rescaled_projection_parameters = _parameters_for_series( + values, + { + instant: level * projection_scale + for instant, level in projection_values.items() + }, + ) for tax_year, expected_cola in expected.items(): cola = get_nyc_income_tax_elimination_credit_cola(parameters, tax_year) assert cola >= 0 assert cola == pytest.approx(expected_cola, rel=1e-9, abs=1e-12) - scaled_cola = get_nyc_income_tax_elimination_credit_cola( - scaled_parameters, tax_year - ) - assert scaled_cola == pytest.approx(cola, rel=1e-9, abs=1e-12) + for other_parameters in (scaled_parameters, rescaled_projection_parameters): + other_cola = get_nyc_income_tax_elimination_credit_cola( + other_parameters, tax_year + ) + assert other_cola == pytest.approx(cola, rel=1e-9, abs=1e-12) # Projection on the live parameters: every year from the statutory base. @@ -437,7 +467,17 @@ def _rising_then_falling_series(): def _rising_then_falling_projections(): - return {"2027-01-01": 360, "2028-01-01": 270, "2029-01-01": 315} + """Half the level of the indices they produce from the 2025 index (330). + + Tax year 2026 sits at 165, so 2027 gives 330 x 180 / 165 = 360, 2028 + gives 330 x 135 / 165 = 270 and 2029 gives 330 x 157.5 / 165 = 315. + """ + return { + "2026-01-01": 165, + "2027-01-01": 180, + "2028-01-01": 135, + "2029-01-01": 157.5, + } def test_extension_recomputes_each_year_from_the_statutory_amounts(): diff --git a/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml index 7b5f05a2b88..9a4b44d3175 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml @@ -41,6 +41,28 @@ output: basic_standard_deduction: 16_600 +- name: 2028 single filer standard deduction grows from the 2027 amount at CBO's projected rate + # No month of the 12 ending August 2027 has a BLS observation, so the + # index for 2028 is the 2027 index times CBO's projected growth in that + # 12-month average (tax_year_projection/c_cpi_u.yaml): + # 185.881 / 181.654 = 1.023270. + # $16,600 x 1.023270 = $16,986.27, rounded down to $50: $16,950. + # Reading CBO's 185.881 as a level against the observed 182.501 gives + # $16,907.47 and $16,900. + period: 2028 + input: + filing_status: SINGLE + output: + basic_standard_deduction: 16_950 + +- name: 2028 joint standard deduction grows from the 2027 amount at CBO's projected rate + # $33,200 x 185.881 / 181.654 = $33,972.55, rounded down to $50: $33,950. + period: 2028 + input: + filing_status: JOINT + output: + basic_standard_deduction: 33_950 + - name: 2023 dependent filer with $3,000 of wages gets $400 plus earned income # Rev. Proc. 2022-38 sec. 3.15(2): greater of $1,250 or $400 plus earned # income; max($1,250, $400 + $3,000) = $3,400, below the $13,850 basic @@ -128,11 +150,13 @@ - name: 2032 dependent filer with $3,000 of wages gets $550 plus earned income # Same 63(c)(4)(B)(ii) adjustment. The 12 months ending August 2031 have - # no observed month, so the window reads CBO's projection of that average - # (tax_year_projection/c_cpi_u.yaml, 2032): 201.335. - # Increase = $250 x (201.335 / 90.886 - 1) = $303.81, rounded down to - # $300, so $550. Floor: $500 x 201.335 / 63.813 = $1,577.53, so $1,550. - # max($1,550, $550 + $3,000) = $3,550, below the $18,300 cap. + # no observed month, so the last observed average (182.501, for the 12 + # months ending August 2026) grows at CBO's projected rate for that + # average (tax_year_projection/c_cpi_u.yaml, 2027 to 2032): + # 182.501 x 201.335 / 181.654 = 202.273. + # Increase = $250 x (202.273 / 90.886 - 1) = $306.40, rounded down to + # $300, so $550. Floor: $500 x 202.273 / 63.813 = $1,584.89, so $1,550. + # max($1,550, $550 + $3,000) = $3,550, below the $18,350 cap. period: 2032 input: people: @@ -156,10 +180,11 @@ # C-CPI-U for the 12 months ending August 2041: uprating_extensions.py # extends CBO's tax-year projection (tax_year_projection/c_cpi_u.yaml) # past 2036 at its 2035-2036 growth rate, - # 217.68 x (217.68 / 213.471)^6 = 244.735. + # 217.68 x (217.68 / 213.471)^6 = 244.735, and applies its growth since + # 2027 to the last observed average: 182.501 x 244.735 / 181.654 = 245.876. # 1(f)(3)(A)(ii) and (B): CPI-U Sep 1986-Aug 1987 average 111.983 x # 135.993 / 238.649 = 63.813. - # Increase = $500 x (244.735 / 63.813 - 1) = $1,417.59, rounded down to + # Increase = $500 x (245.876 / 63.813 - 1) = $1,426.53, rounded down to # $1,400, so $1,900. period: 2042 input: @@ -177,13 +202,15 @@ output: basic_standard_deduction: 1_900 -- name: 2040 dependent floor uses the tax-year chained CPI projection +- name: 2040 dependent floor grows from the last observed average at CBO's tax-year rates # 26 U.S.C. 63(c)(4)(B)(i), 63(c)(5)(A), and 1(f)(7)(A): increase the - # $500 statutory base using the 1987 denominator 63.81317101684901 and - # round the increase down to $50. Extending CBO's tax-year index gives - # 217.68 x (217.68 / 213.471)^4 = 235.362411812; the unrounded total - # is $1,844.1523, so the floor is $1,800. The calendar-year projection - # instead gives $1,854.0658 and an incorrect $1,850 floor. + # $500 statutory base using the 1987 denominator 63.81317101684902 and + # round the increase down to $50. Extending CBO's tax-year projection + # gives 217.68 x (217.68 / 213.471)^4 = 235.362411812, and its growth + # since 2027 takes the last observed average to + # 182.500666667 x 235.362411812 / 181.654 = 236.459407; the unrounded + # total is $1,852.7477, so the floor is $1,850. CBO's projected level + # alone gives $1,844.1523 and a $1,800 floor. period: 2040 input: people: @@ -198,11 +225,11 @@ household: members: [head] output: - basic_standard_deduction: 1_800 + basic_standard_deduction: 1_850 - name: 2042 dependent filer with $3,000 of wages gets $650 plus earned income - # Same 2041 C-CPI-U of 244.735 and 1997 denominator of 90.886. - # Increase = $250 x (244.735 / 90.886 - 1) = $423.20, rounded down to + # Same 2041 C-CPI-U of 245.876 and 1997 denominator of 90.886. + # Increase = $250 x (245.876 / 90.886 - 1) = $426.33, rounded down to # $400, so $650. max($1,900, $650 + $3,000) = $3,650. period: 2042 input: diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt.yaml index 7937d23ab94..15efcec2f42 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/alternative_minimum_tax/ca_amt.yaml @@ -64,12 +64,12 @@ ca_amt_exemption: 0 ca_non_refundable_credits: 0 output: - # Regular tax falls to 88,894.95 once the rates above 9.3% expire (see + # Regular tax falls to 88,875.81 once the rates above 9.3% expire (see # ca_income_tax_before_credits.yaml). Tentative minimum tax is .07 x 1,400,000 = 98,000, - # so AMT is 98,000 - 88,894.95 = 9,105.05 and total tax is 98,000. - # The regular tax uses the 2026 FTB schedule times 197.44 / 177.11375. - ca_income_tax_before_credits: 88_894.95 - ca_amt: 9_105.05 + # so AMT is 98,000 - 88,875.81 = 9,124.19 and total tax is 98,000. + # The regular tax uses the 2026 FTB schedule times 198.360243 / 177.11375. + ca_income_tax_before_credits: 88_875.81 + ca_amt: 9_124.19 ca_income_tax_before_refundable_credits: 98_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_credits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_credits.yaml index 51858861131..7459eea5e18 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_credits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_credits.yaml @@ -92,8 +92,12 @@ ca_income_tax_before_credits: 103_185.07 # 2030-2031 cases: thresholds are the published FTB 2026 schedules uprated by -# gov.states.ca.cpi, a C-CPI-U proxy after the last California observation: -# f2030 = 193.6 / 177.11375 and f2031 = 197.44 / 177.11375. +# gov.states.ca.cpi, which grows with gov.irs.uprating after the last California +# observation. That index averages 182.500667 over the 12 months ending August 2026 +# and then grows at CBO's projected rate (tax_year_projection/c_cpi_u.yaml puts those +# months at 181.654). It reaches 182.500667 x 193.6 / 181.654 = 194.502345 for 2030 +# and 182.500667 x 197.44 / 181.654 = 198.360243 for 2031. +# f2030 = 194.502345 / 177.11375 = 1.098178 and f2031 = 198.360243 / 177.11375 = 1.119960. # Single and separate tax at the 9.3% threshold is 3,310.88f (head of household 3,739.45f). # Joint and surviving spouse tax is twice the single tax on half the income (RTC § 17045). # The higher rates apply before January 1, 2031 (Cal. Const. art. XIII, § 36(f)(2)-(3)). @@ -109,7 +113,7 @@ output: # 3,310.88f + .093 x (1,000,000 - 75,197f) + .01 x (1,000,000 - 384,109f) # + .01 x (1,000,000 - 460,927f) + .01 x (1,000,000 - 768,213f), f = f2030 - ca_income_tax_before_credits: 101_340.64 + ca_income_tax_before_credits: 101_239.69 - name: Single filer with $1 million in 2031 pays 9.3% on all income above the 9.3% threshold period: 2031 @@ -119,8 +123,8 @@ filing_status: SINGLE state_code: CA output: - # 3,310.88f + .093 x (1,000,000 - 75,197f), f = f2031; the 9.3% threshold is 83,826.89. - ca_income_tax_before_credits: 88_894.95 + # 3,310.88f + .093 x (1,000,000 - 75,197f), f = f2031; the 9.3% threshold is 84,217.60. + ca_income_tax_before_credits: 88_875.81 - name: Joint filers with $2 million in 2031 pay 9.3% on all income above the 9.3% threshold period: 2031 @@ -130,8 +134,8 @@ filing_status: JOINT state_code: CA output: - # 2 x 88,894.95, the single tax on $1 million. - ca_income_tax_before_credits: 177_789.90 + # 2 x 88,875.81, the single tax on $1 million. + ca_income_tax_before_credits: 177_751.62 - name: Separate filer with $1 million in 2031 pays 9.3% on all income above the 9.3% threshold period: 2031 @@ -142,7 +146,7 @@ state_code: CA output: # Same schedule as single: 3,310.88f + .093 x (1,000,000 - 75,197f), f = f2031. - ca_income_tax_before_credits: 88_894.95 + ca_income_tax_before_credits: 88_875.81 - name: Surviving spouse with $2 million in 2031 pays 9.3% on all income above the 9.3% threshold period: 2031 @@ -152,8 +156,8 @@ filing_status: SURVIVING_SPOUSE state_code: CA output: - # Treated as a joint return (RTC § 17045): 2 x 88,894.95. - ca_income_tax_before_credits: 177_789.90 + # Treated as a joint return (RTC § 17045): 2 x 88,875.81. + ca_income_tax_before_credits: 177_751.62 - name: Head of household with $1.5 million in 2031 pays 9.3% on all income above the 9.3% threshold period: 2031 @@ -164,7 +168,7 @@ state_code: CA output: # 3,739.45f + .093 x (1,500,000 - 102,356f), f = f2031. - ca_income_tax_before_credits: 133_057.05 + ca_income_tax_before_credits: 133_027.02 - name: Head of household with $1.5 million in 2030 pays the 10.3%, 11.3% and 12.3% rates period: 2030 @@ -176,4 +180,4 @@ output: # 3,739.45f + .093 x (1,500,000 - 102,356f) + .01 x (1,500,000 - 522,385f) # + .01 x (1,500,000 - 626,864f) + .01 x (1,500,000 - 1,044,771f), f = f2030 - ca_income_tax_before_credits: 154_199.90 + ca_income_tax_before_credits: 154_058.67 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_refundable_credits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_refundable_credits.yaml index 2548c2b818a..a39bbef5a45 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_refundable_credits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/ca_income_tax_before_refundable_credits.yaml @@ -43,10 +43,10 @@ ca_non_refundable_credits: 0 ca_amt: 0 output: - # The 2026 FTB schedule times f = 197.44 / 177.11375 gives regular tax - # 3,310.88f + .093 x (2,000,000 - 75,197f) = 181,894.95, + # The 2026 FTB schedule times f = 198.360243 / 177.11375 gives regular tax + # 3,310.88f + .093 x (2,000,000 - 75,197f) = 181,875.81, # plus mental health services tax .01 x (2,000,000 - 1,000,000) = 10,000. - ca_income_tax_before_refundable_credits: 191_894.95 + ca_income_tax_before_refundable_credits: 191_875.81 # PolicyBench scenario_099, snapshot 20260501, tax year 2026. Exact inputs # copied from scenario_json via the PolicyBench household converter. diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py index 57a7f336b83..55cb0b1208c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py @@ -156,10 +156,13 @@ def _base_series(): # CBO's projections of the 12 months ending the August before each tax -# year. They differ from the calendar-year points above, so each assertion -# shows which series a window read. +# year. They put the last observed window (tax year 2026) at 165.5, half its +# observed 331, so growth and level readings give different answers: +# 331 x 172 / 165.5 = 344 and 331 x 179 / 165.5 = 358. Those differ from the +# calendar-year points above, so each assertion shows which series a window +# read. def _tax_year_projection(): - return {"2027-01-01": 344, "2028-01-01": 358} + return {"2026-01-01": 165.5, "2027-01-01": 172, "2028-01-01": 179} def test_cola_fully_observed_window_averages_monthly_data(): @@ -168,11 +171,14 @@ def test_cola_fully_observed_window_averages_monthly_data(): assert _cola_on_series(_base_series(), 2026) == pytest.approx(31 / 300) -def test_cola_unobserved_window_uses_tax_year_projection(): - # Tax year 2027 has no observed months, so CBO's projection of that - # window (344) applies, not the February 2026 calendar-year point (347): - # COLA = 344 / 300 - 1. +def test_cola_unobserved_window_grows_at_the_tax_year_projection_rate(): + # Tax year 2027 has no observed months, so the last observed window (331) + # grows at CBO's projected rate for that window: 331 x 172 / 165.5 = 344. + # The February 2026 calendar-year point (347) plays no part, and reading + # the projection as a level would give 172: COLA = 344 / 300 - 1. assert _cola_on_series(_base_series(), 2027) == pytest.approx(44 / 300) + # Tax year 2028 applies its own projected growth: 331 x 179 / 165.5 = 358. + assert _cola_on_series(_base_series(), 2028) == pytest.approx(58 / 300) def test_cola_partial_window_ignores_overwritten_february_projection(): @@ -189,9 +195,10 @@ def test_cola_partial_window_ignores_overwritten_february_projection(): _monthly(values, 2025, 9, 2026, 1, 330) _monthly(values, 2026, 2, 2026, 6, 342) assert _cola_on_series(values, 2027) == pytest.approx(37 / 300) - # Later, fully unobserved windows still read their own tax-year - # projection: tax year 2028 uses 358. - assert _cola_on_series(values, 2028) == pytest.approx(58 / 300) + # The tax year 2027 window is now the last with an observed month, so + # tax year 2028 grows from its 337 at the projection's 2027-2028 rate: + # 337 x 179 / 172 = 350.72. + assert _cola_on_series(values, 2028) == pytest.approx(337 * 179 / 172 / 300 - 1) def test_cola_observations_ending_on_a_february_stay_conservative(): diff --git a/policyengine_us/tests/policy/baseline/parameters/test_tax_year_index_growth_splice.py b/policyengine_us/tests/policy/baseline/parameters/test_tax_year_index_growth_splice.py new file mode 100644 index 00000000000..c5775ad74e8 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/parameters/test_tax_year_index_growth_splice.py @@ -0,0 +1,382 @@ +"""Growth splice of CBO's tax-year CPI projections onto BLS observations. + +26 U.S.C. 1(f)(4) and (6)(B) index tax parameters to the average of a price +index over the 12 months ending August 31. The model averages BLS +observations while a window holds one. For each later window it multiplies +the last such average by CBO's projected growth in that 12-month average +(``get_average_for_12_months_ending_august`` in +``parameters/uprating_extensions.py``). These tests check four invariants: + +1. every window with no observed month grows at CBO's projected rate for + its tax year; +2. every window with an observed month averages the file's values, whatever + the projection holds; +3. rescaling CBO's whole projection by a positive constant changes no index + value; +4. an independent recomputation from the YAML files agrees with the model. + +Each invariant runs on generated series and on the live ones. +""" + +import math +from pathlib import Path + +import pytest +import yaml +from hypothesis import given, settings +from hypothesis import strategies as st + +from policyengine_core.parameters import Parameter +from policyengine_core.periods import instant + +from policyengine_us.parameters.uprating_extensions import ( + get_average_for_12_months_ending_august, + get_cpi_u_average_for_12_months_ending_august, + get_irs_cpi, + get_vt_cpi, +) +from policyengine_us.system import system + +PARAMETERS = system.parameters +CPI_DIRECTORY = Path(__file__).parents[4] / "parameters/gov/bls/cpi" +LAST_CBO_TAX_YEAR = 2036 + + +def _next_month(month): + year, number = month + return (year + 1, 1) if number == 12 else (year, number + 1) + + +def _last_observation(observations): + """The latest month with an observation. + + February instants after the observations hold CBO's calendar-year + averages, so only other months mark where the observations end. + """ + return max(month for month in observations if month[1] != 2) + + +def _last_observed_window(observations): + """The last year whose 12 months ending August hold an observation.""" + year, number = _last_observation(observations) + return year + 1 if number >= 9 else year + + +def _independent_index(observations, projection, year): + """The index for the 12 months ending August of ``year``, from plain dicts. + + ``observations`` maps (year, month) to a level and ``projection`` maps a + tax year to CBO's projected average for the 12 months ending the August + before it. + """ + last = _last_observation(observations) + # Walk forward from the first observation to the last, carrying each + # value into the months that have none. + filled, month, level = {}, min(observations), None + while month <= last: + level = observations.get(month, level) + filled[month] = level + month = _next_month(month) + + def average(window_year): + months = [(window_year - 1, number) for number in range(9, 13)] + months += [(window_year, number) for number in range(1, 9)] + assert months[0] >= min(observations) + # Months after the last observation hold its level. + return math.fsum(filled.get(month, filled[last]) for month in months) / 12 + + base_year = _last_observed_window(observations) + if year <= base_year: + return average(year) + return average(base_year) * projection[year + 1] / projection[base_year + 1] + + +def _monthly_parameter(observations): + return Parameter( + "cpi", + data={ + f"{year}-{number:02d}-01": level + for (year, number), level in observations.items() + }, + ) + + +def _projection_parameter(projection): + return Parameter( + "projection", + data={f"{year}-01-01": level for year, level in projection.items()}, + ) + + +LEVELS = st.floats(min_value=50, max_value=500) +FIRST_WINDOW = 2020 + + +@st.composite +def generated_series(draw): + """A monthly series from September 2019 and two tax-year projections. + + The series holds 12 to 48 months, loses up to three interior months (as + the BLS series lost October 2025), and carries calendar-year points at + later February instants. Each projection covers every tax year from 2020 + to ten years after the last observation. + """ + count = draw(st.integers(min_value=12, max_value=48)) + months = [(2019, 9)] + while len(months) < count: + months.append(_next_month(months[-1])) + levels = draw(st.lists(LEVELS, min_size=count, max_size=count)) + observations = dict(zip(months, levels)) + for month in draw(st.sets(st.sampled_from(months[1:-1]), max_size=3)): + del observations[month] + last_year = months[-1][0] + first_projection_year = last_year if months[-1][1] == 1 else last_year + 1 + for year in range(first_projection_year, last_year + 4): + observations[(year, 2)] = draw(LEVELS) + tax_years = range(FIRST_WINDOW, last_year + 11) + projections = [{year: draw(LEVELS) for year in tax_years} for _ in range(2)] + return observations, projections[0], projections[1] + + +def _windows(observations): + """Every window from the first full one to nine years past the series.""" + last_year = _last_observation(observations)[0] + return range(FIRST_WINDOW, last_year + 9) + + +PROPERTY_SETTINGS = settings( + max_examples=200, deadline=None, derandomize=True, database=None +) + + +@PROPERTY_SETTINGS +@given(series=generated_series()) +def test_index_matches_an_independent_computation(series): + observations, projection, _ = series + cpi = _monthly_parameter(observations) + cbo = _projection_parameter(projection) + for year in _windows(observations): + index = get_average_for_12_months_ending_august(cpi, year, cbo) + expected = _independent_index(observations, projection, year) + assert index == pytest.approx(expected, rel=1e-12), year + + +@PROPERTY_SETTINGS +@given(series=generated_series()) +def test_windows_without_observations_grow_at_the_projected_rate(series): + observations, projection, _ = series + cpi = _monthly_parameter(observations) + cbo = _projection_parameter(projection) + first_unobserved = _last_observed_window(observations) + 1 + for year in range(first_unobserved, _windows(observations).stop): + growth = get_average_for_12_months_ending_august( + cpi, year, cbo + ) / get_average_for_12_months_ending_august(cpi, year - 1, cbo) + # ``year`` indexes tax year ``year + 1``. + expected = projection[year + 1] / projection[year] + assert growth == pytest.approx(expected, rel=1e-12), year + + +@PROPERTY_SETTINGS +@given(series=generated_series()) +def test_windows_with_observations_ignore_the_projection(series): + observations, projection, other_projection = series + cpi = _monthly_parameter(observations) + cbo = _projection_parameter(projection) + other = _projection_parameter(other_projection) + for year in range(FIRST_WINDOW, _last_observed_window(observations) + 1): + index = get_average_for_12_months_ending_august(cpi, year, cbo) + assert index == get_average_for_12_months_ending_august(cpi, year, other) + assert index == get_average_for_12_months_ending_august( + cpi, year, cbo, splice_on_growth=False + ) + + +@PROPERTY_SETTINGS +@given( + series=generated_series(), + scale=st.floats(min_value=0.001, max_value=1_000), +) +def test_rescaling_the_projection_changes_no_index_value(series, scale): + observations, projection, _ = series + cpi = _monthly_parameter(observations) + cbo = _projection_parameter(projection) + scaled = _projection_parameter( + {year: level * scale for year, level in projection.items()} + ) + for year in _windows(observations): + assert get_average_for_12_months_ending_august( + cpi, year, scaled + ) == pytest.approx( + get_average_for_12_months_ending_august(cpi, year, cbo), rel=1e-12 + ), year + + +@PROPERTY_SETTINGS +@given(series=generated_series()) +def test_growth_and_level_splices_agree_when_the_projection_matches_the_base( + series, +): + """A projection that puts the last observed window at its observed average + gives the same index whether the model applies its growth or its levels.""" + observations, projection, _ = series + cpi = _monthly_parameter(observations) + base_year = _last_observed_window(observations) + base = get_average_for_12_months_ending_august( + cpi, base_year, _projection_parameter(projection) + ) + cbo = _projection_parameter({**projection, base_year + 1: base}) + for year in range(base_year + 1, _windows(observations).stop): + assert get_average_for_12_months_ending_august(cpi, year, cbo) == pytest.approx( + get_average_for_12_months_ending_august( + cpi, year, cbo, splice_on_growth=False + ), + rel=1e-12, + ), year + + +@PROPERTY_SETTINGS +@given(series=generated_series()) +def test_level_splice_returns_the_projection(series): + observations, projection, _ = series + cpi = _monthly_parameter(observations) + cbo = _projection_parameter(projection) + first_unobserved = _last_observed_window(observations) + 1 + for year in range(first_unobserved, _windows(observations).stop): + assert ( + get_average_for_12_months_ending_august( + cpi, year, cbo, splice_on_growth=False + ) + == projection[year + 1] + ) + + +def test_growth_splice_needs_a_projection_for_the_last_observed_window(): + # Observations run from September 2029 to August 2030, the window that + # indexes tax year 2031. A projection that starts in 2032 gives no rate + # of growth from that window. + observations = {(2029, number): 100 for number in range(9, 13)} + observations.update({(2030, number): 100 for number in range(1, 9)}) + cpi = _monthly_parameter(observations) + cbo = _projection_parameter({2032: 104, 2033: 108}) + assert get_average_for_12_months_ending_august(cpi, 2030, cbo) == 100 + with pytest.raises(ValueError, match="tax year 2031"): + get_average_for_12_months_ending_august(cpi, 2031, cbo) + assert ( + get_average_for_12_months_ending_august(cpi, 2031, cbo, splice_on_growth=False) + == 104 + ) + + +# The live series: gov.bls.cpi and its tax_year_projection. + + +def _yaml_values(relative_path): + return yaml.safe_load((CPI_DIRECTORY / relative_path).read_text())["values"] + + +def _yaml_observations(series): + return { + (date.year, date.month): float(level) + for date, level in _yaml_values(f"{series}.yaml").items() + } + + +def _yaml_projection(series): + return { + date.year: float(level) + for date, level in _yaml_values(f"tax_year_projection/{series}.yaml").items() + } + + +LIVE_SERIES = { + "c_cpi_u": get_irs_cpi, + "cpi_u": get_cpi_u_average_for_12_months_ending_august, +} + + +@pytest.mark.parametrize("series", sorted(LIVE_SERIES)) +def test_recomputation_from_yaml_agrees_with_the_model(series): + """Tax years 2018-2036, recomputed here from the two YAML files.""" + observations = _yaml_observations(series) + projection = _yaml_projection(series) + assert max(projection) == LAST_CBO_TAX_YEAR + for tax_year in range(2018, LAST_CBO_TAX_YEAR + 1): + expected = _independent_index(observations, projection, tax_year - 1) + index = LIVE_SERIES[series](PARAMETERS, tax_year - 1) + assert index == pytest.approx(expected, rel=1e-12), tax_year + if series == "c_cpi_u": + assert PARAMETERS.gov.irs.uprating(f"{tax_year}-01-01") == pytest.approx( + expected, rel=1e-12 + ), tax_year + + +@pytest.mark.parametrize("series", sorted(LIVE_SERIES)) +def test_live_index_grows_at_cbo_rates_after_the_last_observed_window(series): + """Through 2036 the rates are CBO's; later years repeat the 2035-2036 rate.""" + base_tax_year = _last_observed_window(_yaml_observations(series)) + 1 + cbo = _yaml_projection(series) + terminal = cbo[LAST_CBO_TAX_YEAR] / cbo[LAST_CBO_TAX_YEAR - 1] + for tax_year in range(base_tax_year + 1, 2101): + growth = LIVE_SERIES[series](PARAMETERS, tax_year - 1) / LIVE_SERIES[series]( + PARAMETERS, tax_year - 2 + ) + if tax_year <= LAST_CBO_TAX_YEAR: + expected = cbo[tax_year] / cbo[tax_year - 1] + else: + expected = terminal + assert growth == pytest.approx(expected, rel=1e-12), tax_year + + +@pytest.mark.parametrize("series", sorted(LIVE_SERIES)) +def test_live_observed_windows_ignore_the_projection(series): + cpi = getattr(PARAMETERS.gov.bls.cpi, series) + projection = getattr(PARAMETERS.gov.bls.cpi.tax_year_projection, series) + other = Parameter("other", data={"2000-01-01": 1}) + last_observed_window = _last_observed_window(_yaml_observations(series)) + for year in range(2009, last_observed_window + 1): + index = get_average_for_12_months_ending_august(cpi, year, projection) + assert index == get_average_for_12_months_ending_august(cpi, year, other) + assert index == get_average_for_12_months_ending_august( + cpi, year, projection, splice_on_growth=False + ) + + +@pytest.mark.parametrize("series", sorted(LIVE_SERIES)) +@settings(max_examples=50, deadline=None, derandomize=True, database=None) +@given(scale=st.floats(min_value=0.001, max_value=1_000)) +def test_rescaling_cbo_projection_changes_no_live_index_value(series, scale): + cpi = getattr(PARAMETERS.gov.bls.cpi, series) + projection = getattr(PARAMETERS.gov.bls.cpi.tax_year_projection, series) + scaled = Parameter( + "scaled", + data={ + value.instant_str: value.value * scale for value in projection.values_list + }, + ) + for year in range(2025, LAST_CBO_TAX_YEAR + 5): + assert get_average_for_12_months_ending_august( + cpi, year, scaled + ) == pytest.approx( + get_average_for_12_months_ending_august(cpi, year, projection), + rel=1e-12, + ), year + + +def test_vermont_index_takes_cbo_levels_for_windows_without_observations(): + """32 V.S.A. 5811 and 5822 windows past the last observation read CBO's + projected national average as a level.""" + cpi = PARAMETERS.gov.bls.cpi + last = max( + instant(value.instant_str) + for value in cpi.cpi_u_nsa.values_list + if not value.instant_str.endswith("-02-01") + ) + last_observed_tax_year = last.year + int(last.month >= 9) + 1 + assert get_vt_cpi( + PARAMETERS, last_observed_tax_year + ) != cpi.tax_year_projection.cpi_u(f"{last_observed_tax_year}-01-01") + for tax_year in range(last_observed_tax_year + 1, LAST_CBO_TAX_YEAR + 1): + assert get_vt_cpi(PARAMETERS, tax_year) == cpi.tax_year_projection.cpi_u( + f"{tax_year}-01-01" + ) diff --git a/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py b/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py index b3c3bbf2fd4..f9fc2745491 100644 --- a/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py +++ b/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py @@ -682,6 +682,7 @@ def test_projected_payroll_caps_follow_430b_through_2036(): # chained CPI-U averaged over the 12 months ending the August before each tax # year (tp_c_cpi_u in US-CBO/cbo-data at 284a956, annual_cy_2026-02.csv). CBO_2026_02_TAX_YEAR_C_CPI_U = { + 2027: 181.654, 2028: 185.881, 2029: 189.775, 2030: 193.6, @@ -694,16 +695,23 @@ def test_projected_payroll_caps_follow_430b_through_2036(): } -def test_irs_uprating_reads_cbo_tax_year_chained_cpi_u_projections(): - """IRS(Y) reads CBO's tax-year projection for a window BLS has not observed. +def test_irs_uprating_grows_at_cbo_tax_year_chained_cpi_u_rates(): + """IRS(Y) grows at CBO's tax-year rate for a window BLS has not observed. - BLS observations end in August 2026, so the windows that index 2028 and - later hold no observed month. A BLS refresh that reaches September 2026 - turns 2028 into an observed window; drop that year from the loop. + BLS observations end in August 2026, so the window that indexes 2027 is + the last with an observed month, and the windows that index 2028 and + later hold none. Each of those years multiplies the 2027 index by CBO's + projected growth since 2027. A BLS refresh that reaches September 2026 + turns 2028 into the last observed window; start the loop a year later. """ irs = PARAMETERS.gov.irs.uprating - for year, projection in CBO_2026_02_TAX_YEAR_C_CPI_U.items(): - assert irs(f"{year}-01-01") == pytest.approx(projection, rel=1e-12) + cbo = CBO_2026_02_TAX_YEAR_C_CPI_U + for year in range(2028, 2037): + growth = irs(f"{year}-01-01") / irs(f"{year - 1}-01-01") + assert growth == pytest.approx(cbo[year] / cbo[year - 1], rel=1e-12) + assert irs(f"{year}-01-01") == pytest.approx( + irs("2027-01-01") * cbo[year] / cbo[2027], rel=1e-12 + ) @pytest.mark.parametrize( @@ -991,10 +999,14 @@ def months(start_year, start_month, end_year, end_month, level): cpi_u=Parameter("cpi_u", data=cpi_u), c_cpi_u=Parameter("c_cpi_u", data=c_cpi_u), # CBO's projections of the 12 months ending the August before each - # tax year. + # tax year. The C-CPI-U projection puts the last observed window + # (tax year 2031) at 90, half the observed 180, and tax year 2033 at + # 97.5: growth of 97.5 / 90, which takes 180 to 195. tax_year_projection=SimpleNamespace( cpi_u=Parameter("cpi_u_projection", data={"2033-01-01": 390}), - c_cpi_u=Parameter("c_cpi_u_projection", data={"2033-01-01": 195}), + c_cpi_u=Parameter( + "c_cpi_u_projection", data={"2031-01-01": 90, "2033-01-01": 97.5} + ), ), ) return SimpleNamespace(gov=SimpleNamespace(bls=SimpleNamespace(cpi=cpi))) @@ -1029,7 +1041,8 @@ def test_tax_year_projection_is_distinct_from_calendar_year_projection(): parameters = _synthetic_irs_parameters() cpi = parameters.gov.bls.cpi assert cpi.c_cpi_u("2032-02-01") == 199 - assert get_irs_cpi(parameters, 2032) == 195 + # The observed 180 grows at the tax-year projection's 97.5 / 90. + assert get_irs_cpi(parameters, 2032) == pytest.approx(195) # Refreshing a calendar-year forecast cannot change this tax window. cpi.c_cpi_u = Parameter( @@ -1039,12 +1052,13 @@ def test_tax_year_projection_is_distinct_from_calendar_year_projection(): "2032-02-01": 9_999, }, ) - assert get_irs_cpi(parameters, 2032) == 195 - # Refreshing the tax-year forecast changes the window itself. + assert get_irs_cpi(parameters, 2032) == pytest.approx(195) + # Refreshing the tax-year forecast changes the window itself: + # 180 x 102.5 / 90 = 205. cpi.tax_year_projection.c_cpi_u = Parameter( - "c_cpi_u_projection", data={"2033-01-01": 205} + "c_cpi_u_projection", data={"2031-01-01": 90, "2033-01-01": 102.5} ) - assert get_irs_cpi(parameters, 2032) == 205 + assert get_irs_cpi(parameters, 2032) == pytest.approx(205) def test_missing_month_and_partial_window_completion_are_flat_estimates(): @@ -1142,8 +1156,9 @@ def test_irs_cola_follows_1f3_on_a_synthetic_index(): assert get_irs_cola_denominator(parameters, 1997) == pytest.approx(75) # Tax year 2031 reads the fully observed Sep 2029-Aug 2030 window (180). assert get_irs_cola(parameters, 2031, 1997) == pytest.approx(180 / 75 - 1) - # Tax year 2033 has no observed month, so it reads CBO's tax-year - # projection (195), not the 2032 calendar-year point (199). + # Tax year 2033 has no observed month, so the last observed window (180) + # grows at CBO's tax-year rate, 97.5 / 90, to 195. The 2032 + # calendar-year point (199) plays no part. assert get_irs_cola(parameters, 2033, 1997) == pytest.approx(195 / 75 - 1) # "The percentage (if any)": the Sep 2019-Aug 2020 window (60) is below # the denominator, so the tax year 2021 COLA is zero, not negative. @@ -1246,7 +1261,8 @@ def months(start_year, level): tax_year_projection=SimpleNamespace( cpi_u=Parameter("cpi_u_projection", data={"2033-01-01": 410}), c_cpi_u=Parameter( - "c_cpi_u_projection", data={"2032-01-01": 190, "2033-01-01": 205} + "c_cpi_u_projection", + data={"2031-01-01": 95, "2032-01-01": 95, "2033-01-01": 102.5}, ), ), ) @@ -1278,14 +1294,16 @@ def months(start_year, level): assert dependent.additional_earned_income("2029-01-01") == 350 assert dependent.additional_earned_income("2030-01-01") == 999 # Denominators: 1987 base 40 x 150 / 200 = 30; 1997 base 100 x 150 / 200 = 75. - # 2031 reads the observed Sep 2029-Aug 2030 window (190); 2032 has no - # observed month and reads its tax-year projection, also 190. + # 2031 reads the observed Sep 2029-Aug 2030 window (190). 2032 has no + # observed month; its tax-year projection equals 2031's (95), so the + # index stays at 190. # Floor: $500 x (190 / 30 - 1) = $2,666.67, rounded down to $2,650. # Addition: $250 x (190 / 75 - 1) = $383.33, rounded down to $350. for year in (2031, 2032): assert dependent.amount(f"{year}-01-01") == 3_150 assert dependent.additional_earned_income(f"{year}-01-01") == 600 - # 2033 reads its tax-year projection (205), not the calendar-year point. + # 2033 grows the observed 190 at the tax-year projection's 102.5 / 95, + # to 205; the calendar-year point (211) plays no part. # Floor: $500 x (205 / 30 - 1) = $2,916.67, rounded down to $2,900. # Addition: $250 x (205 / 75 - 1) = $433.33, rounded down to $400. assert dependent.amount("2033-01-01") == 3_400 @@ -1321,15 +1339,20 @@ def test_dependent_standard_deduction_projections_follow_statute(): assert dependent.amount("2042-01-01") == 1_900 -def test_statute_on_the_index_reproduces_cbo_dependent_floor_projections(): +def test_statute_on_cbo_index_reproduces_cbo_dependent_floor_projections(): """CBO's projected floor is 63(c)(4) applied to CBO's projected index. CBO Tax Parameters, February 2026, sheet 1: row 68 ("Dependent filers - (unearned)") by tax year. The model derives the floor from row 153, the - C-CPI-U over the 12 months ending the previous August, for 2028-2036, - so matching row 68 in those years checks both the index and the statute - encoding. The 2027 floor holds the IRS amount in Rev. Proc. 2026-35, - which equals CBO's. + (unearned)") by tax year, and row 153, the C-CPI-U over the 12 months + ending the previous August. Applying the statute and the model's 1987 + denominator to row 153 gives row 68 in 2028-2036, which checks the + statute encoding against CBO's. + + The model's own floor follows its index, which grows from the last + observed window at CBO's rates and so exceeds row 153 by 0.47% + (182.501 / 181.654). That floor reaches $1,550 in 2031, a year before + CBO's. The 2027 floor holds the IRS amount in Rev. Proc. 2026-35, which + equals CBO's. """ cbo_floor = { 2027: 1_400, @@ -1343,8 +1366,14 @@ def test_statute_on_the_index_reproduces_cbo_dependent_floor_projections(): 2035: 1_650, 2036: 1_700, } + denominator = get_irs_cola_denominator(PARAMETERS, 1987) + for year in range(2028, 2037): + cola = CBO_2026_02_TAX_YEAR_C_CPI_U[year] / denominator - 1 + assert 500 + math.floor(500 * cola / 50) * 50 == cbo_floor[year], year + dependent = PARAMETERS.gov.irs.deductions.standard.dependent - for year, amount in cbo_floor.items(): + model_floor = {**cbo_floor, 2031: 1_550} + for year, amount in model_floor.items(): assert dependent.amount(f"{year}-01-01") == amount, year @@ -1353,9 +1382,14 @@ def test_irs_uprating_is_the_c_cpi_u_for_12_months_ending_august(): uprating = PARAMETERS.gov.irs.uprating # CBO's actual tax year 2026 index (Tax Parameters row 153): 177.114. assert uprating("2026-01-01") == pytest.approx(177.114, abs=5e-4) - # No BLS observation covers Sep 2026-Aug 2027: CBO's projection. - assert uprating("2028-01-01") == pytest.approx(185.881) - assert uprating("2036-01-01") == pytest.approx(217.68) + # The 2027 index averages BLS observations for Sep 2025-Aug 2026, with + # September 2025's value standing in for the unpublished October. + assert uprating("2027-01-01") == pytest.approx(182.501, abs=5e-4) + # No BLS observation covers Sep 2026-Aug 2027, so the 2027 index grows + # at CBO's projected rate: 182.501 x 185.881 / 181.654 = 186.747. + assert uprating("2028-01-01") == pytest.approx(186.747, abs=5e-4) + # 182.501 x 217.68 / 181.654 = 218.695. + assert uprating("2036-01-01") == pytest.approx(218.695, abs=5e-4) def statutory_educator_expense_cap(year): @@ -1405,16 +1439,17 @@ def test_educator_expense_cap_projections_follow_statute(): previous = value assert cap("2150-01-01") == cap("2100-01-01") - # Hand anchors. They rest on the model's CPI projection (CBO's tax-year - # C-CPI-U from 2028), so a CBO refresh can move them; 2032 sits $0.23 - # below the $125 step. The 2014 denominator is 134.30. The increase, - # $250 x the COLA, rounds to $100 while under $125: $89.57 in 2027, - # $110.38 in 2030 and $124.77 in 2032 (index 201.335). It rounds to $150 - # from $132.16 in 2033 (index 205.302) to $171.34 in 2038. Chaining from - # the rounded 2026 $350 reached $400 in 2030. - for year in range(2027, 2033): + # Hand anchors. They rest on the model's CPI projection (the 2027 index + # grown at CBO's tax-year C-CPI-U rates from 2028), so a BLS or CBO + # refresh can move them; 2032 sits $1.52 above the $125 step and 2038 + # $1.70 below the $175 step. The 2014 denominator is 134.304. The + # increase, $250 x the COLA, rounds to $100 while under $125: $89.72 in + # 2027, $112.06 in 2030 and $119.24 in 2031 (index 198.360). It rounds + # to $150 from $126.52 in 2032 (index 202.273) to $173.30 in 2038. + # Chaining from the rounded 2026 $350 reached $400 in 2030. + for year in range(2027, 2032): assert cap(f"{year}-01-01") == 350, year - for year in range(2033, 2039): + for year in range(2032, 2039): assert cap(f"{year}-01-01") == 400, year @@ -1440,7 +1475,8 @@ def months(start_year, level): tax_year_projection=SimpleNamespace( cpi_u=Parameter("cpi_u_projection", data={"2033-01-01": 300}), c_cpi_u=Parameter( - "c_cpi_u_projection", data={"2032-01-01": 110, "2033-01-01": 126} + "c_cpi_u_projection", + data={"2031-01-01": 51, "2032-01-01": 55, "2033-01-01": 63}, ), ), ) @@ -1465,10 +1501,12 @@ def months(start_year, level): # Sep 2029-Aug 2030 window (102). # $250 x (102 / 75 - 1) = $90, nearest to $100 (rounding down gives $50). assert cap("2031-01-01") == 350 - # 2032 has no observed month and reads its tax-year projection (110). + # 2032 has no observed month, so the observed 102 grows at the tax-year + # projection's 55 / 51, to 110. # $250 x (110 / 75 - 1) = $116.67, nearest to $100. assert cap("2032-01-01") == 350 - # 2033 reads its tax-year projection (126), not the calendar-year point. + # 2033 grows the observed 102 at 63 / 51, to 126; the calendar-year + # point (999) plays no part. # $250 x (126 / 75 - 1) = $170, nearest to $150 (rounding up gives $200). assert cap("2033-01-01") == 400 assert cap("2040-01-01") == 400 diff --git a/policyengine_us/tests/policy/contrib/states/ca/prop3/ca_prop3.yaml b/policyengine_us/tests/policy/contrib/states/ca/prop3/ca_prop3.yaml index e8750bdc2f1..9a903e52c63 100644 --- a/policyengine_us/tests/policy/contrib/states/ca/prop3/ca_prop3.yaml +++ b/policyengine_us/tests/policy/contrib/states/ca/prop3/ca_prop3.yaml @@ -7,7 +7,8 @@ # baseline/gov/states/ca/tax/income/ca_income_tax_before_credits.yaml. # # Expected values apply the 2031 thresholds by hand: the published FTB 2026 schedules -# uprated by f = 197.44 / 177.11375, using gov.states.ca.cpi's C-CPI-U forecast proxy. +# uprated by f = 198.360243 / 177.11375, the growth of gov.states.ca.cpi from 2026 to 2031 +# (see the 2030-2031 note in ca_income_tax_before_credits.yaml). # The baseline single and separate 2031 tax is 3,310.88f + .093 x (income - 75,197f); # Prop 3 adds .01 x (income - t) above each of t = 384,109f, 460,927f and 768,213f. # Head of household uses 3,739.45f, 102,356f and t = 522,385f, 626,864f and 1,044,771f. @@ -23,9 +24,9 @@ filing_status: SINGLE state_code: CA output: - # Baseline 88,894.95 + .01 x (1,000,000 - 428,190.81) - # + .01 x (1,000,000 - 513,824.74) + .01 x (1,000,000 - 856,376.06). - ca_income_tax_before_credits: 100_911.03 + # Baseline 88,875.815 + .01 x (1,000,000 - 430,186.56) + # + .01 x (1,000,000 - 516,219.62) + .01 x (1,000,000 - 860,367.52). + ca_income_tax_before_credits: 100_808.08 - name: Prop 3 keeps the higher rates for a separate filer with $1 million in 2031 period: 2031 @@ -36,8 +37,8 @@ filing_status: SEPARATE state_code: CA output: - # Same schedule as single: 88,894.95 + 12,016.08. - ca_income_tax_before_credits: 100_911.03 + # Same schedule as single: 88,875.815 + 11,932.263 = 100,808.08. + ca_income_tax_before_credits: 100_808.08 - name: Prop 3 keeps the higher rates for joint filers with $2 million in 2031 period: 2031 @@ -48,8 +49,8 @@ filing_status: JOINT state_code: CA output: - # 2 x 100,911.03, the single tax on $1 million. - ca_income_tax_before_credits: 201_822.06 + # 2 x 100,808.08, the single tax on $1 million. + ca_income_tax_before_credits: 201_616.16 - name: Prop 3 keeps the higher rates for a surviving spouse with $2 million in 2031 period: 2031 @@ -60,8 +61,8 @@ filing_status: SURVIVING_SPOUSE state_code: CA output: - # Treated as a joint return: 2 x 100,911.03. - ca_income_tax_before_credits: 201_822.06 + # Treated as a joint return: 2 x 100,808.08. + ca_income_tax_before_credits: 201_616.16 - name: Prop 3 keeps the higher rates for a head of household with $1.5 million in 2031 period: 2031 @@ -72,9 +73,9 @@ filing_status: HEAD_OF_HOUSEHOLD state_code: CA output: - # Baseline 133,057.05 + .01 x (1,500,000 - 582,335.90) - # + .01 x (1,500,000 - 698,805.31) + .01 x (1,500,000 - 1,164,672.91) = 153,598.91. - ca_income_tax_before_credits: 153_598.91 + # Baseline 133,027.02 + .01 x (1,500,000 - 585,050.09) + # + .01 x (1,500,000 - 702,062.35) + .01 x (1,500,000 - 1,170,101.30) = 153,454.88. + ca_income_tax_before_credits: 153_454.88 - name: Prop 3 applies only the 10.3% rate inside the first surcharge bracket in 2031 period: 2031 @@ -85,8 +86,8 @@ filing_status: SINGLE state_code: CA output: - # Baseline 37,744.95 + .01 x (450,000 - 428,190.81) = 37,963.04. - ca_income_tax_before_credits: 37_963.04 + # Baseline 37,725.815 + .01 x (450,000 - 430,186.56) = 37,923.95. + ca_income_tax_before_credits: 37_923.95 - name: Prop 3 applies the 10.3% and 11.3% rates inside the second surcharge bracket in 2031 period: 2031 @@ -97,9 +98,9 @@ filing_status: SINGLE state_code: CA output: - # Baseline 51,694.95 + .01 x (600,000 - 428,190.81) - # + .01 x (600,000 - 513,824.74) = 54,274.79. - ca_income_tax_before_credits: 54_274.79 + # Baseline 51,675.81 + .01 x (600,000 - 430,186.56) + # + .01 x (600,000 - 516,219.62) = 54,211.75. + ca_income_tax_before_credits: 54_211.75 - name: Prop 3 does not change tax below the 10.3% threshold in 2031 period: 2031 @@ -111,7 +112,7 @@ state_code: CA output: # 3,310.88f + .093 x (300,000 - 75,197f), the same as the baseline. - ca_income_tax_before_credits: 23_794.95 + ca_income_tax_before_credits: 23_775.81 - name: Prop 3 does not change 2030 tax, when the higher rates already apply period: 2030 @@ -122,8 +123,8 @@ filing_status: SINGLE state_code: CA output: - # Same as the 2030 baseline, using the 2026 anchors times 193.6 / 177.11375. - ca_income_tax_before_credits: 101_340.64 + # Same as the 2030 baseline, using the 2026 anchors times 194.502345 / 177.11375. + ca_income_tax_before_credits: 101_239.69 - name: Prop 3 removes the AMT that the 2031 rate expiry exposes period: 2031 @@ -137,11 +138,11 @@ ca_amt_exemption: 0 ca_non_refundable_credits: 0 output: - # Tentative minimum tax .07 x 1,400,000 = 98,000 is below the 100,911.03 regular tax, - # so AMT is 0 (the baseline AMT is 9,105.05; see alternative_minimum_tax/ca_amt.yaml). - ca_income_tax_before_credits: 100_911.03 + # Tentative minimum tax .07 x 1,400,000 = 98,000 is below the 100,808.08 regular tax, + # so AMT is 0 (the baseline AMT is 9,124.19; see alternative_minimum_tax/ca_amt.yaml). + ca_income_tax_before_credits: 100_808.08 ca_amt: 0 - ca_income_tax_before_refundable_credits: 100_911.03 + ca_income_tax_before_refundable_credits: 100_808.08 - name: Prop 3 regular tax and the 1% mental health services tax stack for a single filer with $2 million in 2031 period: 2031 @@ -154,8 +155,8 @@ ca_non_refundable_credits: 0 ca_amt: 0 output: - # Regular tax 181,894.95 + .01 x (2,000,000 - 428,190.81) - # + .01 x (2,000,000 - 513,824.74) + .01 x (2,000,000 - 856,376.06) = 223,911.03, + # Regular tax 181,875.815 + .01 x (2,000,000 - 430,186.56) + # + .01 x (2,000,000 - 516,219.62) + .01 x (2,000,000 - 860,367.52) = 223,808.08, # plus MHST .01 x 1,000,000 = 10,000. - ca_income_tax_before_credits: 223_911.03 - ca_income_tax_before_refundable_credits: 233_911.03 + ca_income_tax_before_credits: 223_808.08 + ca_income_tax_before_refundable_credits: 233_808.08 diff --git a/policyengine_us/tests/policy/contrib/states/ca/prop3/test_ca_prop3_reform.py b/policyengine_us/tests/policy/contrib/states/ca/prop3/test_ca_prop3_reform.py index bbdea0f9d36..d1681b9c950 100644 --- a/policyengine_us/tests/policy/contrib/states/ca/prop3/test_ca_prop3_reform.py +++ b/policyengine_us/tests/policy/contrib/states/ca/prop3/test_ca_prop3_reform.py @@ -199,14 +199,14 @@ def test_ca_prop3_app_activation_from_2031(): simulation = _app_simulation({"2031-01-01.2100-12-31": True}, years) _assert_active_years(simulation, years, active_years={2031, 2035}) # Published 2026 FTB thresholds times the 2031 C-CPI-U proxy factor - # 197.44 / 177.11375, as independently integrated in ca_prop3.yaml. + # 198.360243 / 177.11375, as independently integrated in ca_prop3.yaml. assert simulation.calculate("ca_income_tax_before_credits", 2031)[ 0 - ] == pytest.approx(100_911.03, abs=1) + ] == pytest.approx(100_808.08, abs=1) # With the toggle off, 2031 tax is the baseline. baseline = Simulation(situation=_situation(years)) assert baseline.calculate("ca_income_tax_before_credits", 2031)[0] == pytest.approx( - 88_894.95, abs=1 + 88_875.81, abs=1 ) From e6d3240bb649c8896bac52d351f4d7cd38e66523 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 17:27:46 -0500 Subject: [PATCH 07/29] Update 2030 excess business loss expectations for the growth-based index The 2030 threshold grows from the 2027 amount in Rev. Proc. 2026-35 with gov.irs.uprating. With CBO's growth applied to the last observed window, $264,000 x 194.502345 / 182.500667 = $281,361.27, which the model rounds to $281,000. The joint $528,000 gives $562,722.54, rounded to $562,000. Co-Authored-By: Claude Opus 5.5 --- .../above_the_line_deductions/loss_ald.yaml | 7 +++++-- .../above_the_line_deductions/loss_thresholds.yaml | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_ald.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_ald.yaml index 878c3c7267e..cbbc8177c3a 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_ald.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_ald.yaml @@ -312,5 +312,8 @@ members: [person1] state_code: TX output: - # Inflation projection, not an IRS-published 2030 threshold. - loss_ald: 280_000 + # Inflation projection, not an IRS-published 2030 threshold. The 2027 + # threshold from Rev. Proc. 2026-35 grows with gov.irs.uprating: + # $264,000 x 194.502345 / 182.500667 = $281,361.27, rounded to the + # nearest $1,000. + loss_ald: 281_000 diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_thresholds.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_thresholds.yaml index 22b588d6b66..a315b0b60f1 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_thresholds.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/above_the_line_deductions/loss_thresholds.yaml @@ -182,5 +182,9 @@ filing_status: [SINGLE, JOINT, SEPARATE, HEAD_OF_HOUSEHOLD, SURVIVING_SPOUSE] self_employment_income: [-1_000_000, -1_000_000, -1_000_000, -1_000_000, -1_000_000] output: - # These are inflation projections, not IRS-published amounts. - loss_ald: [280_000, 560_000, 280_000, 280_000, 280_000] + # These are inflation projections, not IRS-published amounts. The 2027 + # thresholds from Rev. Proc. 2026-35 grow with gov.irs.uprating: + # $264,000 x 194.502345 / 182.500667 = $281,361.27, rounded to the + # nearest $1,000, and $528,000 x the same ratio = $562,722.54, rounded + # to the nearest $2,000, so $562,000 = 2 x $281,000. + loss_ald: [281_000, 562_000, 281_000, 281_000, 281_000] From 451c47f6fda69d62f171b295c9209f86f6c82182 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 17:34:22 -0500 Subject: [PATCH 08/29] Update 2029 Washington Working Families Tax Credit expectations Washington's credit amounts grow from their 2025 values with gov.irs.uprating and round to the nearest $5. With CBO's growth applied to the last observed window, the 2029 amount with no qualifying child comes to $335 x 190.659518 / 173.093417 = $369.00, so $370. The phase-out case moves from $262 to $265 with it. Co-Authored-By: Claude Opus 5.5 --- .../wa_working_families_tax_credit.yaml | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/policyengine_us/tests/policy/baseline/gov/states/wa/tax/income/credits/wa_working_families_tax_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/wa/tax/income/credits/wa_working_families_tax_credit.yaml index c61e211ff15..49981b8b870 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/wa/tax/income/credits/wa_working_families_tax_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/wa/tax/income/credits/wa_working_families_tax_credit.yaml @@ -224,9 +224,9 @@ eitc_child_count: 0 output: # Eligible via age expansion: age 18+, has earned income - # Amount is inflation-adjusted from $300 (2022) and rounded to the - # nearest $5, producing $365 in 2029. - wa_working_families_tax_credit: 365 + # The 2025 amount grows with gov.irs.uprating and rounds to the nearest + # $5: $335 x 190.659518 / 173.093417 = $369.00, so $370 in 2029. + wa_working_families_tax_credit: 370 - name: Case 7b, age 18 boundary is eligible via the age expansion (tested in 2029). period: 2029 @@ -240,7 +240,7 @@ eitc_child_count: 0 output: # Exact age-18 boundary: eligible via age expansion - wa_working_families_tax_credit: 365 + wa_working_families_tax_credit: 370 - name: Case 8, age 17 without EITC gets no WFTC in 2029. period: 2029 @@ -335,9 +335,9 @@ state_code: WA output: # Standard EITC pathway still works - # Amount is inflation-adjusted from $300 (2022) and rounded to the - # nearest $5, producing $365 in 2029. - wa_working_families_tax_credit: 365 + # The 2025 amount grows with gov.irs.uprating and rounds to the nearest + # $5: $335 x 190.659518 / 173.093417 = $369.00, so $370 in 2029. + wa_working_families_tax_credit: 370 - name: Case 12, age expansion preserves EITC investment income eligibility. period: 2029 @@ -366,7 +366,7 @@ eitc_child_count: 0 output: # Either head or spouse meeting age 18 is sufficient. - wa_working_families_tax_credit: 365 + wa_working_families_tax_credit: 370 - name: Case 14, ITIN filer with qualifying child can receive WFTC without a federal EITC amount. period: 2025 @@ -660,12 +660,13 @@ # WAC 388-478-0015 sets the 2025 single-person monthly need standard # at $3,816; ESSB 6346 multiplies it by 12 for tax years 2028 onward. wa_working_families_tax_credit_maximum_qualifying_income: 45_792 - # Combined effect of #9371 (max uprated then rounded to the nearest $5 = 365) - # and this PR (rate = max / band per WAC 458-20-285(10)(d) = 365 / 2,500 = - # 0.146); phase-out start $43,292 (limit less the $2,500 band): - # 365 - 0.146 x (44,000 - 43,292) = 261.632, which the RCW 82.08.0206(3)(b) - # nearest-dollar rounding brings to 262. - wa_working_families_tax_credit: 262 + # Combined effect of #9371 (max uprated then rounded to the nearest $5: + # $335 x 190.659518 / 173.093417 = $369.00, so 370) and this PR (rate = + # max / band per WAC 458-20-285(10)(d) = 370 / 2,500 = 0.148); phase-out + # start $43,292 (limit less the $2,500 band): + # 370 - 0.148 x (44,000 - 43,292) = 265.216, which the RCW 82.08.0206(3)(b) + # nearest-dollar rounding brings to 265. + wa_working_families_tax_credit: 265 - name: WA WFTC counts a disabled adult dependent as a qualifying child (IRC 152(c)(3)(B) via frozen 2022 EITC) period: 2025 From 9af2943e937ff0e1a930d8a12ac9f4d132f58c1f Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 14:47:11 -0500 Subject: [PATCH 09/29] Add Minnesota's published 2026 working family credit amount; update Idaho 2026 cases Minnesota's Department of Revenue sets $9,690 as the 2026 earned income for the maximum working family credit. The parameter file stopped at 2025, so the model uprated $9,480 by gov.irs.uprating and reached $9,700 on the September to August window. The file now holds the published amount, which the two 2026 credit cases already expect. Idaho has not published its 2026 zero-rate threshold, so the model uprates $4,811 to $4,922.74. The two 2026 Idaho cases now expect $645.39 and $2,170.13 in income tax, and each case shows the arithmetic. Co-Authored-By: Claude Opus 5.5 --- .../tax/income/credits/cwfc/wfc/phase_in.yaml | 3 +++ ..._income_tax_before_refundable_credits.yaml | 19 +++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/phase_in.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/phase_in.yaml index aea86217c95..d120456a3a6 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/phase_in.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/phase_in.yaml @@ -14,6 +14,8 @@ metadata: href: https://www.revenue.state.mn.us/sites/default/files/2025-01/m1cwfc-24.pdf#page=1 - title: 2025 Schedule M1CWFC, Minnesota Child and Working Family Credits href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1cwfc-25.pdf#page=1 + - title: Minnesota Department of Revenue, Tax Year 2026 Inflation-Adjusted Amounts, 290.0671 Subd. 1 Working Family Credit Earned Income for Maximum Credit + href: https://www.revenue.state.mn.us/sites/default/files/2025-12/inflation-adjusted-amounts-2026.pdf#page=3 brackets: - threshold: @@ -25,6 +27,7 @@ brackets: 2023-01-01: 8_750 2024-01-01: 9_220 2025-01-01: 9_480 + 2026-01-01: 9_690 metadata: uprating: parameter: gov.irs.uprating diff --git a/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/id_income_tax_before_refundable_credits.yaml b/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/id_income_tax_before_refundable_credits.yaml index d9e70d30606..17a912a268b 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/id_income_tax_before_refundable_credits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/id_income_tax_before_refundable_credits.yaml @@ -66,8 +66,14 @@ state_code: ID household_vehicles_value: 2660.0 output: - id_income_tax_before_refundable_credits: 645.54 - state_income_tax_before_refundable_credits: 655.54 # Includes the $10 PBF tax. + # Single filer. Idaho subtracts the taxable Social Security, so Idaho + # taxable income = 35,280 taxable pension - 2,080 health insurance + # premiums subtraction - 16,100 standard deduction = 17,100. + # The model uprates the 2025 threshold of 4,811 by gov.irs.uprating: + # 4,811 x 177.113750 / 173.093417 = 4,922.74. + # Tax = 5.3% x (17,100 - 4,922.74) = 5.3% x 12,177.26 = 645.39. + id_income_tax_before_refundable_credits: 645.39 + state_income_tax_before_refundable_credits: 655.39 # Includes the $10 PBF tax. - name: PolicyBench scenario_053 Idaho paid health insurance premiums absolute_error_margin: 0.01 period: 2026 @@ -119,5 +125,10 @@ auto_loan_interest: 950.0 household_vehicles_value: 7410.0 output: - id_income_tax_before_refundable_credits: 2170.28 - state_income_tax_before_refundable_credits: 2180.28 # Includes the $10 PBF tax. + # Single filer. Idaho taxable income = 66,968.68 wages - 5,000 health + # insurance premiums subtraction - 16,100 standard deduction = 45,868.68. + # The model uprates the 2025 threshold of 4,811 by gov.irs.uprating: + # 4,811 x 177.113750 / 173.093417 = 4,922.74. + # Tax = 5.3% x (45,868.68 - 4,922.74) = 5.3% x 40,945.94 = 2,170.13. + id_income_tax_before_refundable_credits: 2170.13 + state_income_tax_before_refundable_credits: 2180.13 # Includes the $10 PBF tax. From 88ba6e81e366398282a8e3d739704b8e62fcb910 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:34:12 -0500 Subject: [PATCH 10/29] Store Minnesota's published 2025 and 2026 renter's credit tables The Department of Revenue's Tax Year 2025 and 2026 inflation-adjusted amounts set every renter's credit threshold and maximum credit, the 2026 child and working family credit joint phase-out threshold (38,770), the 2026 child credit (1,800), the additional working family credit amounts and the 2026 public pension subtraction caps (27,690 joint, 13,850 other). The parameter files now hold those amounts, so the uprating index no longer moves them. New cases pin the 2025 claimant-share step at $46,540, the 2025 maximum credit of $2,720, the 2026 step at $47,590 and the 2026 joint pension cap. Co-Authored-By: Claude Opus 5.5 --- .../tax/income/credits/cwfc/ctc/amount.yaml | 3 ++ .../cwfc/phase_out/threshold/joint.yaml | 3 ++ .../credits/cwfc/wfc/additional/amount.yaml | 2 + .../credits/renters/claimant_share.yaml | 18 +++++++ .../income/credits/renters/max_credit.yaml | 54 +++++++++++++++++++ .../credits/renters/percent_of_income.yaml | 19 +++++++ .../subtractions/pension_income/cap.yaml | 7 +++ .../tax/income/credits/mn_renters_credit.yaml | 44 +++++++++++++++ .../income/mn_public_pension_subtraction.yaml | 13 +++++ 9 files changed, 163 insertions(+) diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/amount.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/amount.yaml index d4a553dafb1..cf29497dcca 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/amount.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/amount.yaml @@ -2,6 +2,7 @@ description: Minnesota provides the following child tax credit amount for each q values: 2023-01-01: 1_750 2025-01-01: 1_750 + 2026-01-01: 1_800 metadata: period: year @@ -21,3 +22,5 @@ metadata: href: https://www.revenue.state.mn.us/sites/default/files/2025-01/m1cwfc-24.pdf#page=1 - title: 2025 Schedule M1CWFC, Minnesota Child and Working Family Credits href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1cwfc-25.pdf#page=1 + - title: Minnesota Department of Revenue, Tax Year 2026 Inflation-Adjusted Amounts, 290.0661 Subd. 3 Child Credit Maximum Credit + href: https://www.revenue.state.mn.us/sites/default/files/2025-12/inflation-adjusted-amounts-2026.pdf#page=3 diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/phase_out/threshold/joint.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/phase_out/threshold/joint.yaml index 9973758fe45..52fc9a9d7c3 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/phase_out/threshold/joint.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/phase_out/threshold/joint.yaml @@ -19,8 +19,11 @@ metadata: href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1-inst-25.pdf#page=14 - title: 2025 Schedule M1CWFC, Minnesota Child and Working Family Credits href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1cwfc-25.pdf#page=1 + - title: Minnesota Department of Revenue, Tax Year 2026 Inflation-Adjusted Amounts, 290.0661 Subd. 4 Child and WFC Phase-out Threshold + href: https://www.revenue.state.mn.us/sites/default/files/2025-12/inflation-adjusted-amounts-2026.pdf#page=3 values: 2023-01-01: 35_000 2024-01-01: 36_880 2025-01-01: 37_910 + 2026-01-01: 38_770 diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/additional/amount.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/additional/amount.yaml index 7b076f8c44c..7650017974e 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/additional/amount.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/wfc/additional/amount.yaml @@ -30,6 +30,7 @@ brackets: 2023-01-01: 925 2024-01-01: 970 2025-01-01: 1_000 + 2026-01-01: 1_020 metadata: uprating: parameter: gov.irs.uprating @@ -57,6 +58,7 @@ brackets: 2023-01-01: 2_500 2024-01-01: 2_630 2025-01-01: 2_710 + 2026-01-01: 2_770 metadata: uprating: parameter: gov.irs.uprating diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/claimant_share.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/claimant_share.yaml index 413d5c1a809..f83010a93ef 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/claimant_share.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/claimant_share.yaml @@ -12,6 +12,8 @@ metadata: href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1rent-25.pdf#page=5 - title: Minnesota Department of Revenue, Tax Year 2026 Inflation-Adjusted Amounts, 290.0693 Subd. 3 Renter's Credit, Percent Paid by Claimant column href: https://www.revenue.state.mn.us/sites/default/files/2025-12/inflation-adjusted-amounts-2026.pdf#page=5 + - title: Minnesota Department of Revenue, Tax Year 2025 Inflation-Adjusted Amounts, 290.0693 Subd. 3 Renter's Credit, Percent Paid by Claimant column + href: https://www.revenue.state.mn.us/sites/default/files/2024-12/inflation-adjusted-amounts-2025.pdf#page=5 brackets: - threshold: @@ -21,6 +23,8 @@ brackets: - threshold: values: 2024-01-01: 6_480 + 2025-01-01: 6_670 + 2026-01-01: 6_820 metadata: uprating: parameter: gov.irs.uprating @@ -32,6 +36,8 @@ brackets: - threshold: values: 2024-01-01: 15_090 + 2025-01-01: 15_530 + 2026-01-01: 15_880 metadata: uprating: parameter: gov.irs.uprating @@ -43,6 +49,7 @@ brackets: - threshold: values: 2024-01-01: 21_540 + 2025-01-01: 22_160 2026-01-01: 22_670 metadata: uprating: @@ -55,6 +62,7 @@ brackets: - threshold: values: 2024-01-01: 30_160 + 2025-01-01: 31_030 2026-01-01: 31_740 metadata: uprating: @@ -67,6 +75,8 @@ brackets: - threshold: values: 2024-01-01: 36_630 + 2025-01-01: 37_690 + 2026-01-01: 38_540 metadata: uprating: parameter: gov.irs.uprating @@ -78,6 +88,8 @@ brackets: - threshold: values: 2024-01-01: 45_230 + 2025-01-01: 46_540 + 2026-01-01: 47_590 metadata: uprating: parameter: gov.irs.uprating @@ -89,6 +101,8 @@ brackets: - threshold: values: 2024-01-01: 51_690 + 2025-01-01: 53_180 + 2026-01-01: 54_390 metadata: uprating: parameter: gov.irs.uprating @@ -100,6 +114,8 @@ brackets: - threshold: values: 2024-01-01: 60_320 + 2025-01-01: 62_060 + 2026-01-01: 63_470 metadata: uprating: parameter: gov.irs.uprating @@ -111,6 +127,7 @@ brackets: - threshold: values: 2024-01-01: 66_790 + 2025-01-01: 68_720 2026-01-01: 70_280 metadata: uprating: @@ -123,6 +140,7 @@ brackets: - threshold: values: 2024-01-01: 75_390 + 2025-01-01: 77_570 2026-01-01: 79_330 metadata: uprating: diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/max_credit.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/max_credit.yaml index 22b0a753166..80e4b90f3d5 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/max_credit.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/max_credit.yaml @@ -12,6 +12,8 @@ metadata: href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1rent-25.pdf#page=5 - title: Minnesota Department of Revenue, Tax Year 2026 Inflation-Adjusted Amounts, 290.0693 Subd. 3 Renter's Credit, Maximum Credit column href: https://www.revenue.state.mn.us/sites/default/files/2025-12/inflation-adjusted-amounts-2026.pdf#page=5 + - title: Minnesota Department of Revenue, Tax Year 2025 Inflation-Adjusted Amounts, 290.0693 Subd. 3 Renter's Credit, Maximum Credit column + href: https://www.revenue.state.mn.us/sites/default/files/2024-12/inflation-adjusted-amounts-2025.pdf#page=5 brackets: - threshold: @@ -19,6 +21,8 @@ brackets: amount: values: 2024-01-01: 2_640 + 2025-01-01: 2_720 + 2026-01-01: 2_780 metadata: uprating: parameter: gov.irs.uprating @@ -28,6 +32,8 @@ brackets: - threshold: values: 2024-01-01: 8_610 + 2025-01-01: 8_860 + 2026-01-01: 9_060 metadata: uprating: parameter: gov.irs.uprating @@ -37,6 +43,8 @@ brackets: amount: values: 2024-01-01: 2_570 + 2025-01-01: 2_640 + 2026-01-01: 2_700 metadata: uprating: parameter: gov.irs.uprating @@ -46,6 +54,8 @@ brackets: - threshold: values: 2024-01-01: 10_760 + 2025-01-01: 11_070 + 2026-01-01: 11_320 metadata: uprating: parameter: gov.irs.uprating @@ -55,6 +65,8 @@ brackets: amount: values: 2024-01-01: 2_510 + 2025-01-01: 2_580 + 2026-01-01: 2_640 metadata: uprating: parameter: gov.irs.uprating @@ -64,6 +76,8 @@ brackets: - threshold: values: 2024-01-01: 15_090 + 2025-01-01: 15_530 + 2026-01-01: 15_880 metadata: uprating: parameter: gov.irs.uprating @@ -73,6 +87,8 @@ brackets: amount: values: 2024-01-01: 2_430 + 2025-01-01: 2_500 + 2026-01-01: 2_560 metadata: uprating: parameter: gov.irs.uprating @@ -82,6 +98,8 @@ brackets: - threshold: values: 2024-01-01: 19_400 + 2025-01-01: 19_960 + 2026-01-01: 20_410 metadata: uprating: parameter: gov.irs.uprating @@ -91,6 +109,8 @@ brackets: amount: values: 2024-01-01: 2_370 + 2025-01-01: 2_440 + 2026-01-01: 2_490 metadata: uprating: parameter: gov.irs.uprating @@ -100,6 +120,7 @@ brackets: - threshold: values: 2024-01-01: 21_540 + 2025-01-01: 22_160 2026-01-01: 22_670 metadata: uprating: @@ -110,6 +131,8 @@ brackets: amount: values: 2024-01-01: 2_310 + 2025-01-01: 2_380 + 2026-01-01: 2_430 metadata: uprating: parameter: gov.irs.uprating @@ -119,6 +142,7 @@ brackets: - threshold: values: 2024-01-01: 23_680 + 2025-01-01: 24_360 2026-01-01: 24_920 metadata: uprating: @@ -129,6 +153,8 @@ brackets: amount: values: 2024-01-01: 2_240 + 2025-01-01: 2_300 + 2026-01-01: 2_360 metadata: uprating: parameter: gov.irs.uprating @@ -138,6 +164,8 @@ brackets: - threshold: values: 2024-01-01: 28_010 + 2025-01-01: 28_820 + 2026-01-01: 29_470 metadata: uprating: parameter: gov.irs.uprating @@ -147,6 +175,8 @@ brackets: amount: values: 2024-01-01: 2_180 + 2025-01-01: 2_240 + 2026-01-01: 2_290 metadata: uprating: parameter: gov.irs.uprating @@ -156,6 +186,8 @@ brackets: - threshold: values: 2024-01-01: 60_320 + 2025-01-01: 62_060 + 2026-01-01: 63_470 metadata: uprating: parameter: gov.irs.uprating @@ -165,6 +197,8 @@ brackets: amount: values: 2024-01-01: 1_980 + 2025-01-01: 2_040 + 2026-01-01: 2_080 metadata: uprating: parameter: gov.irs.uprating @@ -174,6 +208,8 @@ brackets: - threshold: values: 2024-01-01: 62_460 + 2025-01-01: 64_260 + 2026-01-01: 65_720 metadata: uprating: parameter: gov.irs.uprating @@ -183,6 +219,8 @@ brackets: amount: values: 2024-01-01: 1_780 + 2025-01-01: 1_830 + 2026-01-01: 1_870 metadata: uprating: parameter: gov.irs.uprating @@ -192,6 +230,7 @@ brackets: - threshold: values: 2024-01-01: 64_620 + 2025-01-01: 66_480 2026-01-01: 68_000 metadata: uprating: @@ -202,6 +241,8 @@ brackets: amount: values: 2024-01-01: 1_510 + 2025-01-01: 1_550 + 2026-01-01: 1_590 metadata: uprating: parameter: gov.irs.uprating @@ -211,6 +252,7 @@ brackets: - threshold: values: 2024-01-01: 66_790 + 2025-01-01: 68_720 2026-01-01: 70_280 metadata: uprating: @@ -221,6 +263,8 @@ brackets: amount: values: 2024-01-01: 1_320 + 2025-01-01: 1_360 + 2026-01-01: 1_390 metadata: uprating: parameter: gov.irs.uprating @@ -230,6 +274,7 @@ brackets: - threshold: values: 2024-01-01: 68_930 + 2025-01-01: 70_920 2026-01-01: 72_530 metadata: uprating: @@ -240,6 +285,8 @@ brackets: amount: values: 2024-01-01: 1_190 + 2025-01-01: 1_220 + 2026-01-01: 1_250 metadata: uprating: parameter: gov.irs.uprating @@ -249,6 +296,7 @@ brackets: - threshold: values: 2024-01-01: 71_090 + 2025-01-01: 73_140 2026-01-01: 74_810 metadata: uprating: @@ -259,6 +307,8 @@ brackets: amount: values: 2024-01-01: 660 + 2025-01-01: 680 + 2026-01-01: 690 metadata: uprating: parameter: gov.irs.uprating @@ -268,6 +318,7 @@ brackets: - threshold: values: 2024-01-01: 73_240 + 2025-01-01: 75_350 2026-01-01: 77_070 metadata: uprating: @@ -278,6 +329,8 @@ brackets: amount: values: 2024-01-01: 260 + 2025-01-01: 270 + 2026-01-01: 270 metadata: uprating: parameter: gov.irs.uprating @@ -287,6 +340,7 @@ brackets: - threshold: values: 2024-01-01: 75_390 + 2025-01-01: 77_570 2026-01-01: 79_330 metadata: uprating: diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/percent_of_income.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/percent_of_income.yaml index 0ef80fc1b15..71d0fbe7e8b 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/percent_of_income.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/credits/renters/percent_of_income.yaml @@ -12,6 +12,8 @@ metadata: href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1rent-25.pdf#page=5 - title: Minnesota Department of Revenue, Tax Year 2026 Inflation-Adjusted Amounts, 290.0693 Subd. 3 Renter's Credit, Percent of Income column href: https://www.revenue.state.mn.us/sites/default/files/2025-12/inflation-adjusted-amounts-2026.pdf#page=5 + - title: Minnesota Department of Revenue, Tax Year 2025 Inflation-Adjusted Amounts, 290.0693 Subd. 3 Renter's Credit, Percent of Income column + href: https://www.revenue.state.mn.us/sites/default/files/2024-12/inflation-adjusted-amounts-2025.pdf#page=5 brackets: - threshold: @@ -21,6 +23,8 @@ brackets: - threshold: values: 2024-01-01: 8_610 + 2025-01-01: 8_860 + 2026-01-01: 9_060 metadata: uprating: parameter: gov.irs.uprating @@ -32,6 +36,8 @@ brackets: - threshold: values: 2024-01-01: 10_760 + 2025-01-01: 11_070 + 2026-01-01: 11_320 metadata: uprating: parameter: gov.irs.uprating @@ -43,6 +49,8 @@ brackets: - threshold: values: 2024-01-01: 15_090 + 2025-01-01: 15_530 + 2026-01-01: 15_880 metadata: uprating: parameter: gov.irs.uprating @@ -54,6 +62,8 @@ brackets: - threshold: values: 2024-01-01: 19_400 + 2025-01-01: 19_960 + 2026-01-01: 20_410 metadata: uprating: parameter: gov.irs.uprating @@ -65,6 +75,7 @@ brackets: - threshold: values: 2024-01-01: 23_680 + 2025-01-01: 24_360 2026-01-01: 24_920 metadata: uprating: @@ -77,6 +88,8 @@ brackets: - threshold: values: 2024-01-01: 28_010 + 2025-01-01: 28_820 + 2026-01-01: 29_470 metadata: uprating: parameter: gov.irs.uprating @@ -88,6 +101,7 @@ brackets: - threshold: values: 2024-01-01: 30_160 + 2025-01-01: 31_030 2026-01-01: 31_740 metadata: uprating: @@ -100,6 +114,7 @@ brackets: - threshold: values: 2024-01-01: 32_310 + 2025-01-01: 33_240 2026-01-01: 34_000 metadata: uprating: @@ -112,6 +127,8 @@ brackets: - threshold: values: 2024-01-01: 36_630 + 2025-01-01: 37_690 + 2026-01-01: 38_540 metadata: uprating: parameter: gov.irs.uprating @@ -123,6 +140,7 @@ brackets: - threshold: values: 2024-01-01: 38_770 + 2025-01-01: 39_890 2026-01-01: 40_800 metadata: uprating: @@ -135,6 +153,7 @@ brackets: - threshold: values: 2024-01-01: 75_390 + 2025-01-01: 77_570 2026-01-01: 79_330 metadata: uprating: diff --git a/policyengine_us/parameters/gov/states/mn/tax/income/subtractions/pension_income/cap.yaml b/policyengine_us/parameters/gov/states/mn/tax/income/subtractions/pension_income/cap.yaml index 805df2b64b5..d2d666c56cc 100644 --- a/policyengine_us/parameters/gov/states/mn/tax/income/subtractions/pension_income/cap.yaml +++ b/policyengine_us/parameters/gov/states/mn/tax/income/subtractions/pension_income/cap.yaml @@ -20,29 +20,36 @@ metadata: href: https://www.revenue.state.mn.us/sites/default/files/2024-12/m1qpen-24.pdf#page=1 - title: 2025 M1QPEN, Qualified Public Pension Subtraction href: https://www.revenue.state.mn.us/sites/default/files/2026-07/m1qpen-25.pdf#page=1 + - title: Minnesota Department of Revenue, Tax Year 2026 Inflation-Adjusted Amounts, 290.0132 Subd. 34 Public Pension Subtraction Maximum Subtraction + href: https://www.revenue.state.mn.us/sites/default/files/2025-12/inflation-adjusted-amounts-2026.pdf#page=2 JOINT: values: 2023-01-01: 25_000 2024-01-01: 26_340 2025-01-01: 27_080 + 2026-01-01: 27_690 HEAD_OF_HOUSEHOLD: values: 2023-01-01: 12_500 2024-01-01: 13_170 2025-01-01: 13_540 + 2026-01-01: 13_850 SURVIVING_SPOUSE: values: 2023-01-01: 25_000 2024-01-01: 26_340 2025-01-01: 27_080 + 2026-01-01: 27_690 SINGLE: values: 2023-01-01: 12_500 2024-01-01: 13_170 2025-01-01: 13_540 + 2026-01-01: 13_850 SEPARATE: values: 2023-01-01: 12_500 2024-01-01: 13_170 2025-01-01: 13_540 + 2026-01-01: 13_850 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_renters_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_renters_credit.yaml index 769ac968a83..d0e816e7933 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_renters_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_renters_credit.yaml @@ -128,3 +128,47 @@ # Band: 2.0% of income, claimant pays 50%, maximum credit $270. # Excess rent = 3,000 - 0.02 * 79,325 = 1,413.50; 50% = 706.75 > 270. mn_renters_credit: 270 + +# 2025 renter's credit schedule from the Minnesota DOR Tax Year 2025 +# Inflation-Adjusted Amounts, 290.0693 Subd. 3 (page 5). The parameter +# files store these amounts, so a change of uprating index cannot move them. +- name: Minnesota renter's credit 2025 just below the $46,540 claimant-share step + absolute_error_margin: 0.01 + period: 2025 + input: + state_code: MN + mn_renters_credit_eligible: true + mn_renters_credit_household_income: 46_500 + mn_rent_constituting_property_taxes: 3_000 + output: + # Band $39,890 - $46,539: 2.0% of income, claimant pays 30%, maximum $2,240. + # Excess rent = 3,000 - 0.02 * 46,500 = 3,000 - 930 = 2,070 + # Credit = round(2,070 * 0.70) = 1,449 + mn_renters_credit: 1_449 + +- name: Minnesota renter's credit 2025 at the lowest band's maximum credit + absolute_error_margin: 0.01 + period: 2025 + input: + state_code: MN + mn_renters_credit_eligible: true + mn_renters_credit_household_income: 5_000 + mn_rent_constituting_property_taxes: 5_000 + output: + # Band $0 - $6,669: 1.0% of income, claimant pays 5%, maximum $2,720. + # Excess rent = 5,000 - 0.01 * 5,000 = 4,950; 95% = 4,702.50 > 2,720. + mn_renters_credit: 2_720 + +- name: Minnesota renter's credit 2026 just below the $47,590 claimant-share step + absolute_error_margin: 0.01 + period: 2026 + input: + state_code: MN + mn_renters_credit_eligible: true + mn_renters_credit_household_income: 47_570 + mn_rent_constituting_property_taxes: 3_000 + output: + # Band $40,800 - $47,589: 2.0% of income, claimant pays 30%, maximum $2,290. + # Excess rent = 3,000 - 0.02 * 47,570 = 3,000 - 951.40 = 2,048.60 + # Credit = round(2,048.60 * 0.70) = round(1,434.02) = 1,434 + mn_renters_credit: 1_434 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_public_pension_subtraction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_public_pension_subtraction.yaml index 2b0ffe3abf8..d7c1d6932ee 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_public_pension_subtraction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_public_pension_subtraction.yaml @@ -210,3 +210,16 @@ output: adjusted_gross_income: 90_000 mn_public_pension_subtraction: 7_000 + +# 2026 joint cap: $27,690, from the Minnesota DOR Tax Year 2026 +# Inflation-Adjusted Amounts, 290.0132 Subd. 34 (page 2). AGI of $100,000 +# sits below the 2026 joint reduction start of $110,780, so the full cap applies. +- name: MN public pension subtraction 2026 joint below threshold + period: 2026 + input: + filing_status: JOINT + taxable_public_pension_income: 30_000 + state_code: MN + adjusted_gross_income: 100_000 + output: + mn_public_pension_subtraction: 27_690 From 7c8ca10c2ae84ad74de9ed7255b72ed357baffce Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:38:47 -0500 Subject: [PATCH 11/29] Store DC's published 2026 child care and Schedule H amounts The Office of Revenue Analysis published both tax year 2026 notices in the D.C. Register of September 11, 2026. The model now holds the Keep Child Care Affordable Tax Credit income limits (184,300, or 92,100 for separate filers) and its 1,225 maximum, and the Schedule H maximum credit (1,475) and income thresholds (67,600 non-senior, 92,100 senior). The uprating index projected each of these from 2025, and every projection missed the published amount by 25 to 200 dollars, apart from the 1,225 maximum. New cases pin the 184,300 limit, the 67,600 threshold and the 1,475 maximum. Co-Authored-By: Claude Opus 5.5 --- .../income/credits/kccatc/income_limit.yaml | 7 +++ .../tax/income/credits/kccatc/max_amount.yaml | 3 ++ .../income/credits/ptc/fraction_elderly.yaml | 3 ++ .../credits/ptc/fraction_nonelderly.yaml | 3 ++ .../states/dc/tax/income/credits/ptc/max.yaml | 3 ++ .../gov/states/dc/tax/income/dc_kccatc.yaml | 29 +++++++++++ .../gov/states/dc/tax/income/dc_ptc.yaml | 48 +++++++++++++++++++ 7 files changed, 96 insertions(+) diff --git a/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/income_limit.yaml b/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/income_limit.yaml index ceb4d352201..048f505ef57 100644 --- a/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/income_limit.yaml +++ b/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/income_limit.yaml @@ -28,6 +28,8 @@ metadata: href: https://otr.cfo.dc.gov/release/district-columbia-tax-changes-take-effect-october1-24 - title: 2025 DC Form D-40 Booklet, Schedule ELC href: https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2025_D40_Book_082026_v1.pdf#page=71 + - title: DC Office of Revenue Analysis, Notice of Increase in the Keep Child Care Affordable Tax Credit and Income Thresholds for Tax Year 2026, D.C. Register Vol. 73/37, Section II + href: https://www.dcregs.dc.gov/Common/NoticeDetail.aspx?NoticeId=N146434 SINGLE: values: @@ -38,6 +40,7 @@ SINGLE: 2023-01-01: 167_400 2024-01-01: 174_300 2025-01-01: 180_100 + 2026-01-01: 184_300 JOINT: values: @@ -49,6 +52,7 @@ JOINT: 2023-01-01: 167_400 2024-01-01: 174_300 2025-01-01: 180_100 + 2026-01-01: 184_300 SEPARATE: values: @@ -60,6 +64,7 @@ SEPARATE: 2023-01-01: 83_700 2024-01-01: 87_100 2025-01-01: 90_000 + 2026-01-01: 92_100 HEAD_OF_HOUSEHOLD: values: @@ -71,6 +76,7 @@ HEAD_OF_HOUSEHOLD: 2023-01-01: 167_400 2024-01-01: 174_300 2025-01-01: 180_100 + 2026-01-01: 184_300 SURVIVING_SPOUSE: values: @@ -82,3 +88,4 @@ SURVIVING_SPOUSE: 2023-01-01: 167_400 2024-01-01: 174_300 2025-01-01: 180_100 + 2026-01-01: 184_300 diff --git a/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/max_amount.yaml b/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/max_amount.yaml index d54050481b8..3ddb6cb373c 100644 --- a/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/max_amount.yaml +++ b/policyengine_us/parameters/gov/states/dc/tax/income/credits/kccatc/max_amount.yaml @@ -25,6 +25,8 @@ metadata: href: https://otr.cfo.dc.gov/release/district-columbia-tax-changes-take-effect-october1-24 - title: 2025 DC Form D-40 Booklet, Schedule ELC href: https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2025_D40_Book_082026_v1.pdf#page=71 + - title: DC Office of Revenue Analysis, Notice of Increase in the Keep Child Care Affordable Tax Credit and Income Thresholds for Tax Year 2026, D.C. Register Vol. 73/37, Section I + href: https://www.dcregs.dc.gov/Common/NoticeDetail.aspx?NoticeId=N146434 values: 2018-01-01: 1_000 2020-01-01: 1_010 @@ -33,3 +35,4 @@ values: 2023-01-01: 1_115 2024-01-01: 1_160 2025-01-01: 1_200 + 2026-01-01: 1_225 diff --git a/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_elderly.yaml b/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_elderly.yaml index 47040f4a455..e618b281ad6 100644 --- a/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_elderly.yaml +++ b/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_elderly.yaml @@ -21,6 +21,8 @@ metadata: href: https://otr.cfo.dc.gov/release/district-columbia-tax-changes-take-effect-october1-24 - title: 2025 DC Form D-40 Booklet, Schedule H href: https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2025_D40_Book_082026_v1.pdf#page=56 + - title: DC Office of Revenue Analysis, Notice of Increases in the Schedule H Maximum Credit and Income Thresholds for Tax Year 2026, D.C. Register Vol. 73/37, Section III + href: https://www.dcregs.dc.gov/Common/NoticeDetail.aspx?NoticeId=N146436 brackets: - threshold: 2021-01-01: -.inf @@ -33,6 +35,7 @@ brackets: 2023-01-01: 83_700 2024-01-01: 87_100 2025-01-01: 90_000 + 2026-01-01: 92_100 metadata: uprating: parameter: gov.irs.uprating diff --git a/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_nonelderly.yaml b/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_nonelderly.yaml index e16bc0e24fa..14facf59289 100644 --- a/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_nonelderly.yaml +++ b/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/fraction_nonelderly.yaml @@ -21,6 +21,8 @@ metadata: href: https://otr.cfo.dc.gov/release/district-columbia-tax-changes-take-effect-october1-24 - title: 2025 DC Form D-40 Booklet, Schedule H href: https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2025_D40_Book_082026_v1.pdf#page=56 + - title: DC Office of Revenue Analysis, Notice of Increases in the Schedule H Maximum Credit and Income Thresholds for Tax Year 2026, D.C. Register Vol. 73/37, Section II + href: https://www.dcregs.dc.gov/Common/NoticeDetail.aspx?NoticeId=N146436 brackets: - threshold: 2021-01-01: -.inf @@ -41,6 +43,7 @@ brackets: 2023-01-01: 61_300 2024-01-01: 63_900 2025-01-01: 66_000 + 2026-01-01: 67_600 metadata: uprating: parameter: gov.irs.uprating diff --git a/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/max.yaml b/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/max.yaml index a7e99cbbafd..ee52501f152 100644 --- a/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/max.yaml +++ b/policyengine_us/parameters/gov/states/dc/tax/income/credits/ptc/max.yaml @@ -23,9 +23,12 @@ metadata: href: https://otr.cfo.dc.gov/release/district-columbia-tax-changes-take-effect-october1-24 - title: 2025 DC Form D-40 Booklet, Schedule H href: https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2025_D40_Book_082026_v1.pdf#page=56 + - title: DC Office of Revenue Analysis, Notice of Increases in the Schedule H Maximum Credit and Income Thresholds for Tax Year 2026, D.C. Register Vol. 73/37, Section I + href: https://www.dcregs.dc.gov/Common/NoticeDetail.aspx?NoticeId=N146436 values: 2021-01-01: 1_225 2022-01-01: 1_250 2023-01-01: 1_325 2024-01-01: 1_375 2025-01-01: 1_425 + 2026-01-01: 1_475 diff --git a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml index 486339bc3bf..2527247a317 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml @@ -183,3 +183,32 @@ state_code: DC output: dc_kccatc: 800 + +# DC Office of Revenue Analysis, Notice N146434 (D.C. Register Vol. 73/37): +# for tax year 2026 the income limit for single and head of household filers +# is $184,300 and the maximum credit is $1,225 per eligible child. +- name: DC KCCATC 2026 head of household just below the $184,300 income limit + absolute_error_margin: 0.01 + period: 2026 + input: + people: + person1: + is_tax_unit_head: true + age: 30 + person2: + is_tax_unit_dependent: true + age: 2 + tax_units: + tax_unit: + members: [person1, person2] + filing_status: HEAD_OF_HOUSEHOLD + dc_taxable_income_joint: 184_250 + tax_unit_childcare_expenses: 2_000 + households: + household: + members: [person1, person2] + state_code: DC + output: + # 184,250 <= 184,300, so the unit qualifies. + # Credit = min(2,000 expenses, 1 child x 1,225) = 1,225 + dc_kccatc: 1_225 diff --git a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml index 0738982c778..d994fe61940 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml @@ -290,3 +290,51 @@ state_code: MN output: dc_ptc: 0 + +# DC Office of Revenue Analysis, Notice N146436 (D.C. Register Vol. 73/37): +# for tax year 2026 the non-senior income threshold is $67,600 and the +# maximum credit is $1,475. +- name: DC property tax credit 2026 non-senior just below the $67,600 income threshold + absolute_error_margin: 0.01 + period: 2026 + input: + people: + person1: + is_tax_unit_head: true + age: 40 + employment_income: 67_550 + real_estate_taxes: 4_000 + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_code: DC + output: + adjusted_gross_income: 67_550 + # AGI 67,550 sits in the 5% band (52,000 to 67,600). + # Credit = 4,000 - 0.05 x 67,550 = 4,000 - 3,377.50 = 622.50 + dc_ptc: 622.50 + +- name: DC property tax credit 2026 reaches the $1,475 maximum + absolute_error_margin: 0.01 + period: 2026 + input: + people: + person1: + is_tax_unit_head: true + age: 40 + employment_income: 10_000 + real_estate_taxes: 5_000 + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_code: DC + output: + adjusted_gross_income: 10_000 + # Credit = min(1,475, 5,000 - 0.03 x 10,000 = 4,700) = 1,475 + dc_ptc: 1_475 From a9452e14c03a015088ecdcf435eeeac4367cd2dc Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:40:24 -0500 Subject: [PATCH 12/29] Store Michigan's published 2025 alternate home heating credit amounts Treasury's 2025 MI-1040CR-7 caps heating costs at 3,765 (line 40), and Table B of its instruction book caps household resources at 18,592, 25,018, 31,449 and 34,227 by exemption count. The parameter files stopped at 2024, so the uprating index projected all five; the 2025 values now replace those projections. New cases pin the 3,765 cap and the 18,592 and 34,227 resource caps. Co-Authored-By: Claude Opus 5.5 --- .../alternate/heating_costs/cap.yaml | 3 +++ .../alternate/household_resources/cap.yaml | 6 +++++ .../mi_alternate_home_heating_credit.yaml | 11 ++++++++++ ...lternate_home_heating_credit_eligible.yaml | 22 +++++++++++++++++++ 4 files changed, 42 insertions(+) diff --git a/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/heating_costs/cap.yaml b/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/heating_costs/cap.yaml index cb0530741cd..6ae915ac34f 100644 --- a/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/heating_costs/cap.yaml +++ b/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/heating_costs/cap.yaml @@ -4,6 +4,7 @@ values: 2022-01-01: 3_340 2023-01-01: 3_500 2024-01-01: 3_606 + 2025-01-01: 3_765 metadata: period: year unit: currency_USD @@ -22,3 +23,5 @@ metadata: href: https://web.archive.org/web/20240812191051/https://www.michigan.gov/taxes/-/media/Project/Websites/taxes/Forms/2023/2023-IIT-Forms/MI-1040CR7.pdf#page=2 - title: 2024 MICHIGAN Home Heating Credit Claim MI-1040CR-7, Line 42 href: https://web.archive.org/web/20250202222033/https://www.michigan.gov/taxes/-/media/Project/Websites/taxes/Forms/IIT/TY2024/MI-1040CR-7.pdf#page=2 + - title: 2025 MICHIGAN Home Heating Credit Claim MI-1040CR-7, Line 40 + href: https://web.archive.org/web/20260202225649/https://www.michigan.gov/taxes/-/media/Project/Websites/taxes/Forms/IIT/TY2025/MI-1040CR-7.pdf?rev=03ad8991b9f64f939bbc6e4ae8a6abce&hash=1960D451FF9379A9EDE6A2E777D561BF#page=3 diff --git a/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/household_resources/cap.yaml b/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/household_resources/cap.yaml index 927fd75db76..f4ae112f5e6 100644 --- a/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/household_resources/cap.yaml +++ b/policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/alternate/household_resources/cap.yaml @@ -16,6 +16,8 @@ metadata: href: https://web.archive.org/web/20240928005701/https://www.michigan.gov/taxes/-/media/Project/Websites/taxes/Forms/2023/2023-IIT-Forms/BOOK_MI-1040CR-7.pdf?rev=048b871ae3294dec8ca7761afb2d8f78&hash=C3FFD92D4D764FFFE75A88FE25F09C97#page=11 - title: Michigan 2024 Book MI-1040CR7 Home Heating Instructions, Table B href: https://web.archive.org/web/20250202150154/https://www.michigan.gov/taxes/-/media/Project/Websites/taxes/Forms/IIT/TY2024/BOOK_MI-1040CR-7.pdf#page=11 + - title: Michigan 2025 Book MI-1040CR-7 Home Heating Credit Claim Instructions, Table B + href: https://web.archive.org/web/20260218211009/https://www.michigan.gov/taxes/-/media/Project/Websites/taxes/Forms/IIT/TY2025/MI-1040CR-7-Book.pdf?rev=e4ba4fedc63942e48442037517312d4a&hash=AF396E577B1932DF55BFD7F22D7EF06A#page=12 brackets: - threshold: @@ -26,6 +28,7 @@ brackets: 2022-01-01: 16_387 2023-01-01: 17_534 2024-01-01: 18_111 + 2025-01-01: 18_592 metadata: uprating: parameter: gov.irs.uprating @@ -37,6 +40,7 @@ brackets: 2022-01-01: 22_051 2023-01-01: 23_595 2024-01-01: 24_371 + 2025-01-01: 25_018 metadata: uprating: parameter: gov.irs.uprating @@ -48,6 +52,7 @@ brackets: 2022-01-01: 27_720 2023-01-01: 29_661 2024-01-01: 30_636 + 2025-01-01: 31_449 metadata: uprating: parameter: gov.irs.uprating @@ -59,6 +64,7 @@ brackets: 2022-01-01: 30_364 2023-01-01: 31_818 2024-01-01: 32_782 + 2025-01-01: 34_227 metadata: uprating: parameter: gov.irs.uprating diff --git a/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.yaml index 7e7059175e3..dd0580c72a4 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit.yaml @@ -24,3 +24,14 @@ mi_alternate_home_heating_credit_eligible: true output: # (300 - 3_000 * 0.11) * 0.7 < 0 mi_alternate_home_heating_credit: 0 + +# 2025 MI-1040CR-7, line 40: heating costs or $3,765, whichever is less. +- name: alternate heating credit 2025, heating costs over the $3,765 cap + period: 2025 + absolute_error_margin: 0.01 + input: + mi_household_resources: 1_000 + heating_expenses: 4_000 + mi_alternate_home_heating_credit_eligible: true + output: # (3,765 - 1,000 * 0.11) * 0.7 = 3,655 * 0.7 = 2,558.50 + mi_alternate_home_heating_credit: 2_558.5 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit_eligible.yaml index 915dd1be09a..22c8e9d3f73 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/alternate/mi_alternate_home_heating_credit_eligible.yaml @@ -50,3 +50,25 @@ output: # MI-1040CR-7 lines 40-43: heat included with rent bars the alternate credit. mi_alternate_home_heating_credit_eligible: false + +# 2025 MI-1040CR-7 instruction book, Table B: household resources must stay +# below $18,592 for 0 or 1 exemption and below $34,227 for 4 or more. +- name: 2025 household resources above the $18,592 cap for one exemption + period: 2025 + input: + utilities_included_in_rent: false + mi_household_resources: 18_600 + mi_exemptions_count: 1 + state_code: MI + output: + mi_alternate_home_heating_credit_eligible: false + +- name: 2025 household resources below the $34,227 cap for four exemptions + period: 2025 + input: + utilities_included_in_rent: false + mi_household_resources: 34_000 + mi_exemptions_count: 4 + state_code: MI + output: + mi_alternate_home_heating_credit_eligible: true From 1432ede7dba0b46fe2abe407f3f1a0bae7db1f41 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:44:56 -0500 Subject: [PATCH 13/29] Store New Mexico's published 2026 rebate and child credit tables TRD's FYI-109 prints the 2026 low-income comprehensive tax rebate table and the child income tax credit amounts. Store them in place of the projected values, and pin one rebate row and one credit row in tests. Co-Authored-By: Claude Opus 5.5 --- .../nm/tax/income/credits/ctc/amount.yaml | 9 ++++++++ .../low_income/amount/five_exemptions.yaml | 22 ++++++++++++++++++ .../low_income/amount/four_exemptions.yaml | 22 ++++++++++++++++++ .../low_income/amount/one_exemption.yaml | 22 ++++++++++++++++++ .../low_income/amount/six_exemptions.yaml | 23 +++++++++++++++++++ .../low_income/amount/three_exemptions.yaml | 22 ++++++++++++++++++ .../low_income/amount/two_exemptions.yaml | 22 ++++++++++++++++++ .../states/nm/tax/income/credits/nm_ctc.yaml | 13 +++++++++++ ...m_low_income_comprehensive_tax_rebate.yaml | 12 ++++++++++ 9 files changed, 167 insertions(+) diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/credits/ctc/amount.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/credits/ctc/amount.yaml index d59f3b1a6d9..404a7be2ba2 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/credits/ctc/amount.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/credits/ctc/amount.yaml @@ -21,6 +21,8 @@ metadata: href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/1afc56af-ea90-4d48-82e5-1f9aeb43255a/PITbook2022.pdf - title: 2021 New Mexico personal income tax form packet - absent href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/608063af-0c4c-4f28-ba42-cf40e04557ca/PITbook2021.pdf + - title: New Mexico Taxation and Revenue Department, FYI-109, 2026 Inflation Adjustments, page 3, Tax Year 2026 Child Income Tax Credit Income Table + href: https://realfile.tax.newmexico.gov/FYI-109.pdf#page=3 brackets: - threshold: # If the AGI is less than 0, the filer may claim the full credit @@ -30,6 +32,7 @@ brackets: 2023-01-01: 600 2024-01-01: 622 2025-01-01: 637 + 2026-01-01: 656 metadata: uprating: gov.irs.uprating - threshold: @@ -39,6 +42,7 @@ brackets: 2023-01-01: 400 2024-01-01: 414 2025-01-01: 424 + 2026-01-01: 437 metadata: uprating: gov.irs.uprating - threshold: @@ -48,6 +52,7 @@ brackets: 2023-01-01: 200 2024-01-01: 207 2025-01-01: 212 + 2026-01-01: 218 metadata: uprating: gov.irs.uprating - threshold: @@ -57,6 +62,7 @@ brackets: 2023-01-01: 100 2024-01-01: 103 2025-01-01: 106 + 2026-01-01: 109 metadata: uprating: gov.irs.uprating - threshold: @@ -66,6 +72,7 @@ brackets: 2023-01-01: 75 2024-01-01: 77 2025-01-01: 79 + 2026-01-01: 82 metadata: uprating: gov.irs.uprating - threshold: @@ -75,6 +82,7 @@ brackets: 2023-01-01: 50 2024-01-01: 51 2025-01-01: 53 + 2026-01-01: 54 metadata: uprating: gov.irs.uprating - threshold: @@ -83,5 +91,6 @@ brackets: values: 2023-01-01: 25 2025-01-01: 26 + 2026-01-01: 27 metadata: uprating: gov.irs.uprating diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/five_exemptions.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/five_exemptions.yaml index 8d806b7e213..db6db172d90 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/five_exemptions.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/five_exemptions.yaml @@ -8,6 +8,7 @@ brackets: 2023-01-01: 492 2024-01-01: 510 2025-01-01: 522 + 2026-01-01: 538 metadata: uprating: parameter: gov.irs.uprating @@ -22,6 +23,7 @@ brackets: 2023-01-01: 617 2024-01-01: 639 2025-01-01: 655 + 2026-01-01: 674 metadata: uprating: parameter: gov.irs.uprating @@ -36,6 +38,7 @@ brackets: 2023-01-01: 622 2024-01-01: 645 2025-01-01: 660 + 2026-01-01: 680 metadata: uprating: parameter: gov.irs.uprating @@ -50,6 +53,7 @@ brackets: 2023-01-01: 622 2024-01-01: 645 2025-01-01: 660 + 2026-01-01: 680 metadata: uprating: parameter: gov.irs.uprating @@ -64,6 +68,7 @@ brackets: 2023-01-01: 552 2024-01-01: 572 2025-01-01: 586 + 2026-01-01: 603 metadata: uprating: parameter: gov.irs.uprating @@ -78,6 +83,7 @@ brackets: 2023-01-01: 481 2024-01-01: 499 2025-01-01: 511 + 2026-01-01: 526 metadata: uprating: parameter: gov.irs.uprating @@ -92,6 +98,7 @@ brackets: 2023-01-01: 395 2024-01-01: 409 2025-01-01: 419 + 2026-01-01: 432 metadata: uprating: parameter: gov.irs.uprating @@ -106,6 +113,7 @@ brackets: 2023-01-01: 341 2024-01-01: 353 2025-01-01: 362 + 2026-01-01: 372 metadata: uprating: parameter: gov.irs.uprating @@ -120,6 +128,7 @@ brackets: 2023-01-01: 305 2024-01-01: 319 2025-01-01: 327 + 2026-01-01: 337 metadata: uprating: parameter: gov.irs.uprating @@ -134,6 +143,7 @@ brackets: 2023-01-01: 271 2024-01-01: 280 2025-01-01: 287 + 2026-01-01: 296 metadata: uprating: parameter: gov.irs.uprating @@ -148,6 +158,7 @@ brackets: 2023-01-01: 238 2024-01-01: 246 2025-01-01: 252 + 2026-01-01: 260 metadata: uprating: parameter: gov.irs.uprating @@ -162,6 +173,7 @@ brackets: 2023-01-01: 200 2024-01-01: 207 2025-01-01: 212 + 2026-01-01: 219 metadata: uprating: parameter: gov.irs.uprating @@ -176,6 +188,7 @@ brackets: 2023-01-01: 184 2024-01-01: 190 2025-01-01: 195 + 2026-01-01: 201 metadata: uprating: parameter: gov.irs.uprating @@ -190,6 +203,7 @@ brackets: 2023-01-01: 168 2024-01-01: 173 2025-01-01: 178 + 2026-01-01: 183 metadata: uprating: parameter: gov.irs.uprating @@ -204,6 +218,7 @@ brackets: 2023-01-01: 151 2024-01-01: 157 2025-01-01: 160 + 2026-01-01: 165 metadata: uprating: parameter: gov.irs.uprating @@ -218,6 +233,7 @@ brackets: 2023-01-01: 141 2024-01-01: 145 2025-01-01: 149 + 2026-01-01: 153 metadata: uprating: parameter: gov.irs.uprating @@ -232,6 +248,7 @@ brackets: 2023-01-01: 124 2024-01-01: 129 2025-01-01: 132 + 2026-01-01: 136 metadata: uprating: parameter: gov.irs.uprating @@ -246,6 +263,7 @@ brackets: 2023-01-01: 108 2024-01-01: 112 2025-01-01: 114 + 2026-01-01: 118 metadata: uprating: parameter: gov.irs.uprating @@ -260,6 +278,7 @@ brackets: 2023-01-01: 87 2024-01-01: 89 2025-01-01: 91 + 2026-01-01: 94 metadata: uprating: parameter: gov.irs.uprating @@ -274,6 +293,7 @@ brackets: 2023-01-01: 70 2024-01-01: 72 2025-01-01: 74 + 2026-01-01: 76 metadata: uprating: parameter: gov.irs.uprating @@ -305,3 +325,5 @@ metadata: href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/90560f4e-0ef0-4e52-a003-878b84f858bb/PITbook2024.pdf#page=82 - title: 2025 Personal Income Tax Form Packet - Table 1. 2025 Low-Income Comprehensive Tax Rebate Table href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/0558a902-6362-47ca-8e3b-7cca3bc69b9d/2025%20PIT%20Packet_Final.pdf#page=83 + - title: New Mexico Taxation and Revenue Department, FYI-109, 2026 Inflation Adjustments, page 2, 2026 Low-Income Comprehensive Tax Rebate Table + href: https://realfile.tax.newmexico.gov/FYI-109.pdf#page=2 diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/four_exemptions.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/four_exemptions.yaml index 4b49a9a629d..da25ae8ad92 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/four_exemptions.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/four_exemptions.yaml @@ -8,6 +8,7 @@ brackets: 2023-01-01: 422 2024-01-01: 437 2025-01-01: 448 + 2026-01-01: 461 metadata: uprating: parameter: gov.irs.uprating @@ -22,6 +23,7 @@ brackets: 2023-01-01: 546 2024-01-01: 566 2025-01-01: 580 + 2026-01-01: 597 metadata: uprating: parameter: gov.irs.uprating @@ -36,6 +38,7 @@ brackets: 2023-01-01: 536 2024-01-01: 555 2025-01-01: 568 + 2026-01-01: 586 metadata: uprating: parameter: gov.irs.uprating @@ -50,6 +53,7 @@ brackets: 2023-01-01: 519 2024-01-01: 538 2025-01-01: 551 + 2026-01-01: 568 metadata: uprating: parameter: gov.irs.uprating @@ -64,6 +68,7 @@ brackets: 2023-01-01: 460 2024-01-01: 476 2025-01-01: 488 + 2026-01-01: 503 metadata: uprating: parameter: gov.irs.uprating @@ -78,6 +83,7 @@ brackets: 2023-01-01: 390 2024-01-01: 403 2025-01-01: 413 + 2026-01-01: 426 metadata: uprating: parameter: gov.irs.uprating @@ -92,6 +98,7 @@ brackets: 2023-01-01: 319 2024-01-01: 331 2025-01-01: 339 + 2026-01-01: 349 metadata: uprating: parameter: gov.irs.uprating @@ -106,6 +113,7 @@ brackets: 2023-01-01: 298 2024-01-01: 308 2025-01-01: 316 + 2026-01-01: 325 metadata: uprating: parameter: gov.irs.uprating @@ -120,6 +128,7 @@ brackets: 2023-01-01: 254 2024-01-01: 263 2025-01-01: 270 + 2026-01-01: 278 metadata: uprating: parameter: gov.irs.uprating @@ -134,6 +143,7 @@ brackets: 2023-01-01: 227 2024-01-01: 235 2025-01-01: 241 + 2026-01-01: 248 metadata: uprating: parameter: gov.irs.uprating @@ -148,6 +158,7 @@ brackets: 2023-01-01: 195 2024-01-01: 201 2025-01-01: 206 + 2026-01-01: 213 metadata: uprating: parameter: gov.irs.uprating @@ -162,6 +173,7 @@ brackets: 2023-01-01: 179 2024-01-01: 185 2025-01-01: 189 + 2026-01-01: 195 metadata: uprating: parameter: gov.irs.uprating @@ -176,6 +188,7 @@ brackets: 2023-01-01: 157 2024-01-01: 162 2025-01-01: 166 + 2026-01-01: 171 metadata: uprating: parameter: gov.irs.uprating @@ -190,6 +203,7 @@ brackets: 2023-01-01: 151 2024-01-01: 157 2025-01-01: 160 + 2026-01-01: 165 metadata: uprating: parameter: gov.irs.uprating @@ -204,6 +218,7 @@ brackets: 2023-01-01: 141 2024-01-01: 145 2025-01-01: 149 + 2026-01-01: 153 metadata: uprating: parameter: gov.irs.uprating @@ -218,6 +233,7 @@ brackets: 2023-01-01: 124 2024-01-01: 129 2025-01-01: 132 + 2026-01-01: 136 metadata: uprating: parameter: gov.irs.uprating @@ -232,6 +248,7 @@ brackets: 2023-01-01: 108 2024-01-01: 112 2025-01-01: 114 + 2026-01-01: 118 metadata: uprating: parameter: gov.irs.uprating @@ -246,6 +263,7 @@ brackets: 2023-01-01: 87 2024-01-01: 89 2025-01-01: 91 + 2026-01-01: 94 metadata: uprating: parameter: gov.irs.uprating @@ -260,6 +278,7 @@ brackets: 2023-01-01: 70 2024-01-01: 72 2025-01-01: 74 + 2026-01-01: 76 metadata: uprating: parameter: gov.irs.uprating @@ -274,6 +293,7 @@ brackets: 2023-01-01: 60 2024-01-01: 61 2025-01-01: 63 + 2026-01-01: 65 metadata: uprating: parameter: gov.irs.uprating @@ -304,3 +324,5 @@ metadata: href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/90560f4e-0ef0-4e52-a003-878b84f858bb/PITbook2024.pdf#page=82 - title: 2025 Personal Income Tax Form Packet - Table 1. 2025 Low-Income Comprehensive Tax Rebate Table href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/0558a902-6362-47ca-8e3b-7cca3bc69b9d/2025%20PIT%20Packet_Final.pdf#page=83 + - title: New Mexico Taxation and Revenue Department, FYI-109, 2026 Inflation Adjustments, page 2, 2026 Low-Income Comprehensive Tax Rebate Table + href: https://realfile.tax.newmexico.gov/FYI-109.pdf#page=2 diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/one_exemption.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/one_exemption.yaml index a0fb4290454..1e2d1b481a9 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/one_exemption.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/one_exemption.yaml @@ -8,6 +8,7 @@ brackets: 2023-01-01: 211 2024-01-01: 218 2025-01-01: 224 + 2026-01-01: 230 metadata: uprating: parameter: gov.irs.uprating @@ -22,6 +23,7 @@ brackets: 2023-01-01: 238 2024-01-01: 246 2025-01-01: 252 + 2026-01-01: 260 metadata: uprating: parameter: gov.irs.uprating @@ -36,6 +38,7 @@ brackets: 2023-01-01: 222 2024-01-01: 230 2025-01-01: 235 + 2026-01-01: 242 metadata: uprating: parameter: gov.irs.uprating @@ -50,6 +53,7 @@ brackets: 2023-01-01: 200 2024-01-01: 207 2025-01-01: 212 + 2026-01-01: 219 metadata: uprating: parameter: gov.irs.uprating @@ -64,6 +68,7 @@ brackets: 2023-01-01: 184 2024-01-01: 190 2025-01-01: 195 + 2026-01-01: 201 metadata: uprating: parameter: gov.irs.uprating @@ -78,6 +83,7 @@ brackets: 2023-01-01: 157 2024-01-01: 162 2025-01-01: 166 + 2026-01-01: 171 metadata: uprating: parameter: gov.irs.uprating @@ -92,6 +98,7 @@ brackets: 2023-01-01: 141 2024-01-01: 145 2025-01-01: 149 + 2026-01-01: 153 metadata: uprating: parameter: gov.irs.uprating @@ -106,6 +113,7 @@ brackets: 2023-01-01: 124 2024-01-01: 129 2025-01-01: 132 + 2026-01-01: 136 metadata: uprating: parameter: gov.irs.uprating @@ -120,6 +128,7 @@ brackets: 2023-01-01: 114 2024-01-01: 117 2025-01-01: 120 + 2026-01-01: 124 metadata: uprating: parameter: gov.irs.uprating @@ -134,6 +143,7 @@ brackets: 2023-01-01: 108 2024-01-01: 112 2025-01-01: 114 + 2026-01-01: 118 metadata: uprating: parameter: gov.irs.uprating @@ -148,6 +158,7 @@ brackets: 2023-01-01: 97 2024-01-01: 100 2025-01-01: 103 + 2026-01-01: 106 metadata: uprating: parameter: gov.irs.uprating @@ -162,6 +173,7 @@ brackets: 2023-01-01: 87 2024-01-01: 89 2025-01-01: 91 + 2026-01-01: 94 metadata: uprating: parameter: gov.irs.uprating @@ -176,6 +188,7 @@ brackets: 2023-01-01: 81 2024-01-01: 84 2025-01-01: 86 + 2026-01-01: 88 metadata: uprating: parameter: gov.irs.uprating @@ -190,6 +203,7 @@ brackets: 2023-01-01: 70 2024-01-01: 72 2025-01-01: 74 + 2026-01-01: 76 metadata: uprating: parameter: gov.irs.uprating @@ -204,6 +218,7 @@ brackets: 2023-01-01: 60 2024-01-01: 61 2025-01-01: 63 + 2026-01-01: 65 metadata: uprating: parameter: gov.irs.uprating @@ -218,6 +233,7 @@ brackets: 2023-01-01: 54 2024-01-01: 56 2025-01-01: 57 + 2026-01-01: 59 metadata: uprating: parameter: gov.irs.uprating @@ -232,6 +248,7 @@ brackets: 2023-01-01: 43 2024-01-01: 44 2025-01-01: 45 + 2026-01-01: 47 metadata: uprating: parameter: gov.irs.uprating @@ -246,6 +263,7 @@ brackets: 2023-01-01: 38 2024-01-01: 39 2025-01-01: 40 + 2026-01-01: 41 metadata: uprating: parameter: gov.irs.uprating @@ -260,6 +278,7 @@ brackets: 2023-01-01: 27 2024-01-01: 28 2025-01-01: 28 + 2026-01-01: 29 metadata: uprating: parameter: gov.irs.uprating @@ -273,6 +292,7 @@ brackets: 2021-01-01: 15 2023-01-01: 16 2025-01-01: 17 + 2026-01-01: 17 metadata: uprating: parameter: gov.irs.uprating @@ -303,3 +323,5 @@ metadata: href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/90560f4e-0ef0-4e52-a003-878b84f858bb/PITbook2024.pdf#page=82 - title: 2025 Personal Income Tax Form Packet - Table 1. 2025 Low-Income Comprehensive Tax Rebate Table href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/0558a902-6362-47ca-8e3b-7cca3bc69b9d/2025%20PIT%20Packet_Final.pdf#page=83 + - title: New Mexico Taxation and Revenue Department, FYI-109, 2026 Inflation Adjustments, page 2, 2026 Low-Income Comprehensive Tax Rebate Table + href: https://realfile.tax.newmexico.gov/FYI-109.pdf#page=2 diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/six_exemptions.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/six_exemptions.yaml index 96fc5ab239d..2d8b9fe7ccf 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/six_exemptions.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/six_exemptions.yaml @@ -8,6 +8,7 @@ brackets: 2023-01-01: 563 2024-01-01: 583 2025-01-01: 597 + 2026-01-01: 615 metadata: uprating: parameter: gov.irs.uprating @@ -22,6 +23,7 @@ brackets: 2023-01-01: 730 2024-01-01: 757 2025-01-01: 775 + 2026-01-01: 799 metadata: uprating: parameter: gov.irs.uprating @@ -36,6 +38,7 @@ brackets: 2023-01-01: 763 2024-01-01: 791 2025-01-01: 810 + 2026-01-01: 834 metadata: uprating: parameter: gov.irs.uprating @@ -50,6 +53,7 @@ brackets: 2023-01-01: 790 2024-01-01: 819 2025-01-01: 839 + 2026-01-01: 864 metadata: uprating: parameter: gov.irs.uprating @@ -64,6 +68,7 @@ brackets: 2023-01-01: 757 2024-01-01: 785 2025-01-01: 804 + 2026-01-01: 828 metadata: uprating: parameter: gov.irs.uprating @@ -78,6 +83,7 @@ brackets: 2023-01-01: 720 2024-01-01: 746 2025-01-01: 764 + 2026-01-01: 787 metadata: uprating: parameter: gov.irs.uprating @@ -92,6 +98,7 @@ brackets: 2023-01-01: 649 2024-01-01: 673 2025-01-01: 689 + 2026-01-01: 710 metadata: uprating: parameter: gov.irs.uprating @@ -106,6 +113,7 @@ brackets: 2023-01-01: 519 2024-01-01: 538 2025-01-01: 551 + 2026-01-01: 568 metadata: uprating: parameter: gov.irs.uprating @@ -120,6 +128,7 @@ brackets: 2023-01-01: 422 2024-01-01: 437 2025-01-01: 448 + 2026-01-01: 461 metadata: uprating: parameter: gov.irs.uprating @@ -134,6 +143,7 @@ brackets: 2023-01-01: 362 2024-01-01: 375 2025-01-01: 385 + 2026-01-01: 396 metadata: uprating: parameter: gov.irs.uprating @@ -148,6 +158,7 @@ brackets: 2023-01-01: 325 2024-01-01: 336 2025-01-01: 344 + 2026-01-01: 355 metadata: uprating: parameter: gov.irs.uprating @@ -162,6 +173,7 @@ brackets: 2023-01-01: 281 2024-01-01: 291 2025-01-01: 298 + 2026-01-01: 307 metadata: uprating: parameter: gov.irs.uprating @@ -176,6 +188,7 @@ brackets: 2023-01-01: 249 2024-01-01: 258 2025-01-01: 264 + 2026-01-01: 272 metadata: uprating: parameter: gov.irs.uprating @@ -190,6 +203,7 @@ brackets: 2023-01-01: 211 2024-01-01: 218 2025-01-01: 224 + 2026-01-01: 230 metadata: uprating: parameter: gov.irs.uprating @@ -204,6 +218,7 @@ brackets: 2023-01-01: 195 2024-01-01: 201 2025-01-01: 206 + 2026-01-01: 213 metadata: uprating: parameter: gov.irs.uprating @@ -218,6 +233,7 @@ brackets: 2023-01-01: 184 2024-01-01: 190 2025-01-01: 195 + 2026-01-01: 201 metadata: uprating: parameter: gov.irs.uprating @@ -232,6 +248,7 @@ brackets: 2023-01-01: 168 2024-01-01: 173 2025-01-01: 178 + 2026-01-01: 183 metadata: uprating: parameter: gov.irs.uprating @@ -246,6 +263,7 @@ brackets: 2023-01-01: 141 2024-01-01: 145 2025-01-01: 149 + 2026-01-01: 153 metadata: uprating: parameter: gov.irs.uprating @@ -260,6 +278,7 @@ brackets: 2023-01-01: 114 2024-01-01: 117 2025-01-01: 120 + 2026-01-01: 124 metadata: uprating: parameter: gov.irs.uprating @@ -274,6 +293,7 @@ brackets: 2023-01-01: 97 2024-01-01: 100 2025-01-01: 103 + 2026-01-01: 106 metadata: uprating: parameter: gov.irs.uprating @@ -288,6 +308,7 @@ brackets: 2023-01-01: 81 2024-01-01: 84 2025-01-01: 86 + 2026-01-01: 88 metadata: uprating: parameter: gov.irs.uprating @@ -318,3 +339,5 @@ metadata: href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/90560f4e-0ef0-4e52-a003-878b84f858bb/PITbook2024.pdf#page=82 - title: 2025 Personal Income Tax Form Packet - Table 1. 2025 Low-Income Comprehensive Tax Rebate Table href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/0558a902-6362-47ca-8e3b-7cca3bc69b9d/2025%20PIT%20Packet_Final.pdf#page=83 + - title: New Mexico Taxation and Revenue Department, FYI-109, 2026 Inflation Adjustments, page 2, 2026 Low-Income Comprehensive Tax Rebate Table + href: https://realfile.tax.newmexico.gov/FYI-109.pdf#page=2 diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/three_exemptions.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/three_exemptions.yaml index 259a0a1dc68..6adc3fa196a 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/three_exemptions.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/three_exemptions.yaml @@ -8,6 +8,7 @@ brackets: 2023-01-01: 352 2024-01-01: 364 2025-01-01: 373 + 2026-01-01: 384 metadata: uprating: parameter: gov.irs.uprating @@ -22,6 +23,7 @@ brackets: 2023-01-01: 438 2024-01-01: 454 2025-01-01: 465 + 2026-01-01: 479 metadata: uprating: parameter: gov.irs.uprating @@ -36,6 +38,7 @@ brackets: 2023-01-01: 422 2024-01-01: 437 2025-01-01: 448 + 2026-01-01: 461 metadata: uprating: parameter: gov.irs.uprating @@ -50,6 +53,7 @@ brackets: 2023-01-01: 406 2024-01-01: 420 2025-01-01: 431 + 2026-01-01: 444 metadata: uprating: parameter: gov.irs.uprating @@ -64,6 +68,7 @@ brackets: 2023-01-01: 368 2024-01-01: 381 2025-01-01: 390 + 2026-01-01: 402 metadata: uprating: parameter: gov.irs.uprating @@ -78,6 +83,7 @@ brackets: 2023-01-01: 298 2024-01-01: 308 2025-01-01: 316 + 2026-01-01: 325 metadata: uprating: parameter: gov.irs.uprating @@ -92,6 +98,7 @@ brackets: 2023-01-01: 254 2024-01-01: 263 2025-01-01: 270 + 2026-01-01: 278 metadata: uprating: parameter: gov.irs.uprating @@ -106,6 +113,7 @@ brackets: 2023-01-01: 238 2024-01-01: 246 2025-01-01: 252 + 2026-01-01: 260 metadata: uprating: parameter: gov.irs.uprating @@ -120,6 +128,7 @@ brackets: 2023-01-01: 200 2024-01-01: 207 2025-01-01: 212 + 2026-01-01: 219 metadata: uprating: parameter: gov.irs.uprating @@ -134,6 +143,7 @@ brackets: 2023-01-01: 179 2024-01-01: 185 2025-01-01: 189 + 2026-01-01: 195 metadata: uprating: parameter: gov.irs.uprating @@ -148,6 +158,7 @@ brackets: 2023-01-01: 157 2024-01-01: 162 2025-01-01: 166 + 2026-01-01: 171 metadata: uprating: parameter: gov.irs.uprating @@ -162,6 +173,7 @@ brackets: 2023-01-01: 151 2024-01-01: 157 2025-01-01: 160 + 2026-01-01: 165 metadata: uprating: parameter: gov.irs.uprating @@ -176,6 +188,7 @@ brackets: 2023-01-01: 130 2024-01-01: 134 2025-01-01: 137 + 2026-01-01: 142 metadata: uprating: parameter: gov.irs.uprating @@ -190,6 +203,7 @@ brackets: 2023-01-01: 124 2024-01-01: 129 2025-01-01: 132 + 2026-01-01: 136 metadata: uprating: parameter: gov.irs.uprating @@ -204,6 +218,7 @@ brackets: 2023-01-01: 114 2024-01-01: 117 2025-01-01: 120 + 2026-01-01: 124 metadata: uprating: parameter: gov.irs.uprating @@ -218,6 +233,7 @@ brackets: 2023-01-01: 108 2024-01-01: 112 2025-01-01: 114 + 2026-01-01: 118 metadata: uprating: parameter: gov.irs.uprating @@ -232,6 +248,7 @@ brackets: 2023-01-01: 87 2024-01-01: 89 2025-01-01: 91 + 2026-01-01: 94 metadata: uprating: parameter: gov.irs.uprating @@ -246,6 +263,7 @@ brackets: 2023-01-01: 70 2024-01-01: 72 2025-01-01: 74 + 2026-01-01: 76 metadata: uprating: parameter: gov.irs.uprating @@ -260,6 +278,7 @@ brackets: 2023-01-01: 54 2024-01-01: 56 2025-01-01: 57 + 2026-01-01: 59 metadata: uprating: parameter: gov.irs.uprating @@ -274,6 +293,7 @@ brackets: 2023-01-01: 43 2024-01-01: 44 2025-01-01: 45 + 2026-01-01: 47 metadata: uprating: parameter: gov.irs.uprating @@ -304,3 +324,5 @@ metadata: href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/90560f4e-0ef0-4e52-a003-878b84f858bb/PITbook2024.pdf#page=82 - title: 2025 Personal Income Tax Form Packet - Table 1. 2025 Low-Income Comprehensive Tax Rebate Table href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/0558a902-6362-47ca-8e3b-7cca3bc69b9d/2025%20PIT%20Packet_Final.pdf#page=83 + - title: New Mexico Taxation and Revenue Department, FYI-109, 2026 Inflation Adjustments, page 2, 2026 Low-Income Comprehensive Tax Rebate Table + href: https://realfile.tax.newmexico.gov/FYI-109.pdf#page=2 diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/two_exemptions.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/two_exemptions.yaml index 9af162fad52..d2cfa76d3d5 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/two_exemptions.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/two_exemptions.yaml @@ -8,6 +8,7 @@ brackets: 2023-01-01: 281 2024-01-01: 291 2025-01-01: 298 + 2026-01-01: 307 metadata: uprating: parameter: gov.irs.uprating @@ -22,6 +23,7 @@ brackets: 2023-01-01: 341 2024-01-01: 353 2025-01-01: 362 + 2026-01-01: 372 metadata: uprating: parameter: gov.irs.uprating @@ -36,6 +38,7 @@ brackets: 2023-01-01: 335 2024-01-01: 347 2025-01-01: 356 + 2026-01-01: 367 metadata: uprating: parameter: gov.irs.uprating @@ -50,6 +53,7 @@ brackets: 2023-01-01: 308 2024-01-01: 319 2025-01-01: 327 + 2026-01-01: 337 metadata: uprating: parameter: gov.irs.uprating @@ -64,6 +68,7 @@ brackets: 2023-01-01: 271 2024-01-01: 280 2025-01-01: 287 + 2026-01-01: 296 metadata: uprating: parameter: gov.irs.uprating @@ -78,6 +83,7 @@ brackets: 2023-01-01: 227 2024-01-01: 235 2025-01-01: 241 + 2026-01-01: 248 metadata: uprating: parameter: gov.irs.uprating @@ -92,6 +98,7 @@ brackets: 2023-01-01: 200 2024-01-01: 207 2025-01-01: 212 + 2026-01-01: 219 metadata: uprating: parameter: gov.irs.uprating @@ -106,6 +113,7 @@ brackets: 2023-01-01: 184 2024-01-01: 190 2025-01-01: 195 + 2026-01-01: 201 metadata: uprating: parameter: gov.irs.uprating @@ -120,6 +128,7 @@ brackets: 2023-01-01: 168 2024-01-01: 173 2025-01-01: 178 + 2026-01-01: 183 metadata: uprating: parameter: gov.irs.uprating @@ -134,6 +143,7 @@ brackets: 2023-01-01: 141 2024-01-01: 145 2025-01-01: 149 + 2026-01-01: 153 metadata: uprating: parameter: gov.irs.uprating @@ -148,6 +158,7 @@ brackets: 2023-01-01: 124 2024-01-01: 129 2025-01-01: 132 + 2026-01-01: 136 metadata: uprating: parameter: gov.irs.uprating @@ -162,6 +173,7 @@ brackets: 2023-01-01: 114 2024-01-01: 117 2025-01-01: 120 + 2026-01-01: 124 metadata: uprating: parameter: gov.irs.uprating @@ -176,6 +188,7 @@ brackets: 2023-01-01: 108 2024-01-01: 112 2025-01-01: 114 + 2026-01-01: 118 metadata: uprating: parameter: gov.irs.uprating @@ -190,6 +203,7 @@ brackets: 2023-01-01: 97 2024-01-01: 100 2025-01-01: 103 + 2026-01-01: 106 metadata: uprating: parameter: gov.irs.uprating @@ -204,6 +218,7 @@ brackets: 2023-01-01: 87 2024-01-01: 89 2025-01-01: 91 + 2026-01-01: 94 metadata: uprating: parameter: gov.irs.uprating @@ -218,6 +233,7 @@ brackets: 2023-01-01: 81 2024-01-01: 84 2025-01-01: 86 + 2026-01-01: 88 metadata: uprating: parameter: gov.irs.uprating @@ -232,6 +248,7 @@ brackets: 2023-01-01: 60 2024-01-01: 61 2025-01-01: 63 + 2026-01-01: 65 metadata: uprating: parameter: gov.irs.uprating @@ -246,6 +263,7 @@ brackets: 2023-01-01: 54 2024-01-01: 56 2025-01-01: 57 + 2026-01-01: 59 metadata: uprating: parameter: gov.irs.uprating @@ -260,6 +278,7 @@ brackets: 2023-01-01: 43 2024-01-01: 44 2025-01-01: 45 + 2026-01-01: 47 metadata: uprating: parameter: gov.irs.uprating @@ -274,6 +293,7 @@ brackets: 2023-01-01: 38 2024-01-01: 39 2025-01-01: 40 + 2026-01-01: 41 metadata: uprating: parameter: gov.irs.uprating @@ -304,3 +324,5 @@ metadata: href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/90560f4e-0ef0-4e52-a003-878b84f858bb/PITbook2024.pdf#page=82 - title: 2025 Personal Income Tax Form Packet - Table 1. 2025 Low-Income Comprehensive Tax Rebate Table href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/0558a902-6362-47ca-8e3b-7cca3bc69b9d/2025%20PIT%20Packet_Final.pdf#page=83 + - title: New Mexico Taxation and Revenue Department, FYI-109, 2026 Inflation Adjustments, page 2, 2026 Low-Income Comprehensive Tax Rebate Table + href: https://realfile.tax.newmexico.gov/FYI-109.pdf#page=2 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/credits/nm_ctc.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/credits/nm_ctc.yaml index 0b02490d17b..6abe808560c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/credits/nm_ctc.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/credits/nm_ctc.yaml @@ -212,3 +212,16 @@ output: # NMSA 7-2-18.34(G): each may claim "only one-half"; 637 / 2. nm_ctc: 318.5 + +# TRD FYI-109, 2026 Inflation Adjustments, page 3: AGI of $0 to $25,000 +# gives $656 per qualifying child. +- name: New Mexico 2026 child income tax credit, two children, AGI of $20,000 + period: 2026 + input: + state_code: NM + filing_status: HEAD_OF_HOUSEHOLD + adjusted_gross_income: 20_000 + nm_ctc_qualifying_children: 2 + output: + # 2 x 656 = 1,312 + nm_ctc: 1_312 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/low_income_comprehensive/nm_low_income_comprehensive_tax_rebate.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/low_income_comprehensive/nm_low_income_comprehensive_tax_rebate.yaml index 5a9341de984..19c433ad5a4 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/low_income_comprehensive/nm_low_income_comprehensive_tax_rebate.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/low_income_comprehensive/nm_low_income_comprehensive_tax_rebate.yaml @@ -387,3 +387,15 @@ # military retired pay, modified gross income would be 30,000 and the # rebate 149. nm_low_income_comprehensive_tax_rebate: 0 + +# TRD FYI-109, 2026 Inflation Adjustments, page 2: one exemption and +# modified gross income over $9,000 but not over $10,000 give a $201 rebate. +- name: New Mexico 2026 low-income rebate, one exemption, MGI of $9,500 + period: 2026 + input: + state_code: NM + filing_status: SINGLE + nm_modified_gross_income: 9_500 + nm_low_income_comprehensive_tax_rebate_exemptions: 1 + output: + nm_low_income_comprehensive_tax_rebate: 201 From 7d5024b125909c9b734a088c7c4379182e03fcd3 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:46:53 -0500 Subject: [PATCH 14/29] Store Virginia's 2026 itemized deduction limitation thresholds Virginia Tax's draft 2026 Schedule A prints the Line 17 thresholds: $408,900 joint or surviving spouse, $374,800 head of household, $340,750 single and $204,450 separate. Store them and pin the single threshold. Co-Authored-By: Claude Opus 5.5 --- .../deductions/itemized/applicable_amount.yaml | 7 +++++++ .../va_reduced_itemized_deductions.yaml | 15 +++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/policyengine_us/parameters/gov/states/va/tax/income/deductions/itemized/applicable_amount.yaml b/policyengine_us/parameters/gov/states/va/tax/income/deductions/itemized/applicable_amount.yaml index c9584702c59..77423c4b6ef 100644 --- a/policyengine_us/parameters/gov/states/va/tax/income/deductions/itemized/applicable_amount.yaml +++ b/policyengine_us/parameters/gov/states/va/tax/income/deductions/itemized/applicable_amount.yaml @@ -13,6 +13,7 @@ JOINT: 2023-01-01: 368_900 2024-01-01: 388_400 2025-01-01: 399_200 + 2026-01-01: 408_900 SINGLE: values: 2013-01-01: 250_000 @@ -27,6 +28,7 @@ SINGLE: 2023-01-01: 307_400 2024-01-01: 323_650 2025-01-01: 332_700 + 2026-01-01: 340_750 SEPARATE: values: 2013-01-01: 150_000 @@ -41,6 +43,7 @@ SEPARATE: 2023-01-01: 184_450 2024-01-01: 194_200 2025-01-01: 199_600 + 2026-01-01: 204_450 HEAD_OF_HOUSEHOLD: values: 2013-01-01: 275_000 @@ -55,6 +58,7 @@ HEAD_OF_HOUSEHOLD: 2023-01-01: 338_150 2024-01-01: 356_000 2025-01-01: 365_950 + 2026-01-01: 374_800 SURVIVING_SPOUSE: values: 2013-01-01: 300_000 @@ -69,6 +73,7 @@ SURVIVING_SPOUSE: 2023-01-01: 368_900 2024-01-01: 388_400 2025-01-01: 399_200 + 2026-01-01: 408_900 metadata: label: Virginia itemized deduction applicable amount period: year @@ -112,3 +117,5 @@ metadata: href: https://www.irs.gov/pub/irs-prior/i1040sca--2016.pdf#page=12 - title: 2017 Instructions for Schedule A (Form 1040) href: https://www.irs.gov/pub/irs-prior/i1040sca--2017.pdf#page=1 + - title: Virginia Department of Taxation, 2026 Virginia Schedule A, draft early release, Line 17 + href: https://www.tax.virginia.gov/sites/default/files/taxforms/early-release/2026-individual/draft-2026-sch-a-early-release.pdf#page=2 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml index 2b573082eef..2435d34875f 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml @@ -74,3 +74,18 @@ misc_deduction: 1_000 # 21,000 - min(80% x 21,000, 3% x (350,000 - 261,500)). va_reduced_itemized_deductions: 18_345 + +- name: The 2026 single limitation starts above $340,750 + # 2026 Virginia Schedule A (draft early release), Line 17. + period: 2026 + absolute_error_margin: 0.01 + input: + filing_status: SINGLE + adjusted_gross_income: 400_000 + charitable_deduction: 20_000 + claim_of_right_deduction: 0 + state_and_local_sales_or_income_tax: 0 + state_code: VA + output: + # Line 9: min(80% x 20,000, 3% x (400,000 - 340,750)) = 1,777.50. + va_reduced_itemized_deductions: 18_222.5 From 29997c86abc4a73ea74aacf6df475476e5413be1 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:50:39 -0500 Subject: [PATCH 15/29] Store Oregon's published 2026 exemption credit and standard deductions The Department of Revenue's 2026 withholding formulas print a $263 exemption credit and standard deductions of $2,910 for single and separate filers and $5,820 for joint filers and surviving spouses. Store them and pin each in tests. No 2026 publication prints the head of household amount, so that leaf keeps its projection. Co-Authored-By: Claude Opus 5.5 --- .../tax/income/credits/exemption/amount.yaml | 3 +++ .../income/deductions/standard/amount.yaml | 6 ++++++ .../exemption/or_exemption_credit.yaml | 11 ++++++++++ .../standard/or_standard_deduction.yaml | 20 +++++++++++++++++++ 4 files changed, 40 insertions(+) diff --git a/policyengine_us/parameters/gov/states/or/tax/income/credits/exemption/amount.yaml b/policyengine_us/parameters/gov/states/or/tax/income/credits/exemption/amount.yaml index d188d4d32b0..577a89b0119 100644 --- a/policyengine_us/parameters/gov/states/or/tax/income/credits/exemption/amount.yaml +++ b/policyengine_us/parameters/gov/states/or/tax/income/credits/exemption/amount.yaml @@ -6,6 +6,7 @@ values: 2023-01-01: 236 2024-01-01: 249 2025-01-01: 256 + 2026-01-01: 263 metadata: uprating: gov.irs.uprating unit: currency-USD @@ -24,3 +25,5 @@ metadata: href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2024.pdf#page=18 - title: 2025 Oregon Income Tax Form OR-40 Instructions href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2025.pdf#page=18 + - title: Oregon Department of Revenue, Withholding Tax Formulas effective January 1, 2026, page 6 + href: https://www.oregon.gov/dor/forms/FormsPubs/withholding-tax-formulas_206-436_2026.pdf#page=6 diff --git a/policyengine_us/parameters/gov/states/or/tax/income/deductions/standard/amount.yaml b/policyengine_us/parameters/gov/states/or/tax/income/deductions/standard/amount.yaml index 63e8d78df25..e6526cb1e33 100644 --- a/policyengine_us/parameters/gov/states/or/tax/income/deductions/standard/amount.yaml +++ b/policyengine_us/parameters/gov/states/or/tax/income/deductions/standard/amount.yaml @@ -26,6 +26,8 @@ metadata: href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2024.pdf#page=15 - title: 2025 Oregon Income Tax Form OR-40 Instructions href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2025.pdf#page=16 + - title: Oregon Department of Revenue, Withholding Tax Formulas effective January 1, 2026, page 6 + href: https://www.oregon.gov/dor/forms/FormsPubs/withholding-tax-formulas_206-436_2026.pdf#page=6 JOINT: 2003-01-01: 3_280 # Rose with inflation, not all dates documented. @@ -37,6 +39,7 @@ JOINT: 2023-01-01: 5_210 2024-01-01: 5_495 2025-01-01: 5_670 + 2026-01-01: 5_820 HEAD_OF_HOUSEHOLD: 2003-01-01: 2_640 # Rose with inflation, not all dates documented. @@ -59,6 +62,7 @@ SURVIVING_SPOUSE: 2023-01-01: 5_210 2024-01-01: 5_495 2025-01-01: 5_670 + 2026-01-01: 5_820 SINGLE: 2003-01-01: 1_640 # Rose with inflation, not all dates documented. @@ -70,6 +74,7 @@ SINGLE: 2023-01-01: 2_605 2024-01-01: 2_745 2025-01-01: 2_835 + 2026-01-01: 2_910 SEPARATE: 2003-01-01: 1_640 # Rose with inflation, not all dates documented. @@ -81,3 +86,4 @@ SEPARATE: 2023-01-01: 2_605 2024-01-01: 2_745 2025-01-01: 2_835 + 2026-01-01: 2_910 diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/exemption/or_exemption_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/exemption/or_exemption_credit.yaml index ea3d02fe7b8..77476202212 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/exemption/or_exemption_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/exemption/or_exemption_credit.yaml @@ -18,3 +18,14 @@ or_disabled_child_dependent_exemptions: 1 output: or_exemption_credit: 256 * 3 + +# Oregon Withholding Tax Formulas, 2026, page 6: $263 per allowance. +- name: 2026 - 3 exemptions at $263 each + period: 2026 + input: + state_code: OR + or_regular_exemptions: 1 + or_severely_disabled_exemptions: 1 + or_disabled_child_dependent_exemptions: 1 + output: + or_exemption_credit: 263 * 3 diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/deductions/standard/or_standard_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/deductions/standard/or_standard_deduction.yaml index 8c539d076fa..d6bdcb53d92 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/deductions/standard/or_standard_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/deductions/standard/or_standard_deduction.yaml @@ -257,3 +257,23 @@ state_code: OR output: or_standard_deduction: 1_450 + +# Oregon Withholding Tax Formulas, 2026, page 6: $2,910 [S] and $5,820 [M]. +- name: 2026 single filer who is not blind and not at the age threshold + period: 2026 + input: + state_code: OR + filing_status: SINGLE + age_head: 35 + output: + or_standard_deduction: 2_910 + +- name: 2026 joint filers who are not blind and not at the age threshold + period: 2026 + input: + state_code: OR + filing_status: JOINT + age_head: 35 + age_spouse: 35 + output: + or_standard_deduction: 5_820 From 3e852fe6bb9483b993e1ae2d9e6117c478df2c25 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:55:00 -0500 Subject: [PATCH 16/29] Store Utah's 2026 taxpayer credit exemption and phase-out thresholds The Tax Commission's draft 2026 TC-40 instructions print a $2,167 personal exemption and phase-out thresholds of $18,696 single and separate, $28,045 head of household and $37,392 joint and surviving spouse. Publication 14 uses the same $18,696. Store them, pin them in tests and recompute the HB 210 reform cases that the new thresholds move. Co-Authored-By: Claude Opus 5.5 --- .../credits/taxpayer/personal_exemption.yaml | 3 ++ .../credits/taxpayer/phase_out/threshold.yaml | 9 ++++ .../income/credits/ut_personal_exemption.yaml | 10 +++++ .../credits/ut_taxpayer_credit_reduction.yaml | 21 +++++++++ .../states/ut/ut_hb210_reform_test.yaml | 44 ++++++++++--------- 5 files changed, 67 insertions(+), 20 deletions(-) diff --git a/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml b/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml index 9a68779ed98..9b95eb9b278 100644 --- a/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml +++ b/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml @@ -5,6 +5,7 @@ values: 2023-01-01: 1_941 2024-01-01: 2_046 2025-01-01: 2_111 + 2026-01-01: 2_167 metadata: unit: currency-USD uprating: gov.irs.uprating @@ -29,3 +30,5 @@ metadata: href: https://incometax.utah.gov/credits/taxpayer-tax-credit - title: 2025 Utah TC-40 Instructions, Taxpayer Tax Credit href: https://files.tax.utah.gov/tax/forms/2025/tc-40inst.pdf#page=10 + - title: 2026 Utah TC-40 Instructions, draft dated 10/20/26, line 9 + href: https://files.tax.utah.gov/tax/forms/drafts/tc-40inst.pdf#page=10 diff --git a/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml b/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml index 0294aa40fb5..9bc60622a20 100644 --- a/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml +++ b/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml @@ -5,30 +5,35 @@ SINGLE: 2023-01-01: 16_742 2024-01-01: 17_652 2025-01-01: 18_213 + 2026-01-01: 18_696 JOINT: 2021-01-01: 30_190 2022-01-01: 31_096 2023-01-01: 33_484 2024-01-01: 35_304 2025-01-01: 36_426 + 2026-01-01: 37_392 HEAD_OF_HOUSEHOLD: 2021-01-01: 22_643 2022-01-01: 23_322 2023-01-01: 25_114 2024-01-01: 26_478 2025-01-01: 27_320 + 2026-01-01: 28_045 SEPARATE: 2021-01-01: 15_095 2022-01-01: 15_548 2023-01-01: 16_742 2024-01-01: 17_652 2025-01-01: 18_213 + 2026-01-01: 18_696 SURVIVING_SPOUSE: 2021-01-01: 30_190 2022-01-01: 31_096 2023-01-01: 33_484 2024-01-01: 35_304 2025-01-01: 36_426 + 2026-01-01: 37_392 metadata: label: Utah taxpayer credit phase-out threshold breakdown: @@ -58,3 +63,7 @@ metadata: href: https://incometax.utah.gov/credits/taxpayer-tax-credit - title: 2025 Utah TC-40 Instructions, Taxpayer Tax Credit href: https://files.tax.utah.gov/tax/forms/2025/tc-40inst.pdf#page=10 + - title: 2026 Utah TC-40 Instructions, draft dated 10/20/26, line 15 base phase-out amounts + href: https://files.tax.utah.gov/tax/forms/drafts/tc-40inst.pdf#page=11 + - title: Utah Publication 14, Withholding Tax Guide, Rev. 4/26, annual withholding schedule, line 4 + href: https://files.tax.utah.gov/tax/forms/pubs/pub-14.pdf#page=10 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_personal_exemption.yaml b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_personal_exemption.yaml index c9f16e5b851..b1334717b96 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_personal_exemption.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_personal_exemption.yaml @@ -173,3 +173,13 @@ # (1 dependent + 1 additional dependent) x $2,111 = $4,222. ut_personal_exemption_additional_dependents: 1 ut_personal_exemption: 4222 + +- name: 2026 - 3 total dependents, no additional dependents + # 2026 Utah TC-40 Instructions (draft dated 10/20/26), line 9: $2,167. + period: 2026 + input: + ut_total_dependents: 3 + ut_personal_exemption_additional_dependents: 0 + state_code: UT + output: + ut_personal_exemption: 6_501 # 2,167 * 3 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_taxpayer_credit_reduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_taxpayer_credit_reduction.yaml index 64d6e15b957..560dccc2fa4 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_taxpayer_credit_reduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ut_taxpayer_credit_reduction.yaml @@ -27,3 +27,24 @@ state_code: UT output: ut_taxpayer_credit_reduction: 0 # max((10000 - 15095),0) * 0.013 + +- name: 2026 credit is reduced above the $18,696 single threshold + # 2026 Utah TC-40 Instructions (draft dated 10/20/26), line 15. + period: 2026 + absolute_error_margin: 0.001 + input: + filing_status: SINGLE + ut_taxable_income: 20_000 + state_code: UT + output: + ut_taxpayer_credit_reduction: 16.952 # (20,000 - 18,696) * 0.013 + +- name: 2026 credit is reduced above the $28,045 head of household threshold + period: 2026 + absolute_error_margin: 0.001 + input: + filing_status: HEAD_OF_HOUSEHOLD + ut_taxable_income: 30_000 + state_code: UT + output: + ut_taxpayer_credit_reduction: 25.415 # (30,000 - 28,045) * 0.013 diff --git a/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml b/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml index fbd28c5e3e1..d4c47eec863 100644 --- a/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml +++ b/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml @@ -50,10 +50,11 @@ members: [person1] state_code: UT output: - # Base credit ~818 (partial after phaseout) + # Base credit 6% x 16,100 = 966, less 1.3% x (30,000 - 18,696) + # = 146.95, gives ~819 # Plus $543 add-on for married filing separately - # Total ~1,361 - ut_taxpayer_credit: 1_361 + # Total ~1,362 + ut_taxpayer_credit: 1_362 - name: HB 210 - Single filers receive base credit with no add-on absolute_error_margin: 1 @@ -74,10 +75,11 @@ members: [person1] state_code: UT output: - # Base credit ~818 (partial after phaseout) + # Base credit 6% x 16,100 = 966, less 1.3% x (30,000 - 18,696) + # = 146.95, gives ~819 # Single filers get no add-on ($0) - # Total ~818 - ut_taxpayer_credit: 818 + # Total ~819 + ut_taxpayer_credit: 819 - name: HB 210 - Head of household receives base credit with no add-on absolute_error_margin: 1 @@ -101,10 +103,11 @@ members: [person1, person2] state_code: UT output: - # Base credit ~1,422 (partial after phaseout + dependent exemption) + # Base credit 6% x (24,150 + 2,167) = 1,579.02, less + # 1.3% x (40,000 - 28,045) = 155.42, gives ~1,424 # Head of household filers get no add-on ($0) - # Total ~1,422 - ut_taxpayer_credit: 1_422 + # Total ~1,424 + ut_taxpayer_credit: 1_424 - name: HB 210 - Surviving spouse receives no add-on (not a married claimant) absolute_error_margin: 1 @@ -128,11 +131,12 @@ members: [person1, person2] state_code: UT output: - # Base credit ~1,896 (partial after phaseout + dependent exemption) + # Base credit 6% x (32,200 + 2,167) = 2,062.02, less + # 1.3% x (50,000 - 37,392) = 163.90, gives ~1,898 # Surviving spouse is NOT a married claimant per bill intent # No add-on ($0) - # Total ~1,896 - ut_taxpayer_credit: 1_896 + # Total ~1,898 + ut_taxpayer_credit: 1_898 - name: HB 210 - Joint vs Single comparison shows add-on benefit absolute_error_margin: 1 @@ -157,7 +161,7 @@ state_code: UT output: # Base credit = 6% * standard deduction (~32,200) = ~1,932 - # Income $15,000 is below $36,426 threshold, so no phaseout + # Income $15,000 is below $37,392 threshold, so no phaseout # Plus $1,086 add-on for joint filers # Total ~3,018 ut_taxpayer_credit: 3_018 @@ -184,13 +188,13 @@ members: [person1, person2] state_code: UT output: - # High income ($250k) is well above $36,426 threshold - # Income excess = $250,000 - $36,426 = $213,574 - # Phaseout = $213,574 * 0.013 = $2,776.46 + # High income ($250k) is well above $37,392 threshold + # Income excess = $250,000 - $37,392 = $212,608 + # Phaseout = $212,608 * 0.013 = $2,763.90 # Base max = ~$1,932 + add-on $1,086 = ~$3,018 - # Final = max($3,018 - $2,776, 0) = ~$242 + # Final = max($3,018 - $2,763.90, 0) = ~$254 # Both base and add-on are reduced by phaseout - ut_taxpayer_credit: 252 + ut_taxpayer_credit: 254 - name: HB 210 - Phaseout fully eliminates credit at very high income absolute_error_margin: 1 @@ -215,8 +219,8 @@ state_code: UT output: # Very high income ($500k) fully phases out credit - # Income excess = $500,000 - $36,426 = $463,574 - # Phaseout = $463,574 * 0.013 = $6,026 + # Income excess = $500,000 - $37,392 = $462,608 + # Phaseout = $462,608 * 0.013 = $6,014 # Total max = ~$3,018 # Final = max($3,018 - $6,026, 0) = $0 ut_taxpayer_credit: 0 From 6e8bc0e0c124b3805cc7c6ca25f9af2c6baa50f9 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:56:14 -0500 Subject: [PATCH 17/29] Store Arkansas's published 2025 weighted average tuition caps The 2025 Form AR1075 prints the 50% weighted average tuition caps: $5,191 for four-year colleges and $2,646 for two-year colleges. Store them in place of the 2025 projections and pin both in tests. Co-Authored-By: Claude Opus 5.5 --- .../four_year_college.yaml | 3 ++ .../two_year_college.yaml | 3 ++ ...ry_education_tuition_deduction_person.yaml | 36 +++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml index 29cf5b06586..b9e399c4e62 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/four_year_college.yaml @@ -10,6 +10,7 @@ values: 2022-01-01: 4_712 2023-01-01: 4_819 2024-01-01: 5_012 + 2025-01-01: 5_191 metadata: @@ -41,3 +42,5 @@ metadata: href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2023.pdf#page=1 - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1075.pdf#page=1 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 (R 6/27/2025), line 4 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1075.pdf#page=1 diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml index fce03978dff..5970897e410 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/two_year_college.yaml @@ -10,6 +10,7 @@ values: 2022-01-01: 2_272 2023-01-01: 2_405 2024-01-01: 2_523 + 2025-01-01: 2_646 metadata: period: year @@ -40,3 +41,5 @@ metadata: href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2023.pdf#page=1 - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1075.pdf#page=1 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 (R 6/27/2025), line 4 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1075.pdf#page=1 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml b/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml index 4ec43b031b6..17a671de397 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml @@ -172,3 +172,39 @@ output: # min(50% * 10_000, 800); 2020 Form AR1075 "50% of Weighted Average Tuition" table ar_post_secondary_education_tuition_deduction_person: 800 + +- name: Post-secondary education tuition deduction is capped at the 2025 weighted average tuition for a four-year college + period: 2025 + input: + people: + person1: + qualified_tuition_expenses: 12_000 + four_year_college_student: true + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_code: AR + output: + # min(50% * 12_000, 5_191); 2025 Form AR1075 "50% of Weighted Average Tuition" table + ar_post_secondary_education_tuition_deduction_person: 5_191 + +- name: Post-secondary education tuition deduction is capped at the 2025 weighted average tuition for a two-year college + period: 2025 + input: + people: + person1: + qualified_tuition_expenses: 10_000 + four_year_college_student: false + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_code: AR + output: + # min(50% * 10_000, 2_646); 2025 Form AR1075 "50% of Weighted Average Tuition" table + ar_post_secondary_education_tuition_deduction_person: 2_646 From 2cd0c47e66216c1486befe825e92846f8163d194 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 17:58:03 -0500 Subject: [PATCH 18/29] Store Arizona's published 2026 and 2027 QCO and QFCO credit limits The Department of Revenue prints the 2026 limits ($506 and $1,009 joint for QCOs, $632 and $1,262 joint for QFCOs) and the 2027 limits ($513 and $1,022, $640 and $1,278). Store them and pin the sums in tests. Co-Authored-By: Claude Opus 5.5 --- .../ceiling/qualifying_foster.yaml | 10 ++++++ .../ceiling/qualifying_organization.yaml | 10 ++++++ .../az_charitable_contributions_credit.yaml | 36 +++++++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_foster.yaml b/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_foster.yaml index 0bc3879ef48..b10569a19d1 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_foster.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_foster.yaml @@ -28,27 +28,37 @@ JOINT: 2023-01-01: 1_051 2024-01-01: 1_173 2025-01-01: 1_234 + 2026-01-01: 1_262 + 2027-01-01: 1_278 HEAD_OF_HOUSEHOLD: 2021-01-01: 500 2022-01-01: 500 2023-01-01: 526 2024-01-01: 587 2025-01-01: 618 + 2026-01-01: 632 + 2027-01-01: 640 SURVIVING_SPOUSE: 2021-01-01: 500 2022-01-01: 500 2023-01-01: 526 2024-01-01: 587 2025-01-01: 618 + 2026-01-01: 632 + 2027-01-01: 640 SINGLE: 2021-01-01: 500 2022-01-01: 500 2023-01-01: 526 2024-01-01: 587 2025-01-01: 618 + 2026-01-01: 632 + 2027-01-01: 640 SEPARATE: 2021-01-01: 500 2022-01-01: 500 2023-01-01: 526 2024-01-01: 587 2025-01-01: 618 + 2026-01-01: 632 + 2027-01-01: 640 diff --git a/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_organization.yaml b/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_organization.yaml index 74c1d0cb3b0..a0217744685 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_organization.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/credits/charitable_contribution/ceiling/qualifying_organization.yaml @@ -29,27 +29,37 @@ JOINT: 2023-01-01: 841 2024-01-01: 938 2025-01-01: 987 + 2026-01-01: 1_009 + 2027-01-01: 1_022 HEAD_OF_HOUSEHOLD: 2021-01-01: 400 2022-01-01: 400 2023-01-01: 421 2024-01-01: 470 2025-01-01: 495 + 2026-01-01: 506 + 2027-01-01: 513 SURVIVING_SPOUSE: 2021-01-01: 400 2022-01-01: 400 2023-01-01: 421 2024-01-01: 470 2025-01-01: 495 + 2026-01-01: 506 + 2027-01-01: 513 SINGLE: 2021-01-01: 400 2022-01-01: 400 2023-01-01: 421 2024-01-01: 470 2025-01-01: 495 + 2026-01-01: 506 + 2027-01-01: 513 SEPARATE: 2021-01-01: 400 2022-01-01: 400 2023-01-01: 421 2024-01-01: 470 2025-01-01: 495 + 2026-01-01: 506 + 2027-01-01: 513 diff --git a/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/charitable_contribution/az_charitable_contributions_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/charitable_contribution/az_charitable_contributions_credit.yaml index 77146623164..1154404fd2f 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/charitable_contribution/az_charitable_contributions_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/az/tax/income/credits/charitable_contribution/az_charitable_contributions_credit.yaml @@ -84,3 +84,39 @@ az_income_tax_before_non_refundable_credits: 1000000 output: az_charitable_contributions_credit: 821 +# ADOR, Credits for Contributions to QCOs and QFCOs: 2026 limits of $506 and +# $632 for single filers, $1,009 and $1,262 for joint filers; 2027 joint +# limits of $1,022 and $1,278. +- name: az_charitable_contributions_credit, 2026 single filer above both caps + period: 2026 + input: + state_code: AZ + filing_status: SINGLE + az_charitable_contributions_to_qualifying_charitable_organizations: 1_000 + az_charitable_contributions_to_qualifying_foster_care_organizations: 1_000 + az_income_tax_before_non_refundable_credits: 1_000_000 + output: + # 506 + 632 + az_charitable_contributions_credit: 1_138 +- name: az_charitable_contributions_credit, 2026 joint filers above both caps + period: 2026 + input: + state_code: AZ + filing_status: JOINT + az_charitable_contributions_to_qualifying_charitable_organizations: 2_000 + az_charitable_contributions_to_qualifying_foster_care_organizations: 2_000 + az_income_tax_before_non_refundable_credits: 1_000_000 + output: + # 1,009 + 1,262 + az_charitable_contributions_credit: 2_271 +- name: az_charitable_contributions_credit, 2027 joint filers above both caps + period: 2027 + input: + state_code: AZ + filing_status: JOINT + az_charitable_contributions_to_qualifying_charitable_organizations: 2_000 + az_charitable_contributions_to_qualifying_foster_care_organizations: 2_000 + az_income_tax_before_non_refundable_credits: 1_000_000 + output: + # 1,022 + 1,278 + az_charitable_contributions_credit: 2_300 From 6e8c9ee8495bd220481f5c9671b335e597f315da Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:12:17 -0500 Subject: [PATCH 19/29] Check New Mexico's rebate rounding in 2027, the first projected year The parameter files now store the 2026 rebate table from New Mexico's FYI-109, so the test's 2026 expectations of $229 and $534 no longer describe a projection. The test now checks whole-dollar rounding in 2027, the published $230 and $538 in 2026, and the 2027 amounts the model projects from them. Co-Authored-By: Claude Fable 5.2 --- .../tests/core/test_state_uprating_rounding.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/policyengine_us/tests/core/test_state_uprating_rounding.py b/policyengine_us/tests/core/test_state_uprating_rounding.py index 1919e292f5f..cdb7dad60c8 100644 --- a/policyengine_us/tests/core/test_state_uprating_rounding.py +++ b/policyengine_us/tests/core/test_state_uprating_rounding.py @@ -139,6 +139,7 @@ def test_ar_income_tax_bounds_round_to_nearest_100_after_last_published_year(): def test_nm_low_income_rebate_amounts_round_to_whole_dollars(): amount = SYSTEM.parameters.gov.states.nm.tax.income.rebates.low_income.amount + index = SYSTEM.parameters.gov.irs.uprating exemption_names = ( "one_exemption", "two_exemptions", @@ -149,17 +150,28 @@ def test_nm_low_income_rebate_amounts_round_to_whole_dollars(): ) projected_amounts = [] + # New Mexico published its 2026 table in FYI-109, so 2027 is the first + # year the model projects. for exemption_name in exemption_names: scale = getattr(amount, exemption_name) for bracket in scale.brackets: uprating = bracket.amount.metadata.get("uprating") if isinstance(uprating, dict) and "rounding" in uprating: - projected_amounts.append(bracket.amount("2026-01-01")) + projected_amounts.append(bracket.amount("2027-01-01")) assert len(projected_amounts) == 121 assert all(value == round(value) for value in projected_amounts) - assert amount.one_exemption.brackets[0].amount("2026-01-01") == 229 - assert amount.five_exemptions.brackets[0].amount("2026-01-01") == 534 + # FYI-109, 2026 table, modified gross income of $0 to $1,000: $230 for + # one exemption and $538 for five. + assert amount.one_exemption.brackets[0].amount("2026-01-01") == 230 + assert amount.five_exemptions.brackets[0].amount("2026-01-01") == 538 + # Expected 2027 values follow the loaded index from the published 2026 + # amounts, so a CPI refresh moves them without breaking the test. + factor = index("2027-01-01") / index("2026-01-01") + assert amount.one_exemption.brackets[0].amount("2027-01-01") == round(230 * factor) + assert amount.five_exemptions.brackets[0].amount("2027-01-01") == round( + 538 * factor + ) def test_or_dependent_standard_deduction_uses_published_then_rounded_values(): From 76190716209fe5d869c0cb21ae9ad2ce025ac7e1 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:12:17 -0500 Subject: [PATCH 20/29] Store Massachusetts's published 2026 surtax threshold The Department of Revenue's tax rates page lists $1,107,750 as the 2026 income threshold for the 4% surtax. Main projects $1,107,700 and this branch projected $1,108,300. Store the published amount and pin it in a test: $1,200,000 of Part B income owes $63,690. Co-Authored-By: Claude Fable 5.2 --- .../gov/states/ma/tax/income/rates/additional.yaml | 3 +++ .../ma/tax/income/ma_income_tax_before_credits.yaml | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml index 64f588a3e36..5942af32ec3 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml @@ -15,6 +15,8 @@ metadata: href: https://www.mass.gov/doc/2025-form-1-instructions/download#page=3 - title: Chapter 62, Section 4 (d) href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/section4 + - title: Massachusetts Department of Revenue, Massachusetts Tax Rates, personal income tax, tax year 2026 (capture of 2026-08-08) + href: https://web.archive.org/web/20260808045514/https://www.mass.gov/info-details/massachusetts-tax-rates brackets: - threshold: 0000-01-01: 0 @@ -25,6 +27,7 @@ brackets: 2023-01-01: 1_000_000 2024-01-01: 1_053_750 2025-01-01: 1_083_150 + 2026-01-01: 1_107_750 metadata: uprating: parameter: gov.irs.uprating diff --git a/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/ma_income_tax_before_credits.yaml b/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/ma_income_tax_before_credits.yaml index ad10ed90901..84fb8dd1a83 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/ma_income_tax_before_credits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/ma_income_tax_before_credits.yaml @@ -46,3 +46,16 @@ # Surtax: (1,200,000 - 1,083,150) * 0.04 = 4,674 # Total: 60,000 + 4,674 = 64,674 ma_income_tax_before_credits: 64_674 + +- name: 2026 surtax threshold at $1,107,750. + period: 2026 + absolute_error_margin: 0.1 + input: + ma_part_b_taxable_income: 1_200_000 + is_ma_income_tax_exempt: false + state_code: MA + output: + # Part B tax: 1,200,000 * 0.05 = 60,000 + # Surtax: (1,200,000 - 1,107,750) * 0.04 = 3,690 + # Total: 60,000 + 3,690 = 63,690 + ma_income_tax_before_credits: 63_690 From 46d8da78db4b8bcc92d37abf7b1fd9c6f8b725df Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:12:18 -0500 Subject: [PATCH 21/29] Store Missouri's published 2025 maximum social security benefit The 2025 Form MO-A prints $47,633 on Part 3, Section A, line 2. The file held $48,216 and cited the Social Security Administration's benefit examples. RSMo 143.124.5 sets the amount at $32,500 for 2007 and raises it each year by the CPI-U, so the form's amount applies. Store it, cite the form and pin it in a test with a $60,000 public pension. Co-Authored-By: Claude Fable 5.2 --- .../mo_max_social_security_benefit.yaml | 6 +++--- ...ension_and_ss_or_ssd_deduction_section_a.yaml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/policyengine_us/parameters/gov/states/mo/tax/income/deductions/social_security_and_public_pension/mo_max_social_security_benefit.yaml b/policyengine_us/parameters/gov/states/mo/tax/income/deductions/social_security_and_public_pension/mo_max_social_security_benefit.yaml index b86b2c0d3fd..89e5ca44e4d 100644 --- a/policyengine_us/parameters/gov/states/mo/tax/income/deductions/social_security_and_public_pension/mo_max_social_security_benefit.yaml +++ b/policyengine_us/parameters/gov/states/mo/tax/income/deductions/social_security_and_public_pension/mo_max_social_security_benefit.yaml @@ -5,7 +5,7 @@ values: 2022-01-01: 41_373 2023-01-01: 44_683 2024-01-01: 46_381 - 2025-01-01: 48_216 + 2025-01-01: 47_633 metadata: uprating: gov.irs.uprating unit: currency-USD @@ -14,8 +14,8 @@ metadata: reference: - title: 2025 MO-1040 Book - Individual Income Tax Long Form href: https://dor.mo.gov/forms/MO-1040%20Instructions_2025.pdf#page=29 - - title: SSA Maximum Benefit Examples 2025 - href: https://www.ssa.gov/oact/cola/examplemax.html + - title: 2025 Form MO-A - Individual Income Tax Adjustments, Part 3 - Section A, line 2 + href: https://dor.mo.gov/forms/MO-A_2025.pdf#page=3 - title: 2024 Form MO-A - Individual Income Tax Adjustments, Part 3 - Section A href: https://dor.mo.gov/forms/MO-A_2024.pdf#page=3 - title: Form MO-A 2023 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_pension_and_ss_or_ssd_deduction/mo_pension_and_ss_or_ssd_deduction_section_a.yaml b/policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_pension_and_ss_or_ssd_deduction/mo_pension_and_ss_or_ssd_deduction_section_a.yaml index eb2b1ca4499..bf5d59a8510 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_pension_and_ss_or_ssd_deduction/mo_pension_and_ss_or_ssd_deduction_section_a.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_pension_and_ss_or_ssd_deduction/mo_pension_and_ss_or_ssd_deduction_section_a.yaml @@ -258,6 +258,22 @@ output: mo_pension_and_ss_or_ssd_deduction_section_a: 0 +- name: 2025 public pension above the $47,633 maximum social security benefit + period: 2025 + absolute_error_margin: 0 + input: + mo_adjusted_gross_income: 60_000 + taxable_social_security: 0 + taxable_public_pension_income: 60_000 + filing_status: SINGLE + mo_pension_and_ss_or_ssd_deduction_section_c: 0 + state_code: MO + output: + # 2025 Form MO-A, Part 3, Section A: + # Line 2: min(60,000, 47,633) = 47,633. + # Line 4: 47,633 - 0 (Line 3) = 47,633. + mo_pension_and_ss_or_ssd_deduction_section_a: 47_633 + # Form MO-A Part 3 Section A, Line 1 takes the taxable public pension of the # filer and spouse from their federal return (Form 1040, Line 5b). A tax-unit # dependent's pension is not in the filer's federal AGI (RSMo 143.124.13); the From 2dcfd891b2fd46889f7b0c083186b9fbdd0c731f Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:12:18 -0500 Subject: [PATCH 22/29] Store Arkansas's published 2025 tuition cap for technical institutes The 2025 Form AR1075 prints $1,635 as the 50% weighted average tuition cap for technical institutes. The file stopped at $1,515 for 2024. Store the 2025 amount and pin it in a test. Co-Authored-By: Claude Fable 5.2 --- .../technical_institutes.yaml | 3 +++ ...ary_education_tuition_deduction_person.yaml | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml index 477a92415b2..dc37b2603b5 100644 --- a/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml +++ b/policyengine_us/parameters/gov/states/ar/tax/income/deductions/itemized/tuition/weighted_average_tuition/technical_institutes.yaml @@ -8,6 +8,7 @@ values: 2020-01-01: 800 2021-01-01: 780 2024-01-01: 1_515 + 2025-01-01: 1_635 metadata: period: year @@ -34,6 +35,8 @@ metadata: href: https://www.dfa.arkansas.gov/wp-content/uploads/AR1075_2023.pdf#page=1 - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 Rev.2024 href: https://www.dfa.arkansas.gov/wp-content/uploads/2024_AR1075.pdf#page=1 + - title: Arkansas Individual Income Tax Return Deduction for Tuition Paid to Post-Secondary Educational Institutions AR1075 (R 6/27/2025), line 4 + href: https://www.dfa.arkansas.gov/wp-content/uploads/2025_AR1075.pdf#page=1 # The legal code gives three classifications of post-secondary institutions but doesn't give the exact values of weighted average tuition for each one of them - title: Code of Arkansas Public Access A.C.A. Subchapter 4. § 26-51-447. href: https://advance.lexis.com/documentpage/?pdmfid=1000516&crid=0954ab2a-1066-40fc-aa88-6afd57a184fa&nodeid=ABAAAFAACAAFABU&nodepath=%2FROOT%2FABA%2FABAAAF%2FABAAAFAAC%2FABAAAFAACAAF%2FABAAAFAACAAFABU&level=5&haschildren=&populated=false&title=26-51-447.+Deductions+%E2%80%94+Tuition+to+postsecondary+educational+institutions+%E2%80%94+Definition.&config=00JAA2ZjZiM2VhNS0wNTVlLTQ3NzUtYjQzYy0yYWZmODJiODRmMDYKAFBvZENhdGFsb2fXiYCnsel0plIgqpYkw9PK&pddocfullpath=%2Fshared%2Fdocument%2Fstatutes-legislation%2Furn%3AcontentItem%3A4WVP-0VS0-R03J-S4PK-00008-00&ecomp=7gf5kkk&prid=408f4fea-f101-4bf2-8722-f2b4fb0ba181 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml b/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml index 17a671de397..0a33c13e07a 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/deductions/itemized/post_secondary_education/ar_post_secondary_education_tuition_deduction_person.yaml @@ -208,3 +208,21 @@ output: # min(50% * 10_000, 2_646); 2025 Form AR1075 "50% of Weighted Average Tuition" table ar_post_secondary_education_tuition_deduction_person: 2_646 + +- name: Post-secondary education tuition deduction is capped at the 2025 weighted average tuition for a technical institute + period: 2025 + input: + people: + person1: + qualified_tuition_expenses: 10_000 + technical_institution_student: true + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_code: AR + output: + # min(50% * 10_000, 1_635); 2025 Form AR1075 "50% of Weighted Average Tuition" table + ar_post_secondary_education_tuition_deduction_person: 1_635 From d9a6b4008500c2c25e8e8d646f759696197e5e92 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:12:38 -0500 Subject: [PATCH 23/29] Note the stored state amounts in the changelog Co-Authored-By: Claude Fable 5.2 --- changelog.d/irs-index-tax-year-cpi.fixed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/irs-index-tax-year-cpi.fixed.md b/changelog.d/irs-index-tax-year-cpi.fixed.md index bb1c2e97ab3..8e64c7e1181 100644 --- a/changelog.d/irs-index-tax-year-cpi.fixed.md +++ b/changelog.d/irs-index-tax-year-cpi.fixed.md @@ -1 +1 @@ -Correct IRS September–August inflation windows, keep published amounts, and extend the last observed window at CBO's projected tax-year growth rates. Index Vermont and Wisconsin amounts on their own unchained CPI-U schedules, add Vermont's preliminary 2026 brackets, and preserve CBO calendar forecast anchors. Update observed chained CPI-U through August 2026. +Correct IRS September–August inflation windows, keep published amounts, and extend the last observed window at CBO's projected tax-year growth rates. Index Vermont and Wisconsin amounts on their own unchained CPI-U schedules, add Vermont's preliminary 2026 brackets, and preserve CBO calendar forecast anchors. Update observed chained CPI-U through August 2026. Store the amounts that Arizona, Arkansas, DC, Massachusetts, Michigan, Minnesota, Missouri, New Mexico, Oregon, Utah and Virginia have published for parameters that follow the index. From 2a163a489ef9f3b9eca09386dca3b96e506ccc81 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 19:22:59 -0500 Subject: [PATCH 24/29] Cite Massachusetts's live tax rates page for the 2026 surtax threshold The Department of Revenue's page at mass.gov/info-details/tax-rates prints $1,107,750 for tax year 2026. Cite it beside the dated capture. Co-Authored-By: Claude Fable 5.2 --- .../parameters/gov/states/ma/tax/income/rates/additional.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml index 5942af32ec3..fb3d7fa8c3c 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml @@ -15,6 +15,8 @@ metadata: href: https://www.mass.gov/doc/2025-form-1-instructions/download#page=3 - title: Chapter 62, Section 4 (d) href: https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62/section4 + - title: Massachusetts Department of Revenue, Tax Rates, personal income tax, tax year 2026 + href: https://www.mass.gov/info-details/tax-rates - title: Massachusetts Department of Revenue, Massachusetts Tax Rates, personal income tax, tax year 2026 (capture of 2026-08-08) href: https://web.archive.org/web/20260808045514/https://www.mass.gov/info-details/massachusetts-tax-rates brackets: From 911c14ef09e0e8fbb90f030768b292322dcaeb82 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 15 Nov 2026 00:04:20 -0500 Subject: [PATCH 25/29] Correct the phase-out figure in a Utah HB 210 test comment Case 8 of ut_hb210_reform_test.yaml computes a phase-out of $6,014 (0.013 x $462,608 = $6,013.90), and the next comment line still subtracted $6,026. Subtract $6,014 there too. Co-Authored-By: Claude Fable 5.2 --- .../tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml b/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml index d4c47eec863..cd2991f322b 100644 --- a/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml +++ b/policyengine_us/tests/policy/contrib/states/ut/ut_hb210_reform_test.yaml @@ -222,5 +222,5 @@ # Income excess = $500,000 - $37,392 = $462,608 # Phaseout = $462,608 * 0.013 = $6,014 # Total max = ~$3,018 - # Final = max($3,018 - $6,026, 0) = $0 + # Final = max($3,018 - $6,014, 0) = $0 ut_taxpayer_credit: 0 From 1b87dca093e8cf9f914a3a06f4d6763f9bf9c89a Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 15 Nov 2026 00:04:20 -0500 Subject: [PATCH 26/29] State what Utah's Publication 14 prints in the threshold reference Publication 14 (Rev. 4/26), annual withholding schedule, line 4, prints $9,348 for single and $18,696 for married employees: half the return thresholds of $18,696 and $37,392. Put those amounts in the reference title. The draft 2026 TC-40 instructions, line 15, print every stored threshold. Co-Authored-By: Claude Fable 5.2 --- .../ut/tax/income/credits/taxpayer/phase_out/threshold.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml b/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml index 9bc60622a20..4f57765db23 100644 --- a/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml +++ b/policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml @@ -65,5 +65,5 @@ metadata: href: https://files.tax.utah.gov/tax/forms/2025/tc-40inst.pdf#page=10 - title: 2026 Utah TC-40 Instructions, draft dated 10/20/26, line 15 base phase-out amounts href: https://files.tax.utah.gov/tax/forms/drafts/tc-40inst.pdf#page=11 - - title: Utah Publication 14, Withholding Tax Guide, Rev. 4/26, annual withholding schedule, line 4 + - title: "Utah Publication 14, Withholding Tax Guide, Rev. 4/26, annual withholding schedule, line 4: $9,348 single and $18,696 married, half the return amounts" href: https://files.tax.utah.gov/tax/forms/pubs/pub-14.pdf#page=10 From fd670d3346b413383361b4b4a18db9bf241a2384 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 15 Nov 2026 00:04:20 -0500 Subject: [PATCH 27/29] Pin Minnesota's 2026 joint phase-out threshold in a test The Department of Revenue's 2026 list sets the child and working family credit phase-out threshold at $38,770 for married joint filers, and both 2026 cases were head-of-household returns. Add a joint return with one child aged 10 and $40,000 of earnings: 1,800 + 4% x 9,690 - 12% x (40,000 - 38,770) = $2,040.00. Indexing the 2025 threshold of $37,910 would give $38,790 and a credit of $2,042.40, $2.40 outside the case's $0.01 margin. Co-Authored-By: Claude Fable 5.2 --- ...ild_and_working_families_credits_2026.yaml | 42 +++++++++++++++++-- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_2026.yaml b/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_2026.yaml index ad0dac938a8..70fcecee6af 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_2026.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_2026.yaml @@ -1,8 +1,9 @@ # 2026 amounts from the Minnesota DOR Tax Year 2026 Inflation-Adjusted Amounts -# (page 3): child credit $1,800 (290.0661 Subd. 3); phase-out threshold $32,680 -# for filers other than married joint (290.0661 Subd. 4); working family credit -# of 4% of the first $9,690 of earned income plus $1,020, $2,330 or $2,770 for -# one, two or three or more qualifying older children (290.0671 Subd. 1). +# (page 3): child credit $1,800 (290.0661 Subd. 3); phase-out threshold $38,770 +# for married joint filers and $32,680 for all other filers (290.0661 Subd. 4); +# working family credit of 4% of the first $9,690 of earned income plus $1,020, +# $2,330 or $2,770 for one, two or three or more qualifying older children +# (290.0671 Subd. 1). - name: MN child and working family credits 2026 single parent with two qualifying older children absolute_error_margin: 0.01 period: 2026 @@ -62,3 +63,36 @@ # Phase-out = 12% x (35,000 - 32,680) = 12% x 2,320 = 278.40 # Credit = 2,187.60 - 278.40 = 1,909.20 mn_child_and_working_families_credits: 1_909.2 + +- name: MN child and working family credits 2026 married couple filing jointly with one child under 18 + absolute_error_margin: 0.01 + period: 2026 + input: + people: + parent1: + age: 45 + employment_income: 25_000 + is_tax_unit_head: true + parent2: + age: 43 + employment_income: 15_000 + is_tax_unit_spouse: true + child: + age: 10 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent1, parent2, child] + households: + household: + members: [parent1, parent2, child] + state_code: MN + output: + # Married filing jointly with 25,000 + 15,000 = 40,000 of earnings. + # Child credit 1,800 + working family credit 4% x 9,690 = 387.60 -> 2,187.60 + # Phase-out = 12% x (40,000 - 38,770) = 12% x 1,230 = 147.60 + # Credit = 2,187.60 - 147.60 = 2,040.00 + # Indexing the 2025 threshold of $37,910 would give $38,790 for 2026, and + # a credit of 2,187.60 - 12% x (40,000 - 38,790) = 2,187.60 - 145.20 = + # 2,042.40. + mn_child_and_working_families_credits: 2_040 From 61d38a3fcb0f403272bd82ef55469f7dc5bcbd1c Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 15 Nov 2026 11:47:38 -0500 Subject: [PATCH 28/29] Cite the D.C. Code's rounding rules beside the 2026 DC credit cases The Council directs that the Keep Child Care Affordable credit's income limits round down to a multiple of $100 and its per-child limit to a multiple of $5 (D.C. Code 47-1806.15(d)(5) and (b)(2)(B)(ii)). For Schedule H it sets $100 for the income thresholds and $25 for the maximum credit (47-1806.06(b)(13)(C) and (b)(14)(C)). The comments above the 2026 cases now name those rules. No expectation changes. Co-Authored-By: Claude Fable 5.2 --- .../policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml | 3 +++ .../tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml index 52ec2bfa3cf..eb65166f188 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml @@ -360,6 +360,9 @@ # DC Office of Revenue Analysis, Notice N146434 (D.C. Register Vol. 73/37): # for tax year 2026 the income limit for single and head of household filers # is $184,300 and the maximum credit is $1,225 per eligible child. +# The Council directs that each adjusted income limit round down to a +# multiple of $100 (D.C. Code 47-1806.15(d)(5)) and that the adjusted +# credit limit round down to a multiple of $5 (47-1806.15(b)(2)(B)(ii)). - name: DC KCCATC 2026 head of household just below the $184,300 income limit absolute_error_margin: 0.01 period: 2026 diff --git a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml index 0c7410e51de..f6b0e8e01d5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml @@ -898,6 +898,9 @@ # DC Office of Revenue Analysis, Notice N146436 (D.C. Register Vol. 73/37): # for tax year 2026 the non-senior income threshold is $67,600 and the # maximum credit is $1,475. +# The Council directs that each adjusted income threshold round down to a +# multiple of $100 (D.C. Code 47-1806.06(b)(13)(C)) and that the adjusted +# maximum credit round down to a multiple of $25 (47-1806.06(b)(14)(C)). - name: DC property tax credit 2026 non-senior just below the $67,600 income threshold absolute_error_margin: 0.01 period: 2026 From 08c2cbfb6e96eaf533d01ea608cae4a0a1104be3 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Mon, 16 Nov 2026 20:53:59 -0500 Subject: [PATCH 29/29] Move #10825's index expectations to the September-to-August index The 2025 and 2024 index values average 12 months of chained CPI-U that sum to 2,077.121 and 2,021.359. The FY2025 capital gains threshold becomes 1,000,000 * 2,077.121 / 2,021.359 = $1,027,586.3911358645, and $513,793.1955679323 for separate filers. Move the two YAML cases' inputs to less than $1 below the threshold, the threshold itself and less than $2 above it, and update the expected tax and the Python test to match. Colorado's 2027 limits stay at $27,000 and $40,400: 26,200 * 2,190.008 / 2,125.365 = 26,996.8733 and 39,200 * the same ratio = 40,392.2684. The 2036 exemption thresholds keep their values under the factor 217.68 / 213.471. Update the arithmetic in both comments. The 2038 joint case no longer separates rounding down from rounding to the nearest $50: 487,400 * (217.68 / 213.471)^3 = 516,802.32 rounds to $516,800 either way. Move it to 2039, where 487,400 * (217.68 / 213.471)^4 = 526,992.10 rounds down to $526,950 and to the nearest $50 at $527,000. AGI of $526,951 then loses one 2% step. Co-Authored-By: Claude Opus 5.5 --- .../core/test_breakdown_parameter_uprating.py | 23 +++++++++++-------- .../taxable_income/exemptions/exemptions.yaml | 21 +++++++++-------- .../co_collegeinvest_contribution.yaml | 5 ++-- .../capital_gains_tax_increase.yaml | 16 +++++++------ 4 files changed, 37 insertions(+), 28 deletions(-) diff --git a/policyengine_us/tests/core/test_breakdown_parameter_uprating.py b/policyengine_us/tests/core/test_breakdown_parameter_uprating.py index 03d5afa24ab..7fe1469db5d 100644 --- a/policyengine_us/tests/core/test_breakdown_parameter_uprating.py +++ b/policyengine_us/tests/core/test_breakdown_parameter_uprating.py @@ -70,8 +70,10 @@ def _authored_values(): def test_colorado_2027_projects_from_published_2026_limit(status): # Colorado publishes $39,200 for joint filers and $26,200 otherwise. # The retained IRS-index proxy rounds the projected amount to $100. - # 26,200 * 181.97958333333335 / 176.71308333333332 = 26,980.8267 -> 27,000. - # 39,200 * 181.97958333333335 / 176.71308333333332 = 40,368.2598 -> 40,400. + # The 2027 and 2026 index values average 12 months summing to 2,190.008 + # and 2,125.365: + # 26,200 * 2,190.008 / 2,125.365 = 26,996.8733 -> 27,000. + # 39,200 * 2,190.008 / 2,125.365 = 40,392.2684 -> 40,400. anchor = 39_200 if status == "JOINT" else 26_200 expected = 40_400 if status == "JOINT" else 27_000 assert _value(CO_PATH, status, 2027) == expected @@ -82,11 +84,12 @@ def test_colorado_2027_projects_from_published_2026_limit(status): def test_personal_exemption_2036_projects_after_last_cbo_forecast(status): # Use CBO's 2035 forecasts as anchors. Under historical IRC 68(b), round # down to $50; separate filers receive half the joint amount. - # Multiply by 217.05 / 212.85, then round down: - # single: 406,200 * factor = 414,215.222 -> 414,200; - # separate: 243,700 * factor = 248,508.739 -> 248,500; - # joint/surviving spouse: 487,400 * factor = 497,017.477 -> 497,000; - # head of household: 446,800 * factor = 455,616.350 -> 455,600. + # After its last observed month, the index follows CBO's chained CPI-U + # projection, so multiply by 217.68 / 213.471, then round down: + # single: 406,200 * factor = 414,209.031 -> 414,200; + # separate: 243,700 * factor = 248,505.024 -> 248,500; + # joint/surviving spouse: 487,400 * factor = 497,010.048 -> 497,000; + # head of household: 446,800 * factor = 455,609.539 -> 455,600. expected = { "SINGLE": 414_200, "SEPARATE": 248_500, @@ -102,10 +105,10 @@ def test_personal_exemption_2036_projects_after_last_cbo_forecast(status): def test_biden_2025_projects_from_proposed_2024_threshold(status): # Treasury proposes indexing $1 million ($500,000 for separate filers) # after 2024 in its FY2025 proposal, without specifying a rounding interval. - # 1,000,000 * 172.797 / 167.95475 = 1,028,830.6820735942; - # separate filers receive half: 514,415.3410367971. + # 1,000,000 * 2,077.121 / 2,021.359 = 1,027,586.3911358645; + # separate filers receive half: 513,793.1955679323. anchor = 500_000 if status == "SEPARATE" else 1_000_000 - expected = 514_415.3410367971 if status == "SEPARATE" else 1_028_830.6820735942 + expected = 513_793.1955679323 if status == "SEPARATE" else 1_027_586.3911358645 assert _value(BIDEN_PATH, status, 2025) == pytest.approx( expected, rel=1e-12, abs=1e-8 ) diff --git a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/exemptions/exemptions.yaml b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/exemptions/exemptions.yaml index 168aafa2028..dda2cd1f9dd 100644 --- a/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/exemptions/exemptions.yaml +++ b/policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/exemptions/exemptions.yaml @@ -208,7 +208,9 @@ exemptions: [0, 0, 0, 0, 0] # Isolate the legacy threshold in a counterfactual with a $1,000 exemption. -# 406,200 * 217.05 / 212.85 = 414,215.22199, rounded down to $50 = 414,200. +# 406,200 * 217.68 / 213.471 = 414,209.03073, rounded down to $50 = 414,200. +# After its last observed month, the index grows with CBO's chained CPI-U +# projection: 217.68 for 2036 and 213.471 for 2035. # Filers lose 2% for each $2,500, or fraction of $2,500, of AGI above the # threshold (IRC 151(d)(3)(B)): $1 and $2,500 above it each make one step. # One step phases out 2% * $1,000 = $20. @@ -241,7 +243,7 @@ output: exemptions: [1_000, 1_000, 980, 980] -# 243,700 * 217.05 / 212.85 = 248,508.73855 -> 248,500 (down to $25). +# 243,700 * 217.68 / 213.471 = 248,505.02410 -> 248,500 (down to $25). # Separate filers lose 2% for each $1,250, or fraction of $1,250, above the # threshold: $1 and $1,250 above it each phase out 2% * $1,000 = $20. - name: A restored exemption uses half the joint threshold for separate filers @@ -256,20 +258,21 @@ output: exemptions: [1_000, 1_000, 980, 980] -# 487,400 * (217.05 / 212.85)^3 = 516,825.49806 in 2038. -# Round down to $50 = $516,800; rounding to nearest would give $516,850. -# At $516,801, ($516,801 - $516,800) / $2,500 rounds up to 1 step, so the -# exemption falls to $1,000 * (1 - 1 * 0.02) = $980. A $516,850 threshold +# After 2036 the projection grows by 217.68 / 213.471 each year, so +# 487,400 * (217.68 / 213.471)^4 = 526,992.09627 in 2039. +# Round down to $50 = $526,950; rounding to nearest would give $527,000. +# At $526,951, ($526,951 - $526,950) / $2,500 rounds up to 1 step, so the +# exemption falls to $1,000 * (1 - 1 * 0.02) = $980. A $527,000 threshold # would leave $1,000. -# At $519,300, ($519,300 - $516,800) / $2,500 = 1 step: $980. +# At $529,450, ($529,450 - $526,950) / $2,500 = 1 step: $980. - name: A restored exemption rounds the projected joint threshold down - period: 2038 + period: 2039 absolute_error_margin: 0.001 input: gov.irs.income.exemption.suspended: false gov.irs.income.exemption.amount: 1_000 exemptions_count: [1, 1, 1, 1] - adjusted_gross_income: [516_799, 516_800, 516_801, 519_300] + adjusted_gross_income: [526_949, 526_950, 526_951, 529_450] filing_status: [JOINT, JOINT, JOINT, JOINT] output: exemptions: [1_000, 1_000, 980, 980] diff --git a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/subtractions/collegeinvest_contribution/co_collegeinvest_contribution.yaml b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/subtractions/collegeinvest_contribution/co_collegeinvest_contribution.yaml index 5c5f136496f..f1caf1cb171 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/subtractions/collegeinvest_contribution/co_collegeinvest_contribution.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/subtractions/collegeinvest_contribution/co_collegeinvest_contribution.yaml @@ -68,8 +68,9 @@ co_collegeinvest_subtraction: [26_200, 26_200, 26_200] # Project the 2026 actuals with the existing IRS inflation proxy: -# 26,200 * 181.97958333333335 / 176.71308333333332 = 26,980.8267 -> 27,000. -# 39,200 * the same ratio = 40,368.2598 -> 40,400 (nearest $100). +# 26,200 * 2,190.008 / 2,125.365 = 26,996.8733 -> 27,000, where 2,190.008 and +# 2,125.365 sum the 12 months behind the 2027 and 2026 index values. +# 39,200 * the same ratio = 40,392.2684 -> 40,400 (nearest $100). - name: Single filers use the projected cap after the last published year period: 2027 input: diff --git a/policyengine_us/tests/policy/contrib/biden/budget_2025/capital_gains_tax_increase.yaml b/policyengine_us/tests/policy/contrib/biden/budget_2025/capital_gains_tax_increase.yaml index af5a15e336a..2fb8d4dc8dd 100644 --- a/policyengine_us/tests/policy/contrib/biden/budget_2025/capital_gains_tax_increase.yaml +++ b/policyengine_us/tests/policy/contrib/biden/budget_2025/capital_gains_tax_increase.yaml @@ -59,7 +59,9 @@ capital_gains_tax: 15 # Treasury indexes the 2024 $1m threshold after 2024. With the IRS proxy, -# $1m * 172.797 / 167.95475 = $1,028,830.6820735942 in 2025. +# $1m * 2,077.121 / 2,021.359 = $1,027,586.3911358645 in 2025, where 2,077.121 +# and 2,021.359 sum the 12 monthly chained CPI-U values behind the 2025 and +# 2024 index values. # Set taxable income directly to isolate the threshold. All $100,000 of gains # otherwise face 20%; the excess faces 37%, adding 17% of the excess. - name: The proposal indexes the single threshold before taxing excess gains @@ -69,13 +71,13 @@ input: gov.contrib.biden.budget_2025.capital_gains.active: true filing_status: [SINGLE, SINGLE, SINGLE] - taxable_income: [1_028_830, 1_028_830.6820735942, 1_028_832] + taxable_income: [1_027_586, 1_027_586.3911358645, 1_027_588] long_term_capital_gains: [100_000, 100_000, 100_000] output: - capital_gains_tax: [20_000, 20_000, 20_000.2240475] + capital_gains_tax: [20_000, 20_000, 20_000.2735069] -# Separate: $500,000 * 172.797 / 167.95475 = $514,415.3410367971. -# At $514,417, tax = $20,000 + ($514,417 - $514,415.3410367971) * 17%. +# Separate: $500,000 * 2,077.121 / 2,021.359 = $513,793.1955679323. +# At $513,795, tax = $20,000 + ($513,795 - $513,793.1955679323) * 17%. - name: The proposal indexes half the threshold for separate filers period: 2025 absolute_error_margin: 0.01 @@ -83,7 +85,7 @@ input: gov.contrib.biden.budget_2025.capital_gains.active: true filing_status: [SEPARATE, SEPARATE, SEPARATE] - taxable_income: [514_415, 514_415.3410367971, 514_417] + taxable_income: [513_793, 513_793.1955679323, 513_795] long_term_capital_gains: [100_000, 100_000, 100_000] output: - capital_gains_tax: [20_000, 20_000, 20_000.2820237] + capital_gains_tax: [20_000, 20_000, 20_000.3067535]