Repository navigation
Levy the wealth tax on net wealth, not gross total wealth - #2561
Conversation
wealth_tax applied gov.contrib.ubi_center.wealth_tax to total_wealth, which is gross: property, corporate and private pension wealth and savings with no debt deducted. Its documentation said net wealth, and net_wealth (total wealth less mortgage, consumer and student loan debt) already exists. A household with £15m of property and a £6m mortgage paid £100,000 under a 2% band above £10m though its net wealth is £9m. Levy the schedule on net_wealth. The schedule's rates are zero at baseline, so baseline results are unchanged. Fixes #2556 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Aggregate impact on certified data: passBase Checks: 0 broken by this change, 1 failing on both sides, 0 fixed. Moves flagged for review: 0 (thresholds in Notes
Moves flagged for reviewNone. Spending by benefit and service
Caseloads
Household net income by decileNo household's net income changes in any year. No change in any year: receipts by tax head; government balance, each component counted once; model totals; components the model counts twice; household income totals; population; poverty rates; people in poverty; inequality; mean household net income in each side's own deciles; standard reform costings (change in gov_balance); standard reforms: change in each reform's target. Checks failing on both base and head (1)
Counted-once checkEach of 84 components was raised by £1 per unit in 2026-27, and every head of its totals was read household by household: its own head must rise by exactly £1, no other tax head may move, no other benefit may rise, and the model's own total must move by what its heads moved. A head that breaks a rule is measured again twice: with every other head held at its baseline value, and with every other head held at its value after the first £1 while the component rises again. It fails where either still shows the response. 0 failed; 0 were skipped.
Provenance
Dataset: Receipts by tax head: head levels
Spending by benefit and service: head levels
Caseloads: head levels
Government balance, each component counted once: head levels
Model totals: head levels
Components the model counts twice: head levels
Household income totals: head levels
Population: head levels
Poverty rates: head levels
People in poverty: head levels
Inequality: head levels
Mean household net income in each side's own deciles: head levels
Standard reform costings (change in gov_balance): head levels
Standard reforms: change in each reform's target: head levels
|
|
Hand-off to the UK hub (build job 20261022-001501-sprint-fix-2556)
|
|
Merged by the UK hub (session local_8e19f9d5, Opus 5.5) on its merge gates. One merge-queue enqueue, pinned to head
🤖 Generated with Claude Code |
Fixes #2556
What and why
wealth_taxlevied the hypothetical wealth tax schedule (gov.contrib.ubi_center.wealth_tax) ontotal_wealth. That is gross wealth: property, corporate and private pension wealth and savings, with no debt deducted. The variable's documentation already said "household net wealth", andnet_wealth(#1761) already deducts mortgage, consumer and student loan debt. So a "2% on net assets above £10m" tax could not be expressed: the schedule also taxed wealth held against a mortgage.This PR levies the schedule on
net_wealth, as the documentation says (policyengine_uk/variables/contrib/ubi_center/wealth_tax.py). It also corrects the parameter's description, which said "total wealth".Selector or not. I added no gross/net base selector, because no user of this parameter needs gross wealth:
wealth_taxgov_tax,household_tax,pre_budget_change_household_taxadd it;fiscal_partition.yamllists it asnonnegative,zero_at_baseline: expected;excise_integration.yamlpins it at 0 at baseline;tests/policy/reforms/parametric/wealth_tax.yaml(one debt-free case, unchanged)app/src/data/posts/articles/uk-taxes-post.md:1100-1103describes it as "a percentage tax applied to a household's total net wealth above a threshold"data/uk/budget_2026_measures.jsonab2026__wealth_tax_2pc_above_10m("2% on net assets above £10m"), which PolicyEngine/policyengine-scorecard#221 marks not expressible until this fix landstests/fixtures/uk_metrics/budget_metrics_report.jsonreportsreceipts.wealth_tax(aggregate receipts by year)Searched on each repo's default branch on 2026-10-22 for
wealth_tax,ubi_center.wealthandubi_center/wealth. Policies users saved in the API's database could set this parameter, and they cannot be searched from the repositories. Their results will change for households with debt, which is the fix.The definition of the base
The UK has no wealth tax in law, so no statute defines the base. The measure in question is the one reported for the 28 October 2026 Budget, "an annual wealth tax of 2% on net assets above £10m" (scorecard
ab2026__wealth_tax_2pc_above_10m). Its best-known form is Tax Justice UK's: "A wealth tax on assets exceeding £10 million would require individuals with total wealth above this threshold to pay a 2% tax on the excess amount", with a revenue figure by Arun Advani (Tax Justice UK and Patriotic Millionaires UK, Ten tax reforms and closed loopholes to raise over £50 billion in a single year, March 2026, p. 2). The proposal cites the Wealth Tax Commission and CenTax for the design. The Commission's final report (Advani, Chamberlain and Summers, A wealth tax for the UK, 2020, p. 48, "The case for taxing all assets") says:How
net_wealthcompares with that base:net_wealthincludesprivate_pension_wealth: defined contribution pots, retained rights in earlier schemes and pensions in payment. The data does not carry current-employment defined benefit rights, so they are missing (private_pension_wealth.py). That understates the base for anyone holding such rights. State Pension entitlement is not in the base, and the Commission excludes it too: it is a claim against the state in public law.wealth_taxis aHouseholdvariable, while Tax Justice UK and the Commission levy the tax on individuals. With a £10m threshold, a couple with £15m of net wealth pays 2% of £5m in the model, but nothing if they own it half each. This PR does not change that (see "Not in this PR").Before and after
The issue's household: £15m of property, a £6m mortgage, and the measure's schedule (2% above £10m).
total_wealthnet_wealthwealth_taxEvery new YAML case is hand-computed from the schedule and the inputs. Each fails on main and passes here:
Baseline impact: none. All three of the schedule's rates are zero at baseline, so
wealth_taxis zero before and after. The Aggregate impact CI report agrees.Aggregate impact (CI)
From the Aggregate impact report (run 39737456253): base main
9d81a5dfa8against head5f5d41e375(#2561 merged into main), both onenhanced_frs_2024_25.h5(policyengine-uk-data 1.58.1), fiscal years 2025-26 to 2031-32.The check failing on both sides is "VAT is never negative" (76 units in each year), which is unrelated. The base is the merge commit's first parent, so main's later merges are not mixed in. The report covers baseline only: no CI run applies a wealth tax reform, so the size of the change for the Budget measure is not measured here.
Invariants
These hold for every household and every schedule with non-negative ascending thresholds and rates from 0 to 10%.
test_wealth_tax_net_base_properties.pychecks them with Hypothesis (derandomized), running eight variants of each drawn household in one simulation:wealth_taxequals a reference marginal schedule, written in the test, applied to assets less debts as computed from the inputs.net_wealthequals that same difference.wealth_taxthe same or lower. More savings or property never lowers it.net_wealthequalstotal_wealth, the base before this fix. The tax is the schedule ontotal_wealth, and a household with debt never pays more than its debt-free twin.wealth_tax≤ top rate × max(net wealth, 0).A pinned example runs the issue's household through the property test. A separate test pins it exactly:
total_wealth£15m,net_wealth£9m,wealth_tax£0.Not in this PR
non_primary_residence_wealth_taxsays "household net wealth excluding primary residences" but taxestotal_wealth - main_residence_value, so no debt is deducted. Netting it raises a separate question:mortgage_debtmixes the main-residence mortgage with other secured debt. Filed as non_primary_residence_wealth_tax taxes gross wealth, though documented as net wealth #2560.wealth_tax[1](2% above £10m) leaves net wealth above £1bn untaxed, so setwealth_tax[2].rateto 0.02 as well. The YAML cases do. Once this is released and in the Budget lock, Mark the reported wealth tax not expressible: the engine taxes gross wealth policyengine-scorecard#221's verdict can return to expressible; that is the scorecard's call.Test plan
policyengine_uk/tests/policy/reforms/parametric/wealth_tax.yaml(9 cases, 8 new)policyengine_uk/tests/test_wealth_tax_net_base_properties.pyruff format --check .changelog.d/2556.fixed.mdRun locally at d56860c (policyengine-core from
uv sync --frozen --extra dev), on a loaded shared host:policyengine-core test policyengine_uk/tests/policy/reforms/parametric/wealth_tax.yaml policyengine_uk/tests/policy/baseline/household/wealth policyengine_uk/tests/policy/baseline/gov/hmrc/excise_integration.yaml -c policyengine_uk: 35 passed.wealth_tax.yamlwith main'swealth_tax.pyswapped in: 8 failed (every new case, at the "Main" values above), 1 passed (the original debt-free case).pytest -n 2 policyengine_uk/tests/test_wealth_tax_net_base_properties.py policyengine_uk/tests/test_parameter_descriptions.py: 26 passed. With main'swealth_tax.py, both property tests fail: the pinned test sees £100,000, and Hypothesis reports the issue's household as its failing explicit example.uvx ruff format --check .: 1919 files already formatted.ruff checkon the changed Python files passes.Reproducer
Reproducer: policyengine_uk/tests/policy/reforms/parametric/wealth_tax.yaml; policyengine_uk/tests/test_wealth_tax_net_base_properties.py::test_issue_2556_household_owes_nothing_under_the_budget_measure; policyengine_uk/tests/test_wealth_tax_net_base_properties.py::test_wealth_tax_is_the_schedule_on_net_wealth
axiom: n/a:
gov.contrib.ubi_center.wealth_taxis a hypothetical contributed reform. The UK has no wealth tax in law, so there is no provision to encode.🤖 Generated with Claude Code