Repository navigation
Deny the DC standard deduction to a separate filer whose spouse itemizes - #10643
Conversation
D.C. Code 47-1803.03(c) allows the standard deduction to neither spouse filing separately when one itemizes. dc_standard_deduction added the additional amount for age or blindness even when the federal basic amount was zeroed, and from 2025 DC's own basic amount ignored the rule entirely. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LwQq6JoAx1PqHmDjxg51eh
|
Ready for hub review Head: Item: standard deduction for a separate filer whose spouse itemizes
Tests (one file per process)
Hand computations
Mutants (each in its own process, file restored after)
CINot run: the PR is a draft. Judgment calls
Generated by Claude Code |
|
Hub review in progress Reviewing head
Still to do: the remaining test files, mutants, the filing-status gating question, readers, and scope. Generated by Claude Code |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10643 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 15 18 +3
=========================================
+ Hits 15 18 +3
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:
|
|
Ready for hub review The head is unchanged since FindingsP3-1. The guard does not check filing status, and no test pins that choice
P3-2. The DC deduction is 0 instead of DC itemized deductions when federal itemization is understated (federal defect, follow-up)
P3-3. Hand-off and body lines to correct or treat as unverified
Checked and sound
What I couldn't check
Generated by Claude Code |
|
US + core hub merge audit, us#10643 at
|
A married person filing a separate return whose spouse itemizes now gets a DC standard deduction of 0, covering both the basic and the additional amount.
Law
D.C. Code § 47-1803.03(c): "If spouses or domestic partners file separate returns, the applicable standard deduction shall be allowed to neither if the net income of one of the spouses or domestic partners is determined by itemizing deductions." That is DC's counterpart to IRC 63(c)(6)(A). I read it in the DC Council codification, publication 2026-10-28.
Defect on main
dc_standard_deductionaddsbasic_standard_deductionandadditional_standard_deduction. Before 2025, the federal basic amount is already 0 whenseparate_filer_itemizesis true, but the additional amount for age or blindness was still added. From 2025,formula_2025uses DC's own basic amount, which ignoredseparate_filer_itemizesentirely, so it gave $15,000 + additional.Change
dc_standard_deduction.py: both formulas return 0 whenseparate_filer_itemizesis true. I added the 47-1803.03(c) reference.Tests (
dc_standard_deduction.yaml)impact: none at baseline (
separate_filer_itemizeshas no formula and the population file doesn't store it, so it stays false)axiom: TheAxiomFoundation/rulespec-us#2014 queued
🤖 Generated with Claude Code