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..8e64c7e1181 --- /dev/null +++ b/changelog.d/irs-index-tax-year-cpi.fixed.md @@ -0,0 +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. 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. 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 851b5f35b38..9f4d29d9ef6 100644 --- a/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml @@ -320,26 +320,28 @@ 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. - 2036-02-01: 223.5 # 2037 value. + 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. + 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. + 2036-02-01: 223.5 # Calendar year 2036 average. # Values for 2037-2100 are set programmatically in uprating_extensions.py metadata: economy: false 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 29fe28ca872..6cd217e55b3 100644 --- a/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml +++ b/policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml @@ -1370,17 +1370,19 @@ values: 2026-08-01: 334.980 2026-09-01: 336.940 2026-10-01: 337.511 - # 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. - 2036-02-01: 416.5 # 2037 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. + 2036-02-01: 416.5 # Calendar year 2036 average. # Values for 2037-2100 are set programmatically in uprating_extensions.py metadata: unit: currency-USD diff --git a/policyengine_us/parameters/gov/bls/cpi/cpi_u_nsa.yaml b/policyengine_us/parameters/gov/bls/cpi/cpi_u_nsa.yaml new file mode 100644 index 00000000000..d8ada5ca9b6 --- /dev/null +++ b/policyengine_us/parameters/gov/bls/cpi/cpi_u_nsa.yaml @@ -0,0 +1,371 @@ +description: The Bureau of Labor Statistics publishes this monthly Consumer Price Index for All Urban Consumers, not seasonally adjusted. +values: + # BLS series CUUR0000SA0 (U.S. city average, all items, 1982-84=100), as + # the BLS public data API returned it on 2026-10-06. Published to one + # decimal through 2006 and three decimals from 2007. + 1997-01-01: 159.1 + 1997-02-01: 159.6 + 1997-03-01: 160.0 + 1997-04-01: 160.2 + 1997-05-01: 160.1 + 1997-06-01: 160.3 + 1997-07-01: 160.5 + 1997-08-01: 160.8 + 1997-09-01: 161.2 + 1997-10-01: 161.6 + 1997-11-01: 161.5 + 1997-12-01: 161.3 + 1998-01-01: 161.6 + 1998-02-01: 161.9 + 1998-03-01: 162.2 + 1998-04-01: 162.5 + 1998-05-01: 162.8 + 1998-06-01: 163.0 + 1998-07-01: 163.2 + 1998-08-01: 163.4 + 1998-09-01: 163.6 + 1998-10-01: 164.0 + 1998-11-01: 164.0 + 1998-12-01: 163.9 + 1999-01-01: 164.3 + 1999-02-01: 164.5 + 1999-03-01: 165.0 + 1999-04-01: 166.2 + 1999-05-01: 166.2 + 1999-06-01: 166.2 + 1999-07-01: 166.7 + 1999-08-01: 167.1 + 1999-09-01: 167.9 + 1999-10-01: 168.2 + 1999-11-01: 168.3 + 1999-12-01: 168.3 + 2000-01-01: 168.8 + 2000-02-01: 169.8 + 2000-03-01: 171.2 + 2000-04-01: 171.3 + 2000-05-01: 171.5 + 2000-06-01: 172.4 + 2000-07-01: 172.8 + 2000-08-01: 172.8 + 2000-09-01: 173.7 + 2000-10-01: 174.0 + 2000-11-01: 174.1 + 2000-12-01: 174.0 + 2001-01-01: 175.1 + 2001-02-01: 175.8 + 2001-03-01: 176.2 + 2001-04-01: 176.9 + 2001-05-01: 177.7 + 2001-06-01: 178.0 + 2001-07-01: 177.5 + 2001-08-01: 177.5 + 2001-09-01: 178.3 + 2001-10-01: 177.7 + 2001-11-01: 177.4 + 2001-12-01: 176.7 + 2002-01-01: 177.1 + 2002-02-01: 177.8 + 2002-03-01: 178.8 + 2002-04-01: 179.8 + 2002-05-01: 179.8 + 2002-06-01: 179.9 + 2002-07-01: 180.1 + 2002-08-01: 180.7 + 2002-09-01: 181.0 + 2002-10-01: 181.3 + 2002-11-01: 181.3 + 2002-12-01: 180.9 + 2003-01-01: 181.7 + 2003-02-01: 183.1 + 2003-03-01: 184.2 + 2003-04-01: 183.8 + 2003-05-01: 183.5 + 2003-06-01: 183.7 + 2003-07-01: 183.9 + 2003-08-01: 184.6 + 2003-09-01: 185.2 + 2003-10-01: 185.0 + 2003-11-01: 184.5 + 2003-12-01: 184.3 + 2004-01-01: 185.2 + 2004-02-01: 186.2 + 2004-03-01: 187.4 + 2004-04-01: 188.0 + 2004-05-01: 189.1 + 2004-06-01: 189.7 + 2004-07-01: 189.4 + 2004-08-01: 189.5 + 2004-09-01: 189.9 + 2004-10-01: 190.9 + 2004-11-01: 191.0 + 2004-12-01: 190.3 + 2005-01-01: 190.7 + 2005-02-01: 191.8 + 2005-03-01: 193.3 + 2005-04-01: 194.6 + 2005-05-01: 194.4 + 2005-06-01: 194.5 + 2005-07-01: 195.4 + 2005-08-01: 196.4 + 2005-09-01: 198.8 + 2005-10-01: 199.2 + 2005-11-01: 197.6 + 2005-12-01: 196.8 + 2006-01-01: 198.3 + 2006-02-01: 198.7 + 2006-03-01: 199.8 + 2006-04-01: 201.5 + 2006-05-01: 202.5 + 2006-06-01: 202.9 + 2006-07-01: 203.5 + 2006-08-01: 203.9 + 2006-09-01: 202.9 + 2006-10-01: 201.8 + 2006-11-01: 201.5 + 2006-12-01: 201.8 + 2007-01-01: 202.416 + 2007-02-01: 203.499 + 2007-03-01: 205.352 + 2007-04-01: 206.686 + 2007-05-01: 207.949 + 2007-06-01: 208.352 + 2007-07-01: 208.299 + 2007-08-01: 207.917 + 2007-09-01: 208.490 + 2007-10-01: 208.936 + 2007-11-01: 210.177 + 2007-12-01: 210.036 + 2008-01-01: 211.080 + 2008-02-01: 211.693 + 2008-03-01: 213.528 + 2008-04-01: 214.823 + 2008-05-01: 216.632 + 2008-06-01: 218.815 + 2008-07-01: 219.964 + 2008-08-01: 219.086 + 2008-09-01: 218.783 + 2008-10-01: 216.573 + 2008-11-01: 212.425 + 2008-12-01: 210.228 + 2009-01-01: 211.143 + 2009-02-01: 212.193 + 2009-03-01: 212.709 + 2009-04-01: 213.240 + 2009-05-01: 213.856 + 2009-06-01: 215.693 + 2009-07-01: 215.351 + 2009-08-01: 215.834 + 2009-09-01: 215.969 + 2009-10-01: 216.177 + 2009-11-01: 216.330 + 2009-12-01: 215.949 + 2010-01-01: 216.687 + 2010-02-01: 216.741 + 2010-03-01: 217.631 + 2010-04-01: 218.009 + 2010-05-01: 218.178 + 2010-06-01: 217.965 + 2010-07-01: 218.011 + 2010-08-01: 218.312 + 2010-09-01: 218.439 + 2010-10-01: 218.711 + 2010-11-01: 218.803 + 2010-12-01: 219.179 + 2011-01-01: 220.223 + 2011-02-01: 221.309 + 2011-03-01: 223.467 + 2011-04-01: 224.906 + 2011-05-01: 225.964 + 2011-06-01: 225.722 + 2011-07-01: 225.922 + 2011-08-01: 226.545 + 2011-09-01: 226.889 + 2011-10-01: 226.421 + 2011-11-01: 226.230 + 2011-12-01: 225.672 + 2012-01-01: 226.665 + 2012-02-01: 227.663 + 2012-03-01: 229.392 + 2012-04-01: 230.085 + 2012-05-01: 229.815 + 2012-06-01: 229.478 + 2012-07-01: 229.104 + 2012-08-01: 230.379 + 2012-09-01: 231.407 + 2012-10-01: 231.317 + 2012-11-01: 230.221 + 2012-12-01: 229.601 + 2013-01-01: 230.280 + 2013-02-01: 232.166 + 2013-03-01: 232.773 + 2013-04-01: 232.531 + 2013-05-01: 232.945 + 2013-06-01: 233.504 + 2013-07-01: 233.596 + 2013-08-01: 233.877 + 2013-09-01: 234.149 + 2013-10-01: 233.546 + 2013-11-01: 233.069 + 2013-12-01: 233.049 + 2014-01-01: 233.916 + 2014-02-01: 234.781 + 2014-03-01: 236.293 + 2014-04-01: 237.072 + 2014-05-01: 237.900 + 2014-06-01: 238.343 + 2014-07-01: 238.250 + 2014-08-01: 237.852 + 2014-09-01: 238.031 + 2014-10-01: 237.433 + 2014-11-01: 236.151 + 2014-12-01: 234.812 + 2015-01-01: 233.707 + 2015-02-01: 234.722 + 2015-03-01: 236.119 + 2015-04-01: 236.599 + 2015-05-01: 237.805 + 2015-06-01: 238.638 + 2015-07-01: 238.654 + 2015-08-01: 238.316 + 2015-09-01: 237.945 + 2015-10-01: 237.838 + 2015-11-01: 237.336 + 2015-12-01: 236.525 + 2016-01-01: 236.916 + 2016-02-01: 237.111 + 2016-03-01: 238.132 + 2016-04-01: 239.261 + 2016-05-01: 240.229 + 2016-06-01: 241.018 + 2016-07-01: 240.628 + 2016-08-01: 240.849 + 2016-09-01: 241.428 + 2016-10-01: 241.729 + 2016-11-01: 241.353 + 2016-12-01: 241.432 + 2017-01-01: 242.839 + 2017-02-01: 243.603 + 2017-03-01: 243.801 + 2017-04-01: 244.524 + 2017-05-01: 244.733 + 2017-06-01: 244.955 + 2017-07-01: 244.786 + 2017-08-01: 245.519 + 2017-09-01: 246.819 + 2017-10-01: 246.663 + 2017-11-01: 246.669 + 2017-12-01: 246.524 + 2018-01-01: 247.867 + 2018-02-01: 248.991 + 2018-03-01: 249.554 + 2018-04-01: 250.546 + 2018-05-01: 251.588 + 2018-06-01: 251.989 + 2018-07-01: 252.006 + 2018-08-01: 252.146 + 2018-09-01: 252.439 + 2018-10-01: 252.885 + 2018-11-01: 252.038 + 2018-12-01: 251.233 + 2019-01-01: 251.712 + 2019-02-01: 252.776 + 2019-03-01: 254.202 + 2019-04-01: 255.548 + 2019-05-01: 256.092 + 2019-06-01: 256.143 + 2019-07-01: 256.571 + 2019-08-01: 256.558 + 2019-09-01: 256.759 + 2019-10-01: 257.346 + 2019-11-01: 257.208 + 2019-12-01: 256.974 + 2020-01-01: 257.971 + 2020-02-01: 258.678 + 2020-03-01: 258.115 + 2020-04-01: 256.389 + 2020-05-01: 256.394 + 2020-06-01: 257.797 + 2020-07-01: 259.101 + 2020-08-01: 259.918 + 2020-09-01: 260.280 + 2020-10-01: 260.388 + 2020-11-01: 260.229 + 2020-12-01: 260.474 + 2021-01-01: 261.582 + 2021-02-01: 263.014 + 2021-03-01: 264.877 + 2021-04-01: 267.054 + 2021-05-01: 269.195 + 2021-06-01: 271.696 + 2021-07-01: 273.003 + 2021-08-01: 273.567 + 2021-09-01: 274.310 + 2021-10-01: 276.589 + 2021-11-01: 277.948 + 2021-12-01: 278.802 + 2022-01-01: 281.148 + 2022-02-01: 283.716 + 2022-03-01: 287.504 + 2022-04-01: 289.109 + 2022-05-01: 292.296 + 2022-06-01: 296.311 + 2022-07-01: 296.276 + 2022-08-01: 296.171 + 2022-09-01: 296.808 + 2022-10-01: 298.012 + 2022-11-01: 297.711 + 2022-12-01: 296.797 + 2023-01-01: 299.170 + 2023-02-01: 300.840 + 2023-03-01: 301.836 + 2023-04-01: 303.363 + 2023-05-01: 304.127 + 2023-06-01: 305.109 + 2023-07-01: 305.691 + 2023-08-01: 307.026 + 2023-09-01: 307.789 + 2023-10-01: 307.671 + 2023-11-01: 307.051 + 2023-12-01: 306.746 + 2024-01-01: 308.417 + 2024-02-01: 310.326 + 2024-03-01: 312.332 + 2024-04-01: 313.548 + 2024-05-01: 314.069 + 2024-06-01: 314.175 + 2024-07-01: 314.540 + 2024-08-01: 314.796 + 2024-09-01: 315.301 + 2024-10-01: 315.664 + 2024-11-01: 315.493 + 2024-12-01: 315.605 + 2025-01-01: 317.671 + 2025-02-01: 319.082 + 2025-03-01: 319.799 + 2025-04-01: 320.795 + 2025-05-01: 321.465 + 2025-06-01: 322.561 + 2025-07-01: 323.048 + 2025-08-01: 323.976 + 2025-09-01: 324.800 + # BLS published no October 2025 value (footnote X: "Data unavailable + # due to the 2025 lapse in appropriations"). Parameter lookups at + # October 2025 return September's value; see + # get_average_for_12_months_ending_august for how windows treat the gap. + 2025-11-01: 324.122 + 2025-12-01: 324.054 + 2026-01-01: 325.252 + 2026-02-01: 326.785 + 2026-03-01: 330.213 + 2026-04-01: 333.020 + 2026-05-01: 335.123 + 2026-06-01: 333.952 + 2026-07-01: 333.918 + 2026-08-01: 334.980 +metadata: + unit: currency-USD + label: CPI-U, not seasonally adjusted + economy: false + reference: + - title: BLS | CPI-U, U.S. city average, all items, not seasonally adjusted (CUUR0000SA0), January 1997 through August 2026 + href: https://data.bls.gov/timeseries/CUUR0000SA0 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..fc1966519e9 --- /dev/null +++ b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/c_cpi_u.yaml @@ -0,0 +1,30 @@ +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. 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 + 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..76d99e752ef --- /dev/null +++ b/policyengine_us/parameters/gov/bls/cpi/tax_year_projection/cpi_u.yaml @@ -0,0 +1,29 @@ +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. 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 + 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/credits/ctc/amount/base.yaml b/policyengine_us/parameters/gov/irs/credits/ctc/amount/base.yaml index 91fe918fdcd..38f5f2d26b7 100644 --- a/policyengine_us/parameters/gov/irs/credits/ctc/amount/base.yaml +++ b/policyengine_us/parameters/gov/irs/credits/ctc/amount/base.yaml @@ -23,10 +23,8 @@ brackets: # rounded down to a multiple of $100. The index's 2025 value covers # calendar year 2024. Base mode adds values only after the last # value above. Like the standard deduction, this stays on - # gov.irs.uprating, whose window ends in July (#9105; open #9621 - # moves it), not gov.irs.indexing.c_cpi_u, which the dependent - # amounts and educator cap use. gov.irs.uprating runs 0.6% to 1.0% - # below that index in 2028-2030 and about 1.0% below through 2037; + # gov.irs.uprating, which equals gov.irs.indexing.c_cpi_u (the + # dependent amounts' and educator cap's index) from tax year 2017; # gov/irs/deductions/standard/amount.yaml explains the split. base: period: 2025 diff --git a/policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml b/policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml index 23e852eaef4..689550166ee 100644 --- a/policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml +++ b/policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml @@ -26,11 +26,9 @@ metadata: # cost-of-living increase with calendar year 2017 as the base year, # rounded down to a multiple of $100. The index's 2018 value covers # calendar year 2017. Base mode adds values only after CBO's, above. - # Like the standard deduction, this stays on gov.irs.uprating, whose - # window ends in July (#9105; open #9621 moves it), not - # gov.irs.indexing.c_cpi_u, which the dependent amounts and educator cap - # use. gov.irs.uprating runs 0.6% to 1.0% below that index in 2028-2030 - # and about 1.0% below through 2037; + # Like the standard deduction, this stays on gov.irs.uprating, which + # equals gov.irs.indexing.c_cpi_u (the dependent amounts' and educator + # cap's index) from tax year 2017; # gov/irs/deductions/standard/amount.yaml explains the split. base: period: 2018 diff --git a/policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml b/policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml index 174f86dbe68..3fa99687e33 100644 --- a/policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml +++ b/policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml @@ -2,17 +2,14 @@ description: Federal deduction from AGI if not itemizing. # Which 1(f)(3) index. These amounts, like the CTC's, project on # gov.irs.uprating, the index the tax brackets and other chained IRS amounts -# use. Its window ends in July, not August as 1(f)(4) has it (#9105); open -# #9621 moves it, and these projections with it. The dependent amounts and -# the educator cap project on gov.irs.indexing.c_cpi_u instead: the -# dependent amounts' base years (1987, 1997) predate gov.irs.uprating's -# 2010 start, and that index reproduces get_irs_cola, which the dependent -# and educator projections used before. It reads the August window but, for -# projected years, CBO's calendar-year points, about 0.7% high (#9608). On -# the shipped C-CPI-U series, gov.irs.uprating runs 0.6% below -# gov.irs.indexing.c_cpi_u in 2028 and 1.0% below in 2029 and 2030, so from -# the 2024 base these amounts grow 0.4% to 0.9% less: $16,950 single in -# 2028 and $17,550 in 2030, against $17,000 and $17,700 on the other index. +# use. The dependent amounts and the educator cap project on +# gov.irs.indexing.c_cpi_u instead: gov.irs.uprating starts in 2010, after +# the dependent amounts' 1987 and 1997 base years. From tax year 2017 the +# two indices hold the same value, the C-CPI-U averaged over the 12 months +# ending August 31 of the prior year (1(f)(6)(B)). After the last window +# with a BLS observation, that average grows at CBO's projected rate for +# each tax year. From the 2024 base, the single amount reaches $16,950 in +# 2028 and $17,650 in 2030. SINGLE: values: 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 08e1026f98e..7f94f727baf 100644 --- a/policyengine_us/parameters/gov/irs/deductions/standard/dependent/amount.yaml +++ b/policyengine_us/parameters/gov/irs/deductions/standard/dependent/amount.yaml @@ -9,16 +9,6 @@ values: 2025-01-01: 1_350 2026-01-01: 1_350 2027-01-01: 1_400 - # CBO forecast. - 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 @@ -27,8 +17,8 @@ metadata: # 26 U.S.C. 63(c)(4)(B)(i): the statutory $500 plus its 1(f)(3) # cost-of-living increase with calendar year 1987 as the base year, # rounded down to a multiple of $50 under 1(f)(7)(A). The index's 1988 - # value covers calendar year 1987. Base mode adds values only after - # CBO's, above. + # value covers calendar year 1987. Base mode adds values only after the + # last IRS value, above. parameter: gov.irs.indexing.c_cpi_u base: period: 1988 @@ -62,5 +52,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/gov/irs/indexing/c_cpi_u.yaml b/policyengine_us/parameters/gov/irs/indexing/c_cpi_u.yaml index 144b85ec25e..2fd20789e39 100644 --- a/policyengine_us/parameters/gov/irs/indexing/c_cpi_u.yaml +++ b/policyengine_us/parameters/gov/irs/indexing/c_cpi_u.yaml @@ -9,13 +9,10 @@ values: # The dependent standard deduction amounts and the educator cap project # on this index. The standard deduction and the CTC, which 1(f)(3) # indexes the same way, stay on gov.irs.uprating, the index the tax - # brackets and other chained IRS amounts use, whose window ends in July - # (#9105; open #9621 moves it). For projected years this index reads - # CBO's calendar-year points, about 0.7% high (#9608). On the shipped - # series gov.irs.uprating runs 0.6% below this index in 2028 and 1.0% - # below in 2029 and 2030, so a 2024 base grows 0.4% to 0.9% less on it: - # the single standard deduction is $16,950 in 2028 and $17,550 in 2030, - # against $17,000 and $17,700 here. + # brackets and other chained IRS amounts use. From tax year 2017 the two + # indices hold the same value. gov.irs.uprating starts in 2010, after the + # dependent amounts' 1987 and 1997 base years. After the last window with + # a BLS observation, both grow at CBO's projected rate for each tax year. 1988-01-01: 1 metadata: unit: /1 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/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/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/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/parameters/gov/states/ca/cpi.yaml b/policyengine_us/parameters/gov/states/ca/cpi.yaml index 29102e3ecb2..20e91643ac8 100644 --- a/policyengine_us/parameters/gov/states/ca/cpi.yaml +++ b/policyengine_us/parameters/gov/states/ca/cpi.yaml @@ -1,4 +1,4 @@ -description: California CPI (from the current year's June) +description: California CPI from the current year's June, with forecast proxies after the last published observation. values: 2019-01-01: 280.956 2020-01-01: 284.835 @@ -13,6 +13,8 @@ metadata: unit: currency-USD period: year label: California income tax CPI uprating + # The existing national CPI forecast proxy is a modeling assumption for future years. + # Published California June values take precedence. uprating: gov.irs.uprating reference: - title: California Consumer Price Index (1955-2026), All Urban Consumers, June values diff --git a/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/amount.yaml b/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/amount.yaml index 0c33a65eb3e..2753c69e4ab 100644 --- a/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/amount.yaml +++ b/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/amount.yaml @@ -28,4 +28,3 @@ metadata: href: https://www.ftb.ca.gov/about-ftb/newsroom/tax-news/2026/10.html#article1 - title: Cal. Rev. & Tax. Code § 17054 href: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=17054.&nodeTreePath=3.20.2&lawCode=RTC - # Index according to federal tax parameter rules until we add California CPI trend. diff --git a/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/dependent_amount.yaml b/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/dependent_amount.yaml index 29088a86d9d..33d416260fb 100644 --- a/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/dependent_amount.yaml +++ b/policyengine_us/parameters/gov/states/ca/tax/income/exemptions/dependent_amount.yaml @@ -28,4 +28,3 @@ metadata: href: https://www.ftb.ca.gov/about-ftb/newsroom/tax-news/2026/10.html#article1 - title: Cal. Rev. & Tax. Code § 17054 href: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=17054.&nodeTreePath=3.20.2&lawCode=RTC - # Index according to federal tax parameter rules until we add California CPI trend. diff --git a/policyengine_us/parameters/gov/states/ca/tax/income/rates/head_of_household.yaml b/policyengine_us/parameters/gov/states/ca/tax/income/rates/head_of_household.yaml index 8d4c9f31645..8f0f60964c7 100644 --- a/policyengine_us/parameters/gov/states/ca/tax/income/rates/head_of_household.yaml +++ b/policyengine_us/parameters/gov/states/ca/tax/income/rates/head_of_household.yaml @@ -1,4 +1,4 @@ -description: California taxes income at these rates for head of household filers. +description: California taxes income at these rates for head of household filers. brackets: - threshold: 0000-01-01: 0 @@ -112,7 +112,7 @@ metadata: threshold_period: year type: marginal_rate label: California head of household income tax rate - reference: + reference: - title: California Income Tax Rate Schedules for 2021 href: https://www.ftb.ca.gov/forms/2021/2021-540-tax-rate-schedules.pdf - title: California Income Tax Rate Schedules for 2022 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/parameters/gov/states/ma/tax/income/rates/additional.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/rates/additional.yaml index 64f588a3e36..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,10 @@ 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: - threshold: 0000-01-01: 0 @@ -25,6 +29,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/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/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/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/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/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/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/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/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..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 @@ -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: $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 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/parameters/gov/states/vt/tax/income/deductions/standard/additional.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/deductions/standard/additional.yaml index 00f4c0e40df..70e5bf3dc5e 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/deductions/standard/additional.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/deductions/standard/additional.yaml @@ -1,13 +1,10 @@ +# Values after the last published anchor are computed estimates until VT publishes them. description: Vermont provides this additional standard deduction amount for each aged or blind head or spouse. metadata: label: Vermont additional aged or blind, head or spouse, standard deduction amount period: year unit: currency-USD - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null reference: - title: 2021 VERMONT Income Tax Return Form Instructions-Taxable Income Line 4 href: https://tax.vermont.gov/sites/tax/files/documents/Income-Booklet-2021.pdf#page=10 diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/deductions/standard/base.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/deductions/standard/base.yaml index 67926f7a02e..90410ea634c 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/deductions/standard/base.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/deductions/standard/base.yaml @@ -1,11 +1,8 @@ +# Values after the last published anchor are computed estimates until VT publishes them. description: Vermont provides this standard deduction based on filing status. metadata: propagate_metadata_to_children: true - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null label: Vermont standard deduction period: year unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/exemption/personal.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/exemption/personal.yaml index efbaabd3fa7..acf7812a8b1 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/exemption/personal.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/exemption/personal.yaml @@ -1,3 +1,4 @@ +# Values after the last published anchor are computed estimates until VT publishes them. description: Vermont provides the following personal exemption amount. values: 2021-01-01: 4_350 @@ -9,11 +10,7 @@ metadata: unit: currency-USD period: year label: Vermont personal exemption amount - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null reference: # Legal code specifies $4,150. Date unknown. - title: Legal Code Titl. 32 V.S.A. § 5811(21)(C)(i) diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/rates/head_of_household.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/rates/head_of_household.yaml index 89a0cbd4519..9fbec6c0cb5 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/rates/head_of_household.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/rates/head_of_household.yaml @@ -5,6 +5,8 @@ metadata: rate_unit: /1 label: Vermont income tax rates head of household filers reference: + - title: 2026 Preliminary Vermont Tax Rates (estimated tax instructions, not final schedule) + href: https://tax.vermont.gov/sites/tax/files/documents/IN-114-Instr-2026.pdf#page=2 # Law does not specify inflation adjusted thresholds for each year - title: Vermont §5822. Tax on income of individuals, estates, and trusts href: https://legislature.vermont.gov/statutes/section/32/151/05822 @@ -17,7 +19,7 @@ metadata: - title: Vermont 2024 Income Tax Return Booklet Forms and Instructions href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2024.pdf#page=1 - title: Vermont 2025 Income Tax Rate Schedules - href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2025.pdf#page=1 + href: https://tax.vermont.gov/sites/tax/files/documents/TaxRateSched-2025.pdf#page=1 brackets: - threshold: 2021-01-01: 0 @@ -30,12 +32,9 @@ brackets: 2023-01-01: 60_850 2024-01-01: 64_200 2025-01-01: 66_200 + 2026-01-01: 68_000 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.066 - threshold: @@ -45,12 +44,9 @@ brackets: 2023-01-01: 157_150 2024-01-01: 165_700 2025-01-01: 171_000 + 2026-01-01: 175_500 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.076 - threshold: @@ -60,11 +56,8 @@ brackets: 2023-01-01: 254_500 2024-01-01: 268_300 2025-01-01: 276_850 + 2026-01-01: 284_150 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.0875 diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/rates/joint.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/rates/joint.yaml index 28687429d7d..b8f907b31ac 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/rates/joint.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/rates/joint.yaml @@ -5,6 +5,8 @@ metadata: rate_unit: /1 label: Vermont State income tax rates for joint filers reference: + - title: 2026 Preliminary Vermont Tax Rates (estimated tax instructions, not final schedule) + href: https://tax.vermont.gov/sites/tax/files/documents/IN-114-Instr-2026.pdf#page=2 # Law does not specify inflation adjusted thresholds for each year - title: Vermont §5822. Tax on income of individuals, estates, and trusts href: https://legislature.vermont.gov/statutes/section/32/151/05822 @@ -17,7 +19,7 @@ metadata: - title: Vermont 2024 Income Tax Return Booklet Forms and Instructions href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2024.pdf#page=1 - title: Vermont 2025 Income Tax Rate Schedules - href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2025.pdf#page=1 + href: https://tax.vermont.gov/sites/tax/files/documents/TaxRateSched-2025.pdf#page=1 brackets: - threshold: 2021-01-01: 0 @@ -30,12 +32,9 @@ brackets: 2023-01-01: 75_850 2024-01-01: 79_950 2025-01-01: 82_500 + 2026-01-01: 84_700 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.066 - threshold: @@ -45,12 +44,9 @@ brackets: 2023-01-01: 183_400 2024-01-01: 193_300 2025-01-01: 199_450 + 2026-01-01: 204_750 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.076 - threshold: @@ -60,11 +56,8 @@ brackets: 2023-01-01: 279_450 2024-01-01: 294_600 2025-01-01: 304_000 + 2026-01-01: 312_050 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.0875 diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/rates/separate.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/rates/separate.yaml index 473711b6f8c..6df2537f06c 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/rates/separate.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/rates/separate.yaml @@ -5,6 +5,8 @@ metadata: rate_unit: /1 label: Vermont income tax rates separate filers reference: + - title: 2026 Preliminary Vermont Tax Rates (estimated tax instructions, not final schedule) + href: https://tax.vermont.gov/sites/tax/files/documents/IN-114-Instr-2026.pdf#page=2 # Law does not specify inflation adjusted thresholds for each year - title: Vermont §5822. Tax on income of individuals, estates, and trusts href: https://legislature.vermont.gov/statutes/section/32/151/05822 @@ -17,7 +19,7 @@ metadata: - title: Vermont 2024 Income Tax Return Booklet Forms and Instructions href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2024.pdf#page=1 - title: Vermont 2025 Income Tax Rate Schedules - href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2025.pdf#page=1 + href: https://tax.vermont.gov/sites/tax/files/documents/TaxRateSched-2025.pdf#page=1 brackets: - threshold: 2021-01-01: 0 @@ -30,12 +32,9 @@ brackets: 2023-01-01: 37_925 2024-01-01: 39_975 2025-01-01: 41_250 + 2026-01-01: 42_350 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2022-01-01: 0.066 - threshold: @@ -45,12 +44,9 @@ brackets: 2023-01-01: 91_700 2024-01-01: 96_650 2025-01-01: 99_725 + 2026-01-01: 102_375 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2022-01-01: 0.076 - threshold: @@ -60,11 +56,8 @@ brackets: 2023-01-01: 139_725 2024-01-01: 147_300 2025-01-01: 152_000 + 2026-01-01: 156_025 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2022-01-01: 0.0875 diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/rates/single.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/rates/single.yaml index 31acac1ca86..f4ea4752198 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/rates/single.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/rates/single.yaml @@ -5,6 +5,8 @@ metadata: rate_unit: /1 label: Vermont income tax rates single filers reference: + - title: 2026 Preliminary Vermont Tax Rates (estimated tax instructions, not final schedule) + href: https://tax.vermont.gov/sites/tax/files/documents/IN-114-Instr-2026.pdf#page=2 # Law does not specify inflation adjusted thresholds for each year - title: Vermont §5822. Tax on income of individuals, estates, and trusts href: https://legislature.vermont.gov/statutes/section/32/151/05822 @@ -17,7 +19,7 @@ metadata: - title: Vermont 2024 Income Tax Return Booklet Forms and Instructions href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2024.pdf#page=1 - title: Vermont 2025 Income Tax Rate Schedules - href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2025.pdf#page=1 + href: https://tax.vermont.gov/sites/tax/files/documents/TaxRateSched-2025.pdf#page=1 brackets: - threshold: 2021-01-01: 0 @@ -30,12 +32,9 @@ brackets: 2023-01-01: 45_400 2024-01-01: 47_900 2025-01-01: 49_400 + 2026-01-01: 50_750 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2022-01-01: 0.066 - threshold: @@ -45,12 +44,9 @@ brackets: 2023-01-01: 110_050 2024-01-01: 116_000 2025-01-01: 119_700 + 2026-01-01: 122_850 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2022-01-01: 0.076 - threshold: @@ -60,11 +56,8 @@ brackets: 2023-01-01: 229_550 2024-01-01: 242_000 2025-01-01: 249_700 + 2026-01-01: 256_300 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2022-01-01: 0.0875 diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/rates/surviving_spouse.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/rates/surviving_spouse.yaml index 13ec5f954d7..3e39255d97b 100644 --- a/policyengine_us/parameters/gov/states/vt/tax/income/rates/surviving_spouse.yaml +++ b/policyengine_us/parameters/gov/states/vt/tax/income/rates/surviving_spouse.yaml @@ -5,6 +5,8 @@ metadata: rate_unit: /1 label: Vermont income tax rates surviving spouse filers reference: + - title: 2026 Preliminary Vermont Tax Rates (estimated tax instructions, not final schedule) + href: https://tax.vermont.gov/sites/tax/files/documents/IN-114-Instr-2026.pdf#page=2 # Law does not specify inflation adjusted thresholds for each year - title: Vermont §5822. Tax on income of individuals, estates, and trusts href: https://legislature.vermont.gov/statutes/section/32/151/05822 @@ -17,7 +19,7 @@ metadata: - title: Vermont 2024 Income Tax Return Booklet Forms and Instructions href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2024.pdf#page=1 - title: Vermont 2025 Income Tax Rate Schedules - href: https://tax.vermont.gov/sites/tax/files/documents/RateSched-2025.pdf#page=1 + href: https://tax.vermont.gov/sites/tax/files/documents/TaxRateSched-2025.pdf#page=1 brackets: - threshold: 2021-01-01: 0 @@ -30,12 +32,9 @@ brackets: 2023-01-01: 75_850 2024-01-01: 79_950 2025-01-01: 82_500 + 2026-01-01: 84_700 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2022-01-01: 0.066 - threshold: @@ -45,12 +44,9 @@ brackets: 2023-01-01: 183_400 2024-01-01: 193_300 2025-01-01: 199_450 + 2026-01-01: 204_750 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.076 - threshold: @@ -60,11 +56,8 @@ brackets: 2023-01-01: 279_450 2024-01-01: 294_600 2025-01-01: 304_000 + 2026-01-01: 312_050 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: downwards - interval: 50 + uprating: null rate: 2021-01-01: 0.0875 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/max.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/max.yaml index 356fbb3d41f..d2129277fdd 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/max.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/max.yaml @@ -5,15 +5,13 @@ metadata: - filing_status period: year unit: currency-USD - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + # Wisconsin indexes from statutory bases using prior-August NSA CPI-U. + uprating: null propagate_metadata_to_children: true reference: - # The legal code includes uprating. - - title: Wisconsin Statutes 71.07 (9)(b)(5) + - title: Wisconsin Statutes 71.05(22)(dp) - Standard deduction limits + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dp + - title: Wisconsin Statutes 71.05(22)(dt) - Standard deduction indexing href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dt - title: eFile.com, Wisconsin Tax Brackets, Rates, Forms, and Standard Deductions (third party, archived January 2025; the only cited source for 2021) href: https://web.archive.org/web/20250119123144/https://www.efile.com/wisconsin-tax-brackets-rates-and-forms/ @@ -25,45 +23,70 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: 2025 Form 1-ES instructions, Standard Deduction Table href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=3 - - title: 2026 Form 1-ES instructions, 2026 Standard Deduction schedules - href: https://www.revenue.wi.gov/TaxForms2026/2026-Form1-ES-Inst.pdf#page=2 - title: 2024 Form 1 instructions, Standard Deduction Table href: https://www.revenue.wi.gov/TaxForms2024/2024-Form1-inst.pdf#page=35 - title: 2025 Form 1 instructions, Standard Deduction Table href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-inst.pdf#page=35 - + - title: 2026 Form 1-ES instructions, Standard Deduction Schedules + href: https://www.revenue.wi.gov/TaxForms2026/2026-Form1-ES-Inst.pdf#page=2 + SINGLE: - 2021-01-01: 11_200 - 2022-01-01: 11_790 - 2023-01-01: 12_760 - 2024-01-01: 13_230 - 2025-01-01: 13_560 - 2026-01-01: 13_960 + values: + 2021-01-01: 11_200 + 2022-01-01: 11_790 + 2023-01-01: 12_760 + 2024-01-01: 13_230 + 2025-01-01: 13_560 + 2026-01-01: 13_960 + metadata: + wisconsin_indexing: + base: 7_200 + base_year: 1999 JOINT: - 2021-01-01: 20_730 - 2022-01-01: 21_820 - 2023-01-01: 23_620 - 2024-01-01: 24_490 - 2025-01-01: 25_110 - 2026-01-01: 25_840 + values: + 2021-01-01: 20_730 + 2022-01-01: 21_820 + 2023-01-01: 23_620 + 2024-01-01: 24_490 + 2025-01-01: 25_110 + 2026-01-01: 25_840 + metadata: + wisconsin_indexing: + base: 19_010 + base_year: 2015 SURVIVING_SPOUSE: - 2021-01-01: 20_730 - 2022-01-01: 21_820 - 2023-01-01: 23_620 - 2024-01-01: 24_490 - 2025-01-01: 25_110 - 2026-01-01: 25_840 + values: + 2021-01-01: 20_730 + 2022-01-01: 21_820 + 2023-01-01: 23_620 + 2024-01-01: 24_490 + 2025-01-01: 25_110 + 2026-01-01: 25_840 + metadata: + wisconsin_indexing: + base: 19_010 + base_year: 2015 SEPARATE: - 2021-01-01: 9_850 - 2022-01-01: 10_370 - 2023-01-01: 11_220 - 2024-01-01: 11_630 - 2025-01-01: 11_930 - 2026-01-01: 12_280 + values: + 2021-01-01: 9_850 + 2022-01-01: 10_370 + 2023-01-01: 11_220 + 2024-01-01: 11_630 + 2025-01-01: 11_930 + 2026-01-01: 12_280 + metadata: + wisconsin_indexing: + base: 9_030 + base_year: 2015 HEAD_OF_HOUSEHOLD: - 2021-01-01: 14_470 - 2022-01-01: 15_230 - 2023-01-01: 16_480 - 2024-01-01: 17_090 - 2025-01-01: 17_520 - 2026-01-01: 18_030 + values: + 2021-01-01: 14_470 + 2022-01-01: 15_230 + 2023-01-01: 16_480 + 2024-01-01: 17_090 + 2025-01-01: 17_520 + 2026-01-01: 18_030 + metadata: + wisconsin_indexing: + base: 9_300 + base_year: 1999 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/head_of_household.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/head_of_household.yaml index 2cd5ab896ef..77000aea155 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/head_of_household.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/head_of_household.yaml @@ -2,7 +2,7 @@ description: Wisconsin phases out its standard deduction for head of household f metadata: type: marginal_rate threshold_period: year - threshold_unit: currency-USD + threshold_unit: currency-USD rate_unit: /1 label: Wisconsin standard deduction head of household phase out reference: @@ -16,13 +16,12 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: 2025 Form 1-ES instructions, Standard Deduction Table href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=3 - - title: 2026 Form 1-ES instructions, 2026 Standard Deduction schedules + - title: Wisconsin Statutes 71.05(22)(dp) - Standard deduction limits + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dp + - title: Wisconsin Statutes 71.05(22)(dt) - Standard deduction indexing + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dt + - title: 2026 Form 1-ES instructions, Standard Deduction Schedules href: https://www.revenue.wi.gov/TaxForms2026/2026-Form1-ES-Inst.pdf#page=2 - # The legal code provides inflaton unadjusted amounts - - title: Wisconsin Statutes 71.07 (9)(b)(5) - href: https://docs.legis.wisconsin.gov/2023/statutes/statutes/71/i/05/22/dm - # Form 1 instructions give only a standard deduction table. The Form 1-ES instructions - # and the Tax Exemption Devices reports state the phase-out starts and rates. brackets: - threshold: @@ -38,11 +37,10 @@ brackets: 2025-01-01: 19_550 2026-01-01: 20_120 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 10_380 + base_year: 1999 rate: 2021-01-01: 0.22515 - threshold: @@ -54,6 +52,8 @@ brackets: 2025-01-01: 57_210 2026-01-01: 58_827 metadata: - uprating: gov.irs.uprating + uprating: null + wisconsin_indexing: + kind: head_of_household_crossover rate: 2021-01-01: 0.12 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/joint.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/joint.yaml index 19724f899aa..f200a0ea1b5 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/joint.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/joint.yaml @@ -2,7 +2,7 @@ description: Wisconsin phases out its standard deduction for joint filers accord metadata: type: marginal_rate threshold_period: year - threshold_unit: currency-USD + threshold_unit: currency-USD rate_unit: /1 label: Wisconsin standard deduction joint phase out reference: @@ -16,13 +16,12 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: 2025 Form 1-ES instructions, Standard Deduction Table href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=3 - - title: 2026 Form 1-ES instructions, 2026 Standard Deduction schedules + - title: Wisconsin Statutes 71.05(22)(dp) - Standard deduction limits + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dp + - title: Wisconsin Statutes 71.05(22)(dt) - Standard deduction indexing + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dt + - title: 2026 Form 1-ES instructions, Standard Deduction Schedules href: https://www.revenue.wi.gov/TaxForms2026/2026-Form1-ES-Inst.pdf#page=2 - # The legal code provides inflaton unadjusted amounts - - title: Wisconsin Statutes 71.07 (9)(b)(5) - href: https://docs.legis.wisconsin.gov/2023/statutes/statutes/71/i/05/22/dm - # Form 1 instructions give only a standard deduction table. The Form 1-ES instructions - # and the Tax Exemption Devices reports state the phase-out starts and rates. brackets: - threshold: @@ -38,10 +37,9 @@ brackets: 2025-01-01: 28_210 2026-01-01: 29_040 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 21_360 + base_year: 2015 rate: 2021-01-01: 0.19778 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/separate.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/separate.yaml index bb94f04721d..438166f2188 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/separate.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/separate.yaml @@ -16,13 +16,12 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: 2025 Form 1-ES instructions, Standard Deduction Table href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=3 - - title: 2026 Form 1-ES instructions, 2026 Standard Deduction schedules + - title: Wisconsin Statutes 71.05(22)(dp) - Standard deduction limits + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dp + - title: Wisconsin Statutes 71.05(22)(dt) - Standard deduction indexing + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dt + - title: 2026 Form 1-ES instructions, Standard Deduction Schedules href: https://www.revenue.wi.gov/TaxForms2026/2026-Form1-ES-Inst.pdf#page=2 - # The legal code provides inflaton unadjusted amounts - - title: Wisconsin Statutes 71.07 (9)(b)(5) - href: https://docs.legis.wisconsin.gov/2023/statutes/statutes/71/i/05/22/dm - # Form 1 instructions give only a standard deduction table. The Form 1-ES instructions - # and the Tax Exemption Devices reports state the phase-out starts and rates. brackets: - threshold: @@ -38,10 +37,9 @@ brackets: 2025-01-01: 13_390 2026-01-01: 13_780 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 10_140 + base_year: 2015 rate: 2021-01-01: 0.19778 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/single.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/single.yaml index b0af1234aa3..5bbb6f117e4 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/single.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/deductions/standard/phase_out/single.yaml @@ -2,7 +2,7 @@ description: Wisconsin phases out its standard deduction for single filers accor metadata: type: marginal_rate threshold_period: year - threshold_unit: currency-USD + threshold_unit: currency-USD rate_unit: /1 label: Wisconsin standard deduction single phase out reference: @@ -16,13 +16,12 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: 2025 Form 1-ES instructions, Standard Deduction Table href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=3 - - title: 2026 Form 1-ES instructions, 2026 Standard Deduction schedules + - title: Wisconsin Statutes 71.05(22)(dp) - Standard deduction limits + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dp + - title: Wisconsin Statutes 71.05(22)(dt) - Standard deduction indexing + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22/dt + - title: 2026 Form 1-ES instructions, Standard Deduction Schedules href: https://www.revenue.wi.gov/TaxForms2026/2026-Form1-ES-Inst.pdf#page=2 - # The legal code provides inflaton unadjusted amounts - - title: Wisconsin Statutes 71.07 (9)(b)(5) - href: https://docs.legis.wisconsin.gov/2023/statutes/statutes/71/i/05/22/dm - # Form 1 instructions give only a standard deduction table. The Form 1-ES instructions - # and the Tax Exemption Devices reports state the phase-out starts and rates. brackets: - threshold: @@ -38,10 +37,9 @@ brackets: 2025-01-01: 19_550 2026-01-01: 20_120 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 10_380 + base_year: 1999 rate: 2021-01-01: 0.12 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/rates/head_of_household.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/rates/head_of_household.yaml index 3bb39ed9f66..1a8c19c93c4 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/rates/head_of_household.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/rates/head_of_household.yaml @@ -6,6 +6,10 @@ metadata: rate_unit: /1 label: Wisconsin head of household income tax rate reference: + - title: Wisconsin Statutes 71.06(2e)(bm) and (c) - Bracket indexing and rounding + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/06/2e + - title: 2025 Form 1-ES instructions, Tax Rate Schedules + href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=4 - title: eFile.com, Wisconsin Tax Brackets, Rates, Forms, and Standard Deductions (third party, archived January 2025; the only cited source for 2021) href: https://web.archive.org/web/20250119123144/https://www.efile.com/wisconsin-tax-brackets-rates-and-forms/ - title: Wisconsin Department of Revenue, Tax Exemption Devices 2023-25, Individual Income Tax (2022 tax year) @@ -14,7 +18,6 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: State of Wisconsin Department of Revenue href: https://www.revenue.wi.gov/Pages/FAQS/pcs-taxrates.aspx - # The tax form only shows the tax brackets, not the exact rates. - title: 2023 I-010 Form 1 instructions href: https://www.revenue.wi.gov/TaxForms2023/2023-Form1-Inst.pdf#page=39 - title: 2024 Form 1 instructions @@ -40,11 +43,10 @@ brackets: 2025-01-01: 14_680 2026-01-01: 15_110 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 14_680 + base_year: 2024 rate: 2021-01-01: 0.0465 2023-01-01: 0.044 @@ -57,11 +59,10 @@ brackets: 2025-01-01: 50_480 2026-01-01: 51_950 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 50_480 + base_year: 2024 rate: 2021-01-01: 0.053 - threshold: @@ -73,10 +74,9 @@ brackets: 2025-01-01: 323_290 2026-01-01: 332_720 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 323_290 + base_year: 2024 rate: 2021-01-01: 0.0765 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/rates/joint.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/rates/joint.yaml index f24804ab687..87fbdaa74c4 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/rates/joint.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/rates/joint.yaml @@ -6,6 +6,10 @@ metadata: rate_unit: /1 label: Wisconsin joint income tax rate reference: + - title: Wisconsin Statutes 71.06(2e)(bm) and (c) - Bracket indexing and rounding + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/06/2e + - title: 2025 Form 1-ES instructions, Tax Rate Schedules + href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=4 - title: eFile.com, Wisconsin Tax Brackets, Rates, Forms, and Standard Deductions (third party, archived January 2025; the only cited source for 2021) href: https://web.archive.org/web/20250119123144/https://www.efile.com/wisconsin-tax-brackets-rates-and-forms/ - title: Wisconsin Department of Revenue, Tax Exemption Devices 2023-25, Individual Income Tax (2022 tax year) @@ -14,7 +18,6 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: State of Wisconsin Department of Revenue href: https://www.revenue.wi.gov/Pages/FAQS/pcs-taxrates.aspx - # The tax form only shows the tax brackets, not the exact rates. - title: 2023 I-010 Form 1 instructions href: https://www.revenue.wi.gov/TaxForms2023/2023-Form1-Inst.pdf#page=39 - title: 2024 Form 1 instructions @@ -40,11 +43,10 @@ brackets: 2025-01-01: 19_580 2026-01-01: 20_150 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 19_580 + base_year: 2024 rate: 2021-01-01: 0.0465 2023-01-01: 0.044 @@ -57,11 +59,10 @@ brackets: 2025-01-01: 67_300 2026-01-01: 69_260 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 67_300 + base_year: 2024 rate: 2021-01-01: 0.053 - threshold: @@ -73,10 +74,9 @@ brackets: 2025-01-01: 431_060 2026-01-01: 443_630 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 431_060 + base_year: 2024 rate: 2021-01-01: 0.0765 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/rates/separate.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/rates/separate.yaml index 31b6b84fd76..0d1952fa76a 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/rates/separate.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/rates/separate.yaml @@ -6,6 +6,10 @@ metadata: rate_unit: /1 label: Wisconsin separate income tax rate reference: + - title: Wisconsin Statutes 71.06(2e)(bm) and (c) - Bracket indexing and rounding + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/06/2e + - title: 2025 Form 1-ES instructions, Tax Rate Schedules + href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=4 - title: eFile.com, Wisconsin Tax Brackets, Rates, Forms, and Standard Deductions (third party, archived January 2025; the only cited source for 2021) href: https://web.archive.org/web/20250119123144/https://www.efile.com/wisconsin-tax-brackets-rates-and-forms/ - title: Wisconsin Department of Revenue, Tax Exemption Devices 2023-25, Individual Income Tax (2022 tax year) @@ -14,7 +18,6 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: State of Wisconsin Department of Revenue href: https://www.revenue.wi.gov/Pages/FAQS/pcs-taxrates.aspx - # The tax form only shows the tax brackets, not the exact rates. - title: 2023 I-010 Form 1 instructions href: https://www.revenue.wi.gov/TaxForms2023/2023-Form1-Inst.pdf#page=39 - title: 2024 Form 1 instructions @@ -40,11 +43,10 @@ brackets: 2025-01-01: 9_790 2026-01-01: 10_080 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 9_790 + base_year: 2024 rate: 2021-01-01: 0.0465 2023-01-01: 0.044 @@ -57,11 +59,10 @@ brackets: 2025-01-01: 33_650 2026-01-01: 34_630 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 33_650 + base_year: 2024 rate: 2021-01-01: 0.053 - threshold: @@ -73,10 +74,9 @@ brackets: 2025-01-01: 215_530 2026-01-01: 221_820 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 215_530 + base_year: 2024 rate: 2021-01-01: 0.0765 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/rates/single.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/rates/single.yaml index 00bdc32bd70..572dce1d2fe 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/rates/single.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/rates/single.yaml @@ -6,6 +6,10 @@ metadata: rate_unit: /1 label: Wisconsin single income tax rate reference: + - title: Wisconsin Statutes 71.06(2e)(bm) and (c) - Bracket indexing and rounding + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/i/06/2e + - title: 2025 Form 1-ES instructions, Tax Rate Schedules + href: https://www.revenue.wi.gov/TaxForms2025/2025-Form1-ES-Inst.pdf#page=4 - title: eFile.com, Wisconsin Tax Brackets, Rates, Forms, and Standard Deductions (third party, archived January 2025; the only cited source for 2021) href: https://web.archive.org/web/20250119123144/https://www.efile.com/wisconsin-tax-brackets-rates-and-forms/ - title: Wisconsin Department of Revenue, Tax Exemption Devices 2023-25, Individual Income Tax (2022 tax year) @@ -14,7 +18,6 @@ metadata: href: https://www.revenue.wi.gov/DORReports/25sumrpt.pdf#page=9 - title: State of Wisconsin Department of Revenue href: https://www.revenue.wi.gov/Pages/FAQS/pcs-taxrates.aspx - # The tax form only shows the tax brackets, not the exact rates. - title: 2023 I-010 Form 1 instructions href: https://www.revenue.wi.gov/TaxForms2023/2023-Form1-Inst.pdf#page=39 - title: 2024 Form 1 instructions @@ -40,11 +43,10 @@ brackets: 2025-01-01: 14_680 2026-01-01: 15_110 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 14_680 + base_year: 2024 rate: 2021-01-01: 0.0465 2023-01-01: 0.044 @@ -57,11 +59,10 @@ brackets: 2025-01-01: 50_480 2026-01-01: 51_950 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 50_480 + base_year: 2024 rate: 2021-01-01: 0.053 - threshold: @@ -73,10 +74,9 @@ brackets: 2025-01-01: 323_290 2026-01-01: 332_720 metadata: - uprating: - parameter: gov.irs.uprating - rounding: - type: nearest - interval: 10 + uprating: null + wisconsin_indexing: + base: 323_290 + base_year: 2024 rate: 2021-01-01: 0.0765 diff --git a/policyengine_us/parameters/uprating_extensions.py b/policyengine_us/parameters/uprating_extensions.py index 3177b04a9e4..407aa2ba69e 100644 --- a/policyengine_us/parameters/uprating_extensions.py +++ b/policyengine_us/parameters/uprating_extensions.py @@ -83,22 +83,12 @@ def with_medicare_demographic_mix(cost_growth: Dict[int, float]) -> Dict[int, fl ) -def get_irs_cpi(parameters: ParameterNode, year: int) -> float: - """Average chained CPI-U from August of ``year - 1`` through July of ``year``. - - 26 U.S.C. 1(f) uses the 12 months ending August; #9105 tracks the - one-month offset. - """ - 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, + splice_on_growth: bool = True, +) -> float: """Average a monthly price index over the 12 months ending August 31. Covers September of ``year - 1`` through August of ``year``: the @@ -106,14 +96,38 @@ 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. ``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 + completed months are estimates, not observations, and the model's + completion policy rather than a statutory or agency rule: + + - a month BLS did not publish inside the observed range takes the prior + month's value (October 2025, lost to the 2025 lapse in + appropriations, takes September 2025's); + - 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 + be the one a statute reads; see ``get_irs_cpi``. """ # February instants can hold annual projections, so only non-February # instants identify the end of the observed monthly series (one month @@ -124,27 +138,66 @@ def get_average_for_12_months_ending_august(cpi: Parameter, year: int) -> float: if not value.instant_str.endswith("-02-01") ) window_start = instant(f"{year - 1}-09-01") + if window_start > last_observation: + 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) ] - 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") - unobserved_tail = MONTHS_IN_YEAR - len(observed) + # A parameter lookup returns the latest value dated on or before the + # month, which is the completion policy above for a month inside the + # observed range; capping the month at the last observation extends it + # to the tail. return ( - sum(cpi(month) for month in observed) + cpi(observed[-1]) * unobserved_tail - ) / MONTHS_IN_YEAR + sum(cpi(min(month, last_observation)) for month in window_months) + / 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``. + + 1(f)(6)(A) fixes the vintage: the C-CPI-U values to use are the latest + ones as of the date BLS publishes the initial August value for ``year``. + c_cpi_u.yaml holds one vintage per month, whichever was current when the + month was entered, and BLS revises C-CPI-U values after first + publication (August 2025 is 179.656 in the file and was 179.839 in the + BLS data API on 2026-10-06). So for a past year this reconstructs the + statutory index from the file's vintages, not necessarily from the + statutory vintage. Amounts the IRS has published are encoded in the + parameter files and take precedence for their own years; this index + only extends them. + """ + 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_cpi_u_average_for_12_months_ending_august( parameters: ParameterNode, year: int ) -> float: """Average the CPI-U series over the 12 months ending August 31.""" - return get_average_for_12_months_ending_august(parameters.gov.bls.cpi.cpi_u, year) + cpi = parameters.gov.bls.cpi + return get_average_for_12_months_ending_august( + cpi.cpi_u, year, cpi.tax_year_projection.cpi_u + ) def get_ar_cpi(parameters: ParameterNode, calendar_year: int) -> float: @@ -270,9 +323,7 @@ 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. """ - window = get_average_for_12_months_ending_august( - parameters.gov.bls.cpi.cpi_u, tax_year - 1 - ) + window = get_cpi_u_average_for_12_months_ending_august(parameters, tax_year - 1) return max(window / get_or_ctc_cpi_base(parameters) - 1, 0) @@ -290,13 +341,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( @@ -310,9 +362,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) @@ -353,8 +403,10 @@ def get_hsa_cola_denominator(parameters: ParameterNode) -> float: """ cpi = parameters.gov.bls.cpi ratio_2016 = get_average_for_12_months_ending_august( - cpi.c_cpi_u, 2016 - ) / get_average_for_12_months_ending_august(cpi.cpi_u, 2016) + cpi.c_cpi_u, 2016, cpi.tax_year_projection.c_cpi_u + ) / get_average_for_12_months_ending_august( + cpi.cpi_u, 2016, cpi.tax_year_projection.cpi_u + ) return ( get_average_for_12_months_ending_march( cpi.cpi_u, HSA_CONTRIBUTION_LIMIT_BASE_YEAR @@ -446,14 +498,11 @@ def set_irs_c_cpi_u_index(parameters: ParameterNode, end_year: int) -> None: ratio it used. """ index = parameters.gov.irs.indexing.c_cpi_u - chained = parameters.gov.bls.cpi.c_cpi_u values = {} for year in range(_first_index_year(index), end_year + 1): calendar_year = year - 1 if calendar_year >= 2016: - values[year] = get_average_for_12_months_ending_august( - chained, calendar_year - ) + values[year] = get_irs_cpi(parameters, calendar_year) else: values[year] = get_irs_cola_denominator(parameters, calendar_year) _set_annual_index(index, values, end_year) @@ -588,13 +637,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 @@ -630,6 +678,144 @@ def month_index(date: Instant) -> float: return anchors[-1][1] +def extend_nsa_cpi_u_projections(parameters: ParameterNode) -> None: + """Append calendar-year CPI-U forecast points to the independent NSA series. + + BLS CUUR0000SA0 observations take precedence. After the last observation, + use the existing CBO calendar-year CPI-U forecast and monthly interpolation + policy as a proxy for future NSA months; CBO does not forecast individual + August observations. These appended February points are forecasts, not BLS + observations. Vermont uses the separate CBO tax-year averages instead. + """ + cpi = parameters.gov.bls.cpi + nsa = cpi.cpi_u_nsa + last_observation = max(instant(value.instant_str) for value in nsa.values_list) + for value in sorted(cpi.cpi_u.values_list, key=lambda value: value.instant_str): + date = instant(value.instant_str) + if date > last_observation and value.instant_str.endswith("-02-01"): + nsa.update(start=date, value=value.value) + + +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. + + 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, + splice_on_growth=False, + ) + + +def extend_vt_cpi_u_indexed_amounts(parameters: ParameterNode, end_year: int) -> None: + """Extend Vermont amounts from statutory bases, preserving published anchors. + + 32 V.S.A. 5811(21)(C)-(D) and 5822(a)-(b) substitute unchained CPI-U + in the federal September-August window. The 2017 base window is inferred + from agency amounts, not expressly specified in the statute. That window + and rounding reproduce published 2021-2025 deductions and 2024-2026 + brackets. Earlier agency rounding differs in some years, so historical + anchors are retained. + The 2026 bracket anchors are explicitly labelled preliminary in the YAML; + 2026 deductions and exemptions are calculated estimates pending publication. + """ + tax = parameters.gov.states.vt.tax.income + standard = tax.deductions.standard + amounts = [(standard.additional, 1_000, 50), (tax.exemption.personal, 4_150, 50)] + for status, base in ( + ("SINGLE", 6_000), + ("SEPARATE", 6_000), + ("HEAD_OF_HOUSEHOLD", 9_000), + ("JOINT", 12_000), + ("SURVIVING_SPOUSE", 12_000), + ): + amounts.append((standard.base.children[status], base, 50)) + for status, bases in ( + ("single", (38_700, 93_700, 195_450)), + ("head_of_household", (51_850, 133_850, 216_700)), + ("joint", (64_600, 156_150, 237_950)), + ("surviving_spouse", (64_600, 156_150, 237_950)), + ("separate", (32_300, 78_075, 118_975)), + ): + scale = getattr(tax.rates, status) + for bracket, base in zip(scale.brackets[1:], bases): + amounts.append( + (bracket.threshold, base, 25 if status == "separate" else 50) + ) + denominator = get_vt_cpi(parameters, 2018) + for parameter, base, interval in amounts: + first_year = 1 + max( + int(value.instant_str[:4]) for value in parameter.values_list + ) + for year in range(first_year, end_year + 1): + cola = max(get_vt_cpi(parameters, year) / denominator - 1, 0) + value = base + math.floor(base * cola / interval) * interval + parameter.update(start=instant(f"{year}-01-01"), value=float(value)) + + +def round_wi_amount(amount: float) -> float: + """Wis. Stat. 71.05(22)(dt), 71.06(2e)(c): nearest $10, $5 ties upward.""" + return float( + (Decimal(str(amount)) / 10).quantize(Decimal(1), rounding=ROUND_HALF_UP) * 10 + ) + + +def get_wi_august_cpi(parameters: ParameterNode, tax_year: int) -> float: + """Prior-August NSA CPI-U; unobserved August levels are forecast proxies.""" + return get_projected_cpi_u_for_month( + parameters.gov.bls.cpi.cpi_u_nsa, instant(f"{tax_year - 1}-08-01") + ) + + +def extend_wi_cpi_u_indexed_amounts(parameters: ParameterNode, end_year: int) -> None: + """Apply Wisconsin's statutory bases, August index, rounding and no decrease. + + 71.05(22)(dp)-(dt) uses August 1999 for single/head amounts and August + 2015 for joint/separate amounts. 71.06(2e)(bm) indexes the Act 15 bracket + bases against August 2024. Only years beyond each published anchor are + generated. The dependent limitation in 71.05(22)(f) uses federal indexing + and is outside this helper. + """ + tax = parameters.gov.states.wi.tax.income + for parameter in tax.get_descendants(): + if not isinstance(parameter, Parameter): + continue + rule = parameter.metadata.get("wisconsin_indexing") + if not rule or "base" not in rule: + continue + first_year = 1 + max( + int(value.instant_str[:4]) for value in parameter.values_list + ) + base_index = parameters.gov.bls.cpi.cpi_u_nsa(f"{rule['base_year']}-08-01") + for year in range(first_year, end_year + 1): + unrounded = ( + Decimal(str(rule["base"])) + * Decimal(str(get_wi_august_cpi(parameters, year))) + / Decimal(str(base_index)) + ) + value = max(parameter(f"{year - 1}-01-01"), round_wi_amount(unrounded)) + parameter.update(start=instant(f"{year}-01-01"), value=value) + + standard = tax.deductions.standard + crossover = standard.phase_out.head_of_household.brackets[2].threshold + first_year = 1 + max(int(value.instant_str[:4]) for value in crossover.values_list) + for year in range(first_year, end_year + 1): + date = f"{year}-01-01" + difference = standard.max.HEAD_OF_HOUSEHOLD(date) - standard.max.SINGLE(date) + rate_difference = standard.phase_out.head_of_household.brackets[1].rate( + date + ) - standard.phase_out.single.brackets[1].rate(date) + value = ( + standard.phase_out.single.brackets[1].threshold(date) + + difference / rate_difference + ) + crossover.update(start=instant(date), value=float(math.floor(value + 0.5))) + + def get_la_cpi_u_percentage_increase(cpi: ParameterNode, year: int) -> float: """The CPI-U percentage increase for calendar ``year``, as BLS reports it. @@ -1555,27 +1741,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 - # 2036 averages chained CPI-U from August 2034 to July 2035 (see #9105); - # the 2035 instant holds CBO's February 2026 calendar-2035 point. - IRS_LAST_PROJECTED_YEAR = 2036 + # 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) @@ -1645,9 +1831,8 @@ def set_all_uprating_parameters(parameters: ParameterNode) -> ParameterNode: ) # CPI-U (February values, last projection year 2036). Each February - # instant holds CBO's February 2026 calendar-year average for that year - # (the "# YYYY value" comments name the tax year it feeds), so CBO's last - # point, calendar 2036, sits at the 2036 instant. + # instant holds CBO's February 2026 calendar-year average for that year, + # so CBO's last point, calendar 2036, sits at the 2036 instant. extend_parameter_values( parameters.gov.bls.cpi.cpi_u, last_projected_year=2036, @@ -1864,9 +2049,16 @@ def set_all_uprating_parameters(parameters: ParameterNode) -> ParameterNode: # The Oregon Kids' Credit index under ORS 315.273(5) (unchained CPI-U # over a 2022 Q2 base), which the credit amount and phase-out start # follow from their statutory bases in base mode. Must run after the - # CPI-U extension above so projected windows are available. + # tax-year CPI projection extension above so projected windows are + # available. set_or_ctc_cpi(parameters, end_year=END_YEAR) + # Independent state schedules use unchained NSA observations and keep + # published anchors; future monthly NSA values are explicitly forecasts. + extend_nsa_cpi_u_projections(parameters) + extend_vt_cpi_u_indexed_amounts(parameters, end_year=END_YEAR) + extend_wi_cpi_u_indexed_amounts(parameters, end_year=END_YEAR) + # Louisiana's standard deduction and age-65 retirement income exemption # follow R.S. 47:294(B) and 47:44.1(A): the prior year's amount times the # prior calendar year's CPI-U increase. Must run after the CPI-U extension @@ -1883,7 +2075,7 @@ def set_all_uprating_parameters(parameters: ParameterNode) -> ParameterNode: # The 26 U.S.C. 1(f)(3) index, which the limits on a dependent's standard # deduction (63(c)(4), 1987 and 1997 bases) and the educator expense cap # (62(d)(3), 2014 base) follow from their statutory bases in base mode. - # Must run after the Chained CPI-U and CPI-U extensions above so + # Must run after the tax-year CPI projection extension above so # projected windows are available. set_irs_c_cpi_u_index(parameters, end_year=END_YEAR) @@ -1901,8 +2093,8 @@ def set_all_uprating_parameters(parameters: ParameterNode) -> ParameterNode: # The NYC income tax elimination credit index under Tax Law # § 1310(h)(1)(B)(iii) (CPI-U for the 12 months ending August 31 over the # 2024 index), which the thresholds follow from the statutory 2025 - # amounts. Must run after the CPI-U extension above so projected windows - # are available. + # amounts. Must run after the tax-year CPI projection extension above so + # projected windows are available. set_nyc_income_tax_elimination_credit_cpi(parameters, end_year=END_YEAR) return parameters diff --git a/policyengine_us/tests/core/test_base_mode_uprating.py b/policyengine_us/tests/core/test_base_mode_uprating.py index 727b0deea1d..89adcad82bc 100644 --- a/policyengine_us/tests/core/test_base_mode_uprating.py +++ b/policyengine_us/tests/core/test_base_mode_uprating.py @@ -43,8 +43,9 @@ from policyengine_core.parameters.operations.uprate_parameters import project_from_base 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_cola, + get_irs_cpi, ) from policyengine_us.system import system @@ -462,11 +463,11 @@ def test_joint_standard_deduction_is_twice_the_single_amount_in_every_year(): # Back-test: the printed amounts against the statute's formula, on the -# model's price series and the statute's own window (the C-CPI-U averaged -# over the 12 months ending August 31, 1(f)(4) and (6)), not -# gov.irs.uprating, whose window ends in July (#9105). A year whose window -# the series does not fully observe is skipped: the window helper carries -# the last observation flat, which the IRS never does. +# model's price series and the statute's window (the C-CPI-U averaged over +# the 12 months ending August 31, 1(f)(4) and (6)). A year whose window the +# series does not fully observe is skipped: the window helper gives a month +# with no observation the last value published before it, which the IRS +# never does. CHAINED = PARAMETERS.gov.bls.cpi.c_cpi_u CHAINED_MONTHS = {value.instant_str for value in CHAINED.values_list} @@ -489,7 +490,7 @@ def _window_observed(year): def test_back_test_skips_only_the_unobserved_windows(): """2026 reads Sep 2024-Aug 2025, all observed. c_cpi_u.yaml holds no - October 2025 value and ends at June 2026, inside the 2027 window.""" + October 2025 value, a month of the 2027 window.""" assert all(_window_observed(year) for year in range(2013, 2027)) assert not _window_observed(2027) @@ -506,8 +507,8 @@ def _statutory_cola(year, base_year): """ if base_year <= 2016: return get_irs_cola(PARAMETERS, year, base_year) - numerator = get_average_for_12_months_ending_august(CHAINED, year - 1) - denominator = get_average_for_12_months_ending_august(CHAINED, base_year) + numerator = get_irs_cpi(PARAMETERS, year - 1) + denominator = get_irs_cpi(PARAMETERS, base_year) return max(numerator / denominator - 1, 0) @@ -657,10 +658,9 @@ def test_earned_income_addition_before_tcja_follows_the_cpi_u(): $250 plus that increase rounded down to $50 in every year, and agree with ``base.value`` at the 1998 base period.""" addition = PARAMETERS.gov.irs.deductions.standard.dependent.additional_earned_income - cpi_u = PARAMETERS.gov.bls.cpi.cpi_u - base = get_average_for_12_months_ending_august(cpi_u, 1997) + base = get_cpi_u_average_for_12_months_ending_august(PARAMETERS, 1997) for year in range(1998, 2018): - numerator = get_average_for_12_months_ending_august(cpi_u, year - 1) + numerator = get_cpi_u_average_for_12_months_ending_august(PARAMETERS, year - 1) cola = max(numerator / base - 1, 0) assert addition(f"{year}-01-01") == 250 + _down(250 * cola, 50), year assert addition("1997-01-01") is None 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/core/test_medicare_premium_projection.py b/policyengine_us/tests/core/test_medicare_premium_projection.py index 464726fabb8..d352f037be5 100644 --- a/policyengine_us/tests/core/test_medicare_premium_projection.py +++ b/policyengine_us/tests/core/test_medicare_premium_projection.py @@ -584,7 +584,8 @@ def test_amounts_do_not_fall_when_cpi_u_falls(): average, so a fall leaves it unadjusted. The published index has not fallen below either base, so a small CPI-U path averages 300 for the 12 months ending August 2018, 270 for those ending August 2026 and 250 for - those ending August 2027.""" + those ending August 2027. Each of those windows holds an observed month, + so none reads the tax-year projection.""" cpi = ParameterNode( "gov.bls.cpi", data={ @@ -595,7 +596,8 @@ def test_amounts_do_not_fall_when_cpi_u_falls(): "2025-09-01": 270, "2026-09-01": 250, } - } + }, + "tax_year_projection": {"cpi_u": {"values": {"2028-01-01": 250}}}, }, ) root = SimpleNamespace(gov=SimpleNamespace(bls=SimpleNamespace(cpi=cpi))) 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 ed01564b84b..2894f91bcc1 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 @@ -186,15 +186,24 @@ def test_2026_thresholds_apply_the_hand_computed_factor(status): # Synthetic CPI-U series for the adjustment's window semantics. -def _parameters_for_series(values): - """A minimal parameter tree holding only a synthetic CPI-U series.""" +def _parameters_for_series(values, projection_values): + """A minimal tree with separate monthly and tax-year CPI-U series.""" cpi_u = Parameter("cpi_u", data=dict(values)) - bls = SimpleNamespace(cpi=SimpleNamespace(cpi_u=cpi_u)) + bls = SimpleNamespace( + cpi=SimpleNamespace( + cpi_u=cpi_u, + tax_year_projection=SimpleNamespace( + cpi_u=Parameter("cpi_u_projection", data=dict(projection_values)) + ), + ) + ) return SimpleNamespace(gov=SimpleNamespace(bls=bls)) -def _nyc_cola_on_series(values, tax_year): - parameters = _parameters_for_series(values) +def _nyc_cola_on_series(values, tax_year, projection_values=None): + if projection_values is None: + projection_values = _tax_year_projection() + parameters = _parameters_for_series(values, projection_values) return get_nyc_income_tax_elimination_credit_cola(parameters, tax_year) @@ -227,6 +236,16 @@ def _base_series(): return values +def _tax_year_projection(): + """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(): # Tax year 2026 compares the 2025 index (324) with the 2024 index (300). # Windows shifted one month earlier would give 323 / 300 (window) or @@ -236,14 +255,17 @@ def test_cola_fully_observed_window_averages_monthly_data(): assert _nyc_cola_on_series(_base_series(), 2025) == 0 -def test_cola_unobserved_window_uses_annual_projection_point(): +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 the February 2026 projection point (339) is the 2026 index. - # Averaging the raw instants instead would give - # (5 * 330 + 7 * 339) / 12 = 335.25. - assert _nyc_cola_on_series(_base_series(), 2027) == pytest.approx(39 / 300) - # Tax year 2028 reads the February 2027 projection point (351). - assert _nyc_cola_on_series(_base_series(), 2028) == pytest.approx(51 / 300) + # 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 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) def test_cola_partial_window_carries_last_observation_flat(): @@ -252,16 +274,18 @@ def test_cola_partial_window_carries_last_observation_flat(): # 2027 window averages the four observations with an eight-month tail at # the December level: (1,332 + 8 * 336) / 12 = 335. Averaging only the # observed months (333), reading the raw instants (336.75) or reading the - # projection point (339) would each give a different answer. + # tax-year projection (344) would each give a different answer. values = _base_series() values.update( {"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(51 / 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(): @@ -284,9 +308,10 @@ 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 projection point below the 2024 index also floors at zero. - values["2026-02-01"] = 288 - assert _nyc_cola_on_series(values, 2027) == 0 + # 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) assert _nyc_cola_on_series(values, 2026) == 0 @@ -305,41 +330,66 @@ def test_cola_floors_at_zero_when_the_index_falls_below_2024(): @given( base_window=st.lists(CPI_LEVELS, min_size=12, max_size=12), window_2025=st.lists(CPI_LEVELS, min_size=12, max_size=12), - projections=st.lists(CPI_LEVELS, min_size=2, max_size=2), + calendar_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, projections, scale): +def test_cola_invariants( + 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 - projection point 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( BASE_WINDOW_MONTHS + WINDOW_2025_MONTHS, base_window + window_2025 ): values[f"{year}-{month:02d}-01"] = level - values["2026-02-01"], values["2027-02-01"] = projections + values["2026-02-01"], values["2027-02-01"] = calendar_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(projections[0] / index_2024 - 1, 0), - 2028: max(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) + 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 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. @@ -405,8 +455,8 @@ def _shipped_amount_uprating(status): return upratings[0] -def _synthetic_threshold_parameters(cpi_values, published=None): - """A tree holding a synthetic CPI-U series and the statutory thresholds. +def _synthetic_threshold_parameters(cpi_values, projection_values, published=None): + """A tree holding synthetic CPI-U series and the statutory thresholds. ``published`` maps (status, dependents) to {year: value} entries encoded after 2025, as a Department of Taxation and Finance publication would be. @@ -439,7 +489,12 @@ def _synthetic_threshold_parameters(cpi_values, published=None): "", data={ "gov": { - "bls": {"cpi": {"cpi_u": {"values": cpi_values}}}, + "bls": { + "cpi": { + "cpi_u": {"values": cpi_values}, + "tax_year_projection": {"cpi_u": {"values": projection_values}}, + } + }, "local": { "ny": { "nyc": { @@ -466,23 +521,39 @@ def _synthetic_threshold_parameters(cpi_values, published=None): def _rising_then_falling_series(): - """2024 index 300; 2025 index 330; projections 360, 270, then 315.""" + """2024 index 300; 2025 index 330; distinct calendar-year projections.""" values = {} _monthly(values, 2023, 9, 2024, 8, 300) _monthly(values, 2024, 9, 2025, 8, 330) - values["2026-02-01"] = 360 - values["2027-02-01"] = 270 - values["2028-02-01"] = 315 + values["2026-02-01"] = 370 + values["2027-02-01"] = 290 + values["2028-02-01"] = 325 return values +def _rising_then_falling_projections(): + """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_base_mode_recomputes_each_year_from_the_statutory_amounts(): # Adjustments: 2026 +10%, 2027 +20%, 2028 floored at 0 (index 270 below # 300), 2029 +5%, and 2030 +5% (the last projection point persists). # Thresholds may fall from one year to the next, since each adjustment # measures against 2024 rather than the prior year, but never below the # statutory amounts. - _, thresholds = _synthetic_threshold_parameters(_rising_then_falling_series()) + _, thresholds = _synthetic_threshold_parameters( + _rising_then_falling_series(), _rising_then_falling_projections() + ) factors = {2025: 1, 2026: 1.1, 2027: 1.2, 2028: 1, 2029: 1.05, 2030: 1.05} for status, statutory in STATUTORY_THRESHOLDS.items(): scale = thresholds.children[status] @@ -500,7 +571,7 @@ def test_base_mode_keeps_published_values_and_projects_after_them(): # published value. Other brackets are projected from 2026 as usual. published = {("joint", 1): {2026: 40_000}} _, thresholds = _synthetic_threshold_parameters( - _rising_then_falling_series(), published + _rising_then_falling_series(), _rising_then_falling_projections(), published ) joint = thresholds.children["joint"].brackets assert joint[0].amount("2026-01-01") == 40_000 diff --git a/policyengine_us/tests/core/test_state_uprating_rounding.py b/policyengine_us/tests/core/test_state_uprating_rounding.py index 5aad05182f9..a7338d8cc38 100644 --- a/policyengine_us/tests/core/test_state_uprating_rounding.py +++ b/policyengine_us/tests/core/test_state_uprating_rounding.py @@ -1,18 +1,106 @@ """Regression coverage for state parameter uprating and rounding.""" -from decimal import ROUND_HALF_DOWN, Decimal +from decimal import ROUND_FLOOR, ROUND_HALF_DOWN, ROUND_HALF_UP, Decimal from fractions import Fraction from math import floor, isinf +from pathlib import Path +from types import SimpleNamespace import pytest +from policyengine_core.parameters import Parameter, ParameterNode, load_parameter_file +from policyengine_us.parameters.uprating_extensions import ( + extend_vt_cpi_u_indexed_amounts, + extend_wi_cpi_u_indexed_amounts, + get_irs_cpi, + round_wi_amount, +) from policyengine_us.system import system as SYSTEM +PARAMETER_DIR = Path(__file__).parents[2] / "parameters" + + def _thresholds(scale, period, bracket_indexes=(1, 2, 3)): return tuple(scale.brackets[index].threshold(period) for index in bracket_indexes) +def _observed_september_august_average(cpi, ending_year): + """Average twelve actual monthly records without using an indexing helper.""" + months = [ + *(f"{ending_year - 1}-{month:02d}-01" for month in range(9, 13)), + *(f"{ending_year}-{month:02d}-01" for month in range(1, 9)), + ] + observations = { + value.instant_str: Decimal(str(value.value)) for value in cpi.values_list + } + # A missing month raises KeyError rather than silently completing the window. + return sum(observations[month] for month in months) / Decimal(12) + + +def _wi_independent_indexed_amount(base, index, base_index, prior): + """Apply the statutory ratio, $10 half-up rounding, and prior-year floor.""" + unrounded = Decimal(str(base)) * Decimal(str(index)) / Decimal(str(base_index)) + rounded = int(unrounded.quantize(Decimal("1E1"), rounding=ROUND_HALF_UP)) + return max(prior, rounded) + + +def _raw_state_indexing_parameters(*states, cpi=None): + """Use published source trees so the extensions actually generate new years.""" + state_nodes = { + state: SimpleNamespace( + tax=SimpleNamespace( + income=ParameterNode( + f"gov.states.{state}.tax.income", + directory_path=str( + PARAMETER_DIR / f"gov/states/{state}/tax/income" + ), + ) + ) + ) + for state in states + } + return SimpleNamespace( + gov=SimpleNamespace( + bls=SimpleNamespace( + cpi=SYSTEM.parameters.gov.bls.cpi.clone() if cpi is None else cpi + ), + states=SimpleNamespace(**state_nodes), + ) + ) + + +def _indexed_state_values(parameters, years): + indexed = [] + states = parameters.gov.states + if hasattr(states, "vt"): + tax = states.vt.tax.income + standard = tax.deductions.standard + indexed.extend(standard.base.children.values()) + indexed.extend((standard.additional, tax.exemption.personal)) + for status in ( + "single", + "head_of_household", + "joint", + "surviving_spouse", + "separate", + ): + scale = getattr(tax.rates, status) + indexed.extend(bracket.threshold for bracket in scale.brackets[1:]) + if hasattr(states, "wi"): + indexed.extend( + parameter + for parameter in states.wi.tax.income.get_descendants() + if isinstance(parameter, Parameter) + and parameter.metadata.get("wisconsin_indexing") + ) + return { + (parameter.name, year): parameter(f"{year}-01-01") + for parameter in indexed + for year in years + } + + def _nearest_100_half_down(amount): # Independent of round_ar_income_tax_bound: decimal half-down rounding # after rounding the float product to the cent. @@ -65,6 +153,7 @@ def test_ar_income_tax_bounds_round_to_nearest_100_from_2026(): 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", @@ -75,17 +164,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(): @@ -111,41 +211,86 @@ 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) -def test_vt_standard_deductions_round_down_to_fifty_dollars(): +def test_vt_deductions_and_exemption_preserve_published_2025(): + # 2025 Vermont Income Tax Return Booklet, p. 11, and IN-111 line 5e. standard = SYSTEM.parameters.gov.states.vt.tax.income.deductions.standard - base = standard.base("2026-01-01") + base = standard.base("2025-01-01") - assert standard.additional("2026-01-01") == 1_250 + assert standard.additional("2025-01-01") == 1_250 expected = { - "JOINT": 15_600, - "HEAD_OF_HOUSEHOLD": 11_700, - "SURVIVING_SPOUSE": 15_600, - "SINGLE": 7_800, - "SEPARATE": 7_800, + "JOINT": 15_300, + "HEAD_OF_HOUSEHOLD": 11_450, + "SURVIVING_SPOUSE": 15_300, + "SINGLE": 7_650, + "SEPARATE": 7_650, } assert {status: base[status] for status in expected} == expected + assert ( + SYSTEM.parameters.gov.states.vt.tax.income.exemption.personal("2025-01-01") + == 5_300 + ) + + +def test_vt_2026_deductions_and_exemption_use_observed_unchained_cpi(): + # These 2026 amounts are calculated estimates pending Vermont publication. + # 32 V.S.A. 5811(21)(C)-(D): $6,000/$9,000/$12,000 standard deductions, + # $1,000 additional deduction, and $4,150 exemption. The 2017 base window + # reproduces published amounts; each increase rounds down to $50. + nsa = load_parameter_file(str(PARAMETER_DIR / "gov/bls/cpi/cpi_u_nsa.yaml")) + numerator = _observed_september_august_average(nsa, 2025) + denominator = _observed_september_august_average(nsa, 2017) + assert float(numerator) == pytest.approx(319.205) + assert float(denominator) == pytest.approx(243.391833333333) + cola = numerator / denominator - 1 + + def expected_amount(statutory_base): + increase = (Decimal(statutory_base) * cola / 50).to_integral_value( + rounding=ROUND_FLOOR + ) * 50 + return statutory_base + int(increase) + + tax = SYSTEM.parameters.gov.states.vt.tax.income + base = tax.deductions.standard.base("2026-01-01") + for status, statutory_base in ( + ("SINGLE", 6_000), + ("SEPARATE", 6_000), + ("HEAD_OF_HOUSEHOLD", 9_000), + ("JOINT", 12_000), + ("SURVIVING_SPOUSE", 12_000), + ): + assert base[status] == expected_amount(statutory_base), status + assert tax.deductions.standard.additional("2026-01-01") == expected_amount(1_000) + assert tax.exemption.personal("2026-01-01") == expected_amount(4_150) @pytest.mark.parametrize( ("filing_status", "expected"), ( - ("head_of_household", (67_700, 174_850, 283_100)), - ("joint", (84_350, 203_950, 310_850)), - ("separate", (42_150, 101_950, 155_400)), - ("single", (50_500, 122_400, 255_350)), - ("surviving_spouse", (84_350, 203_950, 310_850)), + ("head_of_household", (68_000, 175_500, 284_150)), + ("joint", (84_700, 204_750, 312_050)), + ("separate", (42_350, 102_375, 156_025)), + ("single", (50_750, 122_850, 256_300)), + ("surviving_spouse", (84_700, 204_750, 312_050)), ), ) -def test_vt_income_tax_thresholds_round_down_to_fifty_dollars( +def test_vt_income_tax_thresholds_preserve_published_preliminary_2026( filing_status, expected, ): + # IN-114-Instr-2026, p. 2, explicitly labels these rates preliminary. + # MFS thresholds use $25 increments, as §1(f)(7)(B) prescribes. scale = getattr( SYSTEM.parameters.gov.states.vt.tax.income.rates, filing_status, @@ -155,54 +300,163 @@ def test_vt_income_tax_thresholds_round_down_to_fifty_dollars( @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_round_to_ten_dollars( +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 +def test_wi_standard_deduction_maxima_and_crossover_preserve_published_2026(): + # 2026 Form 1-ES instructions, p. 2, including the HOH switch to single. + standard = SYSTEM.parameters.gov.states.wi.tax.income.deductions.standard + maxima = standard.max("2026-01-01") + expected = { + "SINGLE": 13_960, + "HEAD_OF_HOUSEHOLD": 18_030, + "JOINT": 25_840, + "SURVIVING_SPOUSE": 25_840, + "SEPARATE": 12_280, + } + assert {status: maxima[status] for status in expected} == expected + assert ( + standard.phase_out.head_of_household.brackets[2].threshold("2026-01-01") + == 58_827 + ) + + @pytest.mark.parametrize( - ("filing_status", "published_2026", "projected_2027"), + ("filing_status", "published_2026", "statutory_2025"), ( - ("head_of_household", (15_110, 51_950, 332_720), (15_560, 53_500, 342_640)), - ("joint", (20_150, 69_260, 443_630), (20_750, 71_320, 456_850)), - ("separate", (10_080, 34_630, 221_820), (10_380, 35_660, 228_430)), - ("single", (15_110, 51_950, 332_720), (15_560, 53_500, 342_640)), + ("head_of_household", (15_110, 51_950, 332_720), (14_680, 50_480, 323_290)), + ("joint", (20_150, 69_260, 443_630), (19_580, 67_300, 431_060)), + ("separate", (10_080, 34_630, 221_820), (9_790, 33_650, 215_530)), + ("single", (15_110, 51_950, 332_720), (14_680, 50_480, 323_290)), ), ) def test_wi_income_tax_thresholds_use_published_then_rounded_values( filing_status, published_2026, - projected_2027, + statutory_2025, ): + # Published 2026: Form 1-ES instructions, p. 3. 2027: Wis. Stat. + # 71.06(1r), (2)(k)-(L), (2e)(bm) and (c), using Act 15's 2025 bases + # and actual prior-August CUUR0000SA0. Later August forecasts are proxies. scale = getattr( SYSTEM.parameters.gov.states.wi.tax.income.rates, filing_status, ) assert _thresholds(scale, "2026-01-01") == published_2026 - assert _thresholds(scale, "2027-01-01") == projected_2027 + nsa = SYSTEM.parameters.gov.bls.cpi.cpi_u_nsa + assert nsa("2024-08-01") == 314.796 + assert nsa("2026-08-01") == 334.980 + expected_2027 = tuple( + _wi_independent_indexed_amount(base, "334.980", "314.796", prior) + for base, prior in zip(statutory_2025, published_2026) + ) + assert _thresholds(scale, "2027-01-01") == expected_2027 + + +def test_state_indexes_do_not_follow_federal_chained_cpi(): + baseline = _raw_state_indexing_parameters("vt", "wi") + refreshed = _raw_state_indexing_parameters("vt", "wi") + refreshed.gov.bls.cpi.c_cpi_u.update(period="month:2026-08-01:1", value=9_999) + assert get_irs_cpi(refreshed, 2026) != get_irs_cpi(baseline, 2026) + + for parameters in (baseline, refreshed): + extend_vt_cpi_u_indexed_amounts(parameters, 2028) + extend_wi_cpi_u_indexed_amounts(parameters, 2028) + # 2026 and 2027 have NSA observations; Vermont's 2027 window still + # estimates the missing October 2025 value. 2028 uses the documented + # unchained state forecast proxies, which must also be independent. + assert _indexed_state_values(refreshed, (2026, 2027, 2028)) == ( + _indexed_state_values(baseline, (2026, 2027, 2028)) + ) + + +@pytest.mark.parametrize( + ("amount", "expected"), + ( + ("4.999", 0), + ("5", 10), + ("15", 20), + ("25", 30), + ("1004.999", 1_000), + ("1005", 1_010), + ), +) +def test_wi_half_ten_rounds_up(amount, expected): + assert round_wi_amount(Decimal(amount)) == expected + + +def test_wi_indexed_amounts_never_decrease(): + nsa = Parameter( + "cpi_u_nsa", + data={ + "1999-08-01": 167.1, + "2015-08-01": 238.316, + "2024-08-01": 314.796, + "2025-08-01": 323.976, + "2026-08-01": 300, + "2027-08-01": 290, + }, + ) + parameters = _raw_state_indexing_parameters( + "wi", cpi=SimpleNamespace(cpi_u_nsa=nsa) + ) + indexed = [ + parameter + for parameter in parameters.gov.states.wi.tax.income.get_descendants() + if isinstance(parameter, Parameter) + and "base" in parameter.metadata.get("wisconsin_indexing", {}) + ] + assert indexed + published = {parameter.name: parameter("2026-01-01") for parameter in indexed} + assert nsa("2027-08-01") < nsa("2026-08-01") < nsa("2025-08-01") + extend_wi_cpi_u_indexed_amounts(parameters, 2028) + + for parameter in indexed: + rule = parameter.metadata["wisconsin_indexing"] + base_index = nsa(f"{rule['base_year']}-08-01") + prior = published[parameter.name] + for year in (2027, 2028): + current_index = nsa(f"{year - 1}-08-01") + unrounded = ( + Decimal(str(rule["base"])) + * Decimal(str(current_index)) + / Decimal(str(base_index)) + ) + # Every statutory candidate falls below its published anchor, + # so equality proves that the no-decrease clause actually binds. + assert unrounded < prior, (parameter.name, year) + assert parameter(f"{year}-01-01") == prior, (parameter.name, year) def test_wa_working_families_tax_credit_amounts_round_to_five_dollars(): 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/irs/deductions/standard/basic_standard_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/irs/deductions/standard/basic_standard_deduction.yaml index 91e067b60c5..82d4635be9e 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,32 @@ output: basic_standard_deduction: 16_600 +- name: 2028 single filer standard deduction adds the rounded cost-of-living increase to $15,750 + # 26 U.S.C. 63(c)(7)(B)(ii) increases the $15,750 by the growth of the + # C-CPI-U since calendar year 2024 (index 173.093417) and rounds the + # increase down to $50. 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): + # 182.500667 x 185.881 / 181.654 = 186.747368. + # $15,750 x (186.747368 / 173.093417 - 1) = $1,242.39, rounded down to + # $1,200: $16,950. + # Reading CBO's 185.881 as a level gives an increase of $1,163.56, + # rounded down to $1,150: $16,900. + period: 2028 + input: + filing_status: SINGLE + output: + basic_standard_deduction: 16_950 + +- name: 2028 joint standard deduction is twice the single amount + # 26 U.S.C. 63(c)(2)(A): 200 percent of the single amount, 2 x $16,950. + period: 2028 + input: + filing_status: JOINT + output: + basic_standard_deduction: 33_900 + - 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,14 +154,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 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 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,400 cap. period: 2032 input: people: @@ -157,11 +182,13 @@ # 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 2036 at its 2035-2036 growth rate, - # 223.5 x (223.5 / 219.2)^5 = 246.299. + # 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, 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 (246.299 / 63.813 - 1) = $1,429.85, 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: @@ -179,9 +206,34 @@ output: basic_standard_deduction: 1_900 +- 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.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: + head: + age: 20 + claimed_as_dependent_on_another_return: true + tax_units: + tax_unit: + members: [head] + filing_status: SINGLE + households: + household: + members: [head] + output: + 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 246.299 and 1997 denominator of 90.886. - # Increase = $250 x (246.299 / 90.886 - 1) = $427.49, 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/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] 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/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..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 @@ -172,3 +172,57 @@ 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 + +- 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 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 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 95f3e8e0eec..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,11 +64,12 @@ ca_amt_exemption: 0 ca_non_refundable_credits: 0 output: - # Regular tax falls to 88,897.94 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,897.94 = 9,102.06 and total tax is 98,000. - ca_income_tax_before_credits: 88_897.94 - ca_amt: 9_102.06 + # 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 8202f48fb5b..09450aa53c3 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 @@ -22,6 +22,75 @@ # 82_046.3 + (12.30% of (1_000_000 - 850_503)) = 100_434.131 ca_income_tax_before_credits: 100_434.131 +# Published 2026 amounts: FTB Tax News, October 2026, 2026 Indexing. +# https://www.ftb.ca.gov/about-ftb/newsroom/tax-news/#article1 + +- name: California 2026 published single schedule at taxable income 25_000 + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: CA + filing_status: SINGLE + ca_taxable_income: 25_000 + output: + # 114.56 + .02 * (25_000 - 11_456) = 385.44 + ca_income_tax_before_credits: 385.44 + +- name: California 2026 published separate schedule at taxable income 25_000 + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: CA + filing_status: SEPARATE + ca_taxable_income: 25_000 + output: + # 114.56 + .02 * (25_000 - 11_456) = 385.44 + ca_income_tax_before_credits: 385.44 + +- name: California 2026 published joint schedule at taxable income 50_000 + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: CA + filing_status: JOINT + ca_taxable_income: 50_000 + output: + # 229.12 + .02 * (50_000 - 22_912) = 770.88 + ca_income_tax_before_credits: 770.88 + +- name: California 2026 published surviving spouse schedule at taxable income 50_000 + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: CA + filing_status: SURVIVING_SPOUSE + ca_taxable_income: 50_000 + output: + # 229.12 + .02 * (50_000 - 22_912) = 770.88 + ca_income_tax_before_credits: 770.88 + +- name: California 2026 published head of household schedule at taxable income 60_000 + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: CA + filing_status: HEAD_OF_HOUSEHOLD + ca_taxable_income: 60_000 + output: + # 857.05 + .04 * (60_000 - 54_316) = 1_084.41 + ca_income_tax_before_credits: 1_084.41 + +- name: California 2026 published single schedule at taxable income 1_000_000 + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: CA + filing_status: SINGLE + ca_taxable_income: 1_000_000 + output: + # 74_675.27 + .123 * (1_000_000 - 768_213) = 103_185.071 + ca_income_tax_before_credits: 103_185.07 + # 2026 cases: FTB Tax News, October 2026, 2026 Indexing, lists each schedule's # tax at each bracket threshold. # https://www.ftb.ca.gov/about-ftb/newsroom/tax-news/2026/10.html#article1 @@ -92,9 +161,13 @@ # 53,563.49 + 11.3% x (1,044,771 - 626,864) ca_income_tax_before_credits: 100_786.98 -# 2030-2031 cases: thresholds are the FTB 2026 schedules uprated by gov.states.ca.cpi, -# which follows gov.irs.uprating after its June 2026 value: a factor of -# f2030 = 193 / 176.713083 for 2030 and f2031 = 196.85 / 176.713083 for 2031. +# 2030-2031 cases: thresholds are the published FTB 2026 schedules uprated by +# 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)). @@ -110,7 +183,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_358.81 + 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 @@ -120,8 +193,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,765.89. - ca_income_tax_before_credits: 88_897.94 + # 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 @@ -131,8 +204,8 @@ filing_status: JOINT state_code: CA output: - # 2 x 88,897.94, the single tax on $1 million. - ca_income_tax_before_credits: 177_795.87 + # 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 @@ -143,7 +216,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_897.94 + 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 @@ -153,8 +226,8 @@ filing_status: SURVIVING_SPOUSE state_code: CA output: - # Treated as a joint return (RTC § 17045): 2 x 88,897.94. - ca_income_tax_before_credits: 177_795.87 + # 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 @@ -165,7 +238,7 @@ state_code: CA output: # 3,739.45f + .093 x (1,500,000 - 102,356f), f = f2031. - ca_income_tax_before_credits: 133_061.73 + 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 @@ -177,4 +250,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_225.32 + 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 f0722c7f49f..cde815b09ab 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,9 +43,10 @@ ca_non_refundable_credits: 0 ca_amt: 0 output: - # Regular tax 3,310.88f + .093 x (2,000,000 - 75,197f) = 181,897.94 (f = 196.85 / 176.713083), + # 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_897.94 + 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/ca/tax/income/credits/renter/ca_renter_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/credits/renter/ca_renter_credit.yaml index 4c72d23202b..cbc76a94848 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/credits/renter/ca_renter_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/credits/renter/ca_renter_credit.yaml @@ -48,6 +48,109 @@ output: ca_renter_credit: 0 +# Published 2026 amounts: FTB Tax News, October 2026, 2026 Indexing. +# https://www.ftb.ca.gov/about-ftb/newsroom/tax-news/#article1 + +- name: California 2026 renter credit at the published single ceiling + period: 2026 + input: + state_code: CA + filing_status: SINGLE + ca_agi: 55_830 + rent: 1 + output: + ca_renter_credit: 60 + +- name: California 2026 renter credit one dollar above the published single ceiling + period: 2026 + input: + state_code: CA + filing_status: SINGLE + ca_agi: 55_831 + rent: 1 + output: + ca_renter_credit: 0 + +- name: California 2026 renter credit at the published separate ceiling + period: 2026 + input: + state_code: CA + filing_status: SEPARATE + ca_agi: 55_830 + rent: 1 + output: + ca_renter_credit: 60 + +- name: California 2026 renter credit one dollar above the published separate ceiling + period: 2026 + input: + state_code: CA + filing_status: SEPARATE + ca_agi: 55_831 + rent: 1 + output: + ca_renter_credit: 0 + +- name: California 2026 renter credit at the published joint ceiling + period: 2026 + input: + state_code: CA + filing_status: JOINT + ca_agi: 111_660 + rent: 1 + output: + ca_renter_credit: 120 + +- name: California 2026 renter credit one dollar above the published joint ceiling + period: 2026 + input: + state_code: CA + filing_status: JOINT + ca_agi: 111_661 + rent: 1 + output: + ca_renter_credit: 0 + +- name: California 2026 renter credit at the published surviving spouse ceiling + period: 2026 + input: + state_code: CA + filing_status: SURVIVING_SPOUSE + ca_agi: 111_660 + rent: 1 + output: + ca_renter_credit: 120 + +- name: California 2026 renter credit one dollar above the published surviving spouse ceiling + period: 2026 + input: + state_code: CA + filing_status: SURVIVING_SPOUSE + ca_agi: 111_661 + rent: 1 + output: + ca_renter_credit: 0 + +- name: California 2026 renter credit at the published head of household ceiling + period: 2026 + input: + state_code: CA + filing_status: HEAD_OF_HOUSEHOLD + ca_agi: 111_660 + rent: 1 + output: + ca_renter_credit: 120 + +- name: California 2026 renter credit one dollar above the published head of household ceiling + period: 2026 + input: + state_code: CA + filing_status: HEAD_OF_HOUSEHOLD + ca_agi: 111_661 + rent: 1 + output: + ca_renter_credit: 0 + # RTC 17053.5(d)(2): a qualified renter does not include "an individual whose # principal place of residence for more than 50 percent of the taxable year is # with another person who claimed that individual as a dependent". The 2025 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/deductions/standard/ca_standard_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/deductions/standard/ca_standard_deduction.yaml index 89c8150e664..8d2111399b9 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/deductions/standard/ca_standard_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/deductions/standard/ca_standard_deduction.yaml @@ -14,6 +14,49 @@ output: ca_standard_deduction: 9_606 +# Published 2026 amounts: FTB Tax News, October 2026, 2026 Indexing. +# https://www.ftb.ca.gov/about-ftb/newsroom/tax-news/#article1 + +- name: California 2026 published standard deduction for single + period: 2026 + input: + state_code: CA + filing_status: SINGLE + output: + ca_standard_deduction: 5_900 + +- name: California 2026 published standard deduction for separate + period: 2026 + input: + state_code: CA + filing_status: SEPARATE + output: + ca_standard_deduction: 5_900 + +- name: California 2026 published standard deduction for joint + period: 2026 + input: + state_code: CA + filing_status: JOINT + output: + ca_standard_deduction: 11_800 + +- name: California 2026 published standard deduction for surviving spouse + period: 2026 + input: + state_code: CA + filing_status: SURVIVING_SPOUSE + output: + ca_standard_deduction: 11_800 + +- name: California 2026 published standard deduction for head of household + period: 2026 + input: + state_code: CA + filing_status: HEAD_OF_HOUSEHOLD + output: + ca_standard_deduction: 11_800 + # RTC 17073.5 and the Form 540 "California Standard Deduction Worksheet for # Dependents", used "only if your parent, or someone else, can claim you (or # your spouse/RDP) as a dependent": the smaller of the California amount diff --git a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/exemptions/ca_exemptions.yaml b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/exemptions/ca_exemptions.yaml index 1fae34f3b57..a319153298f 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/exemptions/ca_exemptions.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/exemptions/ca_exemptions.yaml @@ -40,6 +40,42 @@ output: ca_exemptions: 658 +# Published 2026 amounts: FTB Tax News, October 2026, 2026 Indexing. +# https://www.ftb.ca.gov/about-ftb/newsroom/tax-news/#article1 + +- name: California 2026 published single personal credit + period: 2026 + input: + state_code: CA + filing_status: SINGLE + aged_blind_count: 0 + adjusted_gross_income: 1 + tax_unit_dependents: 0 + output: + ca_exemptions: 158 + +- name: California 2026 published joint personal credit + period: 2026 + input: + state_code: CA + filing_status: JOINT + aged_blind_count: 0 + adjusted_gross_income: 1 + tax_unit_dependents: 0 + output: + ca_exemptions: 316 + +- name: California 2026 published joint personal and dependent credits + period: 2026 + input: + state_code: CA + filing_status: JOINT + aged_blind_count: 0 + adjusted_gross_income: 1 + tax_unit_dependents: 1 + output: + ca_exemptions: 807 + # RTC 17054 and the Form 540 line 6-10 instructions: a filer whom another # taxpayer can claim gets no personal, blind or senior credit (line 7 enters # 0 for a single or head of household filer, and on a joint return 1 when only 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/baseline/gov/states/dc/tax/income/dc_kccatc.yaml b/policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_kccatc.yaml index 7c841a4ae0d..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 @@ -356,3 +356,35 @@ state_code: DC output: dc_kccatc: [0, 1_200] + +# 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 + 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 6322c2b4bd4..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 @@ -894,3 +894,54 @@ # The head can claim but pays no rent: max(0 * 20% - 10,000 * 3%, 0) = 0. dc_ptc_eligible_claimant: [true, false] 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. +# 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 + 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 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. 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 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 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 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 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 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 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/credits/test_or_ctc_sunset.py b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/test_or_ctc_sunset.py index 1e66d649e83..c71cf43cb19 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,30 @@ def _base_series(): return values +# CBO's projections of the 12 months ending the August before each tax +# 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 {"2026-01-01": 165.5, "2027-01-01": 172, "2028-01-01": 179} + + 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_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(): @@ -170,16 +188,17 @@ 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) + # 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/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 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/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/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 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 diff --git a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_income_tax_before_credits.yaml b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_income_tax_before_credits.yaml index d230d4d8cd9..7e84f4faa77 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_income_tax_before_credits.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_income_tax_before_credits.yaml @@ -28,6 +28,49 @@ output: wi_income_tax_before_credits: 22_232.83 # same as for SINGLE filing unit +# 2025 Act 15 bracket tops, corroborated by 2025 Form 1-ES, PDF page 4. +- name: WI 2025 single third bracket starts at the statutory amount + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: SINGLE + wi_taxable_income: 51_000 + output: + # 2,089.00 + (51,000 - 50,480) * 5.3%. + wi_income_tax_before_credits: 2_116.56 + +- name: WI 2025 head of household shares the statutory single brackets + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: HEAD_OF_HOUSEHOLD + wi_taxable_income: 51_000 + output: + wi_income_tax_before_credits: 2_116.56 + +- name: WI 2025 joint third bracket starts at the statutory amount + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: JOINT + wi_taxable_income: 68_000 + output: + # 2,784.98 + (68,000 - 67,300) * 5.3%. + wi_income_tax_before_credits: 2_822.08 + +- name: WI 2025 separate third bracket starts at the statutory amount + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: SEPARATE + wi_taxable_income: 34_000 + output: + # 1,392.49 + (34,000 - 33,650) * 5.3%. + wi_income_tax_before_credits: 1_411.04 - name: WI 2025 single tax matches the Tax Computation Worksheet absolute_error_margin: 0.01 period: 2025 diff --git a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_standard_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_standard_deduction.yaml index e5165514367..69194fdb125 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_standard_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_standard_deduction.yaml @@ -36,7 +36,9 @@ wi_agi: 49_705 + 10_000 state_code: WI output: - wi_standard_deduction: 7_864.22 - 0.12 * 10_000 + # Above the published HOH crossover, §71.05(22)(dp) uses the single + # formula, rather than continuing the rounded HOH amount at the switch. + wi_standard_deduction: 11_790 - (59_705 - 16_990) * 0.12 # 2026 Form 1-ES instructions, page 2, "2026 Standard Deduction" schedules. - name: WI 2026 single standard deduction below the phase-out @@ -93,11 +95,68 @@ state_code: WI output: # Head of household, over $58,827 but not over $136,453: - # 13,960 less 12% of the amount over $20,120. The model reaches the - # same amount through the 22.515% and 12% segments that meet at $58,827, - # within $0.05 of the schedule. + # 13,960 less 12% of the amount over $20,120 (the single schedule). wi_standard_deduction: 13_960 - 0.12 * (70_000 - 20_120) +# Published schedules: 2026 Form 1-ES instructions, PDF page 2. +- name: WI 2026 published single deduction before phaseout + period: 2026 + input: + state_code: WI + filing_status: SINGLE + wi_agi: 20_000 + output: + wi_standard_deduction: 13_960 + +- name: WI 2026 published joint deduction after phaseout + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: JOINT + wi_agi: 30_000 + output: + # 25,840 - (30,000 - 29,040) * 19.778%. + wi_standard_deduction: 25_650.1312 + +- name: WI 2026 published head deduction after phaseout + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: HEAD_OF_HOUSEHOLD + wi_agi: 20_130 + output: + # 18,030 - (20,130 - 20,120) * 22.515%. + wi_standard_deduction: 18_027.7485 + +- name: WI 2026 published separate deduction after phaseout + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: SEPARATE + wi_agi: 14_000 + output: + # 12,280 - (14,000 - 13,780) * 19.778%. + wi_standard_deduction: 12_236.4884 + +- name: WI 2026 surviving spouse shares joint schedule + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: WI + filing_status: SURVIVING_SPOUSE + wi_agi: 30_000 + output: + wi_standard_deduction: 25_650.1312 + +- name: WI 2026 head uses the exact single formula above published crossover + period: 2026 + absolute_error_margin: 0.001 + input: {state_code: WI, filing_status: HEAD_OF_HOUSEHOLD, wi_agi: 60_000} + output: {wi_standard_deduction: 9_174.4} + - name: "2025 single filer who can be claimed as a dependent: Wisconsin standard deduction limited for a filer who can be claimed" period: 2025 input: 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 6e3774b1158..d2bfa7f6aa9 100644 --- a/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py +++ b/policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py @@ -8,6 +8,9 @@ import yaml from policyengine_core.parameters import Parameter, ParameterNode +from policyengine_core.parameters.operations.propagate_parameter_metadata import ( + propagate_parameter_metadata, +) from policyengine_core.parameters.operations.uprate_parameters import ( uprate_parameters, ) @@ -18,8 +21,10 @@ from policyengine_us.tools.per_capita_uprating import per_capita_path from policyengine_us.parameters.uprating_extensions import ( LONG_RUN_CBO_INCOME_BY_SOURCE_PARAMETERS, + get_average_for_12_months_ending_august, get_irs_cola, get_irs_cola_denominator, + get_irs_cpi, round_social_security_amount, round_social_security_payroll_cap, set_irs_c_cpi_u_index, @@ -39,6 +44,16 @@ EDUCATOR_EXPENSE_CAP_STATUTORY_BASE = (250, 2014) +@pytest.mark.parametrize("name", ("cpi_u", "c_cpi_u")) +def test_last_published_calendar_cbo_forecast_survives_extension(name): + source = Path(__file__).parents[4] / "parameters/gov/bls/cpi" / f"{name}.yaml" + with source.open() as stream: + encoded = yaml.safe_load(stream)["values"] + date = "2036-02-01" + published = next(value for key, value in encoded.items() if str(key) == date) + assert getattr(PARAMETERS.gov.bls.cpi, name)(date) == published + + def test_all_uprating_factors_extend_to_2100(): """Test that all uprating factors extend through 2100 with consistent growth rates.""" parameters = PARAMETERS @@ -672,20 +687,39 @@ def test_projected_payroll_caps_follow_430b_through_2036(): assert cap("2036-01-01") == 260_400 -def test_irs_uprating_averages_cbo_chained_cpi_u_points(): - """IRS(Y) averages chained CPI-U from August Y - 2 to July Y - 1 (#9105). +# CBO February 2026 Tax Parameters, sheet "1. Tax Parameters", row 153: the +# 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, + 2031: 197.44, + 2032: 201.335, + 2033: 205.302, + 2034: 209.346, + 2035: 213.471, + 2036: 217.68, +} + + +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. - Six months read the February Y - 2 point and six read February Y - 1. - A BLS refresh that writes an observed February over a projection point - changes the IRS years that read it; drop those years 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 - c_cpi_u = { - year: round(value, 1) for year, value in CBO_2026_02_CALENDAR_C_CPI_U.items() - } - for year in range(2029, 2037): + 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( - (6 * c_cpi_u[year - 2] + 6 * c_cpi_u[year - 1]) / 12, rel=1e-12 + irs("2027-01-01") * cbo[year] / cbo[2027], rel=1e-12 ) @@ -965,18 +999,173 @@ 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. 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={"2031-01-01": 90, "2033-01-01": 97.5} + ), + ), ) return SimpleNamespace(gov=SimpleNamespace(bls=SimpleNamespace(cpi=cpi))) +def test_irs_window_includes_august_excludes_prior_august(): + """1(f)(6)(B) includes the ending August in the twelve-month average.""" + monthly = Parameter( + "c_cpi_u", + data={ + "2024-08-01": 1_000, + **{f"2024-{month:02d}-01": 100 for month in range(9, 13)}, + **{f"2025-{month:02d}-01": 100 for month in range(1, 8)}, + "2025-08-01": 220, + }, + ) + cpi = SimpleNamespace( + c_cpi_u=monthly, + tax_year_projection=SimpleNamespace( + c_cpi_u=Parameter("projection", data={"2026-01-01": 999}) + ), + ) + parameters = SimpleNamespace(gov=SimpleNamespace(bls=SimpleNamespace(cpi=cpi))) + + # September-July contribute 11 x 100, and the ending August 220: + # 1,320 / 12 = 110. Including the prior August instead gives 175. + assert get_irs_cpi(parameters, 2025) == 110 + + +def test_tax_year_projection_is_distinct_from_calendar_year_projection(): + """Forecast windows read the dedicated tax-year series, even after a refresh.""" + parameters = _synthetic_irs_parameters() + cpi = parameters.gov.bls.cpi + assert cpi.c_cpi_u("2032-02-01") == 199 + # 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( + "c_cpi_u", + data={ + **{value.instant_str: value.value for value in cpi.c_cpi_u.values_list}, + "2032-02-01": 9_999, + }, + ) + 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={"2031-01-01": 90, "2033-01-01": 102.5} + ) + assert get_irs_cpi(parameters, 2032) == pytest.approx(205) + + +def test_missing_month_and_partial_window_completion_are_flat_estimates(): + """A missing interior month and an unobserved tail carry prior observations.""" + monthly = Parameter( + "c_cpi_u", + data={ + "2025-09-01": 100, + # October has no observation, as in the 2025 BLS series. + "2025-11-01": 120, + "2025-12-01": 130, + **{f"2026-{month:02d}-01": 130 + month * 10 for month in range(1, 7)}, + # Calendar-year forecasts must not fill July and August. + "2027-02-01": 999, + }, + ) + projection = Parameter("projection", data={"2027-01-01": 888}) + + # October carries September's 100; July and August carry June's 190. + assert get_average_for_12_months_ending_august( + monthly, 2026, projection + ) == pytest.approx(1_820 / 12) + + +def test_published_tax_parameters_survive_cpi_refresh(): + """Revised CPI cannot overwrite the IRS amounts encoded in the source YAML.""" + parameter_dir = Path(__file__).parents[4] / "parameters" + parameters = ParameterNode( + data={ + "gov": { + "irs": { + "uprating": {"values": {"2010-01-01": 1}}, + }, + } + } + ) + parameters.gov.add_child("bls", ParameterNode("gov.bls", data={})) + parameters.gov.bls.add_child("cpi", PARAMETERS.gov.bls.cpi.clone()) + irs = parameters.gov.irs + irs.add_child("deductions", ParameterNode("gov.irs.deductions", data={})) + irs.add_child("ald", ParameterNode("gov.irs.ald", data={})) + irs.add_child( + "indexing", + ParameterNode( + "gov.irs.indexing", directory_path=str(parameter_dir / "gov/irs/indexing") + ), + ) + irs.deductions.add_child( + "standard", + ParameterNode( + "gov.irs.deductions.standard", + directory_path=str(parameter_dir / "gov/irs/deductions/standard"), + ), + ) + irs.ald.add_child( + "educator_expense", + ParameterNode( + "gov.irs.ald.educator_expense", + directory_path=str(parameter_dir / "gov/irs/ald/educator_expense"), + ), + ) + published = [ + (parameter, value.instant_str, value.value) + for subtree in (irs.deductions.standard, irs.ald.educator_expense) + for parameter in subtree.get_descendants() + if isinstance(parameter, Parameter) + for value in parameter.values_list + ] + + original_index = get_irs_cpi(parameters, 2025) + cpi = parameters.gov.bls.cpi.c_cpi_u + cpi.update(period="month:2025-08-01:1", value=2 * cpi("2025-08-01")) + assert get_irs_cpi(parameters, 2025) != original_index + # Rebuild both indices from the revised series, as the model's build + # does: the standard deduction projects from its 2025 base on + # gov.irs.uprating, and the dependent limits and the educator cap from + # their statutory bases on the 1(f)(3) index. + for year in range(2010, 2029): + irs.uprating.update( + period=f"year:{year}-01-01:1", value=get_irs_cpi(parameters, year - 1) + ) + set_irs_c_cpi_u_index(parameters, 2028) + + # Re-run metadata uprating from the source amounts, rather than from a + # tree that already contains forecasts. + propagate_parameter_metadata(parameters) + uprate_parameters(parameters) + + for parameter, date, value in published: + assert parameter(date) == value, (parameter.name, date) + assert irs.deductions.standard.amount.SINGLE("2026-01-01") == 16_100 + assert irs.deductions.standard.dependent.amount("2026-01-01") == 1_350 + assert ( + irs.deductions.standard.dependent.additional_earned_income("2026-01-01") == 450 + ) + assert irs.ald.educator_expense.cap("2026-01-01") == 350 + + def test_irs_cola_follows_1f3_on_a_synthetic_index(): """COLA = C-CPI-U(prior year) / (CPI(base) x C-CPI-U(2016) / CPI(2016)) - 1.""" parameters = _synthetic_irs_parameters() @@ -985,7 +1174,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 and reads the 2032 projection point. + # 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. @@ -1045,10 +1236,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) # From TCJA's 2018, when 1(f)(3) moved to the C-CPI-U that # statutory_dependent_standard_deduction_amount reads. The earlier @@ -1061,14 +1256,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 _months(start_year, level): @@ -1084,8 +1271,14 @@ def _shipped_metadata(relative_path): return yaml.safe_load((PARAMETER_DIR / relative_path).read_text())["metadata"] -def _synthetic_irs_c_cpi_u_tree(*, cpi_u, c_cpi_u, first_index_year, irs): - """A tree with synthetic CPI series, the 1(f)(3) index and ``irs``.""" +def _synthetic_irs_c_cpi_u_tree( + *, cpi_u, c_cpi_u, tax_year_projection, first_index_year, irs +): + """A tree with synthetic CPI series, the 1(f)(3) index and ``irs``. + + ``tax_year_projection`` maps "cpi_u" and "c_cpi_u" to CBO-style + projections of the 12 months ending the August before each tax year. + """ return ParameterNode( "", data={ @@ -1094,6 +1287,10 @@ def _synthetic_irs_c_cpi_u_tree(*, cpi_u, c_cpi_u, first_index_year, irs): "cpi": { "cpi_u": {"values": cpi_u}, "c_cpi_u": {"values": c_cpi_u}, + "tax_year_projection": { + name: {"values": values} + for name, values in tax_year_projection.items() + }, } }, "irs": { @@ -1113,8 +1310,15 @@ def test_dependent_standard_deduction_base_mode_starts_after_last_encoded_year() dependent_path = "gov/irs/deductions/standard/dependent" parameters = _synthetic_irs_c_cpi_u_tree( cpi_u={**_months(1986, 40), **_months(1996, 100), **_months(2015, 200)}, - # Monthly observations end in August 2030; 2032 holds a projection. - c_cpi_u={**_months(2015, 150), **_months(2029, 190), "2032-02-01": 205}, + # Monthly observations end in August 2030; 2032 holds a calendar-year + # point, which windows do not read. + c_cpi_u={**_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={ + "cpi_u": {"2033-01-01": 410}, + "c_cpi_u": {"2031-01-01": 95, "2032-01-01": 95, "2033-01-01": 102.5}, + }, first_index_year=1988, irs={ "deductions": { @@ -1147,14 +1351,16 @@ def test_dependent_standard_deduction_base_mode_starts_after_last_encoded_year() assert dependent.additional_earned_income("2029-01-01") == 350 assert dependent.additional_earned_income("2030-01-01") == 999 # Index bases: 1987 is 40 x 150 / 200 = 30; 1997 is 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. + # 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 the 2032 projection point (205). + # 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 @@ -1190,6 +1396,59 @@ def test_dependent_standard_deduction_projections_follow_statute(): assert dependent.amount("2042-01-01") == 1_900 +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, 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, + 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, + } + 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 + model_floor = {**cbo_floor, 2031: 1_550} + for year, amount in model_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) + # 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): """26 U.S.C. 62(d)(3): $250 plus its increase, to the nearest $50.""" base, base_year = EDUCATOR_EXPENSE_CAP_STATUTORY_BASE @@ -1237,15 +1496,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, so a CBO refresh - # can move them; 2031 and 2032 sit within $5 of 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, $112.80 in 2030 and $120.06 in 2031. - # It rounds to $150 from $127.32 in 2032 to $150.03 in 2035. Chaining - # from the rounded 2026 $350 reached $400 in 2030. + # 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(2032, 2036): + for year in range(2032, 2039): assert cap(f"{year}-01-01") == 400, year @@ -1254,8 +1515,15 @@ def test_educator_expense_cap_base_mode_rounds_the_base_increase_to_nearest_50() through the shipped base-mode metadata.""" parameters = _synthetic_irs_c_cpi_u_tree( cpi_u={**_months(2013, 100), **_months(2015, 200)}, - # Monthly observations end in August 2030; 2032 holds a projection. - c_cpi_u={**_months(2015, 150), **_months(2029, 102), "2032-02-01": 126}, + # Monthly observations end in August 2030; 2032 holds a calendar-year + # point, which windows do not read. + c_cpi_u={**_months(2015, 150), **_months(2029, 102), "2032-02-01": 999}, + # CBO's projections of the 12 months ending the August before each + # tax year. + tax_year_projection={ + "cpi_u": {"2033-01-01": 300}, + "c_cpi_u": {"2031-01-01": 51, "2032-01-01": 55, "2033-01-01": 63}, + }, first_index_year=2015, irs={ "ald": { @@ -1278,12 +1546,15 @@ def test_educator_expense_cap_base_mode_rounds_the_base_increase_to_nearest_50() assert cap("2029-01-01") == 250 assert cap("2030-01-01") == 999 # Index base: 2014 is 100 x 150 / 200 = 75. 2031 reads the observed - # Sep 2029-Aug 2030 window (102); 2032 has no observed month and no - # projection point of its own, so it reads 102 too. + # Sep 2029-Aug 2030 window (102). # $250 x (102 / 75 - 1) = $90, nearest to $100 (rounding down gives $50). - for year in (2031, 2032): - assert cap(f"{year}-01-01") == 350, year - # 2033 reads the 2032 projection point (126). + assert cap("2031-01-01") == 350 + # 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 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/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] 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 a8b5793fbbb..1cc2cac78d9 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 @@ -169,6 +169,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: @@ -183,10 +186,9 @@ members: [person1] state_code: CA output: - # FTB's 2026 value ($5,900) uprated by CA CPI to 2027. The 2027 - # CA CPI point projects the June 2026 actual (364.969) with the IRS - # uprating index: 5,900 x 181.979583 / 176.713083 = 6,075.84. - ca_standard_deduction: 6_075.84 + # 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. period: 2027 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 cd8c4ff3428..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 @@ -6,11 +6,13 @@ # test_ca_prop3_reform.py. The reform-off controls are the 2030 and 2031 cases in # baseline/gov/states/ca/tax/income/ca_income_tax_before_credits.yaml. # -# Expected values apply the 2031 thresholds by hand: the FTB 2026 schedules (FTB Tax News, -# October 2026) uprated by f = 196.85 / 176.713083. 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. Joint and surviving spouse tax is twice the single +# Expected values apply the 2031 thresholds by hand: the published FTB 2026 schedules +# 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. +# Joint and surviving spouse tax is twice the single # tax on half the income (RTC § 17045). - name: Prop 3 keeps the higher rates for a single filer with $1 million in 2031 @@ -22,8 +24,9 @@ filing_status: SINGLE state_code: CA output: - # Baseline 2031 is 88,897.94; Prop 3 adds 1% on 85,571.61, 2% on 342,302.04 and 3% on 144,247.13. - ca_income_tax_before_credits: 100_927.11 + # 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 @@ -34,8 +37,8 @@ filing_status: SEPARATE state_code: CA output: - # Same schedule as single: 88,897.94 + 12,029.17. - ca_income_tax_before_credits: 100_927.11 + # 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 @@ -46,8 +49,8 @@ filing_status: JOINT state_code: CA output: - # 2 x 100,927.11, the single tax on $1 million. - ca_income_tax_before_credits: 201_854.21 + # 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 @@ -58,8 +61,8 @@ filing_status: SURVIVING_SPOUSE state_code: CA output: - # Treated as a joint return: 2 x 100,927.11. - ca_income_tax_before_credits: 201_854.21 + # 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 @@ -70,9 +73,9 @@ filing_status: HEAD_OF_HOUSEHOLD state_code: CA output: - # Baseline 133,061.73 + .01 x (1,500,000 - 581,912.13) + .01 x (1,500,000 - 698,296.79) - # + .01 x (1,500,000 - 1,163,825.38) = 153,621.39. - ca_income_tax_before_credits: 153_621.39 + # 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 @@ -83,8 +86,8 @@ filing_status: SINGLE state_code: CA output: - # Baseline 37,747.94 + .01 x (450,000 - 427,879.22) = 37,969.14. - ca_income_tax_before_credits: 37_969.14 + # 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 @@ -95,8 +98,9 @@ filing_status: SINGLE state_code: CA output: - # Baseline 51,697.94 + .01 x (600,000 - 427,879.22) + .01 x (600,000 - 513,450.83) = 54,284.63. - ca_income_tax_before_credits: 54_284.63 + # 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 @@ -108,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_797.94 + ca_income_tax_before_credits: 23_775.81 - name: Prop 3 does not change 2030 tax, when the higher rates already apply period: 2030 @@ -119,8 +123,8 @@ filing_status: SINGLE state_code: CA output: - # Same as the 2030 baseline case. - ca_income_tax_before_credits: 101_358.81 + # 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 @@ -134,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,927.11 regular tax, - # so AMT is 0 (the baseline AMT is 9,102.06; see alternative_minimum_tax/ca_amt.yaml). - ca_income_tax_before_credits: 100_927.11 + # 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_927.11 + 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 @@ -151,7 +155,8 @@ ca_non_refundable_credits: 0 ca_amt: 0 output: - # Regular tax 181,897.94 + .01 x (2,000,000 - 427,879.22) + .01 x (2,000,000 - 513,450.83) - # + .01 x (2,000,000 - 855,752.87) = 223,927.11, plus MHST .01 x 1,000,000 = 10,000. - ca_income_tax_before_credits: 223_927.11 - ca_income_tax_before_refundable_credits: 233_927.11 + # 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_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 3b2df8a32ed..c46f4c23f46 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 @@ -198,13 +198,15 @@ def test_ca_prop3_app_activation_from_2031(): years = [2030, 2031, 2035] 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 + # 198.360243 / 177.11375, as independently integrated in ca_prop3.yaml. assert simulation.calculate("ca_income_tax_before_credits", 2031)[ 0 - ] == pytest.approx(100_927.11, abs=0.01) + ] == pytest.approx(100_808.08, abs=0.02) # 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_897.94, abs=0.01 + 88_875.81, abs=0.02 ) 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 885bdc606a0..83493a310f5 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,15 @@ +# 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 + # 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 @@ -27,11 +34,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 +47,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 +68,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. @@ -96,6 +104,11 @@ absolute_error_margin: 1 reforms: policyengine_us.reforms.states.ut.dependent_exemption.ut_dependent_exemption_reform input: + # The first case's synthetic baseline inputs, so both cases run on one + # copy of the tax-benefit system. The reform zeroes this household's + # only dependent, so neither input reaches the result. + gov.states.ut.tax.income.credits.taxpayer.personal_exemption: 2_159 + 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 @@ -125,6 +138,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,7 +160,7 @@ 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 - name: Reform in effect counts no dependents on a claimable filer's return (single filer) 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..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 @@ -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 + # Final = max($3,018 - $6,014, 0) = $0 ut_taxpayer_credit: 0 diff --git a/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_fair_share_surcharge.yaml b/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_fair_share_surcharge.yaml index 52320b86d1c..68e4b4143d4 100644 --- a/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_fair_share_surcharge.yaml +++ b/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_fair_share_surcharge.yaml @@ -361,8 +361,8 @@ output: # The 2027 thresholds are gov.irs.uprating projections from the 2026 base, # rounded down to $50: - # tier 1 = floor(250,000 * 181.979583 / 176.713083 / 50) * 50 = 257,450 - # 255,000 < 257,450, so the surcharge is 0. An unindexed threshold would + # tier 1 = floor(250,000 * 182.500667 / 177.113750 / 50) * 50 = 257,600 + # 255,000 < 257,600, so the surcharge is 0. An unindexed threshold would # give 0.02 * (255,000 - 250,000) = 100. vt_fair_share_surcharge: 0 @@ -386,13 +386,13 @@ state_code: VT output: # The 2027 thresholds are gov.irs.uprating projections from the 2026 base, - # rounded down to $50 (ratio 181.979583 / 176.713083 = 1.0298025): - # tier 1 = floor(257,450.64 / 50) * 50 = 257,450 - # tier 2 = floor(514,901.27 / 50) * 50 = 514,900 - # 0.02 * (514,900 - 257,450) + 0.08 * (600,000 - 514,900) - # = 0.02 * 257,450 + 0.08 * 85,100 = 5,149 + 6,808 = 11,957 + # rounded down to $50 (ratio 182.500667 / 177.113750 = 1.0304150): + # tier 1 = floor(257,603.75 / 50) * 50 = 257,600 + # tier 2 = floor(515,207.51 / 50) * 50 = 515,200 + # 0.02 * (515,200 - 257,600) + 0.08 * (600,000 - 515,200) + # = 0.02 * 257,600 + 0.08 * 84,800 = 5,152 + 6,784 = 11,936 # Recompute if gov.bls.cpi.c_cpi_u is refreshed. - vt_fair_share_surcharge: 11_957 + vt_fair_share_surcharge: 11_936 - name: Case 17, Clawback option leaves the 2% band below $500,000 unchanged. period: 2026 diff --git a/policyengine_us/variables/gov/states/wi/tax/income/wi_standard_deduction.py b/policyengine_us/variables/gov/states/wi/tax/income/wi_standard_deduction.py index f12ccdd45de..4fa1daa41b2 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/wi_standard_deduction.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/wi_standard_deduction.py @@ -26,7 +26,20 @@ def wi_standard_deduction_for_income(income, filing_status, parameters, period): deduction.standard.phase_out.head_of_household.calc(income), ], ) - return max_(0, max_amount - phase_out_amount) + amount = max_amount - phase_out_amount + # 71.05(22)(dp)1 and Form 1-ES use the single formula above the + # published HOH crossover. Continuing the HOH marginal scale after a + # rounded crossover retains a small rounding offset from that formula. + hoh_switch = deduction.standard.phase_out.head_of_household.thresholds[2] + single_amount = ( + deduction.standard.max.SINGLE - deduction.standard.phase_out.single.calc(income) + ) + amount = where( + (filing_status == statuses.HEAD_OF_HOUSEHOLD) & (income > hoh_switch), + single_amount, + amount, + ) + return max_(0, amount) def wi_dependent_standard_deduction_limit(tax_unit, period, parameters): @@ -65,6 +78,7 @@ class wi_standard_deduction(Variable): "https://www.revenue.wi.gov/TaxForms2022/2022-Form1f.pdf", "https://www.revenue.wi.gov/TaxForms2022/2022-Form1-Inst.pdf", "https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2023/0002_individual_income_tax_informational_paper_2.pdf", + "https://www.revenue.wi.gov/TaxForms2026/2026-Form1-ES-Inst.pdf#page=2", "https://docs.legis.wisconsin.gov/statutes/statutes/71/i/05/22", # Dependent worksheet and standard deduction table, PDF pages 15, 35-37 "https://www.revenue.wi.gov/TaxForms2025/2025-Form1-Inst.pdf#page=15",