Fix West Virginia low-income exclusion double count - #9166
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9166 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 1 -2
Lines 49 14 -35
=========================================
- Hits 49 14 -35
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:
|
|
@MaxGhenis This is ready for maintainer review: exact reviewed head |
Program Review — PR #9166 (Fix West Virginia low-income exclusion double count)Author: PavelMakarchuk · Bug fix Source Documents
Branch Status⚠ 6 commits behind main (1 ahead). Minor; review scoped to the merge-base diff. SummaryCorrect fix for a real, confirmed double-count bug. 0 critical, 0 blocking. The WV low-income earned-income exclusion was being subtracted twice on The bug was real (confirmed against IT-140 + §11-21-11)IT-140's front-of-form order of operations is decisive:
The exclusion appears only on Line 5 — it is not among the Schedule M decreasing modifications (lines 29–52). On
Net effect: over-stated subtractions, under-stated taxable income, under-stated tax for eligible low-income earners — contradicting §11-21-11 and IT-140. The fix is correct
Worked example (new regression test, 2026 SINGLE, fed AGI 10,000, earned 7,000): exclusion = 7,000; Blast radius — cleanThe Schedule M Critical / Should AddressNone. Suggestions (optional)
Validation Summary
Review Severity: APPROVEA correct, well-scoped bug fix backed by the IT-140 form and §11-21-11: the exclusion was genuinely double-applied and is now applied exactly once, with a rigorous end-to-end regression test and a clean blast radius. No blocking or should-address items. Rebase off the 6-commit lag before merge. Review generated with Claude Code via /review-program |
Summary
Statutory and form basis
West Virginia IT-140 lines 1-7 compute West Virginia adjusted gross income from federal AGI plus Schedule M additions minus Schedule M subtractions, then subtract the low-income earned-income exclusion and personal exemptions to reach taxable income. This matches West Virginia Code sections 11-21-10 through 11-21-12 and prevents the exclusion from being applied twice.
Checks
No partner contract files are changed.