Repository navigation
Conversation
Apply the federal charitable deduction to the Oregon standard deduction when the filer takes the federal standard deduction. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11313 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 24 13 -11
=========================================
- Hits 24 13 -11
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:
|
Count the federal non-itemizer charitable deduction for the filer and a joint spouse only, apply the 60% contribution-base ceiling from 2026, give linked separate Oregon returns one election, add the deduction only with a positive Oregon standard deduction, and floor a negative override at zero. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apply the 2021 cash ceiling and use Hawaii adjusted gross income for Hawaii's deduction. Count minor filers' own gifts and apply Oregon's 2021 deduction comparison and statutory years. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
policyengine_us/variables/gov/states/hi/tax/income/deductions/hi_deductions.py uses the effective Hawaii election and applies the Hawaii AGI charity limit. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
4 of 5 tasks
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.
Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.
What and why
Oregon uses the federal section 170(p) amount for eligible federal non-itemizers who take Oregon’s standard deduction in 2021 and from 2026. In 2021, Oregon compares the standard and itemized deduction lines before applying code 363. Linked spouses filing separately in 2021 both itemize if either spouse’s itemized amount meets or exceeds their standard deduction, or if either spouse cannot take the standard deduction. From 2026, Oregon compares itemized deductions with the standard deduction plus eligible charity. When both linked spouses can take the standard deduction, their common election uses the combined deductions. Oregon itemizers claim their eligible gifts through Schedule OR-A. 2021 Publication OR-17, pages 17, 70 and 95
Oregon reads
tax_unit_itemizes. The joint election in #11157 sets that input in each branch. Oregon uses the federal charity calculation for gift eligibility. Its inputs cannot distinguish gifts to supporting organizations and donor-advised funds, which taxpayers exclude under section 170(p).A caller can set
tax_unit_itemizesorcharitable_deduction_for_non_itemizersdirectly. In 2021 and from 2026, Oregon treats a negative charity override as zero and adds a positive override when a federal non-itemizer takes Oregon’s standard deduction. A reform ofgov.irs.deductions.itemized.charity.non_itemizers_amountreaches Oregon. Multnomah County’s Preschool for All tax reads Oregon taxable income, so the change reaches residents above the county tax’s thresholds.Test plan
The H5 and H6 federal itemized totals include the gift and model-estimated Oregon withholding. They total $4,412.375 and $9,287.375, below the respective federal standard deductions plus charity of $12,850 and $25,700. 2021 Form 1040 · 2021 Publication OR-17, page 142
H3 and H4 check model integration with the existing withholding-based Oregon amounts. They use the existing federal standard deductions of $16,100 and $32,200. The 12% brackets run to $50,400 and $100,800, followed by 22%. The checks use the existing Oregon standard deductions, rates and brackets, $8,750 federal-tax subtraction cap, and $263 exemption credit. Final annual-return amounts remain open. IRS Rev. Proc. 2025-32 · Oregon 2026 withholding formulas, page 6
Follow-up
Confirm Oregon’s 2026 standard deductions and exemption credit
Compare the $2,910 and $5,820 deductions and $263 withholding allowance with the $2,900 and $5,800 deductions and $260 credit in OR-ESTIMATE. Withholding formulas, page 6 · OR-ESTIMATE, page 3
Use the final Form OR-40 instructions to confirm the amounts for annual returns.
axiom: needed
🤖 Generated with Claude Code