Skip to content

Index Maine's 2026 sales tax fairness credit by MRS's 2026 factors - #10807

Open
MaxGhenis wants to merge 8 commits into
mainfrom
fix-me-sales-tax-fairness-credit-2026
Open

MaxGhenis wants to merge 8 commits into
mainfrom
fix-me-sales-tax-fairness-credit-2026

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

What was wrong

For 2026, PolicyEngine gave Maine's sales tax fairness credit a $215 base for joint, head of household and surviving spouse filers, and started the single phase-out at $26,000. Both numbers came from uprating the rounded 2025 amounts by gov.irs.uprating, whose 2026/2025 ratio on main is 177.11375 / 173.0934167 = 1.0232264: 215 × 1.0232264 = 219.99 rounds down to $215, and 25,450 × 1.0232264 = 26,041.11 rounds down to $26,000. Under 36 M.R.S. § 5403, Maine's State Tax Assessor instead multiplies the statutory amounts by a cumulative cost-of-living adjustment each year, which gives $220 and $26,050. So a married couple with $60,000 of income got $55 instead of $60, and a couple with $30,000 got $215 instead of $220.

The law

The Legislature set the base credit in 36 M.R.S. § 5213-A, subsection 1(A-1):

(1) For single individuals, $125;
(2) For individuals filing joint returns or as heads of households, $175 plus an additional amount equal to: (a) For individuals filing joint returns, $25 if they can claim the federal child tax credit pursuant to the Code, Section 24 for no more than one qualifying child or dependent or $50 if they can claim the credit for more than one qualifying child or dependent; or (b) For individuals filing as heads of households, $25 if they can claim the federal child tax credit pursuant to the Code, Section 24 for 2 qualifying children or dependents or $50 if they can claim the credit for more than 2 qualifying children or dependents.

Under subsection 4, single filers lose "$10 for every $500 or portion thereof that exceeds $20,000 of the income", heads of household "$15 for every $750 or portion thereof that exceeds $30,000", and joint filers and surviving spouses "$20 for every $1,000 or portion thereof that exceeds $40,000 of the income".

36 M.R.S. § 5403 has the assessor, "on or about September 15th of each year", multiply the cost-of-living adjustment by both, under subsection 5:

A. Beginning in 2018 and each year thereafter, by the base credit amounts in section 5213-A, subsection 1, paragraph A-1, including the additional amounts in subparagraph (2), divisions (a) and (b), except that ... the "cost-of-living adjustment" is the Chained Consumer Price Index for the 12-month period ending June 30th of the preceding calendar year divided by the Chained Consumer Price Index for the 12-month period ending June 30, 2017. If the base credit amount, adjusted by application of the cost-of-living adjustment, is not a multiple of $5, any increase must be rounded to the next lowest multiple of $5; and

C. Beginning in 2016 and each year thereafter, by the dollar amount of the income threshold set forth in section 5213-A, subsection 4, except that ... the "cost-of-living adjustment" is the Chained Consumer Price Index for the 12-month period ending June 30th of the preceding calendar year divided by the Chained Consumer Price Index for the 12-month period ending June 30, 2015;

The section's closing paragraph has the assessor round every other indexed amount, the thresholds included, down to a multiple of $50. Section 5403 lists neither the $500, $750 and $1,000 steps nor the $10, $15 and $20 reductions, so they stay fixed.

Maine Revenue Services (MRS) published the 2026 factors in its 2026 Individual Income Tax Rates (revised May 20, 2026): 1.303 for the lowest bracket amounts and 1.279 for the personal exemption. Section 5403 indexes the lowest bracket amounts from the same June 2015 base as the credit's thresholds (subsection 1(A)), and the personal exemption from the same June 2017 base as the credit amounts (subsection 7): the $4,150 exemption in § 5126-A(1) times 1.279 is 5,307.85, which rounds down to the $5,300 MRS publishes.

The change

Every 2026 amount now equals the statutory amount times MRS's 2026 factor, rounded down:

