Skip to content

hank_shock_incidence: state the labour-tax financing the overlay does not apply - #284

Open
vahid-ahmadi wants to merge 1 commit into
mainfrom
vahid/r6-hank-financing-caveat
Open

vahid-ahmadi wants to merge 1 commit into
mainfrom
vahid/r6-hank-financing-caveat

Conversation

@vahid-ahmadi

Copy link
Copy Markdown
Contributor

Addresses option 1 of #214. Option 2 (applying the tax leg) is left for a decision; see the end.

What was wrong

hank_shock_incidence scales pre-tax employment income by the HANK real wage and labor paths and leaves PolicyEngine's statutory taxes the same on both sides. In the HANK model the labour tax rate is endogenous: it moves every period to balance the government budget (us-hank-model README: "G shocks are balanced-budget: the labour tax adjusts every period"). The overlay drops that leg, and no caveat, note or field in the result said so. A reader of a spending-shock incidence sees a small earnings gain for households and nothing about the tax rise the model charges them for it.

Evidence

Run locally at the pinned us-hank-model 58353e5, two-asset variant, incidence year = first four quarters:

shock pre-tax earnings factor applied (w + N) model's labour tax rate, annual mean by quarter
G +1% of GDP, persistence 0.8 +0.28% +1.16pp +0.51, +1.59, +1.37, +1.16
Taylor-rule intercept −0.0025, persistence 0.61 +0.44% −0.62pp −0.63, −0.93, −0.57, −0.35

For the spending rise the two legs work against each other, so the sign of the net effect on workers' income can differ from the overlay's. For the easing they work in the same direction, so the overlay understates the gain. The quarterly tax figures for the spending shock match the ones in #214 (+0.51pp on impact, +1.59pp in the next quarter).

What changed

  • EconomicAssumptions.from_hank_result: a new first caveat says the labour-tax financing is not applied. When the payload carries the tax series (every current hank_shock result does), the caveat and a note give the model's annual-mean tax change over the incidence year. An older payload without tax gets the caveat with no number.
  • core.hank_shock_incidence: the application block gains labour_tax_rate_change_pp_not_applied (the same annual mean, or null). The caveat reaches both caveats and score.caveats.
  • mcp_server.hank_shock_incidence docstring: the "cannot do" list now includes the financing.
  • Tests: the caveat and note with a tax path, the caveat without one, and the wiring through hank_shock_incidence, including the null case.
  • Changelog entry.

No incidence number changes. The applied earnings factor, the microsimulation and every decile figure are the same as before; this adds a statement and one reported field.

How verified

  • pytest tests -q in integration/: 498 passed, 79 skipped.
  • Real model, local: the table above, from core.hank_shock and EconomicAssumptions.from_hank_result with us-hank-model 58353e5 installed.
  • Repo root: pytest tests -q 3281 passed; site_contract.py clean.

Left for a decision

Applying the tax leg (option 2 in #214) would change published incidence numbers and needs a choice of how to map the model's flat labour tax onto the US schedule: scale the earnings factor by the post-tax ratio, or run an equivalent PolicyEngine reform. This PR does not do that. The us-hank page's description of the overlay is unchanged here.

Merging redeploys the hosted MCP server (deploy-mcp.yml runs on integration/**).

🤖 Generated with Claude Code

… not apply (#214)

The overlay scales pre-tax employment income by the HANK w and N paths.
The model also moves the labour tax rate every period to balance the
government budget; nothing in the result said so. Add a caveat with the
model's annual-mean tax change and report it in the application block.
No incidence number changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
macromod Ready Ready Preview Nov 25, 2026 12:08am UTC

Request Review

@vahid-ahmadi

Copy link
Copy Markdown
Contributor Author

A cross-check from the us-hank-model side (us-hank-model #21): after G +1% of GDP the pre-tax wage bill rises 0.31% on impact while the post-tax one falls 0.48%. The figures in this PR give the same answer: w + N = +0.313% and the tax rate +0.507pp on impact, which at the steady-state rate of 0.356 is −0.79% of post-tax labour income, so −0.48% net.

So for a spending shock the overlay's sign is wrong for workers' net income, not only its size. This PR flags that and reports the tax path; it deliberately does not switch the overlay to post-tax labour income, because that changes published incidence numbers. That switch (or an option for it) is the decision left on #214.

🤖 Generated with Claude Code

This branch was successfully deployed

1 active deployment
Preview — 11342748 Deployed Nov 25, 2026 by vercel[bot]
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