From 4068df3d0cb2d1018a5f18c5abbd0325903b63d9 Mon Sep 17 00:00:00 2001 From: David Trimmer Date: Mon, 2 Nov 2026 09:37:03 -0500 Subject: [PATCH 1/3] Start Vermont Fair Share surcharge contributed reform Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01LqCGPgxDukji8Bhs57c5rH --- changelog.d/vt-fair-share.added.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/vt-fair-share.added.md diff --git a/changelog.d/vt-fair-share.added.md b/changelog.d/vt-fair-share.added.md new file mode 100644 index 00000000000..0dbc0de2f38 --- /dev/null +++ b/changelog.d/vt-fair-share.added.md @@ -0,0 +1 @@ +Added the Vermont Fair Share high-income surcharge proposals as a contributed reform. From 276a0c12b2fdc69238b7336e857883a265f07902 Mon Sep 17 00:00:00 2001 From: David Trimmer Date: Mon, 2 Nov 2026 11:19:14 -0500 Subject: [PATCH 2/3] Add Vermont Fair Share high-income surcharge as a contributed reform MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Models 32 V.S.A. § 5822a as drafted in H.794 and S.282: a marginal surcharge of 2% of federal AGI over $250,000 and 8% total over $500,000. One in_effect toggle turns it on; the rate scale also covers the Fair Share Original and Clawback options by editing the bracket rates. Both thresholds are indexed from 2027. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01LqCGPgxDukji8Bhs57c5rH --- .../states/vt/fair_share/in_effect.yaml | 14 + .../contrib/states/vt/fair_share/rate.yaml | 63 ++ policyengine_us/reforms/reforms.py | 5 + policyengine_us/reforms/states/vt/__init__.py | 1 + .../reforms/states/vt/fair_share/__init__.py | 5 + .../vt/fair_share/vt_fair_share_reform.py | 84 +++ .../fair_share/vt_fair_share_surcharge.yaml | 538 ++++++++++++++++++ ..._income_tax_before_refundable_credits.yaml | 108 ++++ 8 files changed, 818 insertions(+) create mode 100644 policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml create mode 100644 policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml create mode 100644 policyengine_us/reforms/states/vt/fair_share/__init__.py create mode 100644 policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py create mode 100644 policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_fair_share_surcharge.yaml create mode 100644 policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml diff --git a/policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml new file mode 100644 index 00000000000..78f9deb94ec --- /dev/null +++ b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml @@ -0,0 +1,14 @@ +description: The Vermont Fair Share income tax surcharge applies if this is true. +values: + 0000-01-01: false +metadata: + unit: bool + period: year + label: Vermont Fair Share surcharge in effect + reference: + - title: "Vermont H.794 (2026) as introduced, Sec. 2 (32 V.S.A. § 5822a) and Sec. 11(b) #page 2-3,14" + href: https://legislature.vermont.gov/Documents/2026/Docs/BILLS/H-0794/H-0794%20As%20Introduced.pdf#page=2 + - title: "Vermont S.282 (2026) as introduced, Sec. 2 (32 V.S.A. § 5822a) and Sec. 11(b) #page 2,14" + href: https://legislature.vermont.gov/Documents/2026/Docs/BILLS/S-0282/S-0282%20As%20Introduced.pdf#page=2 + - title: Fair Share for Vermont, Recovering Federal Tax Cuts for the Wealthiest Vermonters + href: https://fairsharevt.org/revenue-proposals-tax-cuts diff --git a/policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml new file mode 100644 index 00000000000..9a7638a70d7 --- /dev/null +++ b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml @@ -0,0 +1,63 @@ +description: Vermont sets these marginal surcharge rates on federal adjusted gross income under the Fair Share proposal. +metadata: + type: marginal_rate + threshold_unit: currency-USD + rate_unit: /1 + period: year + label: Vermont Fair Share surcharge rates + documentation: >- + Defaults to the Fair Share "Original Proposal + Clawback Proposal" option, + which is 32 V.S.A. § 5822a as drafted in H.794 and S.282: 2% of federal AGI + over $250,000 plus an additional 6% over $500,000, an 8% total marginal rate + above $500,000. The other two Fair Share options use the same thresholds, + base and filing-status treatment. Original Proposal (3% over $500,000): set + rate[1] to 0 and rate[2] to 0.03. Federal Tax Cut Clawback Proposal (2% over + $250,000 and 5% over $500,000; in bill terms 2% plus an additional 3%): keep + rate[1] at 0.02 and set rate[2] to 0.05. Each rate is a total marginal rate, + so the rate above $500,000 replaces the rate above $250,000 instead of adding + to it. H.794 § 5822a(d) indexes "the minimum amount of federal adjusted gross + income necessary to incur a surcharge," singular wording carried over from + the single-threshold H.828; this reform reads that provision as covering both + thresholds and also indexes the $500,000 tier-2 threshold. Both thresholds + rise from 2027 with the uprating that Vermont's income tax brackets use in + PolicyEngine (gov.irs.uprating, chained CPI-U); § 5822(b)(2) names CPI-U. + reference: + - title: "Vermont H.794 (2026) as introduced, Sec. 2 (32 V.S.A. § 5822a) and Sec. 11(b) #page 2-3,14" + href: https://legislature.vermont.gov/Documents/2026/Docs/BILLS/H-0794/H-0794%20As%20Introduced.pdf#page=2 + - title: "Vermont S.282 (2026) as introduced, Sec. 2 (32 V.S.A. § 5822a) and Sec. 11(b) #page 2,14" + href: https://legislature.vermont.gov/Documents/2026/Docs/BILLS/S-0282/S-0282%20As%20Introduced.pdf#page=2 + - title: Rep. Kate Logan, H.794 testimony to House Ways and Means (February 13, 2026) + href: https://legislature.vermont.gov/Documents/2026/Workgroups/House%20Ways%20and%20Means/Bills/H.794/W~Kate%20Logan~H.794%20Testimony%20to%20House%20Ways%20and%20Means~2-13-2026.pdf#page=1 + - title: Fair Share for Vermont, Recovering Federal Tax Cuts for the Wealthiest Vermonters + href: https://fairsharevt.org/revenue-proposals-tax-cuts + - title: 32 V.S.A. § 5822(b)(2), annual inflation adjustment of income tax brackets + href: https://legislature.vermont.gov/statutes/section/32/151/05822 +brackets: + - threshold: + 2026-01-01: 0 + rate: + 2026-01-01: 0 + - threshold: + values: + 2026-01-01: 250_000 + metadata: + uprating: + parameter: gov.irs.uprating + rounding: + type: downwards + interval: 50 + rate: + 2025-01-01: 0 + 2026-01-01: 0.02 + - threshold: + values: + 2026-01-01: 500_000 + metadata: + uprating: + parameter: gov.irs.uprating + rounding: + type: downwards + interval: 50 + rate: + 2025-01-01: 0 + 2026-01-01: 0.08 diff --git a/policyengine_us/reforms/reforms.py b/policyengine_us/reforms/reforms.py index 34d6b08777d..4fa1dd4f148 100644 --- a/policyengine_us/reforms/reforms.py +++ b/policyengine_us/reforms/reforms.py @@ -155,6 +155,9 @@ from .states.vt.dependent_exemption.vt_dependent_exemption_reform import ( create_vt_dependent_exemption_reform_fn, ) +from .states.vt.fair_share.vt_fair_share_reform import ( + create_vt_fair_share_reform, +) from .states.mi.dependent_exemption.mi_dependent_exemption_reform import ( create_mi_dependent_exemption_reform_fn, ) @@ -510,6 +513,7 @@ def create_structural_reforms_from_parameters(parameters, period): ri_exemption = create_ri_exemption_reform_fn(parameters, period) ok_dependent_exemption = create_ok_dependent_exemption_reform_fn(parameters, period) vt_dependent_exemption = create_vt_dependent_exemption_reform_fn(parameters, period) + vt_fair_share = create_vt_fair_share_reform(parameters, period) in_dependent_exemption = create_in_dependent_exemption_reform_fn(parameters, period) mi_dependent_exemption = create_mi_dependent_exemption_reform_fn(parameters, period) ne_dependent_exemption = create_ne_dependent_exemption_reform_fn(parameters, period) @@ -677,6 +681,7 @@ def create_structural_reforms_from_parameters(parameters, period): ri_exemption, ok_dependent_exemption, vt_dependent_exemption, + vt_fair_share, in_dependent_exemption, mi_dependent_exemption, ne_dependent_exemption, diff --git a/policyengine_us/reforms/states/vt/__init__.py b/policyengine_us/reforms/states/vt/__init__.py index f5bf090f9ec..c4e09056e8d 100644 --- a/policyengine_us/reforms/states/vt/__init__.py +++ b/policyengine_us/reforms/states/vt/__init__.py @@ -1 +1,2 @@ from .dependent_exemption import create_vt_dependent_exemption_reform_fn +from .fair_share import create_vt_fair_share_reform diff --git a/policyengine_us/reforms/states/vt/fair_share/__init__.py b/policyengine_us/reforms/states/vt/fair_share/__init__.py new file mode 100644 index 00000000000..5a5779bacb0 --- /dev/null +++ b/policyengine_us/reforms/states/vt/fair_share/__init__.py @@ -0,0 +1,5 @@ +from .vt_fair_share_reform import ( + create_vt_fair_share, + create_vt_fair_share_reform, + vt_fair_share, +) diff --git a/policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py b/policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py new file mode 100644 index 00000000000..5e91863312d --- /dev/null +++ b/policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py @@ -0,0 +1,84 @@ +from policyengine_us.model_api import * +from policyengine_core.periods import period as period_ + + +def create_vt_fair_share() -> Reform: + class vt_fair_share_surcharge(Variable): + value_type = float + entity = TaxUnit + label = "Vermont Fair Share income tax surcharge" + unit = USD + definition_period = YEAR + defined_for = StateCode.VT + reference = ( + # PDF pages 2-3, 14 + "https://legislature.vermont.gov/Documents/2026/Docs/BILLS/H-0794/H-0794%20As%20Introduced.pdf#page=2", + # PDF pages 2, 14 + "https://legislature.vermont.gov/Documents/2026/Docs/BILLS/S-0282/S-0282%20As%20Introduced.pdf#page=2", + "https://fairsharevt.org/revenue-proposals-tax-cuts", + ) + + def formula(tax_unit, period, parameters): + p = parameters(period).gov.contrib.states.vt.fair_share + # 32 V.S.A. § 5822a(a)-(c) as drafted: the base is the federal AGI + # of the return, with one threshold schedule for every filing status. + agi = max_(tax_unit("adjusted_gross_income", period), 0) + return where(p.in_effect, p.rate.calc(agi), 0) + + class vt_income_tax_before_refundable_credits(Variable): + value_type = float + entity = TaxUnit + label = "Vermont income tax before refundable credits" + unit = USD + definition_period = YEAR + defined_for = StateCode.VT + reference = ( + "https://legislature.vermont.gov/Documents/2026/Docs/BILLS/H-0794/H-0794%20As%20Introduced.pdf#page=2", + "https://legislature.vermont.gov/statutes/section/32/151/05822", + ) + + def formula(tax_unit, period, parameters): + itax_before_credits = tax_unit( + "vt_income_tax_before_non_refundable_credits", period + ) + non_refundable_credits = tax_unit("vt_non_refundable_credits", period) + tax_after_non_refundable_credits = max_( + 0, itax_before_credits - non_refundable_credits + ) + # § 5822a(a)-(b): the surcharge is in addition to any tax assessed + # under chapter 151, so it is added after the non-refundable credits, + # which apply against the § 5822 tax, and outside the § 5822(a)(6) + # comparison with 3% of federal AGI. + surcharge = tax_unit("vt_fair_share_surcharge", period) + return tax_after_non_refundable_credits + surcharge + + class reform(Reform): + def apply(self): + self.update_variable(vt_fair_share_surcharge) + self.update_variable(vt_income_tax_before_refundable_credits) + + return reform + + +def create_vt_fair_share_reform(parameters, period, bypass: bool = False): + if bypass: + return create_vt_fair_share() + + p = parameters.gov.contrib.states.vt.fair_share + + reform_active = False + current_period = period_(period) + + for _ in range(5): + if p(current_period).in_effect: + reform_active = True + break + current_period = current_period.offset(1, "year") + + if reform_active: + return create_vt_fair_share() + else: + return None + + +vt_fair_share = create_vt_fair_share_reform(None, None, bypass=True) 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 new file mode 100644 index 00000000000..99046baf2bc --- /dev/null +++ b/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_fair_share_surcharge.yaml @@ -0,0 +1,538 @@ +# Vermont Fair Share surcharge (H.794 / S.282, 32 V.S.A. § 5822a). +# Default schedule from 2026, on federal AGI floored at 0, one schedule for +# every filing status: +# 0% up to $250,000; 2% from $250,000 to $500,000; 8% above $500,000. +# These cases use three reform combos, always with the overrides in this order: +# base {in_effect: true} +# Clawback {in_effect: true, rate[2].rate: 0.05} +# Original {in_effect: true, rate[1].rate: 0, rate[2].rate: 0.03} +# plus one in_effect-false case. + +- name: Case 1, single filer with AGI of $200,000 owes no surcharge. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 200_000 + households: + household: + members: [person1] + state_code: VT + output: + # 200,000 < 250,000, so only the 0% bracket applies. + vt_fair_share_surcharge: 0 + +- name: Case 2, single filer with AGI of exactly $250,000 owes no surcharge. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 250_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (250,000 - 250,000) = 0 + vt_fair_share_surcharge: 0 + +- name: Case 3, single filer with AGI of $300,000 pays 2% above $250,000. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 300_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (300,000 - 250,000) = 0.02 * 50,000 = 1,000 + vt_fair_share_surcharge: 1_000 + +- name: Case 4, single filer with AGI of exactly $500,000 pays only the first tier. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 500_000 + households: + household: + members: [person1] + state_code: VT + output: + # Tier 1: 0.02 * (500,000 - 250,000) = 5,000 + # Tier 2: 0.08 * (500,000 - 500,000) = 0 + vt_fair_share_surcharge: 5_000 + +- name: Case 5, single filer with AGI of $600,000 pays both tiers. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 600_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (500,000 - 250,000) + 0.08 * (600,000 - 500,000) + # = 5,000 + 8,000 = 13,000 + vt_fair_share_surcharge: 13_000 + +- name: Case 6, single filer with AGI of $1,000,000 pays both tiers. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 1_000_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (500,000 - 250,000) + 0.08 * (1,000,000 - 500,000) + # = 5,000 + 40,000 = 45,000 + vt_fair_share_surcharge: 45_000 + +- name: Case 7, joint filers with AGI of $600,000 use the same schedule as single filers. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + person2: + age: 45 + tax_units: + tax_unit: + members: [person1, person2] + filing_status: JOINT + adjusted_gross_income: 600_000 + households: + household: + members: [person1, person2] + state_code: VT + output: + # § 5822a(c): applied without regard for filing status, so joint AGI + # faces the same thresholds as case 5. + # 0.02 * 250,000 + 0.08 * 100,000 = 5,000 + 8,000 = 13,000 + vt_fair_share_surcharge: 13_000 + +- name: Case 8, head of household with AGI of $600,000 uses the same schedule as single filers. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + person2: + age: 10 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [person1, person2] + filing_status: HEAD_OF_HOUSEHOLD + adjusted_gross_income: 600_000 + households: + household: + members: [person1, person2] + state_code: VT + output: + # Same thresholds as case 5 (§ 5822a(c)). + # 0.02 * 250,000 + 0.08 * 100,000 = 5,000 + 8,000 = 13,000 + vt_fair_share_surcharge: 13_000 + +- name: Case 9, married filing separately with AGI of $300,000 uses the same thresholds. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SEPARATE + adjusted_gross_income: 300_000 + households: + household: + members: [person1] + state_code: VT + output: + # No halved thresholds for separate filers (§ 5822a(c)). + # 0.02 * (300,000 - 250,000) = 1,000 + vt_fair_share_surcharge: 1_000 + +- name: Case 10, surcharge uses AGI computed from wages. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + employment_income: 300_000 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + households: + household: + members: [person1] + state_code: VT + output: + # Wages only, no above-the-line deductions, so AGI = 300,000. + adjusted_gross_income: 300_000 + # 0.02 * (300,000 - 250,000) = 1,000 + vt_fair_share_surcharge: 1_000 + +- name: Case 11, New Hampshire resident with AGI of $1,000,000 owes no Vermont surcharge. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 1_000_000 + households: + household: + members: [person1] + state_code: NH + output: + # defined_for = StateCode.VT, so a non-Vermont tax unit gets 0. + # (A Vermont resident at this AGI pays 45,000; see case 6.) + vt_fair_share_surcharge: 0 + +- name: Case 12, negative AGI owes no surcharge. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: -100_000 + households: + household: + members: [person1] + state_code: VT + output: + # Base = max(-100,000, 0) = 0, so the surcharge is 0. + vt_fair_share_surcharge: 0 + +- name: Case 13, reform switched off gives no surcharge and leaves the baseline tax unchanged. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: false + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 1_000_000 + vt_income_tax_before_non_refundable_credits: 20_000 + vt_non_refundable_credits: 3_000 + households: + household: + members: [person1] + state_code: VT + output: + # in_effect is false, so the in-formula guard returns 0 + # (it would be 45,000 with the reform on; see case 6). + vt_fair_share_surcharge: 0 + # Baseline formula only: max(0, 20,000 - 3,000) + 0 = 17,000 + vt_income_tax_before_refundable_credits: 17_000 + +- name: Case 14, no surcharge in 2025 because the rates start in 2026. + period: 2025 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 600_000 + households: + household: + members: [person1] + state_code: VT + output: + # H.794 Sec. 11(b): taxable years beginning on or after 2026-01-01. + # The 2025 rates are 0 in every bracket, so the surcharge is 0 even with + # in_effect true (it would be 13,000 in 2026; see case 5). + vt_fair_share_surcharge: 0 + +- name: Case 15, 2027 indexed first threshold exempts AGI of $255,000. + period: 2027 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 255_000 + households: + household: + members: [person1] + state_code: VT + 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 + # give 0.02 * (255,000 - 250,000) = 100. + vt_fair_share_surcharge: 0 + +- name: Case 16, 2027 indexed thresholds apply to AGI of $600,000. + period: 2027 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 600_000 + households: + household: + members: [person1] + 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 + # Recompute if gov.bls.cpi.c_cpi_u is refreshed. + vt_fair_share_surcharge: 11_957 + +- name: Case 17, Clawback option leaves the 2% band below $500,000 unchanged. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + gov.contrib.states.vt.fair_share.rate[2].rate: 0.05 + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 400_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (400,000 - 250,000) = 0.02 * 150,000 = 3,000 + vt_fair_share_surcharge: 3_000 + +- name: Case 18, Clawback option taxes AGI of $600,000 at 5% above $500,000. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + gov.contrib.states.vt.fair_share.rate[2].rate: 0.05 + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 600_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (500,000 - 250,000) + 0.05 * (600,000 - 500,000) + # = 5,000 + 5,000 = 10,000 + vt_fair_share_surcharge: 10_000 + +- name: Case 19, Clawback option taxes AGI of $1,000,000 at 5% above $500,000. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + gov.contrib.states.vt.fair_share.rate[2].rate: 0.05 + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 1_000_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (500,000 - 250,000) + 0.05 * (1,000,000 - 500,000) + # = 5,000 + 25,000 = 30,000 + vt_fair_share_surcharge: 30_000 + +- name: Case 20, Original option owes nothing below $500,000. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + gov.contrib.states.vt.fair_share.rate[1].rate: 0 + gov.contrib.states.vt.fair_share.rate[2].rate: 0.03 + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 400_000 + households: + household: + members: [person1] + state_code: VT + output: + # The $250,000-$500,000 band is 0% under the Original option. + # 0 * (400,000 - 250,000) = 0 + vt_fair_share_surcharge: 0 + +- name: Case 21, Original option taxes AGI of $600,000 at 3% above $500,000. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + gov.contrib.states.vt.fair_share.rate[1].rate: 0 + gov.contrib.states.vt.fair_share.rate[2].rate: 0.03 + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 600_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0 * (500,000 - 250,000) + 0.03 * (600,000 - 500,000) + # = 0 + 3,000 = 3,000 + vt_fair_share_surcharge: 3_000 + +- name: Case 22, Original option taxes AGI of $1,000,000 at 3% above $500,000. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + gov.contrib.states.vt.fair_share.rate[1].rate: 0 + gov.contrib.states.vt.fair_share.rate[2].rate: 0.03 + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 1_000_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.03 * (1,000,000 - 500,000) = 15,000 + vt_fair_share_surcharge: 15_000 diff --git a/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml b/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml new file mode 100644 index 00000000000..701ed4e9ff2 --- /dev/null +++ b/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml @@ -0,0 +1,108 @@ +# Vermont Fair Share surcharge: credit ordering and flow into the state totals. +# Under the reform: +# vt_income_tax_before_refundable_credits +# = max(0, vt_income_tax_before_non_refundable_credits +# - vt_non_refundable_credits) +# + vt_fair_share_surcharge +# Pre-credit tax and credits are inputs so the baseline part is easy to +# hand-compute. No case has self-employment income, children, care expenses, +# earnings or a veteran, so vt_child_care_contributions and +# vt_refundable_credits are 0 and the state totals equal this variable. +# Every case reuses the base combo {in_effect: true}. + +- name: Case 1, non-refundable credits above the pre-credit tax cannot offset the surcharge. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 300_000 + vt_income_tax_before_non_refundable_credits: 5_000 + vt_non_refundable_credits: 8_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (300,000 - 250,000) = 1,000 + vt_fair_share_surcharge: 1_000 + # max(0, 5,000 - 8,000) + 1,000 = 0 + 1,000 = 1,000 + # The surcharge is added after the credits, so the excess credit of 3,000 + # does not reduce it. The baseline value here is 0. + vt_income_tax_before_refundable_credits: 1_000 + vt_child_care_contributions: 0 + vt_refundable_credits: 0 + # vt_income_tax = 1,000 + 0 - 0 + vt_income_tax: 1_000 + # The cross-state totals behind household net income pick it up. + state_income_tax_before_refundable_credits: 1_000 + state_income_tax: 1_000 + +- name: Case 2, surcharge is added on top of the baseline tax after credits. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 600_000 + vt_income_tax_before_non_refundable_credits: 20_000 + vt_non_refundable_credits: 3_000 + households: + household: + members: [person1] + state_code: VT + output: + # 0.02 * (500,000 - 250,000) + 0.08 * (600,000 - 500,000) + # = 5,000 + 8,000 = 13,000 + vt_fair_share_surcharge: 13_000 + # Baseline value: max(0, 20,000 - 3,000) = 17,000 + # 17,000 + 13,000 = 30,000 + vt_income_tax_before_refundable_credits: 30_000 + vt_child_care_contributions: 0 + vt_refundable_credits: 0 + # vt_income_tax = 30,000 + 0 - 0 + vt_income_tax: 30_000 + state_income_tax_before_refundable_credits: 30_000 + state_income_tax: 30_000 + +- name: Case 3, below the first threshold the tax equals the baseline value. + period: 2026 + absolute_error_margin: 1 + reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share + input: + gov.contrib.states.vt.fair_share.in_effect: true + people: + person1: + age: 45 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + adjusted_gross_income: 200_000 + vt_income_tax_before_non_refundable_credits: 9_000 + vt_non_refundable_credits: 1_000 + households: + household: + members: [person1] + state_code: VT + output: + # 200,000 < 250,000, so the surcharge is 0. + vt_fair_share_surcharge: 0 + # max(0, 9,000 - 1,000) + 0 = 8,000, the baseline value. + vt_income_tax_before_refundable_credits: 8_000 + vt_income_tax: 8_000 + state_income_tax: 8_000 From c929478f6f885cd7fd24f2316b790dad7eec8c8a Mon Sep 17 00:00:00 2001 From: David Trimmer Date: Mon, 2 Nov 2026 12:08:37 -0500 Subject: [PATCH 3/3] Address review round 1: activation test, neutral labels, documentation Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01LqCGPgxDukji8Bhs57c5rH --- .../states/vt/fair_share/in_effect.yaml | 4 +- .../contrib/states/vt/fair_share/rate.yaml | 43 +++-- .../vt/fair_share/vt_fair_share_reform.py | 5 +- .../test_vt_fair_share_reform_activation.py | 149 ++++++++++++++++++ .../fair_share/vt_fair_share_surcharge.yaml | 6 +- ..._income_tax_before_refundable_credits.yaml | 4 +- 6 files changed, 188 insertions(+), 23 deletions(-) create mode 100644 policyengine_us/tests/policy/contrib/states/vt/fair_share/test_vt_fair_share_reform_activation.py diff --git a/policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml index 78f9deb94ec..acbd4e06acc 100644 --- a/policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml +++ b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/in_effect.yaml @@ -1,10 +1,10 @@ -description: The Vermont Fair Share income tax surcharge applies if this is true. +description: Vermont applies the H.794 high-income surcharge under the Fair Share for Vermont proposals if this is true. values: 0000-01-01: false metadata: unit: bool period: year - label: Vermont Fair Share surcharge in effect + label: Fair Share for Vermont surcharge options (H.794) in effect reference: - title: "Vermont H.794 (2026) as introduced, Sec. 2 (32 V.S.A. § 5822a) and Sec. 11(b) #page 2-3,14" href: https://legislature.vermont.gov/Documents/2026/Docs/BILLS/H-0794/H-0794%20As%20Introduced.pdf#page=2 diff --git a/policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml index 9a7638a70d7..423c5c7e676 100644 --- a/policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml +++ b/policyengine_us/parameters/gov/contrib/states/vt/fair_share/rate.yaml @@ -1,26 +1,35 @@ -description: Vermont sets these marginal surcharge rates on federal adjusted gross income under the Fair Share proposal. +description: Vermont sets these marginal surcharge rates on federal adjusted gross income under the Fair Share for Vermont proposals. metadata: type: marginal_rate threshold_unit: currency-USD rate_unit: /1 period: year - label: Vermont Fair Share surcharge rates + label: Fair Share for Vermont surcharge options (H.794) rates documentation: >- - Defaults to the Fair Share "Original Proposal + Clawback Proposal" option, - which is 32 V.S.A. § 5822a as drafted in H.794 and S.282: 2% of federal AGI - over $250,000 plus an additional 6% over $500,000, an 8% total marginal rate - above $500,000. The other two Fair Share options use the same thresholds, - base and filing-status treatment. Original Proposal (3% over $500,000): set - rate[1] to 0 and rate[2] to 0.03. Federal Tax Cut Clawback Proposal (2% over - $250,000 and 5% over $500,000; in bill terms 2% plus an additional 3%): keep - rate[1] at 0.02 and set rate[2] to 0.05. Each rate is a total marginal rate, - so the rate above $500,000 replaces the rate above $250,000 instead of adding - to it. H.794 § 5822a(d) indexes "the minimum amount of federal adjusted gross - income necessary to incur a surcharge," singular wording carried over from - the single-threshold H.828; this reform reads that provision as covering both - thresholds and also indexes the $500,000 tier-2 threshold. Both thresholds - rise from 2027 with the uprating that Vermont's income tax brackets use in - PolicyEngine (gov.irs.uprating, chained CPI-U); § 5822(b)(2) names CPI-U. + Defaults to the Fair Share for Vermont "Original Proposal + Clawback + Proposal" option, which is 32 V.S.A. § 5822a as drafted in H.794 and S.282: + 2% of federal AGI over $250,000 plus an additional 6% over $500,000, an 8% + total marginal rate above $500,000. Original Proposal (3% over $500,000): + set rate[1] to 0 and rate[2] to 0.03. Federal Tax Cut Clawback Proposal (2% + over $250,000 and 5% over $500,000; in bill terms 2% plus an additional 3%): + keep rate[1] at 0.02 and set rate[2] to 0.05. Each rate is a total marginal + rate, so the rate above $500,000 replaces the rate above $250,000 instead of + adding to it. The Fair Share for Vermont page gives no base, filing-status + treatment or indexing for these two options; this reform assumes they use + the base, thresholds, filing-status treatment and indexing of H.794. The + Original Proposal taxes only AGI over $500,000, as Fair Share for Vermont + and the H.794 testimony describe it; its predecessor, H.828 (2024), was + drafted as 3% of all federal AGI once AGI reaches $500,000. H.794 + § 5822a(d) indexes "the minimum amount of federal adjusted gross income + necessary to incur a surcharge," singular wording carried over from the + single-threshold H.828; that amount is each tier's "equal to or greater + than" trigger. This reform indexes both thresholds, and with them the + "exceeding" base amounts, so each tier's trigger stays equal to its base + and no cliff arises. Both thresholds rise from 2027 with the uprating that + Vermont's income tax brackets use in PolicyEngine (gov.irs.uprating, + chained CPI-U); § 5822(b)(2) names CPI-U. The surcharge applies to the full + federal AGI of the return with no part-year or nonresident proration, as + with the baseline Vermont income tax in PolicyEngine. reference: - title: "Vermont H.794 (2026) as introduced, Sec. 2 (32 V.S.A. § 5822a) and Sec. 11(b) #page 2-3,14" href: https://legislature.vermont.gov/Documents/2026/Docs/BILLS/H-0794/H-0794%20As%20Introduced.pdf#page=2 diff --git a/policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py b/policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py index 5e91863312d..e9e5022f485 100644 --- a/policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py +++ b/policyengine_us/reforms/states/vt/fair_share/vt_fair_share_reform.py @@ -6,7 +6,7 @@ def create_vt_fair_share() -> Reform: class vt_fair_share_surcharge(Variable): value_type = float entity = TaxUnit - label = "Vermont Fair Share income tax surcharge" + label = "Vermont H.794 high-income surcharge" unit = USD definition_period = YEAR defined_for = StateCode.VT @@ -25,6 +25,9 @@ def formula(tax_unit, period, parameters): agi = max_(tax_unit("adjusted_gross_income", period), 0) return where(p.in_effect, p.rate.calc(agi), 0) + # Mirrors policyengine_us/variables/gov/states/vt/tax/income/ + # vt_income_tax_before_refundable_credits.py plus the surcharge; keep the + # two formulas in sync when the baseline changes. class vt_income_tax_before_refundable_credits(Variable): value_type = float entity = TaxUnit diff --git a/policyengine_us/tests/policy/contrib/states/vt/fair_share/test_vt_fair_share_reform_activation.py b/policyengine_us/tests/policy/contrib/states/vt/fair_share/test_vt_fair_share_reform_activation.py new file mode 100644 index 00000000000..e59c6f2d51f --- /dev/null +++ b/policyengine_us/tests/policy/contrib/states/vt/fair_share/test_vt_fair_share_reform_activation.py @@ -0,0 +1,149 @@ +"""Exercise the in_effect activation path of the Vermont H.794 surcharge reform. + +The YAML tests apply the reform through the module-level ``bypass=True`` +object (``vt_fair_share``), so they never run the non-bypass branch of +``create_vt_fair_share_reform`` or its registration in +``create_structural_reforms_from_parameters``. That is the path the app and +API take when a user sets ``gov.contrib.states.vt.fair_share.in_effect``. The +factory looks at the period and the next four years and returns a ``Reform`` +subclass if the toggle is true in any of them, or ``None`` otherwise. + +As in ``test_dependent_exemption_reform_activation.py``, only the +``gov.contrib.states`` subtree is cloned, and the copied root's ``parent`` +back-reference is cleared so updates stay contained without mutating the +global parameter tree. No test builds a tax-benefit system or copies the whole +parameter tree: deep-copying ``system.parameters`` walks the full tree (~1 GB +peak), while the cloned subtree peaks at a few MB. +""" + +from types import SimpleNamespace + +import pytest + +from policyengine_core.reforms import Reform +from policyengine_us.reforms import create_structural_reforms_from_parameters +from policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform import ( + create_vt_fair_share_reform, +) +from policyengine_us.system import system + +YEAR = 2026 +PERIOD = f"{YEAR}-01-01" +# The factory checks the period and the next four years. +LOOKAHEAD_YEARS = 5 +REFORM_VARIABLES = { + "vt_fair_share_surcharge", + "vt_income_tax_before_refundable_credits", +} + + +def _states_with_in_effect(**update): + # Clone ONLY gov.contrib.states and sever the copy from its parent, so the + # in_effect update below neither escapes into nor copies the global tree. + states_copy = system.parameters.gov.contrib.states.clone() + states_copy.parent = None + states_copy.vt.fair_share.in_effect.update(value=True, **update) + return states_copy + + +def _contrib_states_only(states): + # The factory reads only gov.contrib.states.vt.fair_share, so a thin + # namespace exposing the copied subtree is sufficient. + return SimpleNamespace(gov=SimpleNamespace(contrib=SimpleNamespace(states=states))) + + +class _ParameterView: + """Delegate to a parameter node, with some of its children replaced.""" + + def __init__(self, node, **children): + self._node = node + self.__dict__.update(children) + + def __getattr__(self, name): + return getattr(self._node, name) + + def __call__(self, *args, **kwargs): + return self._node(*args, **kwargs) + + +def _global_tree_with_states(states): + # create_structural_reforms_from_parameters calls every contrib factory. + # They all read the global tree (not copied, not modified) except under + # gov.contrib.states, which comes from the cloned subtree. + root = system.parameters + return _ParameterView( + root, + gov=_ParameterView( + root.gov, + contrib=_ParameterView(root.gov.contrib, states=states), + ), + ) + + +class _RecordingSystem: + """Stands in for the system a Reform edits; records updated variables.""" + + def __init__(self): + self.updated_variables = set() + + def update_variable(self, variable): + self.updated_variables.add(variable.__name__) + + def __getattr__(self, name): + # Any other edit by another active structural reform is not under test. + return lambda *args, **kwargs: None + + +def _variables_updated_by(reform): + recorder = _RecordingSystem() + reform.apply(recorder) + return recorder.updated_variables + + +def _assert_reform_subclass(result): + assert isinstance(result, type) and issubclass(result, Reform), ( + f"expected a Reform subclass, got {result!r}" + ) + + +def test__given_default_parameters__then_factory_returns_none(): + # in_effect is false for every year by default; the factory only reads it. + assert create_vt_fair_share_reform(system.parameters, PERIOD) is None + + +@pytest.mark.parametrize("years_ahead", range(LOOKAHEAD_YEARS)) +def test__given_in_effect_true_within_lookahead__then_factory_returns_reform( + years_ahead, +): + # in_effect is true only in one year: the period itself (0) or up to four + # years later. + states = _states_with_in_effect(period=f"year:{YEAR + years_ahead}:1") + + result = create_vt_fair_share_reform(_contrib_states_only(states), PERIOD) + + _assert_reform_subclass(result) + assert _variables_updated_by(result) == REFORM_VARIABLES + + +@pytest.mark.parametrize("years_ahead", [LOOKAHEAD_YEARS, LOOKAHEAD_YEARS + 5]) +def test__given_in_effect_true_only_beyond_lookahead__then_factory_returns_none( + years_ahead, +): + # in_effect is false through the fifth year and true from then on. + states = _states_with_in_effect(start=f"{YEAR + years_ahead}-01-01") + + result = create_vt_fair_share_reform(_contrib_states_only(states), PERIOD) + + assert result is None + + +def test__given_in_effect_true__then_structural_reforms_include_vt_fair_share(): + baseline = create_structural_reforms_from_parameters(system.parameters, PERIOD) + assert not REFORM_VARIABLES & _variables_updated_by(baseline) + + states = _states_with_in_effect(period=f"year:{YEAR}:1") + combined = create_structural_reforms_from_parameters( + _global_tree_with_states(states), PERIOD + ) + + assert REFORM_VARIABLES <= _variables_updated_by(combined) 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 99046baf2bc..52320b86d1c 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 @@ -265,7 +265,7 @@ # (A Vermont resident at this AGI pays 45,000; see case 6.) vt_fair_share_surcharge: 0 -- name: Case 12, negative AGI owes no surcharge. +- name: Case 12, regression check that negative AGI owes no surcharge. period: 2026 absolute_error_margin: 1 reforms: policyengine_us.reforms.states.vt.fair_share.vt_fair_share_reform.vt_fair_share @@ -284,7 +284,9 @@ members: [person1] state_code: VT output: - # Base = max(-100,000, 0) = 0, so the surcharge is 0. + # Regression check, not a test of the AGI floor alone: the formula floors + # AGI at 0 (max(-100,000, 0) = 0), and MarginalRateTaxScale.calc already + # returns 0 for a negative base, so either guard gives a surcharge of 0. vt_fair_share_surcharge: 0 - name: Case 13, reform switched off gives no surcharge and leaves the baseline tax unchanged. diff --git a/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml b/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml index 701ed4e9ff2..72bb5f570f1 100644 --- a/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml +++ b/policyengine_us/tests/policy/contrib/states/vt/fair_share/vt_income_tax_before_refundable_credits.yaml @@ -41,7 +41,9 @@ vt_refundable_credits: 0 # vt_income_tax = 1,000 + 0 - 0 vt_income_tax: 1_000 - # The cross-state totals behind household net income pick it up. + # The cross-state totals pick it up. household_net_income reaches the + # surcharge separately: it subtracts household_tax_before_refundable_credits, + # which lists vt_income_tax_before_refundable_credits once. state_income_tax_before_refundable_credits: 1_000 state_income_tax: 1_000