Skip to content

Commit 2c30fe6

Browse files
authored
Merge pull request #1330 from PolicyEngine/fix/incidence-bug
Fix/incidence bug
2 parents c9e606b + 80647eb commit 2c30fe6

4 files changed

Lines changed: 38 additions & 34 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+
- Fix bug in capital/consumer incidence.
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.4
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.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

policyengine_uk/variables/contrib/policyengine/employer_ni/employer_ni_response_capital_incidence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def formula(person, period, parameters):
3636
value = (
3737
amount_paid_by_employers
3838
* share_of_total_wealth
39-
* capital_incidence
39+
* emp_ni.capital_incidence
4040
)
4141

4242
if total_wealth == 0:

policyengine_uk/variables/contrib/policyengine/employer_ni/employer_ni_response_consumer_incidence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def formula(person, period, parameters):
3636
value = (
3737
amount_paid_by_employers
3838
* share_of_total_consumption
39-
* consumer_incidence
39+
* emp_ni.consumer_incidence
4040
)
4141

4242
if total_consumption == 0:

0 commit comments

Comments
 (0)