Amount Statute × 2026 factor Rounded down Main This PR
Single base 125 × 1.279 = 159.88 $155 $155 $155
Joint, head of household and surviving spouse base 175 × 1.279 = 223.83 $220 $215 $220
Joint with one dependent, head of household with two 200 × 1.279 = 255.80 $255 (additional $35) $250 $255
Joint with more than one, head of household with more than two 225 × 1.279 = 287.78 $285 (additional $65) $280 $285
Single threshold 20,000 × 1.303 = 26,060 $26,050 $26,000 $26,050
Head of household threshold 30,000 × 1.303 = 39,090 $39,050 $39,050 $39,050
Joint and surviving spouse threshold 40,000 × 1.303 = 52,120 $52,100 $52,100 $52,100
  • amount/base.yaml: 2026 entries of $220 for joint, head of household and surviving spouse. The single base stays on uprating, which already gives $155. An explicit $155 entry would anchor later uprating at the rounded value and drop the projected 2027 single base from $160 to $155, so the file carries a comment and the tests pin $155.
  • reduction/start.yaml: explicit 2026 thresholds for single, head of household, joint and surviving spouse filers, and an uprating base of 2025. Section 5403(5)(C) indexes the thresholds from fixed statutory amounts, so later years project from the 2025 values rather than from the rounded 2026 ones. With policyengine-core 3.36.0, which this branch requires after merging main, every later threshold equals main's. Without the base, the explicit 2026 values would anchor uprating, and the 2027 head of household and joint thresholds would come out $50 low: $40,200 and $53,650, against the $40,250 and $53,700 that MRS's 2027 factor of 1.343 gives. The single threshold would go the other way in some years, coming out $50 above main's projection in 2030 and 2032 ($28,600 and $29,750). The file's 2024 reference, and those in reduction/amount.yaml and reduction/increment.yaml, now point at the 2024 schedule instead of the 2023 one.
  • tests/core/test_base_mode_uprating.py: main's base-mode test requires every base-mode parameter in its statute table, so 937d8a0643 adds the five thresholds, citing 36 M.R.S. 5213-A(4) and 5403(5)(C). The entry labels these rows as the model's projection, not the statute's formula: the statute uses Maine's chained CPI for the 12 months ending June 30, and the model, which has no Maine index, projects from MRS's 2025 amounts with gov.irs.uprating. SEPARATE is a zero placeholder, since § 5213-A(6)(A) excludes married taxpayers filing separate returns.
  • amount/additional/{joint,head_of_household,surviving_spouse}.yaml: explicit 2026 entries of $35 and $65 with the computation. These parameters don't uprate, so the values match main; the entries record the 2026 check.
  • amount/base.yaml, reduction/start.yaml and the three additional-amount files cite MRS's 2026 rate schedule. The base and threshold files also cite 36 M.R.S. § 5402(1) for the date of the index (reading 1).

Readings taken

  1. MRS's published factors, not a recomputation from today's index. MRS's 2025 factors (1.274 and 1.25) reproduce every base amount, additional amount and threshold in its 2025 Schedule PTFC/STFC table. Ratios computed from BLS's current C-CPI-U series (SUUR0000SA0: 1.2735 and 1.2496) don't: they give a $50,900 joint threshold where the table has $50,950, and $245 for a joint return with one dependent where the table has $250. So this PR applies MRS's 2026 factors. For 2026 the choice moves one number: 1.303 gives a $39,050 head of household threshold, and the current-series ratio (1.3035) would give $39,100. 36 M.R.S. § 5402(1) settles the choice: it defines the index as the 12-month average of the values most recently published "as of the date the assessor determines the cost-of-living adjustment pursuant to section 5403", and § 5403 has the assessor determine it on or about September 15th, so the 2026 factor uses the index as published in September 2025. The $39,051 head of household case pins the $39,050 threshold.
  2. The rounding applies to the indexed total. Section 5403(5)(A) indexes "the base credit amounts ... including the additional amounts", and MRS's 2025 table rounds the total: $250 for a joint return with one dependent is 200 × 1.25, while indexing the $25 alone (31.25, rounded down to $30) would give $245. The 2026 additional amounts are the rounded totals less the $220 base.
  3. Surviving spouses keep the joint amounts, as PolicyEngine already treats them and as MRS's 2025 table groups "Married filing jointly or Qualifying surviving spouse".

MRS's 2026 table

MRS has not yet published the 2026 Schedule PTFC/STFC table. Its 2026 individual income tax forms page lists Schedule PTFC/STFC without a link, and the only 2026 PDFs it links are Form 1040ES, two phase-out worksheets and the rate schedule (checked November 21, 2026). This PR computes 2026 from the statute and MRS's published 2026 factors; when MRS publishes the table, we should check these amounts against it.

