Repository navigation
Conversation
Use the effective years in Pub. L. 119-21, section 70203(a), 139 Stat. 176, for the federal deduction amount. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Return zero before reading the cap in inactive years. Document the federal list changes required to extend the deduction by reform. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 for Max Ghenis; no person has reviewed it yet.
What and why
Return zero for the federal qualified passenger vehicle loan interest deduction outside tax years 2025 through 2028. The dated availability switch is in
policyengine_us/parameters/gov/irs/deductions/auto_loan_interest/in_effect.yaml:7. The formula checks it atpolicyengine_us/variables/gov/irs/income/taxable_income/deductions/auto_loan_interest/auto_loan_interest_deduction.py:20and returns the amount after the cap and phaseout at line 44. Public Law 119-21 § 70203(a), 139 Stat. 176, PDF p. 106The federal enhanced senior deduction ends after 2028. The 2029 CRFB fixture calculates a standalone $12,000 senior amount and a $35,000 federal itemizing total from $30,000 of itemized deductions and $5,000 of qualified business income deduction (
policyengine_us/tests/policy/contrib/crfb/senior_deduction_extension.yaml:118). In a separate 2029 Arizona household, the model returns $6,000 inaz_subtractionsbecause the state list readsadditional_senior_deductiondirectly (policyengine_us/parameters/gov/states/az/tax/income/subtractions/subtractions.yaml:47). This is a pre-existing model discrepancy. The statutory Arizona amount for that household is $0 because Arizona uses the amount deducted under federal law. Public Law 119-21 § 70103, PDF p. 89 · A.R.S. § 43-1022(35)#10806 handles D.C.’s use of federal deductions in
dc_additional_deductions.py:27–43. The two changes touch separate files.Test plan
auto_loan_interest_deduction.yaml:182)auto_loan_interest_deduction.yaml:192)id_qualified_business_income_and_federal_schedule_1a_deductions.yaml:10)The Idaho case asserts the statutory $0 federal amount and the $0 Idaho total. The historical fixture enables the deduction in the years used to exercise the cap reform (
test_reform_backdating.py:299). A separate household simulation passes aReform.from_dictobject that removes the cap in 2029 and verifies a $0 deduction through that Python entry point (test_reform_backdating.py:345). In isolated local Linux runs, the file went from 20 passing cases in 114.88 s with 3.03 GiB peak RSS at the merge base to 21 passing cases in 128.79 s with 2.58 GiB peak RSS on the branch. CI runs the file in the Rest Python policy-parameters group (Makefile:367). The YAML file also covers Arizona’s first-year subtraction, separate phaseouts in a shared household, negative MAGI, sections 911 and 931 addbacks, and one zero per tax unit after expiration (auto_loan_interest_deduction.yaml:333).make formatand the source-conflict tests passed.changelog.d/.axiom: us:statutes/26/163/h/4/A encoded-correct
The companion case
exclusion_does_not_apply_after_temporary_windowexpectsnot_holdsfor tax year 2029.🤖 Generated with Claude Code