From e1cbdd4355c709139e6f3cee2cff87869c2c7854 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Tue, 20 Oct 2026 15:59:53 -0400 Subject: [PATCH 1/7] Fix historical eligibility guards for state rebates --- ...bate-eligibility-year-guards-docs.fixed.md | 1 + .../az/tax/income/credits/refundable.yaml | 5 +- .../az/tax/income/rebate/age_threshold.yaml | 7 +- .../states/az/tax/income/rebate/amount.yaml | 6 +- .../az/tax/income/rebate/max_dependents.yaml | 6 +- .../tax/income/rebate/min_tax_liability.yaml | 7 +- .../co/tax/income/credits/refundable.yaml | 5 +- .../sales_tax_refund/age_threshold.yaml | 6 +- .../sales_tax_refund/amount/amount.yaml | 6 +- .../amount/flat_amount_enabled.yaml | 6 +- .../sales_tax_refund/amount/scale.yaml | 6 +- .../credits/sales_tax_refund/in_effect.yaml | 9 +- .../sales_tax_refund/magi_sources.yaml | 6 +- .../co/tax/income/credits/tabor/joint.yaml | 6 +- .../co/tax/income/credits/tabor/single.yaml | 6 +- .../ct/tax/income/credits/refundable.yaml | 5 +- .../ct/tax/income/rebate/age_limit.yaml | 6 +- .../states/ct/tax/income/rebate/amount.yaml | 6 +- .../ct/tax/income/rebate/child_cap.yaml | 6 +- .../income/rebate/reduction/increment.yaml | 6 +- .../ct/tax/income/rebate/reduction/rate.yaml | 6 +- .../ct/tax/income/rebate/reduction/start.yaml | 6 +- .../ga/tax/income/credits/refundable.yaml | 5 +- .../credits/surplus_tax_rebate/amount.yaml | 5 +- .../income/credits/act_115_rebate/joint.yaml | 9 +- .../income/credits/act_115_rebate/single.yaml | 9 +- .../hi/tax/income/credits/refundable.yaml | 5 +- .../income_tax_rebate/amount/dependent.yaml | 7 +- .../income_tax_rebate/amount/joint.yaml | 8 +- .../income_tax_rebate/amount/other.yaml | 8 +- .../income_tax_rebate/max_dependents.yaml | 6 +- .../credits/property_tax_rebate/cap.yaml | 7 +- .../income_limit/joint.yaml | 6 +- .../income_limit/other.yaml | 6 +- .../il/tax/income/credits/refundable.yaml | 5 +- .../amount.yaml | 6 +- .../disqualifying_programs.yaml | 6 +- .../max_poverty_ratio.yaml | 6 +- .../min_earnings.yaml | 6 +- .../ma/tax/income/credits/refundable.yaml | 5 +- .../credits/taxpayer_refund_rebate/rate.yaml | 6 +- .../me/tax/income/credits/refundable.yaml | 5 +- .../income/credits/relief_rebate/amount.yaml | 6 +- .../credits/relief_rebate/income_limit.yaml | 6 +- .../mt/tax/income/credits/rebate/amount.yaml | 5 +- .../nm/tax/income/credits/refundable.yaml | 5 +- .../2021_income/additional/amount.yaml | 12 ++- .../rebates/2021_income/main/amount.yaml | 12 ++- .../2021_income/main/income_limit.yaml | 7 +- .../2021_income/supplemental/amount.yaml | 12 ++- .../inflation_refund/head_of_household.yaml | 6 +- .../credits/inflation_refund/joint.yaml | 6 +- .../credits/inflation_refund/separate.yaml | 6 +- .../credits/inflation_refund/single.yaml | 6 +- .../inflation_refund/surviving_spouse.yaml | 6 +- .../ny/tax/income/credits/refundable.yaml | 5 +- .../credits/child_tax_rebate/amount.yaml | 5 +- .../credits/child_tax_rebate/limit/age.yaml | 5 +- .../credits/child_tax_rebate/limit/child.yaml | 5 +- .../child_tax_rebate/limit/income.yaml | 5 +- .../ri/tax/income/credits/refundable.yaml | 5 +- .../income/credits/2022_rebate/amount.yaml | 6 +- .../sc/tax/income/credits/non_refundable.yaml | 5 +- .../va/tax/income/credits/non_refundable.yaml | 5 +- .../states/va/tax/income/rebate/amount.yaml | 11 ++- .../sales_tax_refund/co_sales_tax_refund.yaml | 43 ++++++++++ .../tax/income/credits/hi_act_115_rebate.yaml | 73 ++++++++++++++++ .../income/credits/il_income_tax_rebate.yaml | 62 ++++++++++++++ ...ssential_employee_premium_pay_program.yaml | 60 +++++++++++++ .../2021_income/nm_2021_income_rebate.yaml | 84 +++++++++++++++++++ .../gov/states/va/tax/income/va_rebate.yaml | 70 ++++++++++++++++ 71 files changed, 735 insertions(+), 64 deletions(-) create mode 100644 changelog.d/rebate-eligibility-year-guards-docs.fixed.md diff --git a/changelog.d/rebate-eligibility-year-guards-docs.fixed.md b/changelog.d/rebate-eligibility-year-guards-docs.fixed.md new file mode 100644 index 00000000000..39a0508e7de --- /dev/null +++ b/changelog.d/rebate-eligibility-year-guards-docs.fixed.md @@ -0,0 +1 @@ +Prevent Colorado sales tax refunds and Illinois, New Mexico, Virginia, Hawaii, and Massachusetts rebates from applying before their eligibility years, while preserving eligibility-year amounts. Document eligibility-year attribution for state rebates. diff --git a/policyengine_us/parameters/gov/states/az/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/az/tax/income/credits/refundable.yaml index 56cc15867cf..a4db4220316 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Arizona refundable tax credits. +description: >- + Arizona refundable tax credits. One-time rebates are included for the eligibility tax + year identified by the return, even when payment occurs later. A standalone rebate + value does not establish inclusion in this total. values: 2019-01-01: - az_increased_excise_tax_credit diff --git a/policyengine_us/parameters/gov/states/az/tax/income/rebate/age_threshold.yaml b/policyengine_us/parameters/gov/states/az/tax/income/rebate/age_threshold.yaml index b34487b7614..7f856fe1d29 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/rebate/age_threshold.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/rebate/age_threshold.yaml @@ -1,4 +1,9 @@ -description: Arizona uses this age threshold to distinguish between young and older dependents for the Families Tax Rebate. +description: >- + Arizona uses this age threshold to distinguish between young and older dependents for + the Families Tax Rebate. PolicyEngine attributes this one-time rebate to eligibility + tax year 2021 rather than to its 2023 payment year. It enters refundable-credit totals + only in 2021, even if a standalone calculation returns a positive amount in another + year. metadata: period: year unit: year diff --git a/policyengine_us/parameters/gov/states/az/tax/income/rebate/amount.yaml b/policyengine_us/parameters/gov/states/az/tax/income/rebate/amount.yaml index f5cd4dba45c..e17213e7ba2 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/rebate/amount.yaml @@ -1,4 +1,8 @@ -description: Arizona provides this rebate amount per dependent based on the dependent's age. +description: >- + Arizona provides this rebate amount per dependent based on the dependent's age. + PolicyEngine attributes this one-time rebate to eligibility tax year 2021 rather than + to its 2023 payment year. It enters refundable-credit totals only in 2021, even if a + standalone calculation returns a positive amount in another year. metadata: type: single_amount period: year diff --git a/policyengine_us/parameters/gov/states/az/tax/income/rebate/max_dependents.yaml b/policyengine_us/parameters/gov/states/az/tax/income/rebate/max_dependents.yaml index 7d451605bd2..9bb1165e3b6 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/rebate/max_dependents.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/rebate/max_dependents.yaml @@ -1,4 +1,8 @@ -description: Arizona limits the number of dependents counted for the Families Tax Rebate based on filing status. +description: >- + Arizona limits the number of dependents counted for the Families Tax Rebate based on + filing status. PolicyEngine attributes this one-time rebate to eligibility tax year + 2021 rather than to its 2023 payment year. It enters refundable-credit totals only in + 2021, even if a standalone calculation returns a positive amount in another year. metadata: period: year unit: /1 diff --git a/policyengine_us/parameters/gov/states/az/tax/income/rebate/min_tax_liability.yaml b/policyengine_us/parameters/gov/states/az/tax/income/rebate/min_tax_liability.yaml index 14f946b7308..4a834693345 100644 --- a/policyengine_us/parameters/gov/states/az/tax/income/rebate/min_tax_liability.yaml +++ b/policyengine_us/parameters/gov/states/az/tax/income/rebate/min_tax_liability.yaml @@ -1,4 +1,9 @@ -description: Arizona limits eligibility to filers with at least this tax liability under the Families Tax Rebate program. +description: >- + Arizona limits eligibility to filers with at least this tax liability under the + Families Tax Rebate program. PolicyEngine attributes this one-time rebate to + eligibility tax year 2021 rather than to its 2023 payment year. It enters + refundable-credit totals only in 2021, even if a standalone calculation returns a + positive amount in another year. metadata: period: year unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml index 82fa88a2f37..df21448dcd6 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Colorado refundable tax credits. +description: >- + Colorado refundable tax credits. One-time rebates are included for the eligibility tax + year identified by the return, even when payment occurs later. A standalone rebate + value does not establish inclusion in this total. metadata: period: year unit: list diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/age_threshold.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/age_threshold.yaml index 2b4900a242a..de5407b2f2a 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/age_threshold.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/age_threshold.yaml @@ -1,4 +1,8 @@ -description: Colorado limits its sales tax refund to filers this age or older. +description: >- + Colorado limits its sales tax refund to filers this age or older. The refund is + attributed to the modeled eligibility tax year, even when the return and payment occur + later. This is the residual sales tax refund mechanism, separate from Colorado Cash + Back; in_effect controls whether the refund is available. values: 2021-01-01: 18 diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/amount.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/amount.yaml index 67c7044ca6b..527ae9aa75e 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/amount.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/amount.yaml @@ -1,4 +1,8 @@ -description: Colorado provides a flat sales tax refund credit of this amount. +description: >- + Colorado provides a flat sales tax refund credit of this amount. The refund is + attributed to the modeled eligibility tax year, even when the return and payment occur + later. This is the residual sales tax refund mechanism, separate from Colorado Cash + Back; in_effect controls whether the refund is available. values: 2023-01-01: 800 diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/flat_amount_enabled.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/flat_amount_enabled.yaml index 5e386ad64cd..c636c2e2493 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/flat_amount_enabled.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/flat_amount_enabled.yaml @@ -1,4 +1,8 @@ -description: Colorado allows for a flat sales tax refund credit if this is true. +description: >- + Colorado allows for a flat sales tax refund credit if this is true. The refund is + attributed to the modeled eligibility tax year, even when the return and payment occur + later. This is the residual sales tax refund mechanism, separate from Colorado Cash + Back; in_effect controls whether the refund is available. values: 2021-01-01: false 2023-01-01: true diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml index 6620d28da87..813374aefa1 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml @@ -1,4 +1,8 @@ -description: Colorado provides this base sales tax refund amount, based on modified adjusted gross income. +description: >- + Colorado provides this base sales tax refund amount, based on modified adjusted gross + income. The refund is attributed to the modeled eligibility tax year, even when the + return and payment occur later. This is the residual sales tax refund mechanism, + separate from Colorado Cash Back; in_effect controls whether the refund is available. metadata: period: year type: single_amount diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/in_effect.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/in_effect.yaml index 7c6a9c6ebc4..b5d77daa704 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/in_effect.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/in_effect.yaml @@ -1,5 +1,12 @@ -description: Colorado pays the state sales tax refund for a tax year if this is true, which requires excess state revenues for the state fiscal year ending in that tax year. +description: >- + Colorado pays the state sales tax refund for a tax year if this is true, which + requires excess state revenues for the state fiscal year ending in that tax year. The + refund is attributed to the modeled eligibility tax year, even when the return and + payment occur later. This is the residual sales tax refund mechanism, separate from + Colorado Cash Back; in_effect controls whether the refund is available. values: + 2015-01-01: true + 2016-01-01: false 2021-01-01: true # FY 2025-26 revenue fell $175.9 million short of the Referendum C cap, as # the State Controller certified on 2026-09-08, so no tax year 2026 refund. diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/magi_sources.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/magi_sources.yaml index 9779bbf72d9..2e16e04c9dc 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/magi_sources.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/magi_sources.yaml @@ -1,4 +1,8 @@ -description: Colorado accounts for these income sources for the modified adjusted gross income. +description: >- + Colorado accounts for these income sources for the modified adjusted gross income. The + refund is attributed to the modeled eligibility tax year, even when the return and + payment occur later. This is the residual sales tax refund mechanism, separate from + Colorado Cash Back; in_effect controls whether the refund is available. values: 1999-01-01: - adjusted_gross_income diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml index e0005594e61..a7f737a405e 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml @@ -1,4 +1,8 @@ -description: Colorado provides the following Taxpayer's Bill of Rights cash back amount for joint filers. +description: >- + Colorado provides the following Taxpayer's Bill of Rights cash back amount for joint + filers. PolicyEngine attributes this one-time Colorado Cash Back payment to + eligibility tax year 2021, although it was paid in 2022. The amount is zero outside + 2021 and is separate from the sales tax refund. values: # SB 22-233 was a one-time refund of the state fiscal year 2021-22 TABOR # surplus, based on the 2021 return and paid in 2022, so it is booked to diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml index befaa93f8ba..8960365b767 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml @@ -1,4 +1,8 @@ -description: Colorado provides the following Taxpayer's Bill of Rights cash back amount for single filers. +description: >- + Colorado provides the following Taxpayer's Bill of Rights cash back amount for single + filers. PolicyEngine attributes this one-time Colorado Cash Back payment to + eligibility tax year 2021, although it was paid in 2022. The amount is zero outside + 2021 and is separate from the sales tax refund. values: # SB 22-233 was a one-time refund of the state fiscal year 2021-22 TABOR # surplus, based on the 2021 return and paid in 2022, so it is booked to diff --git a/policyengine_us/parameters/gov/states/ct/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/ct/tax/income/credits/refundable.yaml index 12c92357bea..32ca06504b0 100644 --- a/policyengine_us/parameters/gov/states/ct/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/ct/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Connecticut provides the following refundable tax credits. +description: >- + Connecticut provides the following refundable tax credits. One-time rebates are + included for the eligibility tax year identified by the return, even when payment + occurs later. A standalone rebate value does not establish inclusion in this total. metadata: unit: list period: year diff --git a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/age_limit.yaml b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/age_limit.yaml index c1788f34ad1..b615732f58a 100644 --- a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/age_limit.yaml +++ b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/age_limit.yaml @@ -1,4 +1,8 @@ -description: Connecticut limits its child tax rebate to dependent children this age or younger under the Child Tax Rebate program. +description: >- + Connecticut limits its child tax rebate to dependent children this age or younger + under the Child Tax Rebate program. PolicyEngine attributes this one-time rebate to + eligibility tax year 2021 rather than to its 2022 payment year. The amount and child + cap are zero outside 2021. metadata: unit: year period: year diff --git a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/amount.yaml b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/amount.yaml index 809fda31ca6..ce02ab5b207 100644 --- a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/amount.yaml @@ -1,4 +1,8 @@ -description: Connecticut provides a child tax rebate of this amount for each eligible child under the Child Tax Rebate program. +description: >- + Connecticut provides a child tax rebate of this amount for each eligible child under + the Child Tax Rebate program. PolicyEngine attributes this one-time rebate to + eligibility tax year 2021 rather than to its 2022 payment year. The amount and child + cap are zero outside 2021. metadata: period: year unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/child_cap.yaml b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/child_cap.yaml index 3f05ca262b7..fd103b21d0c 100644 --- a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/child_cap.yaml +++ b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/child_cap.yaml @@ -1,4 +1,8 @@ -description: Connecticut caps its child tax rebate at this number of children under the Child Tax Rebate program. +description: >- + Connecticut caps its child tax rebate at this number of children under the Child Tax + Rebate program. PolicyEngine attributes this one-time rebate to eligibility tax year + 2021 rather than to its 2022 payment year. The amount and child cap are zero outside + 2021. metadata: period: year unit: person diff --git a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/increment.yaml b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/increment.yaml index f6a117c9250..030dafdd5bb 100644 --- a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/increment.yaml +++ b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/increment.yaml @@ -1,4 +1,8 @@ -description: Connecticut reduces the child tax rebate amount for each of these increments of federal adjusted gross income exceeding the threshold under the Child Tax Rebate program. +description: >- + Connecticut reduces the child tax rebate amount for each of these increments of + federal adjusted gross income exceeding the threshold under the Child Tax Rebate + program. PolicyEngine attributes this one-time rebate to eligibility tax year 2021 + rather than to its 2022 payment year. The amount and child cap are zero outside 2021. metadata: period: year unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/rate.yaml b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/rate.yaml index b2274720a55..2ca5a6ea852 100644 --- a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/rate.yaml +++ b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/rate.yaml @@ -1,4 +1,8 @@ -description: Connecticut reduces the child tax rebate by this share for each increment of federal adjusted gross income exceeding the threshold under the Child Tax Rebate program. +description: >- + Connecticut reduces the child tax rebate by this share for each increment of federal + adjusted gross income exceeding the threshold under the Child Tax Rebate program. + PolicyEngine attributes this one-time rebate to eligibility tax year 2021 rather than + to its 2022 payment year. The amount and child cap are zero outside 2021. metadata: period: year unit: /1 diff --git a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/start.yaml b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/start.yaml index d464a7744bd..52515f345f8 100644 --- a/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/start.yaml +++ b/policyengine_us/parameters/gov/states/ct/tax/income/rebate/reduction/start.yaml @@ -1,4 +1,8 @@ -description: Connecticut reduces the child tax rebate for filers with federal adjusted gross income above this amount, based on filing status, under the Child Tax Rebate program. +description: >- + Connecticut reduces the child tax rebate for filers with federal adjusted gross income + above this amount, based on filing status, under the Child Tax Rebate program. + PolicyEngine attributes this one-time rebate to eligibility tax year 2021 rather than + to its 2022 payment year. The amount and child cap are zero outside 2021. metadata: propagate_metadata_to_children: true period: year diff --git a/policyengine_us/parameters/gov/states/ga/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/ga/tax/income/credits/refundable.yaml index 1f9d0ff3da5..230e2b2985a 100644 --- a/policyengine_us/parameters/gov/states/ga/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/ga/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Georgia provides these refundable income tax credits. +description: >- + Georgia provides these refundable income tax credits. One-time rebates are included + for the eligibility tax year identified by the return, even when payment occurs later. + A standalone rebate value does not establish inclusion in this total. values: # The HB 162 surplus tax rebate is capped at Form 500 Line 16 (tax before # credits) and pays out past a zero balance due, so it is treated as diff --git a/policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml b/policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml index 58ca7a76918..16193cd3533 100644 --- a/policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml @@ -1,4 +1,7 @@ -description: Georgia provides a surplus tax rebate of up to this amount. +description: >- + Georgia provides a surplus tax rebate of up to this amount. PolicyEngine attributes + this one-time refund to eligibility tax year 2021 rather than to the later payment + year; the amount is zero outside 2021. metadata: propagate_metadata_to_children: true unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml b/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml index 7b320be909d..79be09f5c3e 100644 --- a/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml +++ b/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml @@ -1,4 +1,9 @@ -description: Hawaii provides this ACT 115 rebate amount per qualified exemption for joint filers and surviving spouses, based on federal adjusted gross income. +description: >- + Hawaii provides this ACT 115 rebate amount per qualified exemption for joint filers + and surviving spouses, based on federal adjusted gross income. PolicyEngine attributes + the one-time Act 115 refund paid in 2022 to eligibility tax year 2021. These schedules + can persist for later standalone calculations; the dated refundable-credit total + determines whether they affect income tax. metadata: threshold_unit: currency-USD amount_unit: currency-USD @@ -15,8 +20,10 @@ brackets: - threshold: 2021-01-01: -.inf amount: + 2020-01-01: 0 2021-01-01: 300 - threshold: 2021-01-01: 200_000 amount: + 2020-01-01: 0 2021-01-01: 100 diff --git a/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml b/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml index f002f2aff5b..60e885f7298 100644 --- a/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml +++ b/policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml @@ -1,4 +1,9 @@ -description: Hawaii provides this ACT 115 rebate amount per qualified exemption for single, head of household, and separate filers, based on federal adjusted gross income. +description: >- + Hawaii provides this ACT 115 rebate amount per qualified exemption for single, head of + household, and separate filers, based on federal adjusted gross income. PolicyEngine + attributes the one-time Act 115 refund paid in 2022 to eligibility tax year 2021. + These schedules can persist for later standalone calculations; the dated + refundable-credit total determines whether they affect income tax. metadata: threshold_unit: currency-USD amount_unit: currency-USD @@ -15,8 +20,10 @@ brackets: - threshold: 2021-01-01: -.inf amount: + 2020-01-01: 0 2021-01-01: 300 - threshold: 2021-01-01: 100_000 amount: + 2020-01-01: 0 2021-01-01: 100 diff --git a/policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml index 264449d0df2..990f08587c1 100644 --- a/policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Hawaii provides the following refundable tax credits. +description: >- + Hawaii provides the following refundable tax credits. One-time rebates are included + for the eligibility tax year identified by the return, even when payment occurs later. + A standalone rebate value does not establish inclusion in this total. values: 2021-01-01: - hi_food_excise_credit diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml index 1018c608efd..24c30be213a 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml @@ -1,5 +1,10 @@ -description: Illinois provides an income tax rebate of this amount for each dependent. +description: >- + Illinois provides an income tax rebate of this amount for each dependent. PolicyEngine + attributes this one-time rebate to eligibility tax year 2021, determined from that + year's return, although it was paid in 2022. Later-year standalone calculations do not + establish inclusion in credit totals. values: + 2020-01-01: 0 2021-01-01: 100 metadata: unit: int diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml index 3f9ca6f887b..f12c1287a53 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml @@ -1,4 +1,8 @@ -description: Illinois provides this income tax rebate amount for joint filers, based on federal adjusted gross income. +description: >- + Illinois provides this income tax rebate amount for joint filers, based on federal + adjusted gross income. PolicyEngine attributes this one-time rebate to eligibility tax + year 2021, determined from that year's return, although it was paid in 2022. + Later-year standalone calculations do not establish inclusion in credit totals. metadata: threshold_unit: currency-USD amount_unit: currency-USD @@ -13,8 +17,10 @@ brackets: - threshold: 2021-01-01: 0 amount: + 2020-01-01: 0 2021-01-01: 100 - threshold: 2021-01-01: 400_000 amount: + 2020-01-01: 0 2021-01-01: 0 diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml index e7923856be6..1d0ac511655 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml @@ -1,4 +1,8 @@ -description: Illinois provides this income tax rebate amount for non-joint filers, based on federal adjusted gross income. +description: >- + Illinois provides this income tax rebate amount for non-joint filers, based on federal + adjusted gross income. PolicyEngine attributes this one-time rebate to eligibility tax + year 2021, determined from that year's return, although it was paid in 2022. + Later-year standalone calculations do not establish inclusion in credit totals. metadata: threshold_unit: currency-USD amount_unit: currency-USD @@ -13,8 +17,10 @@ brackets: - threshold: 2021-01-01: 0 amount: + 2020-01-01: 0 2021-01-01: 50 - threshold: 2021-01-01: 200_000 amount: + 2020-01-01: 0 2021-01-01: 0 diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml index 9558b4b1724..eb103b4346f 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml @@ -1,4 +1,8 @@ -description: Illinois provides an income tax rebate amount for up to this number of dependents. +description: >- + Illinois provides an income tax rebate amount for up to this number of dependents. + PolicyEngine attributes this one-time rebate to eligibility tax year 2021, determined + from that year's return, although it was paid in 2022. Later-year standalone + calculations do not establish inclusion in credit totals. values: 2021-01-01: 3 metadata: diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/cap.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/cap.yaml index 48099bcf30d..210a1f9d9ef 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/cap.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/cap.yaml @@ -1,5 +1,10 @@ -description: Illinois caps the 2022 property tax rebate at this amount. +description: >- + Illinois caps the 2022 property tax rebate at this amount. PolicyEngine attributes + this one-time rebate to eligibility tax year 2021, determined from that year's return, + although it was paid in 2022. Later-year standalone calculations do not establish + inclusion in credit totals. values: + 2020-01-01: 0 2021-01-01: 300 metadata: unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/joint.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/joint.yaml index d3d073681f8..1889e67deea 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/joint.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/joint.yaml @@ -1,4 +1,8 @@ -description: Illinois disallows the 2022 property tax rebate for joint filers with adjusted gross income above this amount. +description: >- + Illinois disallows the 2022 property tax rebate for joint filers with adjusted gross + income above this amount. PolicyEngine attributes this one-time rebate to eligibility + tax year 2021, determined from that year's return, although it was paid in 2022. + Later-year standalone calculations do not establish inclusion in credit totals. values: 2021-01-01: 500_000 metadata: diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/other.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/other.yaml index 06cd1af931b..97ac34f3650 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/other.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/property_tax_rebate/income_limit/other.yaml @@ -1,4 +1,8 @@ -description: Illinois disallows the 2022 property tax rebate for non-joint filers with adjusted gross income above this amount. +description: >- + Illinois disallows the 2022 property tax rebate for non-joint filers with adjusted + gross income above this amount. PolicyEngine attributes this one-time rebate to + eligibility tax year 2021, determined from that year's return, although it was paid in + 2022. Later-year standalone calculations do not establish inclusion in credit totals. values: 2021-01-01: 250_000 metadata: diff --git a/policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml index cd0c9708bf5..fb4ca910287 100644 --- a/policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Illinois provides the following refundable credits. +description: >- + Illinois provides the following refundable credits. One-time rebates are included for + the eligibility tax year identified by the return, even when payment occurs later. A + standalone rebate value does not establish inclusion in this total. values: 2021-01-01: - il_pass_through_withholding diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/amount.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/amount.yaml index 07180a3f4ca..f9ac4958e7b 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/amount.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/amount.yaml @@ -1,5 +1,9 @@ -description: Amount of Massachusetts COVID-19 Essential Employee Premium Pay Program. +description: >- + Amount of Massachusetts COVID-19 Essential Employee Premium Pay Program. PolicyEngine + attributes the two modeled $500 premium-pay rounds issued in 2022 to eligibility tax + years 2020 and 2021, respectively. The payment amount is zero outside those years. values: + 2019-01-01: 0 2020-01-01: 500 2022-01-01: 0 metadata: diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/disqualifying_programs.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/disqualifying_programs.yaml index ecd36a949af..9628118d98b 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/disqualifying_programs.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/disqualifying_programs.yaml @@ -1,4 +1,8 @@ -description: Disqualifying programs for Massachusetts COVID-19 Essential Employee Premium Pay Program. +description: >- + Disqualifying programs for Massachusetts COVID-19 Essential Employee Premium Pay + Program. PolicyEngine attributes the two modeled $500 premium-pay rounds issued in + 2022 to eligibility tax years 2020 and 2021, respectively. The payment amount is zero + outside those years. values: 2020-01-01: - total_unemployment_compensation diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/max_poverty_ratio.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/max_poverty_ratio.yaml index 0862e658e3f..b3951149baa 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/max_poverty_ratio.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/max_poverty_ratio.yaml @@ -1,4 +1,8 @@ -description: Maximum poverty ratio to qualify for Massachusetts COVID-19 Essential Employee Premium Pay Program. +description: >- + Maximum poverty ratio to qualify for Massachusetts COVID-19 Essential Employee Premium + Pay Program. PolicyEngine attributes the two modeled $500 premium-pay rounds issued in + 2022 to eligibility tax years 2020 and 2021, respectively. The payment amount is zero + outside those years. values: 2020-01-01: 3 metadata: diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/min_earnings.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/min_earnings.yaml index 7501486a5e1..96922e45b16 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/min_earnings.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/covid_19_essential_employee_premium_pay_program/min_earnings.yaml @@ -1,4 +1,8 @@ -description: Minimum earned income to qualify for Massachusetts COVID-19 Essential Employee Premium Pay Program. +description: >- + Minimum earned income to qualify for Massachusetts COVID-19 Essential Employee Premium + Pay Program. PolicyEngine attributes the two modeled $500 premium-pay rounds issued in + 2022 to eligibility tax years 2020 and 2021, respectively. The payment amount is zero + outside those years. values: 2020-01-01: 12_750 2021-01-01: 13_500 diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml index 5770f56ee9d..76419d4daac 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Massachusetts allows these refundable tax credits. +description: >- + Massachusetts allows these refundable tax credits. One-time rebates are included for + the eligibility tax year identified by the return, even when payment occurs later. A + standalone rebate value does not establish inclusion in this total. values: 2020-01-01: - ma_eitc diff --git a/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml b/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml index 26ec783d278..928bccde566 100644 --- a/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml +++ b/policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml @@ -1,4 +1,8 @@ -description: Massachusetts provides a taxpayer refund rebate of this percentage of the filers income tax liability. +description: >- + Massachusetts provides a taxpayer refund rebate of this percentage of the filers + income tax liability. PolicyEngine attributes the one-time Chapter 62F refund paid in + 2022 to eligibility tax year 2021. This rate persists for standalone calculations; the + refund enters the dated credit total only in 2021. values: 2021-01-01: 0.140312 metadata: diff --git a/policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml index 95fd8644686..99f607ffb8a 100644 --- a/policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Maine refundable tax credits. +description: >- + Maine refundable tax credits. One-time rebates are included for the eligibility tax + year identified by the return, even when payment occurs later. A standalone rebate + value does not establish inclusion in this total. values: 2021-01-01: - me_refundable_child_care_credit diff --git a/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml b/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml index 6b48eae1bd3..26022dda263 100644 --- a/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml @@ -1,4 +1,8 @@ -description: Maine provides this amount to each eligible head and spouse under the Maine Relief Payment program. +description: >- + Maine provides this amount to each eligible head and spouse under the Maine Relief + Payment program. PolicyEngine attributes this one-time $850 relief payment to + eligibility tax year 2021 rather than to its 2022 payment year. The payment amount is + zero outside 2021. values: # The $850 relief payment was a one-time payment based on the 2021 Maine # individual income tax return and mailed in 2022, so it is booked to 2021. diff --git a/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml b/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml index 42d3d5ec73c..85353f08f12 100644 --- a/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml +++ b/policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml @@ -1,4 +1,8 @@ -description: Maine provides a relief rebate for filers with adjusted gross income below this threshold, based on filing status. +description: >- + Maine provides a relief rebate for filers with adjusted gross income below this + threshold, based on filing status. PolicyEngine attributes this one-time $850 relief + payment to eligibility tax year 2021 rather than to its 2022 payment year. The payment + amount is zero outside 2021. metadata: propagate_metadata_to_children: true unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml b/policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml index 9930503b46f..4d979d3a7d7 100644 --- a/policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml @@ -1,4 +1,7 @@ -description: Montana provides the following income tax rebate amount, based on filing status. +description: >- + Montana provides the following income tax rebate amount, based on filing status. + PolicyEngine attributes this one-time income tax rebate to eligibility tax year 2021 + rather than to its 2023 payment year. The amount is zero outside 2021. metadata: propagate_metadata_to_children: true period: year diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/credits/refundable.yaml index b4def6cb833..2699ac80411 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: New Mexico refundable tax credits. +description: >- + New Mexico refundable tax credits. One-time rebates are included for the eligibility + tax year identified by the return, even when payment occurs later. A standalone rebate + value does not establish inclusion in this total. values: 2021-01-01: - nm_cdcc diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/additional/amount.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/additional/amount.yaml index f20e5ee453a..0f52f88c206 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/additional/amount.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/additional/amount.yaml @@ -1,4 +1,9 @@ -description: New Mexico provides the following additional 2021 income tax rebate amount, based on filing status. +description: >- + New Mexico provides the following additional 2021 income tax rebate amount, based on + filing status. PolicyEngine attributes this rebate to eligibility tax year 2021, + determined from the 2021 return. The value can persist in later standalone + calculations; inclusion in the dated refundable-credit total determines whether it + affects income tax. metadata: propagate_metadata_to_children: true unit: currency-USD @@ -13,12 +18,17 @@ metadata: href: https://nmonesource.com/nmos/nmsl/en/item/18775/index.do#!fragment/undefined/BQCwhgziBcwMYgK4DsDWsBGB7LqC2YATqgJIAm0cATAIw0R0CUANMlgC4CmEAiop4QCe0AOQjmETkQR8BwsRKmEEAZSyF2AIWEAlAKIAZPQDUAggDkAwnubswGaOyxxGjIA JOINT: + 2020-01-01: 0 2021-01-01: 1_000 HEAD_OF_HOUSEHOLD: + 2020-01-01: 0 2021-01-01: 1_000 SURVIVING_SPOUSE: + 2020-01-01: 0 2021-01-01: 1_000 SINGLE: + 2020-01-01: 0 2021-01-01: 500 SEPARATE: + 2020-01-01: 0 2021-01-01: 500 diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/amount.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/amount.yaml index ee038f8bb41..d575351b883 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/amount.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/amount.yaml @@ -1,4 +1,9 @@ -description: New Mexico provides the following main 2021 income tax rebate amount, based on filing status. +description: >- + New Mexico provides the following main 2021 income tax rebate amount, based on filing + status. PolicyEngine attributes this rebate to eligibility tax year 2021, determined + from the 2021 return. The value can persist in later standalone calculations; + inclusion in the dated refundable-credit total determines whether it affects income + tax. metadata: propagate_metadata_to_children: true unit: currency-USD @@ -13,12 +18,17 @@ metadata: href: https://nmonesource.com/nmos/nmsl/en/item/18453/index.do#!fragment/undefined/BQCwhgziBcwMYgK4DsDWsBGB7LqC2YATqgJIAm0cALAOwRUCUANMlgC4CmEAioh4QE9oAcmFMIHIgl78ho8ZMIIAylkJsAQkIBKAUQAyugGoBBAHIBhXUzZgM0NljgMGQA JOINT: + 2020-01-01: 0 2021-01-01: 500 HEAD_OF_HOUSEHOLD: + 2020-01-01: 0 2021-01-01: 500 SURVIVING_SPOUSE: + 2020-01-01: 0 2021-01-01: 500 SINGLE: + 2020-01-01: 0 2021-01-01: 250 SEPARATE: + 2020-01-01: 0 2021-01-01: 250 diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/income_limit.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/income_limit.yaml index 176ab141b86..2c236e045ac 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/income_limit.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/main/income_limit.yaml @@ -1,4 +1,9 @@ -description: New Mexico provides the main 2021 income tax rebate for filers with AGI below this limit, based on filing status. +description: >- + New Mexico provides the main 2021 income tax rebate for filers with AGI below this + limit, based on filing status. PolicyEngine attributes this rebate to eligibility tax + year 2021, determined from the 2021 return. The value can persist in later standalone + calculations; inclusion in the dated refundable-credit total determines whether it + affects income tax. metadata: propagate_metadata_to_children: true unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/supplemental/amount.yaml b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/supplemental/amount.yaml index be65ea486fc..1f98b260489 100644 --- a/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/supplemental/amount.yaml +++ b/policyengine_us/parameters/gov/states/nm/tax/income/rebates/2021_income/supplemental/amount.yaml @@ -1,4 +1,9 @@ -description: New Mexico provides the following supplemental 2021 income tax rebate amount, based on filing status. +description: >- + New Mexico provides the following supplemental 2021 income tax rebate amount, based on + filing status. PolicyEngine attributes this rebate to eligibility tax year 2021, + determined from the 2021 return. The value can persist in later standalone + calculations; inclusion in the dated refundable-credit total determines whether it + affects income tax. metadata: propagate_metadata_to_children: true unit: currency-USD @@ -13,12 +18,17 @@ metadata: href: https://nmonesource.com/nmos/nmsl/en/item/18454/index.do#!fragment/undefined/BQCwhgziBcwMYgK4DsDWsBGB7LqC2YATqgJIAm0cATBAIwCUANMlgC4CmEAiou4QJ7QA5EMYR2RBDz6CRYiYQQBlLIVYAhQQCUAogBkdANQCCAOQDCOxqzAZorLHHr0gA JOINT: + 2020-01-01: 0 2021-01-01: 1_000 # two payments of $500 HEAD_OF_HOUSEHOLD: + 2020-01-01: 0 2021-01-01: 1_000 # two payments of $500 SURVIVING_SPOUSE: + 2020-01-01: 0 2021-01-01: 1_000 # two payments of $500 SINGLE: + 2020-01-01: 0 2021-01-01: 500 # two payments of $250 SEPARATE: + 2020-01-01: 0 2021-01-01: 500 # two payments of $250 diff --git a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/head_of_household.yaml b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/head_of_household.yaml index 856dca2b06d..5ceced2c961 100644 --- a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/head_of_household.yaml +++ b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/head_of_household.yaml @@ -1,4 +1,8 @@ -description: New York provides the following inflation refund amount for head of household filers, modeled in tax year 2023 based on adjusted gross income. +description: >- + New York provides the following inflation refund amount for head of household filers, + modeled in tax year 2023 based on adjusted gross income. The refund was paid in 2025; + PolicyEngine attributes it to eligibility tax year 2023, determined from the 2023 + return. metadata: type: single_amount threshold_unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/joint.yaml b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/joint.yaml index b968cc58fbd..1f6c75cce1f 100644 --- a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/joint.yaml +++ b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/joint.yaml @@ -1,4 +1,8 @@ -description: New York provides the following inflation refund amount for joint filers, modeled in tax year 2023 based on adjusted gross income. +description: >- + New York provides the following inflation refund amount for joint filers, modeled in + tax year 2023 based on adjusted gross income. The refund was paid in 2025; + PolicyEngine attributes it to eligibility tax year 2023, determined from the 2023 + return. metadata: type: single_amount threshold_unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/separate.yaml b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/separate.yaml index 4251049e6a2..68578880c83 100644 --- a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/separate.yaml +++ b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/separate.yaml @@ -1,4 +1,8 @@ -description: New York provides the following inflation refund amount for married filing separate filers, modeled in tax year 2023 based on adjusted gross income. +description: >- + New York provides the following inflation refund amount for married filing separate + filers, modeled in tax year 2023 based on adjusted gross income. The refund was paid + in 2025; PolicyEngine attributes it to eligibility tax year 2023, determined from the + 2023 return. metadata: type: single_amount threshold_unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/single.yaml b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/single.yaml index 6382bb59aca..f9fba361bbd 100644 --- a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/single.yaml +++ b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/single.yaml @@ -1,4 +1,8 @@ -description: New York provides the following inflation refund amount for single filers, modeled in tax year 2023 based on adjusted gross income. +description: >- + New York provides the following inflation refund amount for single filers, modeled in + tax year 2023 based on adjusted gross income. The refund was paid in 2025; + PolicyEngine attributes it to eligibility tax year 2023, determined from the 2023 + return. metadata: type: single_amount threshold_unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/surviving_spouse.yaml b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/surviving_spouse.yaml index cfa6a737b4a..c812a4a6b67 100644 --- a/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/surviving_spouse.yaml +++ b/policyengine_us/parameters/gov/states/ny/tax/income/credits/inflation_refund/surviving_spouse.yaml @@ -1,4 +1,8 @@ -description: New York provides the following inflation refund amount for surviving spouses, modeled in tax year 2023 based on adjusted gross income. +description: >- + New York provides the following inflation refund amount for surviving spouses, modeled + in tax year 2023 based on adjusted gross income. The refund was paid in 2025; + PolicyEngine attributes it to eligibility tax year 2023, determined from the 2023 + return. metadata: type: single_amount threshold_unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ny/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/ny/tax/income/credits/refundable.yaml index 13f59f5ec2d..34aad326376 100644 --- a/policyengine_us/parameters/gov/states/ny/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/ny/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: New York provides the following refundable tax credits. +description: >- + New York provides the following refundable tax credits. One-time rebates are included + for the eligibility tax year identified by the return, even when payment occurs later. + A standalone rebate value does not establish inclusion in this total. values: 2019-01-01: - ny_eitc diff --git a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml index cef082a7ff4..e3ebb8297d0 100644 --- a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml @@ -1,4 +1,7 @@ -description: Rhode Island provides this amount for each eligible child under the Child Tax Rebate program. +description: >- + Rhode Island provides this amount for each eligible child under the Child Tax Rebate + program. PolicyEngine attributes this one-time rebate to eligibility tax year 2021 + rather than to its 2022 payment year. The amount is zero outside 2021. values: # R.I. Gen. Laws 44-30-103 (P.L. 2022, ch. 231, art. 6, sec. 10) pays a diff --git a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml index be808680d22..88b9df79955 100644 --- a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml +++ b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml @@ -1,4 +1,7 @@ -description: Rhode Island limits its child tax rebate to children this age or younger. +description: >- + Rhode Island limits its child tax rebate to children this age or younger. PolicyEngine + attributes this one-time rebate to eligibility tax year 2021 rather than to its 2022 + payment year. The amount is zero outside 2021. values: 2021-01-01: 18 diff --git a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml index 76fbf3010eb..6ef309840b0 100644 --- a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml +++ b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml @@ -1,4 +1,7 @@ -description: Rhode Island caps the child tax rebate to this number of children. +description: >- + Rhode Island caps the child tax rebate to this number of children. PolicyEngine + attributes this one-time rebate to eligibility tax year 2021 rather than to its 2022 + payment year. The amount is zero outside 2021. values: 2021-01-01: 3 diff --git a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml index e4f82dbb157..7d8ebf65f4b 100644 --- a/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml +++ b/policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml @@ -1,4 +1,7 @@ -description: Rhode Island limits its child tax rebate to filers with federal adjusted gross income of this amount or less. +description: >- + Rhode Island limits its child tax rebate to filers with federal adjusted gross income + of this amount or less. PolicyEngine attributes this one-time rebate to eligibility + tax year 2021 rather than to its 2022 payment year. The amount is zero outside 2021. metadata: propagate_metadata_to_children: true unit: currency-USD diff --git a/policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml b/policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml index 99aec703038..262d41cf37a 100644 --- a/policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml +++ b/policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml @@ -1,4 +1,7 @@ -description: Rhode Island provides these refundable income tax credits. +description: >- + Rhode Island provides these refundable income tax credits. One-time rebates are + included for the eligibility tax year identified by the return, even when payment + occurs later. A standalone rebate value does not establish inclusion in this total. values: 2021-01-01: - ri_refundable_eitc diff --git a/policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml b/policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml index e42a152ad64..15b0837f3d7 100644 --- a/policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml @@ -1,4 +1,8 @@ -description: South Carolina limits the income tax rebate to this amount under the South Carolina 2022 Income Tax Rebate program. +description: >- + South Carolina limits the income tax rebate to this amount under the South Carolina + 2022 Income Tax Rebate program. PolicyEngine attributes this one-time rebate to + eligibility tax year 2021 rather than to its 2022 payment year. The amount is zero + outside 2021. values: # S.1087 (Act 228 of 2022) Section 6(B) paid a one-time rebate on 2021 # returns in 2022, so it is booked to 2021. The rebate equals 2021 tax diff --git a/policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml b/policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml index 4dab073e3b9..c391fa492c2 100644 --- a/policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml +++ b/policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml @@ -1,4 +1,7 @@ -description: South Carolina provides the following non-refundable tax credits. +description: >- + South Carolina provides the following non-refundable tax credits. One-time rebates are + included for the eligibility tax year identified by the return, even when payment + occurs later. A standalone rebate value does not establish inclusion in this total. values: 2021-01-01: - sc_cdcc diff --git a/policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml b/policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml index c512045ed45..438ca1f82ee 100644 --- a/policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +++ b/policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml @@ -1,4 +1,7 @@ -description: Virginia provides the following non-refundable tax credits. +description: >- + Virginia provides the following non-refundable tax credits. One-time rebates are + included for the eligibility tax year identified by the return, even when payment + occurs later. A standalone rebate value does not establish inclusion in this total. values: # va_rebate is booked to the tax year whose return determines it (see # rebate/amount.yaml): 2021 (2022 rebate), 2022 (2023 rebate), 2024 diff --git a/policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml b/policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml index b5038d5cc22..a852cc5f3c9 100644 --- a/policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml +++ b/policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml @@ -1,4 +1,8 @@ -description: Virginia provides an individual income tax rebate of this amount, based on filing status. +description: >- + Virginia provides an individual income tax rebate of this amount, based on filing + status. PolicyEngine attributes each rebate to the return year that determines it: + 2021 for the 2022 payment, 2022 for the 2023 payment, and 2024 for the 2025 payment. + The rebate is zero in other years. metadata: propagate_metadata_to_children: true label: Virginia rebate amount @@ -26,30 +30,35 @@ metadata: # period 2024 -> the HB1600 TY2024 rebate (based on the 2024 return) # 2023 and 2025 carry no rebate, so the amount is zeroed in those years. JOINT: + 2020-01-01: 0 2021-01-01: 500 2022-01-01: 400 2023-01-01: 0 2024-01-01: 400 2025-01-01: 0 SINGLE: + 2020-01-01: 0 2021-01-01: 250 2022-01-01: 200 2023-01-01: 0 2024-01-01: 200 2025-01-01: 0 SEPARATE: + 2020-01-01: 0 2021-01-01: 250 2022-01-01: 200 2023-01-01: 0 2024-01-01: 200 2025-01-01: 0 HEAD_OF_HOUSEHOLD: + 2020-01-01: 0 2021-01-01: 250 2022-01-01: 200 2023-01-01: 0 2024-01-01: 200 2025-01-01: 0 SURVIVING_SPOUSE: + 2020-01-01: 0 2021-01-01: 250 2022-01-01: 200 2023-01-01: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml index 350411f45e5..623b2e13d4a 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml @@ -661,3 +661,46 @@ 2025: [50, 19, 0, 0] 2026: [0, 0, 0, 0] 2027: [50, 19, 0, 0] + +# Historical guard regression. +# 1 CCR 201-2, Rule 39-22-2003(1)(a), PDF p195: no refund in 2016-2020. +# https://www.sos.state.co.us/CCR/GenerateRulePdf.do?fileName=1+CCR+201-2&ruleVersionId=11214#page=195 +# No refund means $0, not the backdated 2021 table's $56 for single $100k MAGI. +- name: Colorado sales tax refund is unavailable in 2020 + period: 2020 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + filing_status: SINGLE + co_modified_agi: 100_000 + co_income_tax_before_refundable_credits: 1_000 + co_amt: 0 + co_cdcc: 0 + co_low_income_cdcc: 0 + co_eitc: 0 + output: + co_sales_tax_refund: 0 + co_tabor_cash_back: 0 + co_refundable_credits: 0 + co_income_tax: 1_000 + +# Rule 39-22-2003(1)(a), cited above, excludes the full 2016-2020 interval. +- name: Colorado sales tax refund is unavailable from the first excluded year + period: 2016 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + filing_status: SINGLE + co_modified_agi: 100_000 + co_income_tax_before_refundable_credits: 1_000 + co_amt: 0 + co_cdcc: 0 + co_low_income_cdcc: 0 + co_eitc: 0 + output: + co_sales_tax_refund: 0 + co_tabor_cash_back: 0 + co_refundable_credits: 0 + co_income_tax: 1_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml b/policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml index 124ffe32e48..111e6a10dd3 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml @@ -315,3 +315,76 @@ state_code: HI output: hi_act_115_rebate: 600 + +# Historical guard regression. +# Act 115 (2022), section 3(a), PDF p2, limits the refund to taxable year 2021; +# section 3(d), PDF p3, ties eligibility to filing that year's return. +# https://data.capitol.hawaii.gov/sessions/sessionlaws/Years/SLH2022/SLH2022_Act115.pdf#page=2 +# Hand calculation for 2020: rebate $0; other refundable credits $0; +# income tax $1,000 - $0 = $1,000, irrespective of the one exemption/AGI tier. +- name: Hawaii Act 115 refund does not reduce 2020 tax + period: 2020 + absolute_error_margin: 0 + input: + state_code: HI + filing_status: SINGLE + adjusted_gross_income: 50_000 + claimed_as_dependent_on_another_return: false + claimable_as_dependent_on_another_return: false + exemptions_count: 1 + hi_income_tax_before_refundable_credits: 1_000 + hi_food_excise_credit: 0 + hi_cdcc: 0 + hi_tax_credit_for_low_income_household_renters: 0 + output: + hi_act_115_rebate: 0 + hi_refundable_credits: 0 + hi_income_tax: 1_000 + +# Backdating must keep every amount bracket at zero in both schedules before +# 2021; otherwise either the $300 or $100 tier could recreate a historical refund. +- name: Hawaii Act 115 schedules are zero in the earliest modeled year + period: 2015 + absolute_error_margin: 0 + input: + people: + single_low: {} + single_high: {} + joint_low: {} + joint_high: {} + tax_units: + single_low_unit: + members: [single_low] + filing_status: SINGLE + adjusted_gross_income: 50_000 + exemptions_count: 1 + single_high_unit: + members: [single_high] + filing_status: SINGLE + adjusted_gross_income: 100_000 + exemptions_count: 1 + joint_low_unit: + members: [joint_low] + filing_status: JOINT + adjusted_gross_income: 50_000 + exemptions_count: 1 + joint_high_unit: + members: [joint_high] + filing_status: JOINT + adjusted_gross_income: 200_000 + exemptions_count: 1 + households: + single_low_household: + members: [single_low] + state_code: HI + single_high_household: + members: [single_high] + state_code: HI + joint_low_household: + members: [joint_low] + state_code: HI + joint_high_household: + members: [joint_high] + state_code: HI + output: + hi_act_115_rebate: [0, 0, 0, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml b/policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml index f91a886d3c9..815f186e74c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml @@ -77,3 +77,65 @@ tax_unit_dependents: 2 output: il_income_tax_rebate: 300 + +# Historical guard regression. +# Public Act 102-0700: 35 ILCS 5/212.1(a), PDF p131, keys income rebate to 2021; +# 35 ILCS 5/208.5 keys the one-time property rebate to the 2021 return. +# https://www.ilga.gov/Documents/legislation/publicacts/102/PDF/102-0700.pdf#page=131 +# https://ilga.gov/documents/legislation/publicacts/102/102-0700.htm#:~:text=208.5 +# Hand calculation for 2020: income rebate $0 + property rebate $0 = $0; +# refundable credits $0; income tax $1,000 - $0 = $1,000. +- name: Illinois one-time 2021 rebates do not reduce 2020 tax + period: 2020 + absolute_error_margin: 0 + input: + state_code: IL + filing_status: SINGLE + tax_unit_is_joint: false + adjusted_gross_income: 50_000 + tax_unit_dependents: 0 + il_property_tax_credit_potential: 100 + il_income_tax_before_refundable_credits: 1_000 + il_pass_through_withholding: 0 + il_pass_through_entity_tax_credit: 0 + il_eitc: 0 + output: + il_income_tax_rebate: 0 + il_property_tax_rebate: 0 + il_refundable_credits: 0 + il_income_tax: 1_000 + +# A zero before 2021 must also survive parameter backdating to 2015. Both base +# schedules and the dependent amount are exercised, together with the cap. +- name: Illinois rebate amounts are zero in the earliest modeled year + period: 2015 + absolute_error_margin: 0 + input: + people: + single: {} + joint: {} + tax_units: + single_unit: + members: [single] + filing_status: SINGLE + tax_unit_is_joint: false + adjusted_gross_income: 50_000 + tax_unit_dependents: 3 + il_property_tax_credit_potential: 400 + joint_unit: + members: [joint] + filing_status: JOINT + tax_unit_is_joint: true + adjusted_gross_income: 50_000 + tax_unit_dependents: 3 + il_property_tax_credit_potential: 400 + households: + single_household: + members: [single] + state_code: IL + joint_household: + members: [joint] + state_code: IL + output: + il_income_tax_rebate: [0, 0] + il_property_tax_rebate: [0, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program.yaml b/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program.yaml index 89b5b1e2052..0dae6501409 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program.yaml @@ -69,3 +69,63 @@ output: ma_covid_19_essential_employee_premium_pay_program: [0, 0] + +# Historical guard regression. +# Program funding: Acts of 2021, chapter 102, section 73. +# https://malegislature.gov/Laws/SessionLaws/Acts/2021/Chapter102#:~:text=SECTION%2073. +# The implementing eligibility rules use the 2020 return for round 1 and the +# 2021 return for round 2; no round uses 2019 earnings/return eligibility. +# https://www.mass.gov/info-details/covid-19-essential-employee-premium-pay-program#eligibility-parameters- +# Hand calculation for 2019: premium pay $0; other refundable credits $0; +# income tax $1,000 - $0 = $1,000. Earnings $15,000 and AGI/FPG = 1.25 otherwise +# satisfy the first round's amount calculation, so the test detects backdating. +- name: Massachusetts essential worker premium pay does not reduce 2019 tax + period: 2019 + absolute_error_margin: 0 + input: + state_code: MA + filing_status: SINGLE + earned_income: 15_000 + adjusted_gross_income: 15_000 + tax_unit_fpg: 12_000 + total_unemployment_compensation: 0 + ma_income_tax_before_refundable_credits: 1_000 + ma_eitc: 0 + ma_child_and_family_credit_or_dependent_care_credit: 0 + ma_senior_circuit_breaker: 0 + output: + ma_covid_19_essential_employee_premium_pay_program: 0 + ma_refundable_credits: 0 + ma_income_tax: 1_000 + +# The first eligibility round is 2020, so its amount must also be zero when +# the explicit 2019 guard is backdated to the model's earliest year. +- name: Massachusetts essential worker premium pay is zero in 2015 + period: 2015 + absolute_error_margin: 0 + input: + state_code: MA + earned_income: 15_000 + adjusted_gross_income: 15_000 + tax_unit_fpg: 12_000 + total_unemployment_compensation: 0 + output: + ma_covid_19_essential_employee_premium_pay_program: 0 + +# The second modeled $500 round uses 2021 eligibility, then the amount sunsets. +- name: Massachusetts second premium pay round retains 2021 eligibility and sunsets in 2022 + period: 2022 + absolute_error_margin: 0 + input: + state_code: {2021: MA, 2022: MA} + earned_income: {2021: 15_000, 2022: 15_000} + adjusted_gross_income: {2021: 15_000, 2022: 15_000} + tax_unit_fpg: {2021: 12_000, 2022: 12_000} + total_unemployment_compensation: {2021: 0, 2022: 0} + claimed_ma_covid_19_essential_employee_premium_pay_program_2020: + 2021: false + 2022: false + output: + ma_covid_19_essential_employee_premium_pay_program: + 2021: 500 + 2022: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/2021_income/nm_2021_income_rebate.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/2021_income/nm_2021_income_rebate.yaml index 3a1c22772bc..686b6432c1e 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/2021_income/nm_2021_income_rebate.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/2021_income/nm_2021_income_rebate.yaml @@ -127,3 +127,87 @@ state_code: NM output: nm_2021_income_rebate: 0 + +# Historical guard regression. +# Main: HB163 (2022), section 4, PDF p13, NMSA 7-2-7.6(B)-(C). +# https://www.nmlegis.gov/Sessions/22%20Regular/final/HB0163.pdf#page=13 +# Supplemental: HB2 (2022 special), section 1, PDF pp1-2, NMSA 7-2-7.5(A),(D). +# https://www.nmlegis.gov/Sessions/22%20Special/final/HB0002.pdf#page=1 +# Additional: HB547 (2023), section 11, PDF pp31-32, NMSA 7-2-7.7(A)-(B). +# https://www.nmlegis.gov/Sessions/23%20Regular/final/HB0547.pdf#page=31 +# Each rebate is expressly tied to the 2021 return/liability, so the 2020 +# amounts are $0 + $0 + $0; tax is $1,000 - $0 = $1,000. +- name: New Mexico three 2021 rebates do not reduce 2020 tax + period: 2020 + absolute_error_margin: 0 + input: + state_code: NM + filing_status: SINGLE + adjusted_gross_income: 50_000 + claimed_as_dependent_on_another_return: false + claimable_as_dependent_on_another_return: false + nm_income_tax_before_refundable_credits: 1_000 + nm_cdcc: 0 + nm_medical_expense_credit: 0 + nm_eitc: 0 + nm_low_income_comprehensive_tax_rebate: 0 + nm_property_tax_rebate: 0 + output: + nm_2021_income_rebate: 0 + nm_additional_2021_income_rebate: 0 + nm_supplemental_2021_income_rebate: 0 + nm_refundable_credits: 0 + nm_income_tax: 1_000 + +# The pre-program zero must backdate to 2015 for every filing-status branch. +- name: New Mexico rebates are zero in 2015 for every filing status + period: 2015 + absolute_error_margin: 0 + input: + people: + single: {} + joint: {} + separate: {} + head_of_household: {} + surviving_spouse: {} + tax_units: + single_unit: + members: [single] + filing_status: SINGLE + adjusted_gross_income: 50_000 + joint_unit: + members: [joint] + filing_status: JOINT + adjusted_gross_income: 50_000 + separate_unit: + members: [separate] + filing_status: SEPARATE + adjusted_gross_income: 50_000 + head_of_household_unit: + members: [head_of_household] + filing_status: HEAD_OF_HOUSEHOLD + adjusted_gross_income: 50_000 + surviving_spouse_unit: + members: [surviving_spouse] + filing_status: SURVIVING_SPOUSE + adjusted_gross_income: 50_000 + households: + single_household: + members: [single] + state_code: NM + joint_household: + members: [joint] + state_code: NM + separate_household: + members: [separate] + state_code: NM + head_of_household_household: + members: [head_of_household] + state_code: NM + surviving_spouse_household: + members: [surviving_spouse] + state_code: NM + output: + nm_2021_income_rebate: [0, 0, 0, 0, 0] + nm_additional_2021_income_rebate: [0, 0, 0, 0, 0] + nm_supplemental_2021_income_rebate: [0, 0, 0, 0, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml index 7dc266621f7..b63bc41e8cd 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml @@ -65,3 +65,73 @@ state_code: VA output: va_rebate: 0 + +# Historical guard regression. +# HB30 (2022 special session), chapter budget, Item 3-5.22(A): the rebate is +# measured from tax liability for taxable year 2021, not a 2020 entitlement. +# https://budget.lis.virginia.gov/item/2022/2/HB30/Chapter/3/3-5.22/ +# Hand calculation: rebate $0, other nonrefundable credits $0, spouse adjustment +# $0; tax before refundable credits max($1,000 - $0 - $0, 0) = $1,000. +# Refundable credits $0; final income tax $1,000. +- name: Virginia rebate for the 2021 return does not reduce 2020 tax + period: 2020 + absolute_error_margin: 0 + input: + state_code: VA + filing_status: SINGLE + va_income_tax_before_non_refundable_credits: 1_000 + va_non_refundable_eitc: 0 + va_spouse_tax_adjustment: 0 + va_refundable_eitc: 0 + output: + va_rebate: 0 + va_non_refundable_credits: 0 + va_income_tax_before_refundable_credits: 1_000 + va_refundable_credits: 0 + va_income_tax: 1_000 + +# The pre-program zero must backdate to 2015 for every filing-status branch. +- name: Virginia rebates are zero in 2015 for every filing status + period: 2015 + absolute_error_margin: 0 + input: + people: + single: {} + joint: {} + separate: {} + head_of_household: {} + surviving_spouse: {} + tax_units: + single_unit: + members: [single] + filing_status: SINGLE + joint_unit: + members: [joint] + filing_status: JOINT + separate_unit: + members: [separate] + filing_status: SEPARATE + head_of_household_unit: + members: [head_of_household] + filing_status: HEAD_OF_HOUSEHOLD + surviving_spouse_unit: + members: [surviving_spouse] + filing_status: SURVIVING_SPOUSE + households: + single_household: + members: [single] + state_code: VA + joint_household: + members: [joint] + state_code: VA + separate_household: + members: [separate] + state_code: VA + head_of_household_household: + members: [head_of_household] + state_code: VA + surviving_spouse_household: + members: [surviving_spouse] + state_code: VA + output: + va_rebate: [0, 0, 0, 0, 0] From ea0d808746b3d8dbd3c9b728c42df9a8011cfd19 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Tue, 20 Oct 2026 16:01:58 -0400 Subject: [PATCH 2/7] Document rebate attribution and preserve main eligibility schedules --- docs/_toc.yml | 1 + docs/gov/states/index.md | 3 + docs/validation/state-rebates.md | 74 +++++++++ docs/validation/taxsim.md | 2 +- .../test_state_rebate_year_guards.py | 148 ++++++++++++++++++ .../income/credits/az_families_tax_rebate.py | 6 + .../tax/income/credits/co_tabor_cash_back.py | 6 + .../sales_tax_refund/co_sales_tax_refund.py | 8 + .../co_sales_tax_refund_eligible.py | 6 + .../co_sales_tax_refund_person_eligible.py | 6 + .../tax/income/rebate/ct_child_tax_rebate.py | 6 + .../income/credits/ga_surplus_tax_rebate.py | 6 + .../tax/income/credits/hi_act_115_rebate.py | 8 + .../income/credits/il_income_tax_rebate.py | 7 + .../credits/il_income_tax_rebate_eligible.py | 6 + .../income/credits/il_property_tax_rebate.py | 7 + .../il_property_tax_rebate_eligible.py | 6 + ...ntial_employee_premium_pay_program_2020.py | 6 + ..._essential_employee_premium_pay_program.py | 7 + .../credits/ma_taxpayer_refund_rebate.py | 12 +- .../me/tax/income/credits/me_relief_rebate.py | 6 + .../credits/me_relief_rebate_eligible.py | 6 + .../credits/rebate/mt_income_tax_rebate.py | 7 + .../tax_calculation/mt_refundable_credits.py | 5 + .../2021_rebate/nm_2021_income_rebate.py | 7 + .../nm_additional_2021_income_rebate.py | 7 + .../nm_supplemental_2021_income_rebate.py | 8 + .../credits/ny_inflation_refund_credit.py | 5 + .../credits/rebates/ri_child_tax_rebate.py | 6 + .../rebates/ri_child_tax_rebate_eligible.py | 6 + .../sc/tax/income/credits/sc_2022_rebate.py | 6 + .../gov/states/va/tax/income/va_rebate.py | 7 + 32 files changed, 405 insertions(+), 2 deletions(-) create mode 100644 docs/validation/state-rebates.md create mode 100644 policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py diff --git a/docs/_toc.yml b/docs/_toc.yml index b6496e344f2..445933784c7 100644 --- a/docs/_toc.yml +++ b/docs/_toc.yml @@ -61,6 +61,7 @@ parts: - caption: Validation chapters: - file: validation/taxsim + - file: validation/state-rebates - caption: Usage chapters: - file: usage/microsimulation diff --git a/docs/gov/states/index.md b/docs/gov/states/index.md index 5f18abe7bbd..971c76aaf82 100644 --- a/docs/gov/states/index.md +++ b/docs/gov/states/index.md @@ -1,3 +1,6 @@ # States States administer tax and benefit programs, which we show here. + +See [state rebate attribution](../../validation/state-rebates.md) for the +eligibility years and credit aggregation paths of one-time state rebates. diff --git a/docs/validation/state-rebates.md b/docs/validation/state-rebates.md new file mode 100644 index 00000000000..ab313942774 --- /dev/null +++ b/docs/validation/state-rebates.md @@ -0,0 +1,74 @@ +# State rebate attribution + +PolicyEngine attributes one-time state rebates to the tax year whose return +determines eligibility and amount, even when checks arrive in a later +calendar year. Rebates included in state credit totals reduce +`state_income_tax` and increase household net income in that eligibility year. +This attribution convention does not describe the payment calendar. Some +standalone rebate formulas can calculate an amount after the rebate ends; +use the dated credit total to establish whether that amount enters tax or net +income. Do not add back every positive raw rebate column in every year. +Massachusetts premium pay is also modeled through state refundable credits. +A payment modeled solely as a benefit would affect household net income +without reducing state income tax. + +For comparison, restore only the rebate amounts that actually reduced that +year's reported state tax, including liability limits on nonrefundable +credits. Ordinary recurring refundable credits remain part of liability. +`state_income_tax_before_refundable_credits` removes those ordinary credits +too, so it is not a pre-rebate liability measure. Colorado Cash Back and the +residual TABOR sales tax refund are separate mechanisms; count each only +through its stated aggregation path and eligibility year. + +## Inventory + +The years below are eligibility tax years in which a qualifying household can +receive a nonzero contribution to the state's credit total. `R` denotes the +state's refundable-credit total; `N` denotes its nonrefundable-credit total. +Every listed payment enters state tax through credits, including Colorado Cash +Back and Massachusetts premium pay. None is a second, direct household benefit +payment. Refundable totals enter both state tax and household refundable credits; +nonrefundable totals reduce tax before refundable credits. + +| Rebate and variable(s) | Eligibility years included in state credit totals | Payment year | Aggregation and amount gate | +|---|---|---|---| +| Colorado residual TABOR sales tax refund: `co_sales_tax_refund`; helpers `co_sales_tax_refund_eligible`, `co_sales_tax_refund_person_eligible` | 2015, 2021–2025, and 2027 onward under current parameters; zero in 2016–2020 and 2026 | Following the eligibility return | R: `co_refundable_credits`. The formula multiplies the eligible-filer amount by `sales_tax_refund.in_effect`. This recurring residual mechanism is separate from Colorado Cash Back. | +| Colorado Cash Back: `co_tabor_cash_back` | 2021 only | 2022 | R: `co_refundable_credits`, removed from the dated list in 2022. The amount is zero outside 2021. | +| Illinois income and property rebates: `il_income_tax_rebate`, `il_property_tax_rebate`; helpers `il_income_tax_rebate_eligible`, `il_property_tax_rebate_eligible` | 2021 only | 2022 | R: `il_refundable_credits`, removed from the dated list in 2022. Income-rebate amounts and the property-rebate cap are zero before 2021. | +| New York inflation refund: `ny_inflation_refund_credit` | 2023 only | 2025 | R: `ny_refundable_credits`. The variable has a 2023 formula and resets to zero in 2024. | +| Virginia rebates: `va_rebate` | 2021, 2022, and 2024 | 2022, 2023, and 2025, respectively | N: `va_non_refundable_credits`, limited by available tax liability. Amounts are zero in other years. | +| Georgia surplus refund: `ga_surplus_tax_rebate` | 2021 only | Later than the eligibility return | R: `ga_refundable_credits`. The O.C.G.A. 48-7-20.2 refund is capped at income tax before credits; the amount is zero outside 2021. | +| Arizona Families Tax Rebate: `az_families_tax_rebate` | 2021 only | 2023 | R: `az_refundable_credits`. The dated list excludes it before 2021 and removes it in 2022, even when its standalone formula returns a positive amount. | +| New Mexico rebates: `nm_2021_income_rebate`, `nm_additional_2021_income_rebate`, `nm_supplemental_2021_income_rebate` | 2021 only | Enacted in 2022 and 2023 for the 2021 return | R: `nm_refundable_credits`, removed from the dated list in 2022. All filing-status amount branches are zero before 2021. The supplemental variable combines two payments. | +| Connecticut child rebate: `ct_child_tax_rebate` | 2021 only | 2022 | R: `ct_refundable_credits`. The amount and child cap are zero outside 2021. The model assumes full take-up and uses 2021 residence as a proxy for domicile at application in 2022. | +| Rhode Island child rebate: `ri_child_tax_rebate`; helper `ri_child_tax_rebate_eligible` | 2021 only | 2022 | R: `ri_refundable_credits`. The amount is zero outside 2021; a true eligibility flag in another year does not imply a payment. | +| Hawaii Act 115 refund: `hi_act_115_rebate` | 2021 only | 2022 | R: `hi_refundable_credits`, removed from the dated list in 2022. Both filing-status schedules are zero before 2021. | +| Maine relief payment: `me_relief_rebate`; helper `me_relief_rebate_eligible` | 2021 only | 2022 | R: `me_refundable_credits`. The $850 amount is zero outside 2021; the eligibility flag alone does not imply a payment. | +| Massachusetts Chapter 62F refund: `ma_taxpayer_refund_rebate` | 2021 only | 2022 | R: `ma_refundable_credits`. Only the 2021 dated list includes it, although its standalone rate persists. | +| Montana HB 192 income tax rebate: `mt_income_tax_rebate` (person level); supporting `mt_income_tax_before_2021_rebate` | 2021 only | 2023 | R: `mt_refundable_credits` adds person-level amounts directly, outside the parameter list. The rebate is liability-capped once per return and zero outside 2021. The separate-versus-joint filing election is determined before the rebate by assumption. | +| South Carolina rebate: `sc_2022_rebate` | 2021 only | 2022 | N: `sc_non_refundable_credits`. The rebate is capped at $800 and eligible liability; the amount is zero outside 2021. | +| Massachusetts essential employee premium pay: `ma_covid_19_essential_employee_premium_pay_program` (person level); input `claimed_ma_covid_19_essential_employee_premium_pay_program_2020` | 2020 and 2021 only | Both modeled rounds paid in 2022 | R: `ma_refundable_credits`. The two $500 rounds use 2020 and 2021 earnings, respectively. The amount is zero before 2020 and from 2022. Set the prior-recipient input in 2021 to exclude a first-round recipient from the second round. The later $250 third round is outside this inventory's coverage. | + +The model's first modeled year is 2015. Colorado's 2015 entry preserves the +refund's availability; its amount schedule has not been audited as a 2015 +schedule. Future carried-forward Colorado coverage describes current model +parameters rather than verified future payments. Its parameter comments label +post-2026 table amounts as placeholders. + +## Standalone amounts and comparison measures + +Illinois's two rebates, New Mexico's three rebates, and Hawaii's Act 115 refund +can return positive standalone amounts after 2021 because their schedules +persist. Their historical guards make the amounts zero before 2021, and the +dated credit totals exclude them after 2021. Arizona and Massachusetts Chapter +62F also have standalone formulas that can remain positive in other years, +while their dated credit lists include them only in 2021. + +Maine, Montana, South Carolina, Colorado Cash Back, Connecticut, Rhode Island, +Georgia, New York, and Massachusetts premium pay have amount or formula end +dates. Eligibility helpers and positive standalone amounts are not substitutes +for checking the dated aggregation path and applied liability cap. + +The [TAXSIM validation comparison](taxsim.md#how-agreement-is-measured) includes +a rebate-adjusted metric. Its limitations and each program's aggregation path +matter when reconciling that metric with the reported state income tax. diff --git a/docs/validation/taxsim.md b/docs/validation/taxsim.md index a3a0318fef0..3eeee721079 100644 --- a/docs/validation/taxsim.md +++ b/docs/validation/taxsim.md @@ -201,7 +201,7 @@ The table below is loaded from the results the dashboard publishes, so it always Each test compares PolicyEngine with TAXSIM for one record at a time, separately for federal income tax and state income tax. A cell in the table is the share of records that pass. - **Within 1% of income** (the dashboard's default view): the two amounts differ by less than 1% of the record's gross income. Gross income here is wages, self-employment income, interest, dividends, other property income, non-property income, pensions and unemployment compensation, plus short- and long-term capital gains when positive and 85% of Social Security benefits. Records with zero or negative gross income use the \$15 test instead. -- **Within 1%, net of rebates** (state only): the same test applied to state income tax plus one-time state rebates on both sides. It is meant to remove a timing difference: TAXSIM counts a rebate in the year it is paid and PolicyEngine in the tax year it relates to. It is not exact, because TAXSIM also reports some rebates that its state tax does not reflect (Virginia's in 2022 and 2025, for example), so this column can be lower than the plain 1% column. +- **Within 1%, net of rebates** (state only): the same test applied to state income tax plus one-time state rebates on both sides. It is meant to remove a timing difference: TAXSIM counts a rebate in the year it is paid and PolicyEngine in the tax year it relates to. It is not exact, because TAXSIM also reports some rebates that its state tax does not reflect (Virginia's in 2022 and 2025, for example), so this column can be lower than the plain 1% column. See [state rebate attribution](state-rebates.md) for the eligibility-year convention, inventory, and guidance on restoring only rebates that actually reduced the reported tax. - **Within \$15**: the two amounts differ by \$15 or less. These rules are implemented in `match_flags` in [`scripts/refresh_dashboard.py`](https://github.com/PolicyEngine/policyengine-taxsim/blob/main/scripts/refresh_dashboard.py). Each year's published summary records the commit and script hash that produced it. diff --git a/policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py b/policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py new file mode 100644 index 00000000000..af76ed5ccae --- /dev/null +++ b/policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py @@ -0,0 +1,148 @@ +"""Historical rebate guards must preserve the main eligibility-year schedules. + +These snapshots come from main at 645fcd3e5208e3559499802f3f1a5578ce2820d3. +They compare every amount branch and scale threshold with the fully constructed +model, including parameter backdating. Keeping the baseline here makes the +differential test independent of Git history in shallow CI checkouts. +""" + +import pytest + +from policyengine_core.parameters import Parameter + +from policyengine_us.system import system +from policyengine_us.tools.parameters import FIRST_MODELED_YEAR + + +def _statuses(single, joint, separate, head_of_household, surviving_spouse): + return dict( + zip( + ( + "SINGLE", + "JOINT", + "SEPARATE", + "HEAD_OF_HOUSEHOLD", + "SURVIVING_SPOUSE", + ), + (single, joint, separate, head_of_household, surviving_spouse), + ) + ) + + +def _brackets(first_threshold, first_amount, second_threshold, second_amount): + return { + "[0].threshold": first_threshold, + "[0].amount": first_amount, + "[1].threshold": second_threshold, + "[1].amount": second_amount, + } + + +# Each entry records the first eligibility year followed by main's full dated +# schedule. Repeated eligibility years (MA 2020/2021 and VA 2021/2022/2024) are +# explicit. The later zero/availability dates must also remain unchanged. +MAIN_SCHEDULES = { + "co.tax.income.credits.sales_tax_refund.in_effect": ( + 2021, + {2021: {"": True}, 2026: {"": False}, 2027: {"": True}}, + ), + "il.tax.income.credits.income_tax_rebate.amount.joint": ( + 2021, + {2021: _brackets(0, 100, 400_000, 0)}, + ), + "il.tax.income.credits.income_tax_rebate.amount.other": ( + 2021, + {2021: _brackets(0, 50, 200_000, 0)}, + ), + "il.tax.income.credits.income_tax_rebate.amount.dependent": ( + 2021, + {2021: {"": 100}}, + ), + "il.tax.income.credits.property_tax_rebate.cap": ( + 2021, + {2021: {"": 300}}, + ), + "nm.tax.income.rebates.2021_income.main.amount": ( + 2021, + {2021: _statuses(250, 500, 250, 500, 500)}, + ), + "nm.tax.income.rebates.2021_income.additional.amount": ( + 2021, + {2021: _statuses(500, 1_000, 500, 1_000, 1_000)}, + ), + "nm.tax.income.rebates.2021_income.supplemental.amount": ( + 2021, + {2021: _statuses(500, 1_000, 500, 1_000, 1_000)}, + ), + "va.tax.income.rebate.amount": ( + 2021, + { + 2021: _statuses(250, 500, 250, 250, 250), + 2022: _statuses(200, 400, 200, 200, 200), + 2023: _statuses(0, 0, 0, 0, 0), + 2024: _statuses(200, 400, 200, 200, 200), + 2025: _statuses(0, 0, 0, 0, 0), + }, + ), + "hi.tax.income.credits.act_115_rebate.single": ( + 2021, + {2021: _brackets(-float("inf"), 300, 100_000, 100)}, + ), + "hi.tax.income.credits.act_115_rebate.joint": ( + 2021, + {2021: _brackets(-float("inf"), 300, 200_000, 100)}, + ), + "ma.tax.income.credits.covid_19_essential_employee_premium_pay_program.amount": ( + 2020, + {2020: {"": 500}, 2021: {"": 500}, 2022: {"": 0}}, + ), +} + + +def _leaves(path): + root = system.parameters.get_child(f"gov.states.{path}") + return { + parameter.name.removeprefix(root.name).lstrip("."): parameter + for parameter in (root, *root.get_descendants()) + if isinstance(parameter, Parameter) + } + + +@pytest.mark.parametrize("path", MAIN_SCHEDULES) +def test_eligibility_and_later_schedules_equal_main(path): + first_year, schedule = MAIN_SCHEDULES[path] + leaves = _leaves(path) + for year in range(first_year, max(schedule) + 1): + expected = schedule[max(start for start in schedule if start <= year)] + actual = { + name: parameter(f"{year}-01-01") for name, parameter in leaves.items() + } + assert actual == expected, (path, year) + + +@pytest.mark.parametrize( + "path", [path for path in MAIN_SCHEDULES if not path.startswith("co.")] +) +def test_amounts_zero_in_every_modeled_year_before_eligibility(path): + first_year, _ = MAIN_SCHEDULES[path] + # Thresholds must persist so scales remain valid; only amount leaves vanish. + amounts = { + name: parameter + for name, parameter in _leaves(path).items() + if not name.endswith(".threshold") + } + assert amounts + for year in range(FIRST_MODELED_YEAR, first_year): + for name, parameter in amounts.items(): + assert parameter(f"{year}-01-01") == 0, (path, name, year) + + +def test_colorado_historical_availability_preserves_2015(): + in_effect = system.parameters.get_child( + "gov.states.co.tax.income.credits.sales_tax_refund.in_effect" + ) + # This asserts availability only: the backdated 2015 amount table is outside + # the guard fix's scope and is not represented as a verified 2015 schedule. + assert in_effect("2015-01-01") is True + for year in range(2016, 2021): + assert in_effect(f"{year}-01-01") is False diff --git a/policyengine_us/variables/gov/states/az/tax/income/credits/az_families_tax_rebate.py b/policyengine_us/variables/gov/states/az/tax/income/credits/az_families_tax_rebate.py index 1f6b885c7b3..df6631d8594 100644 --- a/policyengine_us/variables/gov/states/az/tax/income/credits/az_families_tax_rebate.py +++ b/policyengine_us/variables/gov/states/az/tax/income/credits/az_families_tax_rebate.py @@ -5,6 +5,12 @@ class az_families_tax_rebate(Variable): value_type = float entity = TaxUnit label = "Arizona Families Tax Rebate" + documentation = ( + "One-time Arizona Families Tax Rebate paid in 2023 and determined from the " + "2021 return. PolicyEngine attributes it to eligibility tax year 2021 through " + "az_refundable_credits. Its standalone formula can calculate an amount in " + "other years; it enters the refundable-credit total only in 2021." + ) unit = USD reference = ( "https://www.azleg.gov/legtext/56leg/1R/laws/0147.pdf#page=6", diff --git a/policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py b/policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py index 3343209226e..4fa3ab65593 100644 --- a/policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py +++ b/policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py @@ -5,6 +5,12 @@ class co_tabor_cash_back(Variable): value_type = float entity = TaxUnit label = "Colorado TABOR cash back" + documentation = ( + "One-time Colorado Cash Back payment under SB 22-233, paid in 2022 and based " + "on the 2021 return. PolicyEngine attributes it to the 2021 eligibility year " + "through co_refundable_credits. The amount is zero outside 2021. It is " + "separate from co_sales_tax_refund." + ) defined_for = StateCode.CO unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.py b/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.py index 6aee75e662a..eb7690d3159 100644 --- a/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.py +++ b/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.py @@ -5,6 +5,14 @@ class co_sales_tax_refund(Variable): value_type = float entity = TaxUnit label = "Colorado sales tax refund" + documentation = ( + "Colorado TABOR state sales tax refund for the modeled eligibility tax year. " + "PolicyEngine includes this refund in co_refundable_credits for that tax " + "year, even when the return is filed and the refund is paid later. This is " + "the residual sales tax refund mechanism and is separate from the one-time " + "Colorado Cash Back payment. The in_effect parameter controls years with a " + "refund." + ) unit = USD definition_period = YEAR reference = ( diff --git a/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_eligible.py b/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_eligible.py index e1a9b7f8269..68ffd087468 100644 --- a/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_eligible.py +++ b/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_eligible.py @@ -5,6 +5,12 @@ class co_sales_tax_refund_eligible(Variable): value_type = bool entity = TaxUnit label = "Eligible for the Colorado sales tax refund" + documentation = ( + "Tax-unit eligibility for Colorado's residual TABOR sales tax refund in the " + "modeled eligibility tax year. Returns and payments may occur later. " + "Eligibility does not establish a nonzero payment; co_sales_tax_refund also " + "applies the year's amount and in_effect parameter." + ) definition_period = YEAR reference = "https://tax.colorado.gov/sites/tax/files/documents/DR_104_Book_2022.pdf#page=23" defined_for = StateCode.CO diff --git a/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_person_eligible.py b/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_person_eligible.py index c61bd70056f..45ec16fb307 100644 --- a/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_person_eligible.py +++ b/policyengine_us/variables/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund_person_eligible.py @@ -5,6 +5,12 @@ class co_sales_tax_refund_person_eligible(Variable): value_type = bool entity = Person label = "Eligible individual for the Colorado sales tax refund" + documentation = ( + "Individual eligibility for Colorado's residual TABOR sales tax refund in the " + "modeled eligibility tax year. Returns and payments may occur later. Eligible " + "filers contribute to co_sales_tax_refund, whose amount and in_effect " + "parameter determine the payment included in that year's credit total." + ) definition_period = YEAR reference = ( # C.R.S. 39-22-2003(1)(a) defines a "qualified individual" via a diff --git a/policyengine_us/variables/gov/states/ct/tax/income/rebate/ct_child_tax_rebate.py b/policyengine_us/variables/gov/states/ct/tax/income/rebate/ct_child_tax_rebate.py index b9c8ceefdcf..c03498cc958 100644 --- a/policyengine_us/variables/gov/states/ct/tax/income/rebate/ct_child_tax_rebate.py +++ b/policyengine_us/variables/gov/states/ct/tax/income/rebate/ct_child_tax_rebate.py @@ -5,6 +5,12 @@ class ct_child_tax_rebate(Variable): value_type = float entity = TaxUnit label = "Connecticut child tax rebate" + documentation = ( + "One-time Connecticut child tax rebate paid in 2022 and determined from the " + "2021 return. PolicyEngine attributes it to eligibility tax year 2021 through " + "ct_refundable_credits. This variable is zero in other years. It assumes full " + "take-up and uses 2021 residence as a proxy for 2022 domicile at application." + ) unit = USD definition_period = YEAR # Assumes 100% take-up: PA 22-118 Sec. 411(b)(3) required an electronic diff --git a/policyengine_us/variables/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.py b/policyengine_us/variables/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.py index be635f01bf5..96cf082e1d7 100644 --- a/policyengine_us/variables/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.py +++ b/policyengine_us/variables/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.py @@ -5,6 +5,12 @@ class ga_surplus_tax_rebate(Variable): value_type = float entity = TaxUnit label = "Georgia surplus tax rebate" + documentation = ( + "One-time Georgia surplus refund modeled from the 2021 liability under " + "O.C.G.A. 48-7-20.2. PolicyEngine attributes it to eligibility tax year 2021 " + "through ga_refundable_credits. The amount is capped at income tax before " + "credits and is zero outside 2021." + ) unit = USD definition_period = YEAR reference = ( diff --git a/policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py b/policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py index f0c3d84ac13..c73700e8670 100644 --- a/policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py +++ b/policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py @@ -5,6 +5,14 @@ class hi_act_115_rebate(Variable): value_type = float entity = TaxUnit label = "Hawaii ACT 115 rebate" + documentation = ( + "One-time Hawaii Act 115 refund paid in 2022 and determined from the 2021 " + "return. PolicyEngine attributes it to eligibility tax year 2021 through " + "hi_refundable_credits. Its standalone formula can calculate an amount in " + "later years because the amount schedules persist; inclusion in the dated " + "credit total determines whether it affects income tax and household net " + "income." + ) defined_for = StateCode.HI unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py b/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py index 3b30f6639ec..81d6e9b65a1 100644 --- a/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py +++ b/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py @@ -5,6 +5,13 @@ class il_income_tax_rebate(Variable): value_type = float entity = TaxUnit label = "Illinois income tax rebate" + documentation = ( + "One-time Illinois income tax rebate enacted and paid in 2022, determined " + "from the 2021 return. PolicyEngine attributes it to eligibility tax year " + "2021 through il_refundable_credits. Its standalone formula can calculate an " + "amount in later years; inclusion in the dated credit total determines " + "whether it affects income tax and household net income." + ) defined_for = "il_income_tax_rebate_eligible" unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py b/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py index 4c0819be174..3703c1f88a6 100644 --- a/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py +++ b/policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py @@ -5,6 +5,12 @@ class il_income_tax_rebate_eligible(Variable): value_type = float entity = TaxUnit label = "Illinois income tax rebate eligible" + documentation = ( + "Eligibility for Illinois's one-time income tax rebate paid in 2022 and " + "determined from the 2021 return. PolicyEngine attributes the payment to " + "eligibility tax year 2021. A true eligibility indicator in another year does " + "not establish inclusion in that year's refundable-credit total." + ) defined_for = StateCode.IL unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate.py b/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate.py index 294e775ca08..7add1444032 100644 --- a/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate.py +++ b/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate.py @@ -5,6 +5,13 @@ class il_property_tax_rebate(Variable): value_type = float entity = TaxUnit label = "Illinois property tax rebate" + documentation = ( + "One-time Illinois property tax rebate paid in 2022 and determined from the " + "2021 return. PolicyEngine attributes it to eligibility tax year 2021 through " + "il_refundable_credits. Its standalone formula can calculate an amount in " + "later years; inclusion in the dated credit total determines whether it " + "affects income tax and household net income." + ) unit = USD definition_period = YEAR defined_for = "il_property_tax_rebate_eligible" diff --git a/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate_eligible.py b/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate_eligible.py index 338c9838274..339623334fc 100644 --- a/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate_eligible.py +++ b/policyengine_us/variables/gov/states/il/tax/income/credits/il_property_tax_rebate_eligible.py @@ -5,6 +5,12 @@ class il_property_tax_rebate_eligible(Variable): value_type = bool entity = TaxUnit label = "Eligible for the Illinois property tax rebate" + documentation = ( + "Eligibility for Illinois's one-time property tax rebate paid in 2022 and " + "determined from the 2021 return. PolicyEngine attributes the payment to " + "eligibility tax year 2021. A true eligibility indicator in another year does " + "not establish inclusion in that year's refundable-credit total." + ) defined_for = StateCode.IL definition_period = YEAR reference = "https://www.illinois.gov/news/release.html?releaseid=25425" diff --git a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/claimed_ma_covid_19_essential_employee_premium_pay_program_2020.py b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/claimed_ma_covid_19_essential_employee_premium_pay_program_2020.py index 52dab757e0e..66d40b62ba9 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/claimed_ma_covid_19_essential_employee_premium_pay_program_2020.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/claimed_ma_covid_19_essential_employee_premium_pay_program_2020.py @@ -5,6 +5,12 @@ class claimed_ma_covid_19_essential_employee_premium_pay_program_2020(Variable): value_type = bool entity = Person label = "Claimed MA COVID 19 Essential Employee Premium Pay Program for 2020" + documentation = ( + "Whether this person received the first Massachusetts essential employee " + "premium-pay payment, based on 2020 earnings and paid in 2022. Set this input " + "for eligibility tax year 2021 to exclude a prior-round recipient from the " + "second modeled $500 payment." + ) definition_period = YEAR reference = "https://www.mass.gov/info-details/covid-19-essential-employee-premium-pay-program" defined_for = StateCode.MA diff --git a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/ma_covid_19_essential_employee_premium_pay_program.py b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/ma_covid_19_essential_employee_premium_pay_program.py index 99593a8a4bd..428cc881f9d 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/ma_covid_19_essential_employee_premium_pay_program.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_covid_19_essential_employee_premium_pay_program/ma_covid_19_essential_employee_premium_pay_program.py @@ -5,6 +5,13 @@ class ma_covid_19_essential_employee_premium_pay_program(Variable): value_type = float entity = Person label = "MA COVID 19 Essential Employee Premium Pay Program" + documentation = ( + "Massachusetts essential employee premium-pay rounds issued in 2022, based on " + "2020 earnings for the first round and 2021 earnings for the second round. " + "PolicyEngine attributes these modeled payments to eligibility tax years 2020 " + "and 2021 through ma_refundable_credits. The payment amount is zero outside " + "those years. This variable models the two $500 rounds." + ) unit = USD definition_period = YEAR reference = "https://www.mass.gov/info-details/covid-19-essential-employee-premium-pay-program" diff --git a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py index ff53f2fabb2..3eb5706b74a 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py @@ -5,10 +5,20 @@ class ma_taxpayer_refund_rebate(Variable): value_type = float entity = TaxUnit label = "Massachusetts taxpayer refund rebate" + documentation = ( + "One-time Massachusetts Chapter 62F refund paid in 2022 and determined from " + "tax year 2021 liability. PolicyEngine attributes it to eligibility tax year " + "2021 through ma_refundable_credits. Its standalone formula can calculate an " + "amount in other years because the rate persists; it enters the " + "refundable-credit total only in 2021." + ) defined_for = StateCode.MA unit = USD definition_period = YEAR - reference = "https://tax.hawaii.gov/act-115-ref/" + reference = ( + "https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62F/Section6", + "https://www.mass.gov/info-details/chapter-62f-taxpayer-refunds", + ) def formula(tax_unit, period, parameters): income_tax_before_credits = tax_unit( diff --git a/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py b/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py index 9aa02115b7f..74999bb5197 100644 --- a/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py +++ b/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py @@ -5,6 +5,12 @@ class me_relief_rebate(Variable): value_type = float entity = TaxUnit label = "Maine Relief Rebate" + documentation = ( + "One-time Maine relief payment of $850 per eligible resident, paid in 2022 " + "and determined from the 2021 return. PolicyEngine attributes it to " + "eligibility tax year 2021 through me_refundable_credits. The amount is zero " + "outside 2021." + ) defined_for = "me_relief_rebate_eligible" unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py b/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py index 5adc2747a8c..d34963b5931 100644 --- a/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py +++ b/policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py @@ -5,6 +5,12 @@ class me_relief_rebate_eligible(Variable): value_type = bool entity = TaxUnit label = "Maine Relief Rebate eligible" + documentation = ( + "Eligibility for Maine's one-time $850 relief payment, determined from the " + "2021 return and paid in 2022. PolicyEngine attributes the payment to " + "eligibility tax year 2021. This eligibility indicator alone does not imply a " + "payment in another year; me_relief_rebate is zero outside 2021." + ) defined_for = StateCode.ME definition_period = YEAR reference = "https://www.maine.gov/governor/mills/relief-checks" diff --git a/policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py b/policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py index 1f9179d1262..9ce9afbf972 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py @@ -5,6 +5,13 @@ class mt_income_tax_rebate(Variable): value_type = float entity = Person label = "Montana 2021 income tax rebate" + documentation = ( + "One-time Montana HB 192 income tax rebate paid in 2023 and determined from " + "the 2021 return. PolicyEngine attributes it to eligibility tax year 2021 as " + "a refundable payment through mt_refundable_credits. The amount is zero " + "outside 2021. The separate-versus-joint filing election is determined before " + "this rebate by assumption." + ) unit = USD definition_period = YEAR reference = ( diff --git a/policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_refundable_credits.py b/policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_refundable_credits.py index 2a64cb115d2..b571f8208dc 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_refundable_credits.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_refundable_credits.py @@ -5,6 +5,11 @@ class mt_refundable_credits(Variable): value_type = float entity = Person label = "Montana refundable credits" + documentation = ( + "One-time rebates are included for the eligibility tax year identified by the " + "return, even when payment occurs later. A standalone rebate value does not " + "establish inclusion in this total." + ) unit = USD reference = ( # 2022 Montana Form 2 instructions, Other Payments and Refundable diff --git a/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_2021_income_rebate.py b/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_2021_income_rebate.py index 0dab3d96509..a4723f6f97a 100644 --- a/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_2021_income_rebate.py +++ b/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_2021_income_rebate.py @@ -5,6 +5,13 @@ class nm_2021_income_rebate(Variable): value_type = float entity = TaxUnit label = "New Mexico 2021 income tax rebate" + documentation = ( + "New Mexico rebate enacted in 2022 under NMSA 7-2-7.6 and determined from the " + "2021 return. PolicyEngine attributes it to eligibility tax year 2021 through " + "nm_refundable_credits. Its standalone formula can calculate an amount in " + "later years; inclusion in the dated credit total determines whether it " + "affects income tax and household net income." + ) definition_period = YEAR reference = ( "https://nmonesource.com/nmos/nmsa/en/item/4340/index.do#!fragment/zoupio-_Toc140503708/BQCwhgziBcwMYgK4DsDWszIQewE4BUBTADwBdoAvbRABwEtsBaAfX2zgEYAWABgFYeAZgDsPABwBKADTJspQhACKiQrgCe0AOSapEQmFwJlqjdt37DIAMp5SAIQ0AlAKIAZZwDUAggDkAws5SpGAARtCk7BISQA", diff --git a/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_additional_2021_income_rebate.py b/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_additional_2021_income_rebate.py index 78493990ef0..a5cbfaccf17 100644 --- a/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_additional_2021_income_rebate.py +++ b/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_additional_2021_income_rebate.py @@ -5,6 +5,13 @@ class nm_additional_2021_income_rebate(Variable): value_type = float entity = TaxUnit label = "New Mexico additional 2021 income tax rebate" + documentation = ( + "New Mexico additional rebate enacted in 2023 under NMSA 7-2-7.7 and " + "determined from the 2021 return. PolicyEngine attributes it to eligibility " + "tax year 2021 through nm_refundable_credits. Its standalone formula can " + "calculate an amount in later years; inclusion in the dated credit total " + "determines whether it affects income tax and household net income." + ) definition_period = YEAR reference = ( "https://nmonesource.com/nmos/nmsa/en/item/4340/index.do#!fragment/zoupio-_Toc140503710/BQCwhgziBcwMYgK4DsDWszIQewE4BUBTADwBdoAvbRABwEtsBaAfX2zgEYAWABgFYeAZgDsHHgEoANMmylCEAIqJCuAJ7QA5BskRCYXAiUr1WnXoMgAynlIAhdQCUAogBknANQCCAOQDCTyVIwACNoUnZxcSA", diff --git a/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_supplemental_2021_income_rebate.py b/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_supplemental_2021_income_rebate.py index cd82e30a49b..66fc5fd6708 100644 --- a/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_supplemental_2021_income_rebate.py +++ b/policyengine_us/variables/gov/states/nm/tax/income/rebates/2021_rebate/nm_supplemental_2021_income_rebate.py @@ -5,6 +5,14 @@ class nm_supplemental_2021_income_rebate(Variable): value_type = float entity = TaxUnit label = "New Mexico supplemental 2021 income tax rebate" + documentation = ( + "New Mexico supplemental rebates enacted and paid in 2022 under NMSA 7-2-7.5 " + "and determined from the 2021 return. This variable combines the two " + "payments. PolicyEngine attributes them to eligibility tax year 2021 through " + "nm_refundable_credits. Its standalone formula can calculate an amount in " + "later years; inclusion in the dated credit total determines whether it " + "affects income tax and household net income." + ) definition_period = YEAR reference = ( "https://nmonesource.com/nmos/nmsa/en/item/4340/index.do#!fragment/zoupio-_Toc140503706/BQCwhgziBcwMYgK4DsDWszIQewE4BUBTADwBdoAvbRABwEtsBaAfX2zgEYAWABgFYeAZgDsPAGwBKADTJspQhACKiQrgCe0AOSapEQmFwJlqjdt37DIAMp5SAIQ0AlAKIAZZwDUAggDkAws5SpGAARtCk7BISQA", diff --git a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_inflation_refund_credit.py b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_inflation_refund_credit.py index 1eac9e6bb77..ffbb6f69d8e 100644 --- a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_inflation_refund_credit.py +++ b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_inflation_refund_credit.py @@ -5,6 +5,11 @@ class ny_inflation_refund_credit(Variable): value_type = float entity = TaxUnit label = "New York inflation refund" + documentation = ( + "One-time New York inflation refund paid in 2025 and determined from the 2023 " + "return. PolicyEngine attributes it to eligibility tax year 2023 through " + "ny_refundable_credits. This variable is zero in other years." + ) unit = USD definition_period = YEAR reference = "https://www.nysenate.gov/legislation/laws/TAX/606#QQQ" diff --git a/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate.py b/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate.py index 32313e54694..763afdcd31c 100644 --- a/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate.py +++ b/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate.py @@ -5,6 +5,12 @@ class ri_child_tax_rebate(Variable): value_type = float entity = TaxUnit label = "Rhode Island Child Tax Rebate" + documentation = ( + "One-time Rhode Island child tax rebate enacted and paid in 2022 and " + "determined from the 2021 return. PolicyEngine attributes it to eligibility " + "tax year 2021 through ri_refundable_credits. This variable is zero in other " + "years." + ) unit = USD definition_period = YEAR reference = ( diff --git a/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate_eligible.py b/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate_eligible.py index 6ff87db05c2..19628b7dbb1 100644 --- a/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate_eligible.py +++ b/policyengine_us/variables/gov/states/ri/tax/income/credits/rebates/ri_child_tax_rebate_eligible.py @@ -5,6 +5,12 @@ class ri_child_tax_rebate_eligible(Variable): value_type = bool entity = TaxUnit label = "Rhode Island Child Tax Rebate" + documentation = ( + "Eligibility for Rhode Island's one-time child tax rebate paid in 2022 and " + "determined from the 2021 return. PolicyEngine attributes the payment to " + "eligibility tax year 2021. A true eligibility indicator in another year does " + "not imply a payment; ri_child_tax_rebate is zero outside 2021." + ) definition_period = YEAR reference = ( "https://tax.ri.gov/sites/g/files/xkgbur541/files/2022-08/H7123Aaa_CTR_0.pdf" diff --git a/policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py b/policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py index 713b4464b5b..3052117c910 100644 --- a/policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py +++ b/policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py @@ -5,6 +5,12 @@ class sc_2022_rebate(Variable): value_type = float entity = TaxUnit label = "South Carolina 2022 rebate" + documentation = ( + "One-time South Carolina rebate paid in 2022 and determined from the 2021 " + "return, capped at $800 and eligible liability. PolicyEngine attributes it to " + "eligibility tax year 2021 through sc_non_refundable_credits. The amount is " + "zero outside 2021." + ) defined_for = StateCode.SC unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/gov/states/va/tax/income/va_rebate.py b/policyengine_us/variables/gov/states/va/tax/income/va_rebate.py index edeaf2bcc0d..74ef8f5e50d 100644 --- a/policyengine_us/variables/gov/states/va/tax/income/va_rebate.py +++ b/policyengine_us/variables/gov/states/va/tax/income/va_rebate.py @@ -5,6 +5,13 @@ class va_rebate(Variable): value_type = float entity = TaxUnit label = "Virginia rebate" + documentation = ( + "Virginia one-time rebates are attributed to the return year that determines " + "eligibility and amount: 2021 for the 2022 payment, 2022 for the 2023 " + "payment, and 2024 for the 2025 payment. The rebate enters " + "va_non_refundable_credits in those eligibility years and is limited by " + "available tax liability. It is zero in other years." + ) unit = USD definition_period = YEAR reference = ( From 23a530ae1401fe1bbf8cc683b22d775fb6497bb7 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Tue, 20 Oct 2026 16:31:53 -0400 Subject: [PATCH 3/7] Isolate historical Colorado rebate tests from federal tax calculation --- .../income/credits/sales_tax_refund/co_sales_tax_refund.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml index 623b2e13d4a..0cf1586867a 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml @@ -666,6 +666,8 @@ # 1 CCR 201-2, Rule 39-22-2003(1)(a), PDF p195: no refund in 2016-2020. # https://www.sos.state.co.us/CCR/GenerateRulePdf.do?fileName=1+CCR+201-2&ruleVersionId=11214#page=195 # No refund means $0, not the backdated 2021 table's $56 for single $100k MAGI. +# Age 40 qualifies independently of liability. Supply the other eligibility +# branch directly so this historical guard test does not compute federal tax. - name: Colorado sales tax refund is unavailable in 2020 period: 2020 absolute_error_margin: 0 @@ -674,6 +676,7 @@ age: 40 filing_status: SINGLE co_modified_agi: 100_000 + co_income_tax_before_non_refundable_credits: 0 co_income_tax_before_refundable_credits: 1_000 co_amt: 0 co_cdcc: 0 @@ -694,6 +697,7 @@ age: 40 filing_status: SINGLE co_modified_agi: 100_000 + co_income_tax_before_non_refundable_credits: 0 co_income_tax_before_refundable_credits: 1_000 co_amt: 0 co_cdcc: 0 From f413a729df6298d4618b5ca782216ed890d55152 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 07:04:39 +0000 Subject: [PATCH 4/7] Update the 2020 Virginia expectation and replace a dead Chapter 62F URL The start-year guard sets the Virginia rebate to 0 for 2020, before the first eligibility year (the 2021 return), so the 2020 unemployment test no longer subtracts a backdated $250 rebate. Its tax is the hand-computed 2,305.28. The Massachusetts DOR Chapter 62F page is on the known-dead list; cite the State Auditor's Chapter 62F determination page, the replacement the list names and the one the refund's rate parameter already cites. Co-Authored-By: Claude Opus 5.5 --- .../income/person/total_unemployment_compensation.yaml | 9 ++++++--- .../ma/tax/income/credits/ma_taxpayer_refund_rebate.py | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/policyengine_us/tests/policy/baseline/household/income/person/total_unemployment_compensation.yaml b/policyengine_us/tests/policy/baseline/household/income/person/total_unemployment_compensation.yaml index ad439790edc..7794f482d32 100644 --- a/policyengine_us/tests/policy/baseline/household/income/person/total_unemployment_compensation.yaml +++ b/policyengine_us/tests/policy/baseline/household/income/person/total_unemployment_compensation.yaml @@ -403,9 +403,12 @@ va_subtractions: 0 va_agi: 50_000 # Taxable = 50,000 - 4,500 standard deduction - 930 exemption = 44,570. - # Tax = 60 + 60 + 600 + 0.0575 * 27,570 = 2,305.28, less 250 of - # nonrefundable credits = 2,055.28 (1,767.78 when all UC was subtracted). - va_income_tax: 2_055.28 + # Tax = 60 + 60 + 600 + 0.0575 * 27,570 = 2,305.28 (2,017.78 when all + # UC was subtracted). No nonrefundable credit applies: there is no + # federal EITC at this AGI, and the one-time rebate is 0 in 2020 + # (va/tax/income/rebate/amount.yaml); the first eligibility year is the + # 2021 return, under 2022 Special Session I HB30 Item 3-5.22. + va_income_tax: 2_305.28 - name: Case 17, Hawaii CCAP counts strike benefits, which are not unemployment compensation. period: 2025-01 diff --git a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py index 3eb5706b74a..90407789021 100644 --- a/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py +++ b/policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py @@ -17,7 +17,8 @@ class ma_taxpayer_refund_rebate(Variable): definition_period = YEAR reference = ( "https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter62F/Section6", - "https://www.mass.gov/info-details/chapter-62f-taxpayer-refunds", + # State Auditor audit of the Chapter 62F excess-revenue determination. + "https://www.mass.gov/audit/audit-of-the-determination-of-whether-net-state-tax-revenues-exceeded-allowable-state-tax-revenues-0", ) def formula(tax_unit, period, parameters): From 004ba77c0f7cd9083f3ac7d81c5e3d41ffee757f Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Mon, 2 Nov 2026 09:16:12 -0500 Subject: [PATCH 5/7] Add Colorado's 2015 sales tax refund tiers The 2015 DR 0104 booklet (Form 104, line 46, p. 6) gives six modified AGI tiers: $13, $18, $21, $23, $24 and $41 a filer, doubled on a joint return. PE-US backdated the 2021 tiers to 2015, so a single filer at $100,000 got $56 instead of $21. Each tier gets a 2015 case, plus a joint case. Co-Authored-By: Claude Opus 5.5 --- .../sales_tax_refund/amount/scale.yaml | 14 +++ .../sales_tax_refund/co_sales_tax_refund.yaml | 108 ++++++++++++++++++ 2 files changed, 122 insertions(+) diff --git a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml index da9323e45de..58abb196dae 100644 --- a/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml +++ b/policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml @@ -14,6 +14,8 @@ metadata: href: https://leg.colorado.gov/sites/default/files/images/olls/crs2023-title-39.pdf - title: C.R.S. 39-22-2003(4) href: https://colorado.public.law/statutes/crs_39-22-2003 + - title: 2015 Colorado Individual Income Tax Filing Guide (DR 0104), Form 104 line 46 table + href: https://tax.colorado.gov/sites/tax/files/DR0104Book_2015.pdf#page=6 - title: 2021 Colorado Individual Income Tax Filing Guide href: https://tax.colorado.gov/sites/tax/files/documents/DR_104_Book_2021.pdf#page=21 - title: 2022 Colorado Individual Income Tax Filing Guide @@ -36,8 +38,10 @@ metadata: # surplus. Replace them with the tiers in each year's DR 0104. brackets: - threshold: + 2015-01-01: -.inf 2021-01-01: -.inf amount: + 2015-01-01: 13 2021-01-01: 37 2022-01-01: 153 2023-01-01: 0 @@ -47,6 +51,7 @@ brackets: 2028-01-01: 47 2029-01-01: 48 - threshold: + 2015-01-01: 36_001 2021-01-01: 44_001 2022-01-01: 48_001 2024-01-01: 53_001 @@ -55,6 +60,7 @@ brackets: 2028-01-01: 59_001 2029-01-01: 60_001 amount: + 2015-01-01: 18 2021-01-01: 49 2022-01-01: 208 2023-01-01: 0 @@ -64,6 +70,7 @@ brackets: 2028-01-01: 62 2029-01-01: 65 - threshold: + 2015-01-01: 77_001 2021-01-01: 88_001 2022-01-01: 95_001 2024-01-01: 105_001 @@ -71,6 +78,7 @@ brackets: 2028-01-01: 120_001 2029-01-01: 123_001 amount: + 2015-01-01: 21 2021-01-01: 56 2022-01-01: 234 2023-01-01: 0 @@ -80,6 +88,7 @@ brackets: 2028-01-01: 71 2029-01-01: 74 - threshold: + 2015-01-01: 120_001 2021-01-01: 139_001 2022-01-01: 151_001 2024-01-01: 166_001 @@ -88,6 +97,7 @@ brackets: 2028-01-01: 192_001 2029-01-01: 197_001 amount: + 2015-01-01: 23 2021-01-01: 68 2022-01-01: 285 2023-01-01: 0 @@ -97,6 +107,7 @@ brackets: 2028-01-01: 85 2029-01-01: 88 - threshold: + 2015-01-01: 163_001 2021-01-01: 193_001 2022-01-01: 209_001 2024-01-01: 233_001 @@ -104,6 +115,7 @@ brackets: 2028-01-01: 272_001 2029-01-01: 278_001 amount: + 2015-01-01: 24 2021-01-01: 74 2022-01-01: 300 2023-01-01: 0 @@ -113,6 +125,7 @@ brackets: 2028-01-01: 91 2029-01-01: 95 - threshold: + 2015-01-01: 204_001 2021-01-01: 246_001 2022-01-01: 268_001 2024-01-01: 302_001 @@ -121,6 +134,7 @@ brackets: 2028-01-01: 358_001 2029-01-01: 367_001 amount: + 2015-01-01: 41 2021-01-01: 117 2022-01-01: 486 2023-01-01: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml index 257988838e0..544c24f1303 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml @@ -713,6 +713,114 @@ co_refundable_credits: 0 co_income_tax: 1_000 +# Tax year 2015 at the 2015 DR 0104 table (Form 104, line 46, p. 6): single +# filers $13 up to $36,000, $18 to $77,000, $21 to $120,000, $23 to +# $163,000, $24 to $204,000 and $41 above; joint filers enter twice those. +# https://tax.colorado.gov/sites/tax/files/DR0104Book_2015.pdf#page=6 +- name: Colorado 2015 sales tax refund, first tier at its top + # $36,000 or less: $13. + period: 2015 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + co_modified_agi: 36_000 + co_sales_tax_refund_eligible: true + filing_status: SINGLE + output: + co_sales_tax_refund: 13 + +- name: Colorado 2015 sales tax refund, second tier at its start + # $36,001 to $77,000: $18. + period: 2015 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + co_modified_agi: 36_001 + co_sales_tax_refund_eligible: true + filing_status: SINGLE + output: + co_sales_tax_refund: 18 + +- name: Colorado 2015 sales tax refund, third tier + # $77,001 to $120,000: $21, not the backdated 2021 table's $56. + period: 2015 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + co_modified_agi: 100_000 + co_sales_tax_refund_eligible: true + filing_status: SINGLE + output: + co_sales_tax_refund: 21 + +- name: Colorado 2015 sales tax refund, fourth tier + # $120,001 to $163,000: $23. + period: 2015 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + co_modified_agi: 150_000 + co_sales_tax_refund_eligible: true + filing_status: SINGLE + output: + co_sales_tax_refund: 23 + +- name: Colorado 2015 sales tax refund, fifth tier at its top + # $163,001 to $204,000: $24. + period: 2015 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + co_modified_agi: 204_000 + co_sales_tax_refund_eligible: true + filing_status: SINGLE + output: + co_sales_tax_refund: 24 + +- name: Colorado 2015 sales tax refund, top tier at its start + # $204,001 or more: $41. + period: 2015 + absolute_error_margin: 0 + input: + state_code: CO + age: 40 + co_modified_agi: 204_001 + co_sales_tax_refund_eligible: true + filing_status: SINGLE + output: + co_sales_tax_refund: 41 + +- name: Colorado 2015 sales tax refund, joint filers both qualify + period: 2015 + absolute_error_margin: 0 + input: + people: + head: + age: 40 + is_tax_unit_head: true + spouse: + age: 40 + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [head, spouse] + co_modified_agi: 100_000 + co_sales_tax_refund_eligible: true + co_income_tax_before_non_refundable_credits: 0 + filing_status: JOINT + households: + household: + members: [head, spouse] + state_code: CO + output: + # $77,001 to $120,000: the table's joint amount is $42, 2 x $21. + co_sales_tax_refund: 42 + # Tax year 2028 at the tier amounts that the LCS September 2026 forecast # projects (Table 9, p. 35): # up to $59,000 -> $47; $59,001-$120,000 -> $62; $120,001-$192,000 -> $71; From 379c173baebf1a2be7b9592c1e4b380f1c1db079 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 21:24:58 +0000 Subject: [PATCH 6/7] Fix stale 2015 Colorado notes and make the 2015 CO and VA guard cases bite The docs paragraph and the guard test comment still called the 2015 Colorado amounts unaudited after they were set from the 2015 DR 0104 table. The six single-filer 2015 Colorado cases errored under the default itemization branch, which reaches CO CCAP at 2014-10-01, so set co_income_tax_before_non_refundable_credits as the joint case does. The Virginia 2015 case had no liability, so the liability cap zeroed the rebate whatever the schedule said; give each unit $1,000 of liability as the 2020 case does. Co-Authored-By: Claude Opus 5.5 --- docs/validation/state-rebates.md | 10 ++++----- .../sales_tax_refund/co_sales_tax_refund.yaml | 6 +++++ .../gov/states/va/tax/income/va_rebate.yaml | 22 +++++++++++++++++++ .../test_state_rebate_year_guards.py | 4 ++-- 4 files changed, 35 insertions(+), 7 deletions(-) diff --git a/docs/validation/state-rebates.md b/docs/validation/state-rebates.md index ab313942774..a0e7bd3d0ab 100644 --- a/docs/validation/state-rebates.md +++ b/docs/validation/state-rebates.md @@ -49,11 +49,11 @@ nonrefundable totals reduce tax before refundable credits. | South Carolina rebate: `sc_2022_rebate` | 2021 only | 2022 | N: `sc_non_refundable_credits`. The rebate is capped at $800 and eligible liability; the amount is zero outside 2021. | | Massachusetts essential employee premium pay: `ma_covid_19_essential_employee_premium_pay_program` (person level); input `claimed_ma_covid_19_essential_employee_premium_pay_program_2020` | 2020 and 2021 only | Both modeled rounds paid in 2022 | R: `ma_refundable_credits`. The two $500 rounds use 2020 and 2021 earnings, respectively. The amount is zero before 2020 and from 2022. Set the prior-recipient input in 2021 to exclude a first-round recipient from the second round. The later $250 third round is outside this inventory's coverage. | -The model's first modeled year is 2015. Colorado's 2015 entry preserves the -refund's availability; its amount schedule has not been audited as a 2015 -schedule. Future carried-forward Colorado coverage describes current model -parameters rather than verified future payments. Its parameter comments label -post-2026 table amounts as placeholders. +The model's first modeled year is 2015. Colorado's 2015 amounts follow the +2015 DR 0104 table (Form 104, line 46); the refund is zero in 2016–2020, when it +was not in effect. Colorado's 2027–2029 tiers are the LCS September 2026 +forecast's projections, not published DR 0104 tables, and they stand in until +the State Controller certifies each year's surplus. ## Standalone amounts and comparison measures diff --git a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml index 544c24f1303..b5e140481ee 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/sales_tax_refund/co_sales_tax_refund.yaml @@ -726,6 +726,7 @@ age: 40 co_modified_agi: 36_000 co_sales_tax_refund_eligible: true + co_income_tax_before_non_refundable_credits: 0 filing_status: SINGLE output: co_sales_tax_refund: 13 @@ -739,6 +740,7 @@ age: 40 co_modified_agi: 36_001 co_sales_tax_refund_eligible: true + co_income_tax_before_non_refundable_credits: 0 filing_status: SINGLE output: co_sales_tax_refund: 18 @@ -752,6 +754,7 @@ age: 40 co_modified_agi: 100_000 co_sales_tax_refund_eligible: true + co_income_tax_before_non_refundable_credits: 0 filing_status: SINGLE output: co_sales_tax_refund: 21 @@ -765,6 +768,7 @@ age: 40 co_modified_agi: 150_000 co_sales_tax_refund_eligible: true + co_income_tax_before_non_refundable_credits: 0 filing_status: SINGLE output: co_sales_tax_refund: 23 @@ -778,6 +782,7 @@ age: 40 co_modified_agi: 204_000 co_sales_tax_refund_eligible: true + co_income_tax_before_non_refundable_credits: 0 filing_status: SINGLE output: co_sales_tax_refund: 24 @@ -791,6 +796,7 @@ age: 40 co_modified_agi: 204_001 co_sales_tax_refund_eligible: true + co_income_tax_before_non_refundable_credits: 0 filing_status: SINGLE output: co_sales_tax_refund: 41 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml index b88212ecfa0..13c3c6d4998 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/va_rebate.yaml @@ -328,6 +328,8 @@ va_income_tax: 1_000 # The pre-program zero must backdate to 2015 for every filing-status branch. +# Each unit has $1,000 of liability, so a nonzero amount schedule would show +# up as a positive rebate rather than being cut to zero by the liability cap. - name: Virginia rebates are zero in 2015 for every filing status period: 2015 absolute_error_margin: 0 @@ -342,18 +344,38 @@ single_unit: members: [single] filing_status: SINGLE + va_income_tax_before_non_refundable_credits: 1_000 + va_non_refundable_eitc: 0 + va_spouse_tax_adjustment: 0 + va_refundable_eitc: 0 joint_unit: members: [joint] filing_status: JOINT + va_income_tax_before_non_refundable_credits: 1_000 + va_non_refundable_eitc: 0 + va_spouse_tax_adjustment: 0 + va_refundable_eitc: 0 separate_unit: members: [separate] filing_status: SEPARATE + va_income_tax_before_non_refundable_credits: 1_000 + va_non_refundable_eitc: 0 + va_spouse_tax_adjustment: 0 + va_refundable_eitc: 0 head_of_household_unit: members: [head_of_household] filing_status: HEAD_OF_HOUSEHOLD + va_income_tax_before_non_refundable_credits: 1_000 + va_non_refundable_eitc: 0 + va_spouse_tax_adjustment: 0 + va_refundable_eitc: 0 surviving_spouse_unit: members: [surviving_spouse] filing_status: SURVIVING_SPOUSE + va_income_tax_before_non_refundable_credits: 1_000 + va_non_refundable_eitc: 0 + va_spouse_tax_adjustment: 0 + va_refundable_eitc: 0 households: single_household: members: [single] diff --git a/policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py b/policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py index e313e2e9c6e..ca70308c0e0 100644 --- a/policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py +++ b/policyengine_us/tests/policy/baseline/parameters/test_state_rebate_year_guards.py @@ -141,8 +141,8 @@ def test_colorado_historical_availability_preserves_2015(): in_effect = system.parameters.get_child( "gov.states.co.tax.income.credits.sales_tax_refund.in_effect" ) - # This asserts availability only: the backdated 2015 amount table is outside - # the guard fix's scope and is not represented as a verified 2015 schedule. + # This asserts availability only; co_sales_tax_refund.yaml checks the + # 2015 DR 0104 amounts and the zero 2016-2020 years. assert in_effect("2015-01-01") is True for year in range(2016, 2021): assert in_effect(f"{year}-01-01") is False From a2e257cbe23878a18287519254152c4fdef1bc7e Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Mon, 2 Nov 2026 19:37:08 -0500 Subject: [PATCH 7/7] Say who replaces Colorado's projected rebate tiers The review pointed out that the State Controller certifies the surplus and CDOR sets the tiers, and scale.yaml already says the DR 0104's tiers replace the forecast's. Co-Authored-By: Claude Opus 5.5 --- docs/validation/state-rebates.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/validation/state-rebates.md b/docs/validation/state-rebates.md index a0e7bd3d0ab..8c9404b0177 100644 --- a/docs/validation/state-rebates.md +++ b/docs/validation/state-rebates.md @@ -53,7 +53,8 @@ The model's first modeled year is 2015. Colorado's 2015 amounts follow the 2015 DR 0104 table (Form 104, line 46); the refund is zero in 2016–2020, when it was not in effect. Colorado's 2027–2029 tiers are the LCS September 2026 forecast's projections, not published DR 0104 tables, and they stand in until -the State Controller certifies each year's surplus. +the State Controller certifies each fiscal year's surplus and CDOR publishes +that year's tiers in the DR 0104. ## Standalone amounts and comparison measures