Skip to content

[draft] Align federal SALT to state income-tax liability (#1058)#1060

Draft
PavelMakarchuk wants to merge 1 commit into
mainfrom
fix-salt-liability-alignment
Draft

[draft] Align federal SALT to state income-tax liability (#1058)#1060
PavelMakarchuk wants to merge 1 commit into
mainfrom
fix-salt-liability-alignment

Conversation

@PavelMakarchuk

Copy link
Copy Markdown
Collaborator

Draft — do not merge without sign-off on the convention.

What

The emulator's federal SALT deduction uses PE's imputed state_withheld_income_tax (~19% above the actual liability); the TAXSIM-35 binary uses the state income-tax liability. This aligns PE to the liability via a two-sim flow (pass 1 computes state_income_tax; pass 2 set_inputs state_withheld_income_tax = liability and provides the federal columns; state-output columns come from pass 1 so state tax is byte-identical — Hawaii reads state_withheld_income_tax directly). Inert under --disable-salt.

Status / honest caveats

Given it's inert on the main data and a convention change, I'm not recommending merge — opening as a tested option for review. Fixes the federal residual on #974/#973 if adopted.

Closes #1058 (if merged).

🤖 Generated with Claude Code

Deduct the state income-tax LIABILITY (not PE's imputed withholding, ~19%
higher) in the federal SALT base, matching the TAXSIM-35 convention. Uses a
two-sim flow: pass 1 computes state_income_tax; pass 2 set_inputs
state_withheld_income_tax to that liability and provides the federal columns,
while state-output columns come from pass 1 (state tax is unaffected — Hawaii
reads state_withheld_income_tax directly, so routing state from pass 1 keeps
every state output byte-identical). Inert under --disable-salt.

Fixes the federal residual on itemizing records (#974, #973). NOTE: inert on
the current eCPS (mortgage/proptax = 0 for all records → nobody itemizes);
validated on NY #974 (fiitax = binary exactly). Convention change — do not
merge without sign-off.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-taxsim Ready Ready Preview, Comment Jul 6, 2026 4:57am

Request Review

@feenberg

feenberg commented Jul 6, 2026 via email

Copy link
Copy Markdown
Collaborator

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.

PE deducts imputed state income-tax withholding (not the liability) as federal SALT — federal residual on itemizing records (#974, #973)

2 participants