Skip to content

Apply DC's 2026 deductions for tips, overtime, car loan interest and seniors - #10806

Open
MaxGhenis wants to merge 7 commits into
mainfrom
fix-dc-2026-additional-deductions
Open

MaxGhenis wants to merge 7 commits into
mainfrom
fix-dc-2026-additional-deductions

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

What was wrong

From tax year 2026, the District of Columbia allows the federal deductions for qualified tips, qualified overtime, personal car loan interest and the enhanced senior deduction, for as long as federal law allows them (through 2028). PolicyEngine-US applied none of them in DC. It also raised DC's 2026 basic standard deduction by national inflation ($30,650 joint), although the statute's cost-of-living adjustment is zero in 2026, and it kept DC's own standard deduction past 2029, when DC returns to the federal one.

Example: a married couple aged 67 and 65 with $45,000 of military retired pay and $30,000 of Social Security in 2026 has DC AGI of $45,000 (DC subtracts the $19,600 of taxable Social Security). Main deducts $33,950 and charges $463. With a $33,300 standard deduction and two $6,000 senior deductions, the deductions exceed $45,000 and the tax is $0.

The law

The Fiscal Year 2027 Budget Support Act of 2026 (D.C. Law 26-189, effective October 2, 2026; emergency version D.C. Act 26-416), Title VII, Subtitle I, "Tax Code Conformity and Clarification". Sec. 7113 applies the subtitle as of January 1, 2025.

New D.C. Code 47-1803.04 (sec. 7112(e)):

(e) Additional deductions allowed. The following additional deductions are allowed as deductions from gross income in computing net income of any individual, estate, or trust, as the case may be: [...] (3) Qualified tips. Any deduction allowed for qualified tips under § 224 of the Internal Revenue Code of 1986 for taxable years beginning after December 31, 2025; (4) Qualified overtime compensation. A deduction allowed for qualified overtime compensation under § 225 [...]; (5) Personal car loan interest. Any deduction for personal car loan interest allowed under § 163(h)(4) [...]; and (6) Senior deduction. Any deduction for an enhanced senior deduction allowed under § 151(d)(5)(C) of the Internal Revenue Code of 1986 for taxable years beginning after December 31, 2025.

Subsection (d)(6) to (9) denies the same four "for taxable years beginning before January 1, 2026".

Each (e) deduction is the deduction "allowed under" a federal section, and federal law allows none of the four after 2028. 26 U.S.C. 151(d)(5)(C)(i) allows the senior deduction "In the case of a taxable year beginning before January 1, 2029"; 163(h)(4)(A) excludes qualified passenger vehicle loan interest from personal interest "In the case of taxable years beginning after December 31, 2024, and before January 1, 2029"; and 224(h) and 225(g) allow no tips or overtime deduction for taxable years beginning after December 31, 2028. The fiscal impact statement agrees: "OBBBA schedules these deductions to expire at the end of tax year 2028."

Subsection (c)(2)(A) reduces "the amount of the itemized deductions otherwise allowable for the taxable year" by 5% of the excess of DC AGI over $200,000 ($100,000 for married filing separately). (c)(2)(B)(ii) leaves only the medical, investment interest, and casualty, theft and wagering loss deductions out of that reduction.

New D.C. Code 47-1801.04(3A) (sec. 7112(b)) sets the basic standard deduction at $15,000, $22,500 and $30,000 for 2025 and, for 2026 to 2029, those amounts "increased annually pursuant to the cost-of-living adjustment", rounded down to $50. (3A)(B) gives that adjustment a base year of "the calendar year beginning January 1, 2025, or the calendar year beginning one calendar year before the calendar year in which the new dollar amount of the basic standard deduction shall become effective, whichever is later". 47-1801.04(11)(A) multiplies the amount by "the difference between the Consumer Price Index for the preceding calendar year and the Consumer Price Index for the base year, divided by the Consumer Price Index for the base year". For 2026, the preceding calendar year and the base year are both 2025, so the adjustment is zero and the 2025 amounts apply. Amended 47-1801.04(44)(C)(v) makes the standard deduction the basic amount plus the IRC 63(c)(3) additional amount for 2025 to 2029, and (vi) returns to "the standard deduction as prescribed in section 63(c)" for taxable years beginning after December 31, 2029.

The CFO's fiscal impact statement (PDF pp. 105-106): "Beginning in tax year 2026, the subtitle couples with certain deductions that were allowed at the federal level under OBBBA by allowing District taxpayers to take deductions for qualified tips, overtime earnings, personal car loan interest, and an enhanced senior deduction of $6,000."

The reading taken

New 47-1803.04(a)(1) allows "either the standard deduction or itemized deductions (including the additional deductions set forth in subsection (e) of this section, if applicable)", and (b) says a filer who takes the standard deduction gets "no itemized deductions and other additions to the standard deduction [...], except as otherwise provided in this chapter". Read alone, the parenthetical in (a)(1) could limit the (e) deductions to itemizers. This PR applies them to every filer:

  • Subsection (e)'s operative words allow them "in computing net income of any individual", and (e) is the "otherwise provided in this chapter" that (b) excepts.
  • One meaning per section: OTR's 2025 D-40 booklet, which quotes the new 47-1803.04(b) on PDF p. 13, gives the (e)(1) teacher deductions and the (e)(2) qualified opportunity fund deduction to every filer as Schedule I subtractions (Calculation B, lines 8, 9 and 15).
  • The fiscal impact statement describes the four as deductions for "District taxpayers" and names no itemizer limit. Its revenue table (PDF p. 106) books revenue for the standard deduction, charitable contribution, research, interest and depreciation provisions, against February estimates that "did not assume any decoupling from OBBBA provisions", and books none for the four deductions. Limiting them to itemizers would have decoupled most filers from them and raised revenue.
  • Each federal deduction is available without itemizing.

Itemizers take the (e) deductions inside itemized deductions, so (c)(2)'s 5% reduction applies to them. Standard-deduction filers deduct them in full alongside the standard deduction. The text settles where itemizers take them, though not who gets them: (a)(1) puts the (e) deductions inside itemized deductions, (c)(2)(A) reduces "the amount of the itemized deductions otherwise allowable", and (c)(2)(B)(ii) exempts only three deductions, none of them in (e). So, for the four, the statute governs over the Schedule I placement OTR gives (e)(1) and (e)(2), outside the reduction: statute first, and the agency breaks only true ties (CONTRIBUTING.md#source-conflicts). Limits gives the effect if OTR's 2026 forms extend that placement to the four.

