Skip to content

Use federal exemptions for Maine's 2015–2017 deduction - #10962

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/history-me-personal-exemption
Nov 16, 2026
Merged

MaxGhenis merged 1 commit into
mainfrom
codex/history-me-personal-exemption

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Maine's 2015–2017 personal-exemption deduction follows the lawful federal deduction under Internal Revenue Code (IRC) section 151, including dependent allowances and the whole-step federal adjusted gross income (AGI) phaseout. This change adds that historical route and preserves the separate Maine formula from 2018.

For a 2017 head-of-household filer with one qualifying child, a known lawful federal allowance count of two and federal/Maine AGI of $50,000, the deduction equals $8,100 = 2 × $4,050. The stated 2018 control gives the independent filer one Maine allowance of $4,150. P.L. 2017, c. 474, Part B, sections 6–7 supplies the transition. Rev. Proc. 2016-55, §3.24, PDF page 18 supplies the 2017 amount; the 2017 exemption worksheet, PDF page 41 supplies the upward step rounding.

The saved local run passed all 16 Maine YAML cases under Python 3.14.7, Core 3.36.0 and installed US 2.135.0: ten retained cases plus six new cases with 45 tax-unit rows. These component cases supply lawful counts and required taxpayer identification number (TIN) premises. They distinguish federal AGI from Maine AGI and cover the first dollar above a phaseout boundary, whole-step boundaries, zero count and the below-phaseout 2018 control. They do not derive federal dependency/TIN rules or married-filing-separately spouse exceptions, qualify model years 2013–2014, or establish a complete historical Maine return or population result.

GitHub records federal parent #10854 merged on November 15, 2026 at 15:21:33 UTC as b25d78faa3ad880a75347ecd8cfeb0dec6522313. This PR now targets main. The federal exemption formula matches byte for byte at the original parent, this head, that merge and the observed main revision; it rounds each partial phaseout step upward. This source check does not extend the old local run to current-main CI.

The accepted first hard review at 89995685e323002c48418b0cef4172d9e6f54e77 returned COMPLETE/APPROVE with no P0–P2 findings and two optional P3 suggestions. One non-author reviewer performed both policy and code roles, with the profile/skill-loading limits recorded in the review. P3 follow-up #11005.

At 2026-11-15 21:19:52 UTC, GitHub returned no check contexts for the then-draft PR. That snapshot does not establish a passing full CI run.

The focused legacy §5126 source request #2279 coordinates existing RuleSpec issues #1651 and #1686 while preserving their source/indexing and modern claimability scopes. Historical source admission and signed encoding remain pending.

axiom: TheAxiomFoundation/rulespec-us#2279 queued

@MaxGhenis

Copy link
Copy Markdown
Contributor Author

The accepted hard-review job 20261114-224435-history-me-personal-exemption-final, attempt a1, succeeded at head 89995685e323002c48418b0cef4172d9e6f54e77 with attested claude-opus-5-5. Its report returned COMPLETE/APPROVE, no P0–P2 findings and two optional P3 suggestions. One non-author coordinator performed both review roles; the report records the profile and skill-loading limits. The provenance-citation and digit-separator suggestions remain in one follow-up issue. P3 follow-up #11005.

The saved native Maine-file run exited zero with 16 cases, comprising ten retained cases and six new cases with 45 tax-unit rows. Its raw log has SHA-256 fefefb830e1cce20988fad42bf00aad96af642bcefed75909608a0a79dd5cfb3. The hard reviewer separately records 40 passing cases across this file and two related files. The 16-case native receipt and the reviewer's broader record carry distinct scopes. This copy update runs no tests or model calculations.

The change adds formula_2015 importing federal exemptions; formula_2018 matches the parent's existing body. Lawful allowance counts, taxpayer identification numbers and married-filing-separately spouse-exception limits remain explicit. The source's 2013 start does not certify model years 2013–2014. The 2018 control uses an independent head-of-household filer and child below phaseout, and does not validate the complete modern regime. Unrelated historical threshold and deduction hypotheses remain outside this PR.

GitHub records #10854 merged at 15:21:33 UTC on November 15, 2026 as b25d78faa3ad880a75347ecd8cfeb0dec6522313; the original parent remains 52b336886ae1f1a83453a26e79a531c9aa259b36. The four captured federal exemption blobs—from parent, child, merge and observed main—match SHA-256 c9c4e74c01fb449ffe3a647d7022b37409e0bc10fb081cdf3552f529bb81af66 and contain the whole-step calculation. The current base reads main; the evidence does not establish why its name changed.

The focused legacy §5126 source request #2279 preserves #1651's general corpus/indexing repair and #1686's modern claimant scope. The selected Maine recovery object has menu-only §5126-A text and no legacy §5126. Current module presence does not establish historical source admission or executable 2015–2017 federal dependencies. The source issue carries pe-parity. Existing modern-module and 2026 resident source holds remain.

At 2026-11-15 21:19:52 UTC, GitHub returned no check contexts for the then-draft PR. That snapshot does not establish a passing full CI run.

@MaxGhenis
MaxGhenis marked this pull request as ready for review November 15, 2026 22:37
@codecov

codecov Bot commented Nov 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (300af53) to head (8999568).
⚠️ Report is 166 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #10962   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           18        24    +6     
=========================================
+ Hits            18        24    +6     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MaxGhenis
MaxGhenis merged commit fe4c9d5 into main Nov 16, 2026
40 checks passed
@MaxGhenis
MaxGhenis deleted the codex/history-me-personal-exemption branch November 16, 2026 00:09
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.

1 participant