Skip to content

Limit 2026 charitable gifts to 50% of the base in Wisconsin's itemized deduction credit - #11357

Merged
MaxGhenis merged 5 commits into
mainfrom
pre-obbba-charitable-ceilings
Nov 30, 2026
Merged

MaxGhenis merged 5 commits into
mainfrom
pre-obbba-charitable-ceilings

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Part of #11344 (Wisconsin)

What and why

From 2026, the Wisconsin itemized deduction credit limits cash gifts to 50% of the contribution base and drops the federal 10% add-back in the 30% limit. Wisconsin follows the Internal Revenue Code as of December 31, 2022, where the 60% ceiling covers taxable years beginning before 2026 and the add-back doesn't exist. #11286 removed the federal 0.5% floor from the credit and left these ceilings as a follow-up.

  • gov.states.wi.tax.income.credits.itemized_deduction.charity.ceiling holds Wisconsin's two values.
  • wi_itemized_deduction_credit_contribution_base is federal AGI as computed for Wisconsin (Form 1, line 3), which the limits use. Three variables hold the differences:
    • ..._income_adjustment: employer dependent care benefits excluded federally above Wisconsin's $5,000 ($2,500 separate) exclusion, less business losses that section 461(l) disallows. Wisconsin has adopted neither the higher exclusion nor the loss limit.
    • ..._social_security_adjustment: what that changes in taxable Social Security. It starts from modified AGI before the floor at zero, so that calculation moves from taxable_ss_magi's formula to a function both use; federal results don't change.
    • ..._student_loan_interest_adjustment: what both change in the student loan interest deduction.
    • Not covered: their effect on the IRA deduction phase-out and other income-based amounts, and the Schedule I differences the model has no inputs for (depreciation, business interest, research expenses, moving expenses, student loan discharges). wi_agi has none of the Schedule I differences; this PR doesn't change it. Give Wisconsin's itemized deduction credit its own frozen charitable limits and finish its Schedule I base #11359 tracks these.
  • charitable_deduction_before_floor_given_contribution_base takes the two ceilings as optional arguments. Callers that omit them get the federal values, so federal, Minnesota, Hawaii, Massachusetts and Arkansas results don't change.

Law: Tax Bulletin 234, item 8: "The deduction for qualified gifts by individuals generally cannot exceed 50% of the contribution base." The base: Form 1 instructions and Schedule I instructions (Part I, and difference 6 on page 6). Tax Bulletin 193 has the student loan interest example.

Single filer aged 40, $200,000 of wages in 2026, one cash gift, no other itemized deductions:

Gift Potential credit, main Potential credit, this PR
$90,000 $4,500 $4,500
$100,000 $5,000 $5,000
$101,000 $5,050 $5,000
$120,000 $6,000 $5,000

A head of household with $200,000 of federal AGI and $7,500 of excluded benefits has a $202,500 base, so a $101,000 gift counts in full ($5,050). A single filer with $456,000 of wages and a $296,000 business loss has $200,000 of federal AGI and a $160,000 base, so a $100,000 gift counts up to $80,000 ($4,000).

Massachusetts and Arkansas stay in #11344. Neither state has confirmed 50%, and Arkansas's limit would use Arkansas AGI. Wisconsin's section 68 reduction is #11281.

Test plan

  • YAML tests with hand-computed values: 90,000, 100,000, 101,000 and 120,000 gifts at $200,000; a 2025 control at 60%; no add-back; mixed cash, property and capital gain property gifts to both classes of organization; and the contribution base with benefits above and within Wisconsin's exclusion, an excess business loss, taxable Social Security moved up and down, student loan interest on single and joint returns, a floored Social Security income, both kinds of separate return, and negative AGI. They passed in memory on this branch's model source over an installed 2.154.3. CI is the first full run.
  • Random check, in memory on the same source: for 7,900 random Wisconsin households (4,035 with a direct difference), the contribution base is compared with the greater of zero and the federal AGI of the same household with the dependent care cap set to Wisconsin's and the section 461(l) threshold set to 1e12. No absolute differences exceeded $1, and none was nonfinite. With round 3's Social Security file put back, it finds the error round 3 reported.
  • Input check: for 4,000 random households with taxable_ss_magi given as an input (-$20,000 to $120,000, with cents) and no direct difference, the Social Security and student loan changes are exactly zero. The previous file leaves a rounding residue (-$0.0005 in the new YAML case) and, for negative inputs, changes of up to $2,416.
  • Source conflict: not applicable.
  • make format: ruff format and ruff check pass on the changed Python files; CI lints the rest.
  • Changelog fragment in changelog.d/

Review

Round 1 (Sol, via Subfleet, at 6e1d28f) asked for changes: the wrong base in Wisconsin and Arkansas (P1s), a mixed-gift test and the Axiom line (P2s). 8966a14 narrowed to Wisconsin, added its base and the test; TheAxiomFoundation/rulespec-us#2739 is the Axiom issue.

Round 2 (Sol, via Subfleet, at 8966a14) found that the base kept the federal excess business loss limit and did not carry the dependent care difference into taxable Social Security and the student loan interest deduction (P1s). bb59125 answers both, adds the missing test cases (P2) and corrects a page comment (P3). The other two P2s, frozen parameters for the remaining federal limits and the Axiom issue's source work, are #11359.

Round 3 (scoped, Sol, via Subfleet, at bb59125) closed the business loss P1 and found the Social Security change still wrong when federal modified AGI is below zero, because taxable_ss_magi floors it. f1e37cf adds the Wisconsin difference before the floor, adds that case, and is checked by the random comparison above.

