Commit f98c2b3
Fix Scottish top rate threshold to use correct above-PA value (#1488)
* Fix Scottish top rate threshold to use correct above-PA value
The Scottish top rate (48%) threshold was incorrectly stored as £125,140
(the total income threshold) instead of £112,570 (the amount above
personal allowance).
PolicyEngine stores income tax thresholds as amounts ABOVE the personal
allowance (£12,570), not as total income. The correct calculation is:
- Total income threshold: £125,140
- Above PA: £125,140 - £12,570 = £112,570
This bug caused the top rate to effectively start at £137,710 total
income instead of £125,140, significantly underestimating the number
of top rate taxpayers and the revenue from threshold freezes.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add changelog entry
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add SFC reference, unit tests, and fix changelog formatting
- Add Scottish Fiscal Commission January 2026 reference to rates.yaml
- Add two unit tests for Scottish top rate threshold verification
- Remove currency symbols from changelog entry for consistency
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent bb38bbc commit f98c2b3
3 files changed
Lines changed: 40 additions & 3 deletions
File tree
- policyengine_uk
- parameters/gov/hmrc/income_tax/rates/scotland
- tests/policy/baseline/finance/tax/income_tax
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | | - | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| 94 | + | |
| 95 | + | |
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 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 | + | |
0 commit comments