Skip to content

Add Idaho senior deduction conformity#7964

Draft
PavelMakarchuk wants to merge 3 commits intomainfrom
fix/id-hb559-senior-deduction
Draft

Add Idaho senior deduction conformity#7964
PavelMakarchuk wants to merge 3 commits intomainfrom
fix/id-hb559-senior-deduction

Conversation

@PavelMakarchuk
Copy link
Copy Markdown
Collaborator

Summary

Add Idaho conformity to the federal enhanced senior deduction under HB 559.

What this does

  • adds an Idaho subtraction variable that mirrors the federal additional senior deduction
  • wires that subtraction into Idaho AGI subtractions starting in 2025
  • adds direct and integration regression coverage for the Idaho senior deduction path

Notes

The issue body example had an inconsistent expected Idaho taxable income value. With 200,000 dollars of AGI, 60,000 dollars of itemized deductions, and a 9,000 dollar senior deduction, the coherent Idaho taxable income is 131,000, and that is what the new integration test asserts.

Testing

  • python policyengine_us/tests/test_batched.py policyengine_us/tests/policy/baseline/gov/states/id/tax/income/subtractions/id_additional_senior_deduction.yaml --batches 1
  • python policyengine_us/tests/test_batched.py policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml --batches 1
  • python policyengine_us/tests/test_batched.py policyengine_us/tests/policy/baseline/gov/states/id/tax/income --batches 1

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #7964   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         4    +3     
  Lines           17        49   +32     
=========================================
+ Hits            17        49   +32     
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 Sentry.
📢 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.

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