Invariants and how the tests check them

  • Other years don't move. The PR adds only 2026 entries, plus reference fixes, the § 5402(1) citation and a 2025 uprating base for the thresholds. Main's sales tax fairness parameter files and this branch's give the same base amounts, additional amounts and thresholds in every year from 2021 through 2035 except 2026. The existing 2022, 2024 and 2025 cases pass unchanged, including the 2025 cases that pin MRS's 2025 table.
  • Each 2026 amount equals the statutory computation. The 2026 cases in me_sales_tax_fairness_credit.yaml assert every base (single, joint, head of household, surviving spouse) and both additional tiers for joint, head of household and surviving spouse filers. They pin the thresholds at their edges: a single filer at $26,050 keeps $155 and at $26,550 loses one step; a head of household at $39,050 keeps $220 and at $39,051 gets $205; a joint return at $62,100 keeps $20 and at $62,101 gets $0; a surviving spouse with one dependent at $52,100 keeps $255, and with no dependents at $52,101 gets $200. A surviving spouse with one dependent at $60,000 gets $95. The comments show each hand computation from the statute and MRS's factors; no expected value comes from PolicyEngine.
  • "Or portion thereof". A single filer at $26,551 loses two $10 steps ($135), and a head of household with three dependents at $40,000 loses two $15 steps ($255).
  • End to end. Two cases build the households from person inputs: a married couple with $60,000 of wages gets $60, and a married couple aged 70 with $30,000 of Social Security, none of it federally taxable, gets $220 because § 5213-A(1)(B)(3) adds the benefits back.
  • With main's sales tax fairness parameter files, 18 of the 20 2026 cases fail. The other two ($62,101 joint and $26,551 single) give the same answer on main by design and pin the boundaries. Raising the head of household threshold to $39,100 fails the $39,051 case.

This PR changes parameter values only, so it adds YAML cases rather than a Python property test, as the repo's test design guide asks.

Before and after

Married couple filing jointly in Maine, no dependents, 2026:

Household Main This PR
$60,000 of wages credit $55, me_income_tax $994.80 credit $60, me_income_tax $989.80
$30,000 of Social Security, both 70 credit $215, me_income_tax −$215 credit $220, me_income_tax −$220

The same households get $15 and $215 in 2025 on both main and this branch.

Test plan

  • YAML tests whose expected values come from an external source: the statute and MRS's 2026 factors, computed by hand.
  • Source-conflict register: not applicable. Section 5402(1) takes the index as of the assessor's determination, so MRS's factor carries out the statute (reading 1). test_source_conflicts.py: 251 passed.
  • make format: ruff format --check and ruff check pass on tests/core/test_base_mode_uprating.py, the one Python file the PR changes.
  • Changelog fragment in changelog.d/.
  • policyengine-core test with policyengine-core 3.36.0 at 0efd0a04e8, on me/tax/income/credits/sales_tax_fairness_credit and me_refundable_credits.yaml: 42 passed. On me/tax/income/credits, me/tax/income/integration.yaml, me_refundable_credits.yaml and me_income_tax_before_refundable_credits.yaml: 250 passed. At 937d8a0643, which changes no parameter value, me_sales_tax_fairness_credit.yaml gives 34 passed and tests/core/test_base_mode_uprating.py 289 passed, as it does at 1f79a997b1, which rewords the comments on the Maine projection. At 12d364fc66, which corrects that comment's description of the 2026 anchor, tests/core/test_base_mode_uprating.py gives 289 passed and the sales_tax_fairness_credit folder 40 passed.

axiom: us-me/statute/36/5213-A rulespec-us#1651 queued

rulespec-us#1651 already queues the signed re-encode of us-me/statutes/36/5213-A.yaml with § 5403 indexing. Two corpus gaps block the encoder there: the pinned corpus row for § 5213-A holds the legislature site's menu, and the W6 release drops subsection 4's lettered paragraphs. Comments on that issue add this PR's law, outputs and companion cases; the latest adds STFC-18 to STFC-22.

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits November 11, 2026 13:08
36 M.R.S. § 5403(5)(A) indexes the § 5213-A base credit (including the
additional amounts) by the C-CPI-U ratio to June 2017, rounded down to a
multiple of $5, and § 5403(5)(C) indexes the income thresholds by the ratio
to June 2015, rounded down to a multiple of $50. Maine Revenue Services'
2026 rate schedule gives those factors as 1.279 and 1.303.

PolicyEngine uprated the rounded 2025 amounts by gov.irs.uprating instead,
which left the 2026 joint, head of household and surviving spouse base at
$215 (statute: 175 x 1.279 = 223.83 -> $220) and the single threshold at
$26,000 (statute: 20,000 x 1.303 = 26,060 -> $26,050).

Set every 2026 base amount, additional amount and threshold to the
statutory computation, fix the 2024 reference in start.yaml that pointed at
the 2023 schedule, and add 2026 tests (13 of the 15 fail on main).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The statutory 2026 single base (125 x 1.279 = 159.88, rounded down to
$155) equals what uprating the 2025 value gives. An explicit 2026 entry
anchored later uprating at the rounded value and dropped the projected 2027
single base from $160 to $155, so leave it out; the 2026 tests pin $155.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DTrim99

