Commit bcc9cbb
Stop paying Tax Credits after DWP managed migration completed (#1619)
* Zero out Tax Credits after DWP managed migration completed
Working Tax Credit and Child Tax Credit were still paying ~£1.9bn in
2025 baseline simulations even though DWP's managed migration to
Universal Credit completed on 5 April 2024 and no tax credit awards
have been paid since.
The existing `tax_credits` formula had no time-based gate; it paid out
whenever `working_tax_credit_reported` or `child_tax_credit_reported`
was non-zero in the input data (which the FRS 2023-24 build
understandably still carries).
Adds a `gov.dwp.tax_credits.active` bool parameter that flips to
`false` on 2024-04-06 and uses it to short-circuit the `tax_credits`
formula. Post-fix aggregates (enhanced FRS 2023-24, 1.50.3):
| year | before | after |
| --- | ---: | ---: |
| 2024 | £1.88bn | £0.00bn |
| 2025 | £1.86bn | £0.00bn |
| 2026 | £2.11bn | £0.00bn |
UC aggregates are unchanged (those claimants were already on UC in the
enhanced FRS calibration), so this removes £1.9bn of phantom baseline
spending per year.
Adds two YAML regression tests covering the post-migration zero case
and a future-year check. Existing tax_credits.yaml tests all pass
(they use period 2020, so active=true).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Correct Tax Credits end date: 5 April 2025, not 5 April 2024
DWP/HMRC's official page (https://www.gov.uk/tax-credits-have-ended)
confirms Working Tax Credit and Child Tax Credit ended on
5 April 2025, the end of the 2024-25 tax year — not 2024-04-06 as
originally encoded. The earlier date was based on an earlier scheme
closure (to new claims) rather than the final ending of awards.
Moves the `active` flip to 2025-04-06, updates the test suite so:
- 2024 still produces non-zero tax_credits (baseline ~£1.88bn paid,
£2,607/yr in the synthetic test case)
- 2026 and later produce zero
- The "all future years" regression at 2030 stays in place
Verified aggregates (enhanced FRS 2023-24, 1.50.3):
| year | paid WTC+CTC |
| --- | ---: |
| 2023 | £1.76bn (unchanged) |
| 2024 | £1.88bn (preserved) |
| 2025 | £0.00bn (was £1.86bn) |
| 2026+ | £0.00bn |
Reform-reactivation works via the standard parameter-override API,
e.g. `{'gov.dwp.tax_credits.active': {'2026': True}}` restores
tax_credits to about £5.9bn in 2026.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3cf4de8 commit bcc9cbb
4 files changed
Lines changed: 57 additions & 2 deletions
File tree
- changelog.d
- policyengine_uk
- parameters/gov/dwp/tax_credits
- tests/policy/baseline/finance/benefit/family
- variables/gov/dwp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | | - | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments