Skip to content

Commit 4eae6c2

Browse files
Fix high-income tax calculation bug (#1337)
* Fix high-income tax change bug * Update tests
1 parent a12e913 commit 4eae6c2

5 files changed

Lines changed: 36 additions & 56 deletions

File tree

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
fixed:
4+
- Removed bug-causing high income tax change variable.
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
reforms:
2-
- name: Raise basic rate by 1pp
3-
expected_impact: 8.1
4-
parameters:
5-
gov.hmrc.income_tax.rates.uk[0].rate: 0.21
6-
- name: Raise higher rate by 1pp
7-
expected_impact: 5.0
8-
parameters:
9-
gov.hmrc.income_tax.rates.uk[1].rate: 0.42
10-
- name: Raise personal allowance by ~800GBP/year
11-
expected_impact: 0.7
12-
parameters:
13-
gov.hmrc.income_tax.allowances.personal_allowance.amount: 13000
14-
- name: Raise child benefit by 25GBP/week per additional child
15-
expected_impact: -1.3
16-
parameters:
17-
gov.hmrc.child_benefit.amount.additional: 25
18-
- name: Reduce Universal Credit taper rate to 20%
19-
expected_impact: -33.3
20-
parameters:
21-
gov.dwp.universal_credit.means_test.reduction_rate: 0.2
22-
- name: Raise Class 1 main employee NICs rate to 10%
23-
expected_impact: 12.5
24-
parameters:
25-
gov.hmrc.national_insurance.class_1.rates.employee.main: 0.1
26-
- name: Raise VAT standard rate by 2pp
27-
expected_impact: 21.1
28-
parameters:
29-
gov.hmrc.vat.standard_rate: 0.22
30-
- name: Raise additional rate by 3pp
31-
expected_impact: 5.2
32-
parameters:
33-
gov.hmrc.income_tax.rates.uk[2].rate: 0.48
2+
- name: Raise basic rate by 1pp
3+
expected_impact: 8.0
4+
parameters:
5+
gov.hmrc.income_tax.rates.uk[0].rate: 0.21
6+
- name: Raise higher rate by 1pp
7+
expected_impact: 5.0
8+
parameters:
9+
gov.hmrc.income_tax.rates.uk[1].rate: 0.42
10+
- name: Raise personal allowance by ~800GBP/year
11+
expected_impact: 0.7
12+
parameters:
13+
gov.hmrc.income_tax.allowances.personal_allowance.amount: 13000
14+
- name: Raise child benefit by 25GBP/week per additional child
15+
expected_impact: -1.4
16+
parameters:
17+
gov.hmrc.child_benefit.amount.additional: 25
18+
- name: Reduce Universal Credit taper rate to 20%
19+
expected_impact: -36.0
20+
parameters:
21+
gov.dwp.universal_credit.means_test.reduction_rate: 0.2
22+
- name: Raise Class 1 main employee NICs rate to 10%
23+
expected_impact: 12.4
24+
parameters:
25+
gov.hmrc.national_insurance.class_1.rates.employee.main: 0.1
26+
- name: Raise VAT standard rate by 2pp
27+
expected_impact: 21.2
28+
parameters:
29+
gov.hmrc.vat.standard_rate: 0.22
30+
- name: Raise additional rate by 3pp
31+
expected_impact: 5.3
32+
parameters:
33+
gov.hmrc.income_tax.rates.uk[2].rate: 0.48

policyengine_uk/variables/contrib/policyengine/high_income_incident_tax_change.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

policyengine_uk/variables/gov/gov_tax.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class gov_tax(Variable):
3030
"private_school_vat",
3131
"corporate_incident_tax_revenue_change",
3232
"consumer_incident_tax_revenue_change",
33-
"high_income_incident_tax_change",
3433
"ni_employer",
3534
"student_loan_repayments",
3635
"vat",

policyengine_uk/variables/gov/hmrc/household_tax.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class household_tax(Variable):
2929
"private_school_vat",
3030
"corporate_incident_tax_revenue_change",
3131
"consumer_incident_tax_revenue_change",
32-
"high_income_incident_tax_change",
3332
"employer_ni_response_capital_incidence",
3433
"employer_ni_response_consumer_incidence",
3534
"student_loan_repayments",

0 commit comments

Comments
 (0)