Under the itemizer-only reading, the couple above would owe $502. OTR has not published 2026 forms. source_conflicts/candidates.yaml records the reading, with the itemizer order, as us-dc:additional-deductions-standard-deduction-filers (CONTRIBUTING.md#source-conflicts, step 1), and source_conflicts/sources/us-dc/ captures the act, D-40 and fiscal impact statement passages it cites.

The change

  • parameters/gov/states/dc/tax/income/deductions/additional/sources.yaml (new): an empty list until 2025, then tip_income_deduction, overtime_income_deduction, auto_loan_interest_deduction and additional_senior_deduction from 2026. From 2029 the list keeps only the tips and overtime deductions, as the federal deductions_if_itemizing and deductions_if_not_itemizing lists do. The federal additional_senior_deduction and auto_loan_interest_deduction variables carry no date gate (federal taxable income drops them only through those lists), so without the 2029 entry DC kept allowing them after federal law ends them. The tips and overtime deductions stay listed because their own in_effect parameters zero them from 2029, so a reform that extends them also reaches DC.
  • dc_additional_deductions (new): the sum of that list, in the amounts the federal return allows.
  • dc_itemized_deductions adds dc_additional_deductions to the nonexempt pool before DC's 5% reduction (47-1803.04(a)(1) and (c)(2)). dc_deduction_joint takes that reduced itemized deduction for itemizers and adds dc_additional_deductions to the standard deduction for everyone else. dc_deduction_indiv then splits the total between spouses who file separately on one return, as it already splits the standard and itemized deductions, to minimize their combined tax. The deductions lower DC taxable income, not DC AGI, so the reduction measures DC AGI before them.
  • deductions/standard/amount.yaml: 2026 amounts of $15,000, $22,500 and $30,000; later years still apply gov.irs.uprating to them.
  • dc_standard_deduction: a formula_2030 that returns to the federal basic and additional standard deduction (47-1801.04(44)(C)(vi)).
  • source_conflicts/candidates.yaml: us-dc:additional-deductions-standard-deduction-filers for the reading above, and us-dc:basic-standard-deduction-2026-amount for the 2026 amounts against the D-40ES. Five captures under source_conflicts/sources/us-dc/ hold the passages both candidates cite: sections 7112 and 7113 of the act, 47-1801.04(11), the 2025 D-40 (PDF pp. 13 and 64), the 2026 D-40ES (PDF p. 10) and the fiscal impact statement (PDF pp. 105-106).
  • Tests: new dc_additional_deductions.yaml; new cases in dc_deduction_joint.yaml, dc_income_tax_before_credits.yaml and dc_standard_deduction.yaml. The only existing expectations this PR edits are the three 2026 basic standard deduction cases in dc_standard_deduction.yaml ($30,650 to $30,000, $15,300 to $15,000 and $23,000 to $22,500).
  • References: faadc34e17 drops the page from the D-40 reference title in amount.yaml and points dc_standard_deduction at 47-1803.04(b), which now holds the rule that neither spouse gets the standard deduction when one itemizes on a separate return. 54e213c216 rewords two test-file headers. Neither commit changes an output.

Invariants and how the tests check them

  1. DC taxable income and tax in 2025 and earlier do not change: the list is empty before 2026, so dc_additional_deductions adds nothing to the standard deduction or the itemized pool, and the 2025 amounts and formula stay as they were. The 2025 cases (the couple, $508; the tipped worker, $1,300; dc_additional_deductions 0 with all four federal deductions set) check it, and every pre-2026 case in the DC folder passed without edits at ad16a95a85 and again at b16cd25.
  2. From 2026 through 2028, dc_additional_deductions equals the sum of the four federal deductions exactly (unit cases for 2026 and 2028 in dc_additional_deductions.yaml). A standard-deduction filer's dc_deduction_joint exceeds the standard deduction by exactly that sum. For an itemizer, the sum joins the nonexempt pool before the 5% reduction, so it raises the itemized deduction by the full sum when the reduction takes no more than the ordinary nonexempt deductions, and by between zero and the sum when the reduction takes more. dc_deduction_joint.yaml checks a standard-deduction filer (33,300 + 12,000 = 45,300) and an itemizer below the threshold (18,000 + 4,000 = 22,000). In dc_income_tax_before_credits.yaml, a single itemizer with $250,000 of DC AGI, $1,000 of real estate taxes and a $15,000 tips deduction gets 1,000 + 15,000 − 5% × 50,000 = $13,500 of deductions, $236,500 of DC taxable income and $18,502.50 of tax before credits.
  3. From 2029, under current federal law, dc_additional_deductions is zero: the 2029 unit case (car loan and senior deductions set, 0), a single filer aged 70 with $40,000 of pension (0), a filer with $5,000 of qualified vehicle loan interest (0) and a tipped worker (0). Two 2029 tax cases in dc_income_tax_before_credits.yaml fix the standard deduction as an input, so they do not move with CPI projections, and check the tax: $1,108 and $2,456.75. If federal law extends the tips and overtime deductions, DC follows: a 2029 unit case with $1,000 of tips and $2,000 of overtime deductions gives $3,000.
  4. For a standard-deduction filer, DC taxable income falls by exactly that sum and tax never goes below zero: the couple's taxable income is -$300 and their tax $0.
  5. The spouses' parts of the deduction add up to the joint deduction (dc_deduction_indiv [45,300, 0] against dc_deduction_joint 45,300).
  6. The DC amount follows the federal amount through its phase-out: $6,000, $4,500 and $0 for single filers aged 70 with $40,000, $100,000 and $200,000 of pension.

No Python property test: the repo's CLAUDE.md sends policy calculations to YAML, and these cases cover each boundary.

Before and after

DC tax before credits on main at 3386304d28 and on this branch. The YAML tests' expected values come from hand calculations on the statute and the federal amounts.

Household Year Main This PR
Joint, 67 and 65, $45,000 military retired pay, $30,000 Social Security 2026 $463 $0
Same couple 2025 $508 $508
Single, 70, $40,000 pension 2026 $1,159 $817
Single, 70, $100,000 pension (senior deduction $4,500) 2026 $5,425.25 $5,068.25
Single, 70, $200,000 pension (senior deduction $0) 2026 $13,925.25 $13,950.75
Single, 30, $40,000 wages with $10,000 of qualified tips 2026 $1,282 $700
Spouses aged 66 with $60,000 and $20,000 of pension, filing separately on one return 2026 $2,363 $1,682

The $200,000 filer pays $25.50 more: the basic standard deduction falls from $15,300 to $15,000, taxed at 8.5%.

Each household above takes the standard deduction, so b16cd25d07 leaves these figures as they were. It raises tax for an itemizer whose reduction exceeds the ordinary nonexempt deductions: the $250,000 itemizer in invariant 2 owes $18,502.50, where the previous head, bfd955450c, adds the $15,000 tips deduction after the reduction and gives the same filer $235,000 of taxable income and $18,375 of tax (by hand).

After 2028, on this branch (main allows none of the four in any year, and its standard deduction differs from 2026 on):

Household 2028 2029 2030
Single, 70, $40,000 pension: DC additional deductions $6,000 $0 $0
Same filer: DC tax before credits $769 $1,108 $1,012
Single, 40, $60,000 wages, $5,000 qualified vehicle loan interest: DC additional deductions $5,000 $0 $0
Same filer: DC tax before credits $2,155 $2,456.75 $2,356

Before ad16a95 added the 2029 entry, the branch (17daeebe89) gave these filers $6,000 and $5,000 of DC deductions in 2029 and charged $748 and $2,137.

Limits

  • From 2027, the basic standard deduction uses gov.irs.uprating as a stand-in for the Washington-Baltimore CPI-U (12 months ending July 31) that 47-1801.04(11)(B) names. Before this PR it did so from 2026.
  • OTR's 2026 D-40ES booklet (March 2026, before the Budget Support Act) prints the federal $32,200 joint standard deduction on line 2b of its worksheet. The act, which applies as of January 1, 2025, governs, and us-dc:basic-standard-deduction-2026-amount records the choice.
  • The 2025 D-40 subtracts the (e)(1) and (e)(2) amounts on Schedule I (Calculation B, lines 8, 9 and 15), before DC AGI and outside Calculation F's 5% reduction. If OTR's 2026 forms put the four new deductions there too, an itemizer above the reduction threshold keeps amounts this PR reduces: the $250,000 itemizer in invariant 2 would owe $18,375, $127.50 less. That placement would also lower DC AGI, the base of the reduction, and change the split between spouses filing separately on one return. A standard-deduction filer's DC taxable income would not change. The candidate's note records the same gap.
  • dc_itemized_deductions exempts only the medical and casualty loss deductions from the 5% reduction. (c)(2)(B)(ii)(II) also exempts investment interest, which the model reduces as part of interest_deduction (through non_mortgage_interest). The narrower list predates this PR and changes no figure above.

Tests

  • policyengine-core test policyengine_us/tests/policy/baseline/gov/states/dc -c policyengine_us: 467 passed at b16cd25d07, which changes the dc_itemized_deductions formula that every DC itemizer case reads; 462 passed at ad16a95, before the three cases bfd9554 adds and the two b16cd25 adds.
  • bfd955450c adds three cases: the 2026 separate ($15,000) and surviving spouse ($30,000) basic standard deductions, and a household with $90,000 of wages, an $8,000 overtime premium and $3,000 of qualified vehicle loan interest (DC additional deductions $11,000, tax before credits $3,840). Dropping either 2026 amount or the overtime deduction now fails its case. At bfd9554, dc_standard_deduction.yaml (23), dc_income_tax_before_credits.yaml (13) and dc_additional_deductions.yaml (12) pass.
  • Five of the six 2029 cases that ad16a95 adds fail without the 2029 entry in sources.yaml; the tipped worker passes either way, because the federal tips deduction already ends through its in_effect parameter.
  • Code health (test_source_conflicts.py, test_parameter_yaml_keys.py, test_reference_urls.py, test_no_concatenated_reference_urls.py, test_known_dead_reference_urls.py): 257 passed at ad16a95. test_uprating_placement.py passed at 280ead54f6 and ad16a95, and no later commit changes uprating.
  • b16cd25d07 adds two cases: the 2029 tips and overtime case ($3,000), which fails at $2,000 or $1,000 when either 2029 entry leaves sources.yaml, and the $250,000 itemizer ($13,500 of deductions, $18,502.50 of tax). The dc_deduction_joint.yaml itemizer case now supplies itemized_deductions_less_salt instead of dc_itemized_deductions, so its $4,000 of additional deductions run through dc_itemized_deductions; it still expects $22,000.
  • At b16cd25, dc_standard_deduction.yaml (23), dc_income_tax_before_credits.yaml (14), dc_additional_deductions.yaml (13) and dc_deduction_joint.yaml (4) pass, 54 cases in all; test_source_conflicts.py passes 103 tests; and ruff format leaves the Python files unchanged.
  • At faadc34e17, after 54e213c216 and faadc34 change only test headers, a reference title and a reference, the same four files pass 54 cases and the code-health files above pass 257 tests.

TheAxiomFoundation/rulespec-us#2163 now has output 4 in this PR's order, cites D.C. Law 26-189, and adds the $250,000 itemizer and the 2029 case as companion cases 9 and 10.

axiom: TheAxiomFoundation/rulespec-us#2163 queued

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits November 11, 2026 13:02
D.C. Law 26-189 (FY2027 Budget Support Act; emergency D.C. Act 26-416)
adds D.C. Code 47-1803.04(e)(3)-(6): from tax year 2026 DC allows the
federal deductions for qualified tips, qualified overtime, personal car
loan interest and the enhanced senior deduction, in computing the net
income of any individual. Add them to the DC deduction through a dated
list, so 2025 and earlier do not change, and let dc_deduction_indiv
allocate them between spouses filing separately on one return like the
rest of the deduction.

47-1801.04(3A)(B) sets the base year of the basic standard deduction's
cost-of-living adjustment to 2025, so the 2026 adjustment is zero and the
2025 amounts apply. From 2030, 47-1801.04(44)(C)(vi) returns DC to the
federal standard deduction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…idate

D.C. Code 47-1803.04(a)(1) places the subsection (e) deductions in a
parenthetical after "itemized deductions", while (e) allows them "in
computing net income of any individual". Record the reading this PR
takes (every filer) with its sources, and point the parameter's fiscal
impact statement reference at the pages that describe the deductions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

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

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

MaxGhenis and others added 2 commits November 11, 2026 16:20
D.C. Code 47-1803.04(e)(5) and (6) allow only the deduction allowed under
IRC 163(h)(4) and 151(d)(5)(C), and both sections allow none for taxable
years beginning after December 31, 2028. The federal variables carry no
date gate (the federal deduction lists drop them from 2029), so DC kept
allowing them. The DC list now keeps only the tips and overtime
deductions from 2029, whose in_effect parameters zero them, as the
federal lists do. Adds 2029 cases and limits the source-conflict
candidate to 2026-2028.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…path

The round-2 review found that removing the 2026 SEPARATE ($15,000) or
SURVIVING_SPOUSE ($30,000) basic standard deduction passed every test, and
that only an input-level case checked the overtime deduction. Add a case for
each amount, and a household case with $90,000 of wages, an $8,000 overtime
premium and $3,000 of qualified vehicle loan interest: DC's additional
deductions are $11,000 and its tax before credits $3,840.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DTrim99

DTrim99 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

PR Review: Apply DC's 2026 deductions for tips, overtime, car loan interest and seniors

Summary

The PR implements three parts of the Tax Code Conformity and Clarification subtitle (Title VII, Subtitle I) of DC's FY2027 Budget Support Act:

  • New D.C. Code 47-1803.04(e)(3)-(6) allows the federal deductions for qualified tips (IRC 224), qualified overtime (IRC 225), personal car loan interest (IRC 163(h)(4)) and the senior deduction (IRC 151(d)(5)(C)). They apply from 2026 and are added to the standard or itemized deduction.
  • The 2026 basic standard deduction stays at the 2025 amounts ($15,000 / $22,500 / $30,000), down from main's inflation-adjusted $15,300 / $23,000 / $30,650.
  • From 2030 DC goes back to the federal IRC 63(c) standard deduction.

I researched the law before reading the code. I read the enacted text in D.C. Act 26-416, the codified 47-1803.04 and 47-1801.04, the CFO's fiscal impact statement, OTR's 2025 D-40 booklet and 2026 D-40ES booklet, and 26 U.S.C. 151, 163, 224 and 225. The model matches the statute:

  • Years: the four deductions are denied before 2026 and allowed from 2026. The federal amounts end after 2028.
  • Amounts and phase-outs: these come straight from the federal variables, with nothing rebuilt.
  • Standard deduction: the 2026 amounts are right under the cost-of-living adjustment's base-year rule, and the 2030 return to the federal deduction is right.

The PR applies the four deductions to standard-deduction filers too, not just itemizers. That is the better reading, and the PR records it as a ruled candidate.

There are two Should items, both small:

  • the 2029 tips and overtime entries that no test pins;
  • a statute-vs-form choice the PR names in its own Limits section but hasn't recorded in source_conflicts/candidates.yaml.

I ran no Python or tests. Each claim rests on one of these:

  • (R) reading the code at head bfd955450c;
  • (S) the sources, each fetched and read as text (HTML stripped, PDFs through pdftotext -layout);
  • (H) hand traces;
  • (CI) run 43112808491 at this head.

Critical (must fix)

None.

Should address

1. The 2029 tip_income_deduction and overtime_income_deduction entries are unpinned (policyengine_us/parameters/gov/states/dc/tax/income/deductions/additional/sources.yaml:20-22) (R, H)

The 2029 list keeps tips and overtime "so a reform that extends them also reaches DC", as the comment at lines 14-19 and the PR body say. No test covers that:

  • Under current law the federal in_effect parameters zero both deductions from 2029.
  • So deleting either entry from the 2029 list changes no current-law output and fails no test. The 2029 tipped-worker cases pass either way, and the PR body says so itself.
  • The 2029 unit case at dc_additional_deductions.yaml:43-50 sets only the car loan and senior inputs.

Fix: add one 2029 unit case to dc_additional_deductions.yaml that sets the federal amounts as inputs, as the 2026 and 2028 cases already do:

- name: 2029, DC still follows the federal tips and overtime deductions if federal law allows them.
  period: 2029
  input:
    state_code: DC
    tip_income_deduction: 1_000
    overtime_income_deduction: 2_000
  output:
    dc_additional_deductions: 3_000

2. The 2026 basic standard deduction is a statute-vs-form choice with no candidates.yaml entry (policyengine_us/parameters/gov/states/dc/tax/income/deductions/standard/amount.yaml:3-10, 2026 values) (S)

  • The statute: new 47-1801.04(3A)(A)(ii) and (B) give $15,000 / $22,500 / $30,000 for 2026, and the adjustment is zero (see Verified).
  • The form: OTR's 2026 D-40ES booklet, line 2b of the estimated-tax worksheet (PDF p. 10), tells 2026 filers: "If you expect to ta[k]e a standard deduction enter $16,100 if single married/registered domestic partners filing separately or a dependent ... Enter $24,150 if head of household Enter $32,200 if married/registered domestic partner filing [j]ointly ...". The bracketed letters are missing from the PDF's text layer.
  • The choice: the PR body's Limits section names this and picks the statute ("The act, which applies as of January 1, 2025, governs").

I agree with following the statute. The booklet came out before the act and reflects the CFO's earlier view that 2026 followed federal law. But CONTRIBUTING.md#source-conflicts says that when a statute conflicts with a form, the statute wins and "every such conflict belongs in the register". Step 1 is a candidates.yaml entry in the ruling PR. The PR's one candidate, us-dc:additional-deductions-standard-deduction-filers, covers only who gets the (e) deductions.

Fix: add a second candidate, for example us-dc:basic-standard-deduction-2026-amount (years 2026-2026):

  • sources: the act, sec. 7112(b), and 47-1801.04(11) on one side; the 2026 D-40ES, PDF p. 10, on the other;
  • readings: statute, the cost-of-living adjustment is zero so $30,000 joint; other, the federal $32,200 printed before the act;
  • pe_us.follows: statute and state: ruled, with a note that the booklet came out before the act took effect.

Suggestions

1. Confirm and cite the permanent law. The PR body, the changelog fragment and the candidate's citation name "D.C. Law 26-189, effective October 2, 2026". I could not open it:

  • code.dccouncil.gov/us/dc/council/laws/26-189 returns 404, as rulespec-us#2163 also notes.
  • The codified 47-1803.04 still credits only "Aug. 13, 2026, D.C. Act 26-416, § 7112(e), 73 DCR 11509", noted as the "temporary (90 days) creation of this section".
  • EY's September 15, 2026 alert says "The emergency legislation expires November 11, 2026". It also says the permanent B26-0661 was then "before Congress for a mandatory 30 in-session day review period".

Every reference the PR adds points to the emergency act, which has now lapsed. Its text is the same as the permanent bill's, so the values are right. When the permanent law appears on the Law Library, add it as a reference. Until the number can be confirmed, consider dropping "D.C. Law 26-189" from the changelog.

2. Record the second consequence of the reading in the candidate's note (source_conflicts/candidates.yaml:2161). The (a)(1) parenthetical folds the (e) deductions into "itemized deductions". If that reading holds, an itemizer's (e) deductions would also face the 47-1803.04(c)(2) reduction of 5% of DC AGI over $200,000: (c)(2)(B)(ii) excludes only the medical, investment interest and casualty/wagering-loss deductions.

dc_deduction_joint adds dc_additional_deductions after dc_itemized_deductions applies that reduction, so it follows the PR's reading. That is consistent, and it matches how OTR keeps the (e)(1)/(e)(2) deductions on Schedule I. One sentence in the note would make the register entry complete.

3. A page in a reference title (amount.yaml:51). "2025 DC D-40 Booklet, Standard Deduction (p.13)" puts the page in the title, which CLAUDE.md's single-page rule forbids. The line predates the PR, but the PR rewrites this reference block, so it's a one-word cleanup.

4. Stale section in a reference the PR extends (dc_standard_deduction.py, reference). The tuple still cites 47-1803.03(c) for "shall be allowed to neither". The act moves individual deductions into new 47-1803.04, whose (b) states the same rule: "neither of the spouses or registered domestic partners is allowed the standard deduction". 47-1803.03 is now headed "Corporation, financial institution, unincorporated business, and partnership deductions". Consider pointing to 47-1803.04(b).

5. Comment wording (dc_income_tax_before_credits.yaml:19). "Households in 2025 and 2026 under D.C. Act 26-416" heads a block that also holds the two 2029 cases.

Verified correct

Law (S). Everything quoted here is text I read.

  • Allowed from 2026. New 47-1803.04(e): "The following additional deductions are allowed as deductions from gross income in computing net income of any individual, estate, or trust ...". (3)-(6) each allow the deduction "allowed under" § 224, § 225, § 163(h)(4) or § 151(d)(5)(C) "for taxable years beginning after December 31, 2025".
  • Denied before 2026. (d)(6)-(9) deny the same four "for taxable years beginning before January 1, 2026".
  • Applicability. Sec. 7113: "this subtitle shall apply as of January 1, 2025". So 2021-01-01: [] and the 2026 list are right.
  • Federal sunsets, so the 2029 list is right. 224(h) and 225(g): "No deduction shall be allowed under this section for any taxable year beginning after December 31, 2028". 151(d)(5)(C)(i): "In the case of a taxable year beginning before January 1, 2029". 163(h)(4)(A): "after December 31, 2024, and before January 1, 2029". The senior and car loan variables have no date gate of their own (their formulas and the amount/cap parameters run on past 2028), so dropping them from the DC list in 2029 is needed. The federal deductions_if_* lists do the same.
  • Standard-deduction filers get them. 47-1803.04(b) bars "other additions to the standard deduction ... except as otherwise provided in this chapter".
    • The fiscal impact statement says, on PDF p. 105: "Beginning in tax year 2026, the subtitle couples with certain deductions ... by allowing District taxpayers to take deductions for qualified tips, overtime earnings, personal car loan interest, and an enhanced senior deduction of $6,000".
    • Its p. 106 table books revenue for the standard deduction, charitable, R&E, interest and depreciation provisions, against February estimates that "did not assume any decoupling from OBBBA provisions". It books nothing for the four deductions.
    • The 2025 D-40 booklet quotes the new 47-1803.04(b) on p. 13. Its Schedule I Calculation B (p. 64) puts the (e)(1) teacher amounts on lines 8-9 and the opportunity-fund amount on line 15. The instructions read "Lines 8 and 9 Expenditures by DC teachers" and, for line 15, "...ortunity Fund Investment" (p. 66; the PDF's text layer drops some letters there).
    • I agree with the PR's reading, and the candidate records both sides with two or more sources.
  • 2026 basic standard deduction is the 2025 amounts. (3A)(B) sets the base year to "the calendar year beginning January 1, 2025, or the calendar year beginning one calendar year before the calendar year in which the new dollar amount ... shall become effective, whichever is later". The (3A)(A)(ii) amounts take effect in 2026, so the base year is 2025. 47-1801.04(11)(A) compares the CPI "for the preceding calendar year" (2025) with the base year's (2025), so the 2026 adjustment is zero.
    • From 2027 the base year stays 2025 and the preceding year moves forward, so the PR's indexing from 2027 is the right shape.
    • The gov.irs.uprating stand-in for the Washington-Baltimore CPI-U, 12 months ending July 31, is aligned in timing. It is documented in the parameter comment.
  • 2030. (44)(A)-(C)(vi): "For taxable years beginning after December 31, 2029, the standard deduction as prescribed in section 63(c)". formula_2030 does this.
  • No double count or reinvention (R). dc_itemized_deductions builds on itemized_deductions_less_salt, which sums gov.irs.deductions.itemized_deductions. None of the four is in that list, and interest_deduction doesn't read vehicle loan interest. So adding dc_additional_deductions on top double-counts nothing. The DC variable reuses the federal variables through an adds list, as Idaho's Schedule 1-A list does.

Mechanics (R).

  • dc_additional_deductions is a TaxUnit float, YEAR period, defined_for = StateCode.DC, with the adds parameter evaluated each period. It is vectorized, and there is no state-gated int or enum key, so the NH Add New Hampshire state supplementation for 2026 #10156 bug pattern doesn't apply.
  • dc_deduction_indiv splits the larger joint total as before, and its parts still sum to the joint deduction.
  • dc_kccatc reads dc_taxable_income_joint, so it picks up the deduction under either placement. The PR body's Limits claim holds: Schedule I placement would change only the itemized phase-out and the spouse split.
  • The changelog fragment is present (.fixed.md). Tests sit in variable-named files, with plain periods.
  • The new references follow the CLAUDE.md rules: one per document, and the multi-page title is quoted (#page 105-106 with href #page=105). The fiscal impact statement's file pages equal its printed pages. The Cornell anchors (d_5_C_i, h_4_A) exist.
  • Every other new term is pinned (H):
    • the 2026 amounts for all five filing statuses;
    • formula_2030;
    • each 2026 list entry: tips in the tipped-worker case, overtime and car loan in the $90,000 case, senior in the pension cases;
    • the 2029 drop of car loan and senior;
    • the empty pre-2026 list, by the 2025 cases;
    • the addition in dc_deduction_joint.

Hand checks (H). DC rates: 4% to $10,000; $400 + 6% to $40,000; $2,200 + 6.5% to $60,000; $3,500 + 8.5% to $250,000. The federal additional standard deduction for age is $1,650 married / $2,050 unmarried in 2026, and $1,600 / $2,000 in 2025 (aged_or_blind/amount.yaml). tip_income and fsla_overtime_premium are parts of wages and aren't added to AGI.

  1. 2026 couple, 67 and 65, $45,000 military pay + $30,000 Social Security.
    • Provisional income is 45,000 + 15,000 = 60,000. Taxable Social Security is min(25,500, 0.85 x 16,000 + 6,000) = 19,600, so federal AGI is 64,600 and DC AGI is 45,000.
    • Senior deduction: 2 x 6,000 = 12,000, since MAGI 64,600 < 150,000.
    • Deduction: 30,000 + 3,300 + 12,000 = 45,300. Taxable income is -300, so tax is 0. ✓
    • Itemizer-only reading: 45,000 - 33,300 = 11,700, giving 400 + 102 = 502. Main: 45,000 - 33,950 = 11,050, giving 463. Both match the PR body.
  2. Same couple, 2025. 30,000 + 3,200 = 33,200. 45,000 - 33,200 = 11,800, so tax is 400 + 6% x 1,800 = 508. ✓
  3. 2026 single, 70, $40,000 pension. 15,000 + 2,050 + 6,000 = 23,050. Taxable 16,950, so tax is 400 + 6% x 6,950 = 817. ✓ Main: 22,650, giving 1,159.
  4. $100,000 pension. Senior deduction: 6,000 - 6% x 25,000 = 4,500. Deduction 21,550; taxable 78,450; tax 3,500 + 8.5% x 18,450 = 5,068.25. ✓
  5. $200,000 pension. 6% x 125,000 = 7,500 > 6,000, so the senior deduction is 0. Deduction 17,050; taxable 182,950; tax 3,500 + 8.5% x 122,950 = 13,950.75. ✓ Main: 182,650, giving 13,925.25, so the +$25.50 checks.
  6. 2026 tipped worker, $40,000 wages including $10,000 tips. Tips deduction 10,000 (MAGI 40,000 < 150,000; cap 25,000). Deduction 25,000; taxable 15,000; tax 400 + 300 = 700. ✓ The 2025 case: taxable 25,000, tax 400 + 900 = 1,300. ✓
  7. 2026 spouses, 66 and 66, $60,000 and $20,000 pensions.
    • Deduction: 30,000 + 3,300 + 12,000 = 45,300.
    • Joint: taxable 34,700, so tax is 400 + 6% x 24,700 = 1,882.
    • Separate with [45,300, 0]: (400 + 6% x 4,700) + (400 + 6% x 10,000) = 682 + 1,000 = 1,682.
    • 1,682 is the minimum: any split leaving each spouse at least $10,000 of taxable income gives 800 + 6% x 14,700 = 1,682. ✓
  8. 2029, single 70, standard deduction fixed at 18,200. Additional deductions 0. Taxable 21,800, so tax is 400 + 6% x 11,800 = 1,108. ✓
  9. 2029, $60,000 wages, standard deduction fixed at 16,050. Taxable 43,950, so tax is 2,200 + 6.5% x 3,950 = 2,456.75. ✓ Without the 2029 entry, the car loan deduction would be min(5,000, 10,000) = 5,000 (MAGI < 100,000), so the case pins the drop.
  10. 2026, $90,000 wages, $8,000 overtime, $3,000 car loan interest. Overtime 8,000 (cap 12,500) + car loan 3,000 (MAGI < 100,000) = 11,000. Deduction 26,000; taxable 64,000; tax 3,500 + 8.5% x 4,000 = 3,840. ✓
  11. Unit cases. 4,000 + 3,000 + 2,000 + 6,000 = 15,000 ✓; 1,000 + 0 + 500 + 12,000 = 13,500 ✓. 2029 with only car loan and senior inputs gives 0 ✓. MD gives 0 ✓. dc_deduction_joint: 33,300 + 12,000 = 45,300 ✓ and 18,000 + 4,000 = 22,000 ✓. dc_standard_deduction for the 2026 elderly couple is 30,000 + 2 x 1,650 = 33,300 ✓, and for 2030 it is 40,000 + 1,700 = 41,700 ✓.

Related, outside this PR (R). The same subtitle's 85% DC EITC match for 2026-2028 ((f)(1)(B-2)(ii)) is already on main in eitc/with_children/match.yaml. The 47-1803.02(a)(1B) add-back of the IRC 170(p) non-itemizer charitable deduction needs no DC change: DC starts from federal AGI, which that deduction doesn't reduce.

Axiom line assessment

axiom: TheAxiomFoundation/rulespec-us#2163 queued is valid.

  • The issue is OPEN and labelled pe-parity. It names the module path (us-dc/policies/income_tax/2026_resident_liability_source_hold.yaml or a new us-dc/statutes/47/47-1803/04) and quotes the law verbatim from sec. 7112(b) and (e), 7113 and 47-1801.04(11).
  • It lists five required outputs and a companion table of eight cases with statute-derived values, the same cases as this PR's YAML.
  • It matches this head. Output 3 is "the sum of the ... deductions allowed on the federal return", which carries the post-2028 sunset with it. It mentions the 2030 return to IRC 63(c).
  • Its source prerequisite (ingest the act text, since the Code hasn't codified the permanent law) is a normal corpus step, not a gap in the spec.

CI status

All 38 checks pass at bfd955450c (run 43112808491, pull_request event, 2026-11-11 22:33 UTC). I re-checked gh pr checks 10806 just before writing and found no failures and nothing pending.

main has moved since that run. I found nothing that should affect these tests (R):

  • no main-side change to DC tax files, the federal OBBBA deduction variables and lists, test_source_conflicts.py or its pin;
  • no partner test with a DC household.

Branch status

The branch is 4 commits ahead of main and 82 behind. git merge-tree --write-tree PolicyEngine/main bfd955450c merges cleanly (tree 2cd3fb6c).

  • candidates.yaml: main grew source_conflicts/candidates.yaml by about 1,100 lines since the merge base. It auto-merges, the new id appears once in the merged file, and it isn't in the pinned register.
  • Leave dependents' own items out of DC, Delaware and Ohio subtractions #9939 ("Leave dependents' own items out of DC, Delaware and Ohio subtractions", same author) touches dc_income_subtractions.py, dc_disability_exclusion.py and their tests. It shares no file with this PR, and a trial merge of the two heads is clean.
    • Its DC cases are 2021 and 2025, and its invariant test runs in 2025, a year this PR doesn't change.
    • It acts on DC AGI before deductions. Its dependents are neither head nor spouse, so dc_deduction_indiv's split is unaffected. There's no conflict in either direction.
  • Fix DC paid family leave employer rate history #10675 (DC paid family leave) is unrelated.

Verdict: REQUEST_CHANGES

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes: 0 critical, 2 should address, 5 suggestions (details in the report above). The model matches D.C. Act 26-416 §§ 7112-7113: the deductions start in 2026 with the federal amounts and phase-outs and end after 2028. It reuses the federal variables, and all 11 hand checks match.

  1. The 2029 tips and overtime entries in sources.yaml have no case. A 2029 case with tip and overtime inputs, expecting their sum, would pin them.
  2. The Limits section names a choice between the statute and OTR's 2026 D-40ES: line 2b prints the federal $16,100/$24,150/$32,200. That choice isn't in source_conflicts/candidates.yaml; it needs its own candidate under CONTRIBUTING's source-conflict steps.

MaxGhenis and others added 3 commits November 21, 2026 13:55
Itemizers now put the four federal deductions in DC's nonexempt itemized pool before the 5% reduction; standard-deduction filers deduct them alongside the standard deduction. Cites the permanent D.C. Law 26-189, adds a 2029 tips and overtime case, a candidate for the 2026 basic standard deduction, and captures of the act, D-40, D-40ES, D.C. Code and fiscal impact statement passages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 2029 header now says what the case checks, and the household-example heading no longer limits itself to 2025 and 2026.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The D-40 reference title in the DC standard deduction amounts no longer carries a page (the href keeps it), and `dc_standard_deduction` cites 47-1803.04(b), which now holds the rule that neither spouse gets the standard deduction when one itemizes on a separate return. No output changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Should 1

b16cd25d07 adds your 2029 case to dc_additional_deductions.yaml. It passes at $3,000 and fails at $2,000 or $1,000 when either 2029 entry leaves sources.yaml. The file's header says DC allows none of the four from 2029 under current federal law, and 54e213c216 adds that the 2029 case checks that the model passes through federally allowed tips and overtime if those deductions are extended.

Should 2

The same commit adds us-dc:basic-standard-deduction-2026-amount to source_conflicts/candidates.yaml as you laid it out: sec. 7112(b) and 47-1801.04(11) against line 2b of the D-40ES (PDF p. 10), follows: statute, state: ruled, and a note that the March 2026 booklet predates the October 2, 2026 effective date. amount.yaml names the candidate, and source_conflicts/sources/us-dc/ captures the passages.

Suggestion 1

The Law Library now publishes D.C. Law 26-189 (Act 26-418, effective Oct. 2, 2026), and the codified 47-1803.04 credits it for sec. 7112(e). b16cd25 cites it in place of Act 26-416 in every reference, comment and test header in the PR, and in the changelog and both candidates.

Suggestion 2

b16cd25 also reverses the order. Your note named the consequence: if (a)(1) folds the (e) deductions into itemized deductions, the (c)(2) reduction reaches them. (a)(1) does fold them in: it allows "itemized deductions (including the additional deductions set forth in subsection (e) of this section, if applicable)". (c)(2)(A) reduces "the amount of the itemized deductions otherwise allowable", and (c)(2)(B)(ii) exempts only medical, investment interest and casualty, theft and wagering losses. So dc_itemized_deductions now adds dc_additional_deductions to the nonexempt pool before the reduction, and dc_deduction_joint adds them to the standard deduction only. Standard-deduction filers still deduct them in full, under (e) and (b)'s exception. A new dc_income_tax_before_credits.yaml case pins the order: a single itemizer with $250,000 of wages, $25,000 of them tips, and $1,000 of real estate taxes gets a $15,000 tips deduction, 1,000 + 15,000 − 2,500 = $13,500 of DC deductions and $18,502.50 of tax, against $18,375 under the old order.

OTR's Schedule I practice, which you tied the old order to, cuts against the new order for itemizers: the 2025 D-40 subtracts the (e)(1) and (e)(2) amounts before DC AGI, outside Calculation F's reduction. The text settles where an itemizer takes the (e) deductions, though not who gets them, so the statute governs here: CONTRIBUTING puts the statute first and lets the agency break only true ties. The candidate's note and the body's Limits record the practice. If OTR's 2026 forms put the four new deductions on Schedule I, an itemizer above the threshold keeps amounts the model reduces.

Suggestions 3 to 5

faadc34e17 drops the page from the D-40 reference title in amount.yaml (the href keeps #page=13) and points dc_standard_deduction at 47-1803.04(b), which now holds the rule: "neither of the spouses or registered domestic partners is allowed the standard deduction". 54e213c216 heads the dc_income_tax_before_credits.yaml block "Household examples under D.C. Law 26-189", so it no longer limits itself to 2025 and 2026. None of the three changes an output.

Tests at faadc34e17

  • dc_standard_deduction.yaml (23), dc_income_tax_before_credits.yaml (14), dc_additional_deductions.yaml (13) and dc_deduction_joint.yaml (4): 54 cases pass.
  • Code health (test_source_conflicts.py, test_parameter_yaml_keys.py, test_reference_urls.py, test_no_concatenated_reference_urls.py, test_known_dead_reference_urls.py): 257 passed.
  • ruff format --check leaves dc_standard_deduction.py unchanged.

TheAxiomFoundation/rulespec-us#2163 now has output 4 in this order, cites D.C. Law 26-189, and adds the $250,000 itemizer and the 2029 case as companion cases 9 and 10.

@MaxGhenis
MaxGhenis requested a review from DTrim99 November 21, 2026 14:35

@DTrim99 DTrim99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Program review

Base repository: PolicyEngine/policyengine-us
PR number: 10806
Reviewed head SHA: faadc34
Merge base SHA: 3386304
Mode: full, with a recheck of David's earlier review (head bfd9554)
Scope: changed behavior and affected dependencies
Source manifest: /private/tmp/policyengine-command-runs/ea33c0bb2b64/pr-10806-review-sources.json
Review status: COMPLETE

Source Documents

Critical

None.

Should Address

A1 — The federal senior-deduction extension reform never reaches DC, because the DC list hard-codes the 2029 sunset (OPEN)

  • Severity: SHOULD ADDRESS (current-law baseline is correct; this affects a reform shipped in the repo)
  • Location: policyengine_us/parameters/gov/states/dc/tax/income/deductions/additional/sources.yaml:20-22 (2029 entry drops additional_senior_deduction and auto_loan_interest_deduction); read by variables/gov/states/dc/tax/income/deductions/dc_additional_deductions.py:26
  • Trigger: 2029, single filer aged 70 with $40,000 of pension in DC, with policyengine_us.reforms.crfb.senior_deduction_extension applied. That reform extends the senior deduction past 2028 by adding additional_senior_deduction back to the federal deductions_if_itemizing and deductions_if_not_itemizing lists from 2029.
  • Expected vs observed: the new D.C. Code 47-1803.04(e)(6) allows "any deduction for an enhanced senior deduction allowed under § 151(d)(5)(C)" for every year after 2025, with no end date of its own. So when federal law allows the deduction, DC should allow it too. Executed: under the reform, federal taxable income falls from $20,600 to $14,600 (the $6,000 senior deduction applies). But dc_additional_deductions stays $0 and DC tax before credits stays $1,108, the same as in the baseline. The PR body gives $748 for this filer when the 2029 senior deduction does apply. The 2029 entry keeps tips and overtime "so a reform that extends them also reaches DC" (the YAML comment and the PR body). The PR doesn't apply that design to the other two deductions, so any car-loan or senior extension done through the federal lists silently skips DC.
  • Why this diff: the DC list is new in this PR. It copies the federal sunset as a fixed date instead of following what the federal return allows.
  • Fix direction (untested): give dc_additional_deductions a formula that adds only the DC-listed deductions that also appear in the federal deductions_if_not_itemizing list for the period. Or keep all four listed and gate the two federal variables on their own sunset parameter, as tips and overtime already do through in_effect. Then add one 2029 case that runs under the reform.
  • Evidence: /tmp/policyengine-command-runs/ea33c0bb2b64/pr-10806-review-code-diag.py, output /tmp/policyengine-command-runs/ea33c0bb2b64/pr-10806-review-code-diag.json (all inputs keyed to the year, import confirmed inside SNAPSHOT). The 2028 rows match the PR's $769 for this filer in both baseline and reform, so the setup agrees with the PR's own figures.

Suggestions

S1 — The itemizer-order alternative is in the candidate's note, not in its question or readings (OPEN)

  • Severity: SUGGESTION
  • File: source_conflicts/candidates.yaml:2161-2211 (us-dc:additional-deductions-standard-deduction-filers)
  • Trigger: b16cd25 moved an itemizer's (e) deductions inside the (c)(2) 5% reduction, for 2026-2028 itemizers with DC AGI above $200,000.
  • Expected: CONTRIBUTING#source-conflicts gives each statute-versus-agency-practice conflict a question and readings, and step 2 builds the register's alternatives from them. This candidate's question asks only whether (e) "reach[es] a filer who takes the standard deduction, or only one who itemizes". Its readings.other presents only the itemizer-only reading.
  • Observed: the other side of the order question is OTR's 2025 D-40 Schedule I placement of (e)(1) and (e)(2): before DC AGI and outside Calculation F's reduction (PDF p. 64; the D-40 is already a listed source). It appears only in note, and readings.statute gives the PR's order as settled.
  • Fix: widen question to also ask where an itemizer takes the (e) deductions, relative to (c)(2). Add the Schedule I placement as a reading, or open a second candidate with the same sources. Code and outputs are unaffected.
  • Source: 47-1803.04(a)(1), (c)(2)(A)-(B) (code-47-1803.04.txt); 2025 D-40 booklet, https://otr.cfo.dc.gov/sites/default/files/dc/sites/otr/publication/attachments/2025_D40_Book_082026_v1.pdf#page=64

S2 — The new variable uses a documentation attribute (OPEN)

  • Severity: SUGGESTION
  • Location: policyengine_us/variables/gov/states/dc/tax/income/deductions/dc_additional_deductions.py:15-25
  • The model-development rules say to use reference and never a documentation field. Other repo variables do use documentation (itemized_deductions_less_salt, dc_taxable_income_indiv), so this is a style point only. A code comment above adds would carry the same explanation.

S3 — The $250,000 itemizer case forces an itemization election no real filer would make (OPEN)

  • Severity: SUGGESTION
  • Location: policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_income_tax_before_credits.yaml:310-331
  • The case sets tax_unit_itemizes: true for a single filer whose only itemized item is $1,000 of real estate taxes. Federally that filer would take the $16,100 standard deduction, and DC requires the same election. The arithmetic correctly pins the new order (additional deductions inside the 5% reduction: 1,000 + 15,000 − 2,500 = 13,500; tax $18,502.50). A case with enough itemized deductions to itemize on its own, such as about $20,000 of mortgage interest, would also test the itemized path end to end through the federal election.

Evidence Gaps

No material gaps reported.

Notes

  • Earlier review: every item is resolved.
  • Should 1 (2029 tips and overtime unpinned): the new 2029 case ($1,000 + $2,000 = $3,000) pins both entries.
  • Should 2 (2026 statute-vs-form choice): us-dc:basic-standard-deduction-2026-amount cites sec. 7112(b), 47-1801.04(11) and the D-40ES line 2b, with follows: statute.
  • Suggestions 1-5 are done. Suggestion 2 became a behavior change: an itemizer's four deductions now sit inside the (c)(2) 5% reduction. The text supports it, and the $250,000 case pins it at $18,502.50.
  • The 2026 baseline is right. D.C. Law 26-189 (effective Oct. 2, 2026, applying from Jan. 1, 2025) allows the four federal deductions (tips, overtime, car-loan interest, the senior deduction) in their federal amounts, for standard-deduction filers too. DC keeps its 2025 standard deduction amounts in 2026. 2025 outputs are unchanged.
  • On code-1: the PR's own design keeps tips and overtime in the 2029 list so that a reform extending them also reaches DC. 47-1803.04(e)(6) has no end date of its own. Applying the same design to car-loan interest and the senior deduction, or gating all four on the federal list for the period, closes the gap. Then add one 2029 case under policyengine_us.reforms.crfb.senior_deduction_extension.
  • The branch is 473 commits behind main but merges cleanly, and the DC income test directory passes on the merged tree. Main's move of wagering_losses_deduction into DC's exempt items makes the PR body's Limits sentence ("exempts only medical and casualty losses") stale on merge.

Validation Summary

Local tests at the reviewed head pass (the changed tests plus the DC income tax directory; review venv, imports from the snapshot), and the DC directory passes on a merged-with-main tree. Executed diagnostics: 2028 and 2029 senior filer with and without the CRFB senior-deduction-extension reform (pr-10806-review-code-diag.json). Sources: 11 originals (D.C. Law 26-189, D.C. Code 47-1801.04 and 47-1803.04, the 2025 D-40 booklet, the 2026 D-40ES, the fiscal impact statement), checksums validated.

Timing

policy role seconds: 459.00s; code role seconds: 540.00s; parallel review seconds: 540.00s; elapsed seconds: 640.00s

Review Severity

COMMENT. Open findings: 0 critical, 1 should address, 3 suggestions.

This branch has not been deployed

No deployments
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.

2 participants