DTrim99 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

PR Review: Index Maine's 2026 sales tax fairness credit by MRS's 2026 factors

Summary

The 2026 amounts are right. I worked them out from the statute before reading the PR's arithmetic. 36 M.R.S. § 5213-A(1)(A-1) sets the base credit at $125, or $175 plus $25 or $50. Section 5213-A(4) sets the thresholds at $20,000, $30,000 and $40,000. Section 5403(5)(A) indexes the base credit, "including the additional amounts", from June 2017 and rounds it down to $5. Section 5403(5)(C) indexes the thresholds from June 2015, and the closing paragraph rounds them down to $50. MRS's 2026 Individual Income Tax Rates gives 1.303 and 1.279 for those two bases. With those factors, every new 2026 value matches: bases of $155, $220, $255 and $285, and thresholds of $26,050, $39,050 and $52,100.

The PR body says main's 2026 values come from uprating ($215 and $26,000), and that is right too. The fix is parameter-only, CI is green at the head, and the branch merges cleanly with current main. I found no critical issues and one should-address gap in the tests. The PR's own reading 1 says one 2026 number depends on its choice of MRS's published factor: the head of household threshold. No test pins that threshold from above, and the surviving spouse 2026 entries aren't exercised at all.

Critical (must fix)

None.

Should address

