Repository navigation
Conversation
…ibution credit ORS 315.650(2) limits the credit to the lesser of the maximum or a share of the contribution set by adjusted gross income: 100% up to $30,000, 50% up to $70,000, 25% up to $100,000, 10% up to $250,000 and 5% above. The formula applied no percentage. - Add the percentage scale, dated from tax year 2020, and apply it to federal adjusted gross income. - For a separate filer, look up the percentage at the couple's combined income (ORS 315.650(8), Publication OR-17), using spouse_separate_adjusted_gross_income. The maximum stays at half the joint amount. - Add the 2023 ($340 joint, $170 others) and 2024 ($360, $180) maximums. - Point the variable's reference at ORS 315.650. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11690 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 24 16 -8
=========================================
- Hits 24 16 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #11689
What and why
or_529_creditreturned the smaller of a filer's 529 plan contributions and a maximum by filing status. This PR adds three parts of ORS 315.650 that the model left out. All three date from tax year 2020, when the credit began (Oregon Laws 2019, chapter 579, sections 2 and 5). The PR is separate from Oregon's 2026 update in draft PR #11669.Income percentage
-.infand the formula calls the scale withright=True. A filer with exactly $30,000 gets 100%. Publication OR-17's table starts the 50% band at $30,001 and agrees for whole-dollar returns.Separate filers
ORS 315.650(8): "Spouses in a marriage who file separate returns for a taxable year may each claim a share of the tax credit that would have been allowed on a joint return in proportion to the adjusted gross income of each." Publication OR-17 tells separate filers to use the percentage for their combined AGI.
The formula now adds
spouse_separate_adjusted_gross_incometo the filer's own AGI before the percentage lookup, asny_household_credit_potentialandmn_renters_credit_household_agido. That variable equals the filer's own AGI unless a caller supplies it.The maximum for a separate filer stays at the amount for returns other than joint returns, which is half the joint maximum. That equals the statutory share when the spouses have the same income and the same contributions.
Limitation: the model has no record of the other spouse's contributions, so it cannot compute the credit a joint return would have allowed, and the formula does not apply an income share other than one half. A code comment records this. When a caller supplies a different income for the other spouse, the result can sit above or below the statutory share. A separate filer in 2026 with AGI of $40,000, a spouse with $120,000 and a $3,000 contribution gets 10% x $3,000 = $300, limited to $190. The filer's income share is 25%, so the statute allows at most 25% x $380 = $95.
Maximum credit
The 2024 Publication OR-17 prints $300 / $150 for 2021 and 2022, the same as 2020, so those years need no entry. This PR enters $170 and $180 for a qualifying surviving spouse in 2023 and 2024, the amounts for returns other than joint returns, following the reading in #11669.
The variable's reference cited ORS 315.643, which is a different credit. It now points to ORS 315.650.
Overlap with #11669
Both PRs edit
max_credit.yamlandor_529_credit.yaml. A trial three-way merge with the head of #11669 gives one conflict in each file. Whichever PR merges second resolves them as follows.max_credit.yaml,SURVIVING_SPOUSEblock (the reference list and the other four blocks merge cleanly):or_529_credit.yaml: both PRs append cases after the "Zero contributions" case. Keep both blocks. The case from #11669 (a 2026 qualifying surviving spouse with no income and a $500 contribution, credit $190) holds under the new formula, because a filer with no income is in the 100% band.Until #11669 merges, two things in this branch stay as they are on main:
max_credit.yamlstill cites ORS 315.643. Add Oregon 2026 nonitemizer charitable subtraction, head of household standard deduction and surviving spouse 529 cap #11669 replaces that reference.Not in this PR
or_529_creditreads onlyinvestment_in_529_plan, although the model hasable_contributions, the tax unit's sum of theable_contributions_personinput.Test plan
ruff formatandruff checkpass on the changed Python file.changelog.d/The
axiom:parity line is not filled in yet. It needs to be added before this PR is marked ready for review.🤖 Generated with Claude Code