Round 4 (scoped, Sol, via Subfleet, at f1e37cf) closed that P1 and raised a new one: when nothing differs and taxable_ss_magi is an input, the Social Security change could be -$0.0005 instead of zero. 75b3e48 returns zero for each tax unit with no direct difference and adds the case. Max Ghenis allowed one extra round on 2026-11-30.

Round 5 (scoped, Sol, via Subfleet, at 75b3e48) closed that P1 and raised one P3 (a test comment), filed on #11359.

axiom: TheAxiomFoundation/rulespec-us#2739 queued

🤖 Generated with Claude Code

The three states follow an Internal Revenue Code that predates P.L.
119-21, where the 60% ceiling on cash gifts ends after 2025 and the
30% limit has no 10% add-back.

Fixes #11344

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review found that Wisconsin's limits use federal AGI as computed for
Wisconsin, which adds back dependent care benefits above its $5,000
exclusion, and that Arkansas's limit would use Arkansas AGI. This PR
now changes Wisconsin alone. Massachusetts and Arkansas stay in #11344.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Limit 2026 charitable deductions to 50% of AGI in WI, MA and AR Limit 2026 charitable gifts to 50% of the base in Wisconsin's itemized deduction credit Nov 30, 2026
MaxGhenis added a commit to PolicyEngine/givecalc that referenced this pull request Nov 30, 2026
PolicyEngine/policyengine-us#11357 now covers Wisconsin only, so the
Arkansas and Massachusetts entries go back to their reviewed wording at
1129995. Colorado's add-back is dated to 2025 and 2026, Vermont and
Connecticut say less than they did, and the tests cover the site's
getter, its state picker and missing API keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Round 2 found that the base kept the federal excess business loss limit,
which Wisconsin has not adopted, and that the dependent care difference
did not reach taxable Social Security or the student loan interest
deduction. The base now has both. Adds separate-return, negative-income
and joint cases, and corrects a page comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 2 commits November 30, 2026 09:03
taxable_ss_magi floors modified AGI at zero. Wisconsin's contribution base
added its dependent care difference to the floored amount, which overstated
taxable Social Security when the federal amount was below zero. The
unfloored amount is now a shared function, and the Wisconsin adjustment is
added to it before the floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The difference of two benefit calculations could leave a rounding residue
(-$0.0005) when the direct Wisconsin difference is zero and taxable_ss_magi
is given as an input.

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

MaxGhenis commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

Handed to the US + core hub under the round rule (no fifth round). Do not merge: one P1 is open. The PR stays a draft on purpose.

@MaxGhenis
MaxGhenis marked this pull request as ready for review November 30, 2026 15:16
@MaxGhenis
MaxGhenis merged commit b688d8a into main Nov 30, 2026
36 checks passed
@MaxGhenis
MaxGhenis deleted the pre-obbba-charitable-ceilings branch November 30, 2026 15:17
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Merge audit (squash b688d8a, head 75b3e48).

MaxGhenis added a commit to PolicyEngine/givecalc that referenced this pull request Nov 30, 2026
2.156.4 is the first release with PolicyEngine/policyengine-us#11357, which
limits Wisconsin's 2026 credit to cash gifts of 50% of the contribution
base. Adds the Wisconsin ceiling cases to the state floor test, and the
Arkansas, Massachusetts and Wisconsin program notes from #105, which this
version makes true.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis added a commit to PolicyEngine/givecalc that referenced this pull request Nov 30, 2026
Moves the API from policyengine-us 2.154.3 to 2.156.4. That release stops
applying the federal 0.5% charitable floor to the Massachusetts deduction,
the Wisconsin itemized deduction credit and Arkansas itemized deductions,
and applies Wisconsin's own 2026 ceiling of 50% of the contribution base
(PolicyEngine/policyengine-us#11357). Adds the Arkansas, Massachusetts and
Wisconsin program notes from #105 and tests that pin the three states'
2026 savings and the Wisconsin ceiling.

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

Copy link
Copy Markdown
Contributor Author

No revert of this PR for the P1 on the Wisconsin Social Security adjustment that review 18814 raised, a review of #10224 that returned 2026-12-01 at 03:48Z. Here is why, from the owner's check on 2026-12-02.

The fix is #11370. It removes two floors at zero: the one in taxable_ss_magi, which predates this PR, and the one this PR copied into the Wisconsin adjustment. #11370 merges once its own review is done. A revert wouldn't fix the finding, because the federal floor stays and the credit's contribution base goes back to federal AGI under the federal 60% ceiling.

Model runs for 2026 at 59d6806 (before this PR), b688d8a (this PR) and 50af7fb (main):

Household Before this PR This PR and main Law
Reviewer's joint return, federal AGI supplied at $4,625: charitable amount $2,775 $3,562.50 $4,625
Same return: Wisconsin credit $0 $0 $0
Single, $200,000 wages, $110,000 cash gift: credit $5,500 $5,000 $5,000
Single, $200,000 wages, $120,000 cash gift: credit $6,000 $5,000 $5,000

On the reviewer's return the credit is $0 and Wisconsin tax is the same at all three commits, because Wisconsin's standard deduction ($25,840) exceeds every charitable amount. The error stays in the contribution base and charitable amount.

A revert would also stop #11370 from applying: 3 of its 5 files build on this PR's code. It would also break GiveCalc's Wisconsin ceiling test on its next model bump.

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