1. The head of household 2026 threshold is pinned only from below, and the surviving spouse 2026 entries aren't exercised.

  • Where: reduction/start.yaml:51-52 (HEAD_OF_HOUSEHOLD 2026: 39_050), reduction/start.yaml:69-70 (SURVIVING_SPOUSE 2026: 52_100) and the 2026 entries in amount/additional/surviving_spouse.yaml. Tests: me_sales_tax_fairness_credit.yaml:223, :265 and :285.
  • Reading 1 in the PR body says the choice of MRS's 1.303 over a ratio recomputed from today's index "moves one number": $39,050 against $39,100 for head of household. I confirmed that split. BLS's current chained CPI-U (SUUR0000SA0), averaged over the 12 months ending June 2025 and divided by the 12 months ending June 2015, gives 1.30354. Then 30,000 × 1.30354 = 39,106, which rounds down to $39,100. MRS's 1.303 gives 39,090, which rounds down to $39,050.
  • The two head of household threshold cases don't tell those values apart:
    • $39,050 with no dependents gives $220. That needs a threshold of at least $39,050.
    • $40,000 with three dependents gives 285 − 2 × 15 = $255. That allows any threshold in [$38,500, $39,250).
  • So changing 39_050 to 39_100, 39_150 or 39_200 fails no test. That makes the PR body's claim to assert "each threshold at its edge" true only for single and joint filers. Those two are pinned exactly: 26,050 / 26,550 / 26,551, and 60,000 / 62,100 / 62,101.
  • The surviving spouse 2026 threshold and additional amounts are new explicit entries. The only 2026 surviving spouse case has no income and no dependents, so any value passes.
  • Fix: add these cases (hand-computed from the statute and MRS's factors):
    • Head of household, 0 dependents, income $39,051: excess 1, one $750 portion, 220 − 15 = $205. Together with the $39,050 case, this pins the threshold at exactly $39,050 and rules out $39,100.
    • Surviving spouse, 1 dependent, income $60,000: (220 + 35) − ceil(7,900 / 1,000) × 20 = 255 − 160 = $95.
    • Optionally, surviving spouse, 2 dependents, no income: 220 + 65 = $285.
  • Then add the same companion cases to the rulespec-us#1651 comment, whose table has the same head of household gap (STFC-15 and STFC-17).

Suggestions

  1. The MRS reference titles describe more than the cited page shows.
    • Where: amount/base.yaml:64, reduction/start.yaml:28 and the three amount/additional/*.yaml:42.
    • Page 1 of the 2026 rate schedule applies 1.303 to "the lowest dollar amounts of the tax rate tables" and 1.279 to "the standard deduction and personal exemption". It never mentions the sales tax fairness credit or a "June 2017" or "June 2015" base. Those bases come from § 5403(1)(A), (5)(C), (7) and (5)(A).
    • The titles are accurate as a synthesis. Still, a plain document title would keep the title to what the page shows, with the derivation left in the value comments, which already have it.
    • The 2026 forms page lists "Schedule PTFC/STFC (PDF)" but doesn't link it yet (checked November 13, 2026). Once MRS posts it, cite its page 4 table for 2026 and check the seven amounts against it.
  2. The 2024 link the PR fixes in start.yaml has the same error in two sibling files. In reduction/amount.yaml:17-18 and reduction/increment.yaml:17-18, the reference titled "2024 Form 1040ME …" still points at 23_1040me_sched_pstfc_ff.pdf#page=4. The correct target is the 2024 file at 24_Form%201040ME_Sch%20PTFC_ff.pdf#page=4. Page 4 of that file shows the 2024 table ($24,750, $37,100 and $49,500), which I checked when verifying the start.yaml fix. These files are outside this PR's diff, so this is optional here.
  3. Optional follow-up: rounding drift in later projections. The PR body's reason for leaving the single base on uprating applies to every amount anchored at a rounded 2026 value.
    • From the repo's own C-CPI-U series I estimate gov.irs.uprating 2027/2026 ≈ 1.0298. On that estimate, 2027 joint projects to 220 × 1.0298 ≈ 226.6, which rounds to $225. The statute would give about 175 × 1.279 × 1.0298 ≈ 230.5, which rounds to $230. The head of household threshold projects about $50 low in the same way.
    • 2027 isn't a claimed year, so this isn't a finding. A later change could index the statutory amounts with a Maine cost-of-living series and avoid the compounding.

Verified correct

  • Statute. I read the current text of § 5213-A and § 5403 from the Revisor's site, extracted 10/05/2026.

    • § 5213-A(1)(A-1): $125; $175 plus $25 or $50. Joint filers get $25 for "no more than one" qualifying child and $50 for more than one. Heads of household get $25 for 2 and $50 for more than 2.
    • § 5213-A(4): $10 per $500 over $20,000; $15 per $750 over $30,000; $20 per $1,000 over $40,000, "or portion thereof".
    • § 5403(5)(A): June 2017 base, round down to $5, including the additional amounts.
    • § 5403(5)(C): June 2015 base.
    • Closing paragraph: round down to $50 "Except for subsection 5, paragraph A and subsection 9".
    • § 5403 doesn't list the steps or the reductions, so they stay fixed.
  • MRS 2026 factors. Page 1 of the 2026 rate schedule (revised May 20, 2026) says 1.303 and 1.279. Two cross-checks against amounts MRS published:

    • $4,150 personal exemption (§ 5126-A(1)) × 1.279 = 5,307.85, which rounds down to $5,300, as published. The schedule's own standard-deduction sentence is stale (§ 5124-C now sets 2026 by its subsection 1-C), but the personal exemption ties 1.279 to the June 2017 base.
    • § 5111 lowest bracket amounts × 1.303: 21,050 → 27,428 → $27,400; 31,550 → 41,109.65 → $41,100; 42,100 → 54,856 → $54,850. All three match the published 2026 brackets.
  • The factors also match the repo's own data. In the repo's gov.bls.cpi.c_cpi_u, the average for the 12 months ending June 2025 is 1.3030 times the June 2015 base and 1.2787 times the June 2017 base. Those round to 1.303 and 1.279.

    • BLS's current revised series gives 1.30354 and 1.27916 for 2026, and 1.27346 and 1.24964 for 2025. Those match the PR body's 1.3035, 1.2735 and 1.2496.
    • So MRS's factors reflect the interim index available on or about September 15, the date § 5403 fixes for the assessor's computation. I agree with the PR that following them is not a source conflict: the canon "read timing rules so statutory deadlines can be met" points the same way.
  • 2025 confirms MRS's method. The 2025 rate schedule gives 1.274 and 1.25. Page 4 of the 2025 Schedule PTFC/STFC shows a single base of $155; joint and head of household amounts of $215, $250 and $280; and thresholds of $25,450, $38,200 and $50,950.

    • Indexing the total reproduces these. For example, 200 × 1.25 = $250. Indexing $25 on its own gives 31.25, rounded down to $30, for a total of 215 + 30 = $245, which doesn't match.
    • The table's $50,950 joint threshold needs a factor of at least 1.27375, so the current-series 1.2735 can't produce it.
  • 2026 parameter values against statute × MRS factor:

    Amount Statute × factor Rounded down
    Single base 125 × 1.279 = 159.875 $155
    Joint, head of household and surviving spouse base 175 × 1.279 = 223.825 $220
    One-tier total 200 × 1.279 = 255.80 $255 (additional $35)
    Two-tier total 225 × 1.279 = 287.775 $285 (additional $65)
    Single threshold 20,000 × 1.303 = 26,060 $26,050
    Head of household threshold 30,000 × 1.303 = 39,090 $39,050
    Joint and surviving spouse threshold 40,000 × 1.303 = 52,120 $52,100
  • Main's before-state. From the repo's C-CPI-U, averaged August through July, gov.irs.uprating 2026/2025 = 1.02266. That reproduces main's values: 215 × 1.02266 = 219.87 → $215; 25,450 → 26,026.8 → $26,000; 38,200 → 39,065.7 → $39,050; 50,950 → 52,104.7 → $52,100.

    • The single base left on uprating gives 155 × 1.02266 = 158.51 → $155. That's correct, and it only moves if the ratio reaches 1.0323.
    • The rationale for leaving it unanchored holds: 2027 is about $160 from the 2025 anchor and $155 from a 2026 one, as the PR body says.
  • The 2026 Schedule PTFC/STFC isn't published yet. I checked MRS's 2026 forms page on November 13, 2026: the schedule is listed without a link.

  • The start.yaml 2024 reference fix is correct. Page 4 of 24_Form 1040ME_Sch PTFC_ff.pdf shows $24,750, $37,100 and $49,500.

  • Hand checks of all 15 new cases. Each case uses that filing status's base, additional amount and threshold; the reduction is ceil(excess / step) × reduction amount.

    1. Joint, $30,000: below $52,100, so 220 ✓
    2. Joint, $60,000: excess 7,900, 8 portions, 220 − 160 = 60 ✓
    3. Joint, $62,100: excess 10,000, 10 portions, 220 − 200 = 20 ✓
    4. Joint, $62,101: excess 10,001, 11 portions, 220 − 220 = 0 ✓
    5. Joint, 1 dependent, $0: 220 + 35 = 255 ✓
    6. Joint, 2 dependents, $60,000: 285 − 160 = 125 ✓
    7. Surviving spouse, $0: 220 ✓
    8. Single, $26,050: excess 0, so 155 ✓
    9. Single, $26,550: excess 500, 1 portion, 155 − 10 = 145 ✓
    10. Single, $26,551: excess 501, 2 portions, 155 − 20 = 135 ✓
    11. Head of household, $39,050: excess 0, so 220 ✓
    12. Head of household, 2 dependents, $0: 220 + 35 = 255 ✓
    13. Head of household, 3 dependents, $40,000: excess 950, 2 portions, 285 − 30 = 255 ✓
    14. Married couple, $60,000 wages: income = irs_gross_income 60,000 (the income sources are gross income, tax-exempt Social Security and tax-exempt interest, per § 5213-A(1)(B)(2)–(3)), credit 60 ✓
    15. Married couple, both 70, $15,000 Social Security each: provisional income 15,000 < $32,000, so no taxable benefits. § 5213-A(1)(B)(3) adds the $30,000 back, so income is 30,000 and the credit is 220 ✓
  • "13 of 15 fail on main" checked by hand. On main, case 4 gives 215 − 220 < 0, so 0. Case 10 has excess 551 over $26,000, 2 portions, so 135. Both pass. Every other case differs by $5 or by one step.

  • Code and housekeeping:

    • The formula is unchanged, and ceil implements "or portion thereof". The additional-amount parameters have no uprating, so their 2026 entries carry the 2025 values. They're inert today, but they record the check.
    • Changelog fragment: changelog.d/fix-me-sales-tax-fairness-credit-2026.fixed.md.
    • Tests sit in a variable-named file and use plain 2026 periods.
    • No partner-test files and no new state-gated int or enum keys.
    • No added comment matches the source-conflict ratchet's patterns, and no Maine file is in KNOWN_UNMARKED.

Axiom line assessment

axiom: us-me/statute/36/5213-A rulespec-us#1651 queued is valid.

  • rulespec-us#1651 is OPEN and labelled pe-parity, and it records the blocker. The pinned § 5213-A corpus row holds the site menu, and W6 drops subsection 4's paragraphs A–C.
  • The author's November 11 comment makes it dispatch-ready for this provision: the module path us-me/statutes/36/5213-A.yaml, corpus citations, verbatim § 5213-A(1)(A-1), (4) and § 5403(5), the four rulings, the outputs, and 17 companion cases from the 2025 table and the 2026 statutory computation.
  • Its values match the head exactly. When the head of household and surviving spouse cases above are added, mirror them there.

CI status

  • All 36 checks pass on run 43078744811 at the head (010852e), created 2026-11-11 18:32 UTC. That covers the full baseline, contrib and Python suites, Household API Partners, and PR validation (lock, guard tests, lint, changelog).
  • The three "skipping" entries belong to the earlier run 43078327669 at the same head, which concluded skipped (superseded). They are not failures.
  • Re-checked just before writing: no checks pending.
  • These claims rest on CI and hand traces; I ran no tests locally.

Branch status

  • 2 commits ahead and 77 behind main (a8ab422). The merge base, 3386304, is from 2026-11-11.
  • git merge-tree --write-tree against main is clean.
  • Since the merge base, main has changed none of the seven touched files and no Maine tax files. The only dependency it touched is uprating_extensions.py, and only in docstrings. c_cpi_u.yaml is unchanged, so the uprated single base stays $155 on the merged tree.
  • The source-conflict ratchet and the other main-side guards predate the merge base, so CI already ran them.

Verdict: REQUEST_CHANGES

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes: 0 critical, 1 should address, 3 suggestions (details in the report above).

  • Values: every 2026 value matches 36 M.R.S. § 5213-A indexed under § 5403(5) with MRS's 2026 factors (1.279 and 1.303). Two amounts MRS publishes confirm those factors.
  • The should: the head-of-household 2026 threshold isn't pinned from above or below. It's the one number the factor choice moves (39,050 against 39,100), and the surviving-spouse 2026 entries aren't exercised. The report gives two cases that would pin them: $39,051 gives $205, and $60,000 with one dependent gives $95.

MaxGhenis and others added 3 commits November 21, 2026 13:55
Adds head-of-household and surviving-spouse cases that pin the $39,050 and $52,100 thresholds and the 1.279 credit factor, cites 36 M.R.S. section 5402(1) for the index release date, and corrects the MRS reference titles and 2024 page links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base-mode uprating from 2025 keeps the explicit 2026 thresholds from lowering 2027 and later by $50, and a surviving-spouse case at exactly $52,100 pins that threshold from below.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Should address 1

e1ebe10 adds four 2026 cases to me_sales_tax_fairness_credit.yaml, and 0efd0a04e8 adds a fifth:

  • head of household, no dependents, $39,051: $205;
  • surviving spouse, one dependent, $60,000: $95;
  • surviving spouse, two dependents, no income: $285;
  • surviving spouse, no dependents, $52,101: 220 − 20 = $200;
  • surviving spouse, one dependent, $52,100: $255, with no reduction at the threshold itself (0efd0a0).

With the $39,050 case, the $39,051 case pins the head of household threshold at $39,050, and moving it to $39,100 fails that case. The surviving spouse cases pin both additional amounts ($35 and $65), and the $52,100 and $52,101 cases pin the surviving spouse threshold at $52,100. With main's sales tax fairness parameter files, 18 of the 20 2026 cases fail, all five new ones among them. The PR body's invariants now name the thresholds the cases pin, and rulespec-us#1651 adds the five cases as STFC-18 to STFC-22.

For the index timing you checked, e1ebe10 also cites 36 M.R.S. § 5402(1) in amount/base.yaml and reduction/start.yaml. Section 5402(1) defines the index as the 12-month average of the values most recently published "as of the date the assessor determines the cost-of-living adjustment pursuant to section 5403", which settles reading 1 in favor of MRS's factor.

Suggestions

  1. In e1ebe10, the five MRS references in amount/base.yaml, reduction/start.yaml and amount/additional/*.yaml read "Maine Revenue Services, 2026 Individual Income Tax Rates", and the value comments keep the derivation. The body's law section now ties the June 2015 and June 2017 bases to § 5403(1)(A), (2) and (7). As of November 21, MRS's 2026 forms page still lists Schedule PTFC/STFC without a link, so the body still says to check the seven amounts against its table once MRS posts it.
  2. e1ebe10 points the 2024 references in reduction/amount.yaml and reduction/increment.yaml at 24_Form%201040ME_Sch%20PTFC_ff.pdf#page=4.
  3. MRS's 2027 rate schedule (November 5, 2026) bears out the drift: 175 × 1.318 = 230.65 rounds down to a $230 joint base, where both main and this branch project $225. 9cd24dbfe1 merges main, which brings policyengine-core 3.36.0, and 0efd0a04e8 gives reduction/start.yaml an uprating base of 2025, so the explicit 2026 thresholds don't pull later years down. The 2027 head of household and joint thresholds stay at main's $40,250 and $53,700, which MRS's 1.343 also gives. Maine's 2027 sales tax fairness credit amounts run $5 low and the single threshold $50 low #11208 tracks the 2027 amounts that still differ (the $230 base, the $295 top tier and the $26,850 single threshold), and this PR stays with 2026.

Tests at 0efd0a04e8, policyengine-core 3.36.0

  • me_sales_tax_fairness_credit.yaml: 34 passed.
  • me_fairness_credit_qualifying_children.yaml: 9 passed; me_sales_tax_fairness_credit_eligible.yaml: 6 passed.
  • me/tax/income/credits, me/tax/income/integration.yaml, me_refundable_credits.yaml and me_income_tax_before_refundable_credits.yaml: 250 passed.
  • test_source_conflicts.py: 251 passed.

@MaxGhenis
MaxGhenis requested a review from DTrim99 November 21, 2026 14:27
…te table

Main's base-mode uprating test requires every base-mode parameter to appear in its statute table and reads the base period as a year. The five thresholds now have an entry citing 36 M.R.S. 5213-A(4) and 5403(5)(C), with the 2025 amounts as the base, and start.yaml writes the period as 2025. The thresholds don't change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

CI on 0efd0a0 failed tests/core/test_base_mode_uprating.py, which arrived with the merge of main: that test requires every base-mode parameter in its statute table and reads the base period as a year. 937d8a0643 adds the five Maine thresholds to the table, citing 36 M.R.S. 5213-A(4) and 5403(5)(C) with the 2025 amounts as the base, and writes period: 2025 in reduction/start.yaml. No threshold changes: 2026 through 2035 match the values above. The test gives 289 passed, and me_sales_tax_fairness_credit.yaml still gives 34.

MaxGhenis and others added 2 commits November 21, 2026 15:59
The start.yaml comment and the base-mode statute table now say that 5403(5)(C) indexes by Maine's June-ending chained CPI, that the model projects from the 2025 amounts with gov.irs.uprating to keep main's projections, and that SEPARATE is a zero placeholder under 5213-A(6)(A).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Anchoring on the explicit 2026 values would raise the 2030 and 2032
single thresholds and lower later head of household, joint and surviving
spouse thresholds, so the comment no longer says it would pull them down.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Program review

Base repository: PolicyEngine/policyengine-us
PR number: 10807
Reviewed head SHA: 12d364f
Merge base SHA: a5f0f07
Mode: full, with a recheck of David's earlier review (head 010852e)
Scope: changed behavior and affected dependencies
Source manifest: /private/tmp/policyengine-command-runs/ea33c0bb2b64/pr-10807-review-sources.json
Review status: COMPLETE

Source Documents

Critical

None.

Should Address

None.

Suggestions

S1 — The base-mode anchor will not move when later MRS amounts are added (optional) (OPEN)

  • Severity: SUGGESTION
  • Where: policyengine_us/parameters/gov/states/me/tax/income/credits/fairness/sales_tax/reduction/start.yaml:6-14. The anchor is also pinned in policyengine_us/tests/core/test_base_mode_uprating.py:376-385.
  • Trigger: a maintainer later adds MRS's 2027 thresholds.
  • Expected: the newest published value anchors later projections, as chained mode does in the sibling amount/base.yaml.
  • Observed: base mode keeps projecting every year after the last stated value from the 2025 base, using 25_450 × index(Y) / index(2025). It does this no matter how many later values are added, because core's uprate_parameter_from_base reads base_value at base.period.
  • This is not a defect today. The comment says "later years project from the 2025 values". If someone changes base.period without updating the statute-table rows, test_uprating_metadata_matches_the_statute fails, so the two cannot drift apart silently.
  • Optional fix: add one line to the comment saying that adding later MRS amounts means deciding whether to move base.period, and the matching Statute(...) rows, to the newest year.

Evidence Gaps

No material gaps reported.

Notes

  • Earlier review: the should-address item is resolved.
  • The head of household 2026 threshold is now pinned from both sides: $39,050 gives 220 and $39,051 gives 205.
  • The surviving spouse 2026 entries are exercised: 1 dependent at $60,000 gives 95, 2 dependents give 285, and $52,100 / $52,101 give 255 / 200.
  • Suggestions 1 and 2 (reference titles; the 2024 links, now page 4) are done. Suggestion 3 (later-year projection drift) stays as on main: 2027-2036 output is identical to main, and the comments document the missing Maine index.
  • The 2026 values match Maine Revenue Services' 2026 inflation-adjusted amounts for the sales tax fairness credit (36 M.R.S. 5213-A, indexed under 36 M.R.S. 5403). The policy reviewer found no defects, and every new case checks by hand. #11185 changes the income side of the same credit and doesn't overlap these files.

Validation Summary

Local tests at the reviewed head pass (the changed tests plus the Maine fairness credit directory; review venv, imports from the snapshot). The PR merges cleanly into current main. Sources: MRS 2026 individual income tax rates and the 2024/2025 Schedule PTFC/STFC, checksums validated.

Timing

policy role seconds: 398.00s; code role seconds: 567.00s; parallel review seconds: 567.00s; elapsed seconds: 660.00s

Review Severity

APPROVE. Open findings: 0 critical, 0 should address, 1 suggestions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants