Repository: PolicyEngine/policyengine-uk (language: python)

Issue:
Increase dividend tax by 1.25% from April 2022
Per https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1028813/Budget_AB2021_Print.pdf#page=138


Discussion / hints:

Fix patch:
diff --git a/openfisca_uk/parameters/demographic/population_estimate.yaml b/openfisca_uk/parameters/demographic/population_estimate.yaml
index b9a2de783..44305767d 100644
--- a/openfisca_uk/parameters/demographic/population_estimate.yaml
+++ b/openfisca_uk/parameters/demographic/population_estimate.yaml
@@ -8,9 +8,9 @@ ENGLAND:
     2018-07-01: 55_977_178
     2019-07-01: 56_286_961
     2020-07-01: 56_550_138
-    2023-01-01: 57_600_000
-    2028-01-01: 58_800_000
-    2033-01-01: 59_800_000
+    2023-07-01: 57_600_000
+    2028-07-01: 58_800_000
+    2033-07-01: 59_800_000
 NORTHERN_IRELAND:
   metadata:
     interpolation:
@@ -19,9 +19,9 @@ NORTHERN_IRELAND:
     2018-07-01: 1_881_641
     2019-07-01: 1_893_667
     2020-07-01: 1_895_510
-    2023-01-01: 1_900_000
-    2028-01-01: 2_000_000
-    2033-01-01: 2_000_000
+    2023-07-01: 1_900_000
+    2028-07-01: 2_000_000
+    2033-07-01: 2_000_000
 SCOTLAND:
   metadata:
     interpolation:
@@ -30,9 +30,9 @@ SCOTLAND:
     2018-07-01: 5_438_100
     2019-07-01: 5_463_300
     2020-07-01: 5_466_000
-    2023-01-01: 5_500_000
-    2028-01-01: 5_500_000
-    2033-01-01: 5_600_000
+    2023-07-01: 5_500_000
+    2028-07-01: 5_500_000
+    2033-07-01: 5_600_000
 WALES:
   metadata:
     interpolation:
@@ -41,9 +41,9 @@ WALES:
     2018-07-01: 3_138_631
     2019-07-01: 3_152_879
     2020-07-01: 3_169_586
-    2023-01-01: 3_200_000
-    2028-01-01: 3_200_000
-    2033-01-01: 3_200_000
+    2023-07-01: 3_200_000
+    2028-07-01: 3_200_000
+    2033-07-01: 3_200_000
 metadata:
   reference:
     - title: StatsWales Population Estimates
diff --git a/openfisca_uk/parameters/tax/income_tax/rates/dividends.yaml b/openfisca_uk/parameters/tax/income_tax/rates/dividends.yaml
index c4f78839d..8c4e7143b 100644
--- a/openfisca_uk/parameters/tax/income_tax/rates/dividends.yaml
+++ b/openfisca_uk/parameters/tax/income_tax/rates/dividends.yaml
@@ -2,14 +2,17 @@ description: Dividend income tax scale (thresholds are from the main Income Tax
 brackets:
   - rate:
       2015-06-01: 0.075
+      2022-04-01: 0.0875
     threshold:
       2015-06-01: 0
   - rate:
       2015-06-01: 0.325
+      2022-04-01: 0.3375
     threshold:
       2015-06-01: 37500
   - rate:
       2015-06-01: 0.381
+      2022-04-01: 0.3935
     threshold:
       2015-06-01: 150000
 metadata:
@@ -17,4 +20,8 @@ metadata:
   type: marginal_rate
   threshold_unit: currency-GBP
   rate_unit: /1
-  reference: https://www.gov.uk/government/publications/rates-and-allowances-income-tax/income-tax-rates-and-allowances-current-and-past
+  reference: 
+    - title: GOV.UK
+      href: https://www.gov.uk/government/publications/rates-and-allowances-income-tax/income-tax-rates-and-allowances-current-and-past
+    - title: Autumn Budget and Spending Review
+      href: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1029973/Budget_AB2021_Print.pdf#page=138
\ No newline at end of file
diff --git a/openfisca_uk/parameters/tax/national_insurance/class_1/rates/employee/additional.yaml b/openfisca_uk/parameters/tax/national_insurance/class_1/rates/employee/additional.yaml
index 97c16c1ee..a376069d8 100644
--- a/openfisca_uk/parameters/tax/national_insurance/class_1/rates/employee/additional.yaml
+++ b/openfisca_uk/parameters/tax/national_insurance/class_1/rates/employee/additional.yaml
@@ -4,11 +4,11 @@ values:
 metadata:
   policyengine:
     short_name: NI_add_rate
-    title: NI add. rate
+    title: NI additional rate
     description: The Class 1 NI additional rate is paid on employment earnings above the Upper Earnings Limit.
     min: 0
     max: 1
     type: rate
-    summary: Change the NI add. rate to @
+    summary: Change the NI additional rate to @
   unit: marginal-rate
   reference: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/882271/Table-a4.pdf
diff --git a/setup.py b/setup.py
index 387163f9a..463caa84e 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@
 
 setup(
     name="OpenFisca-UK",
-    version="0.7.1",
+    version="0.7.2",
     author="PolicyEngine",
     author_email="nikhil@policyengine.org",
     classifiers=[


Test patch:
diff --git a/openfisca_uk/tests/policy/baseline/demographic/poverty.yaml b/openfisca_uk/tests/policy/baseline/demographic/poverty.yaml
index 6b32fa908..5a50f4820 100644
--- a/openfisca_uk/tests/policy/baseline/demographic/poverty.yaml
+++ b/openfisca_uk/tests/policy/baseline/demographic/poverty.yaml
@@ -1,5 +1,5 @@
 - name: Poverty gap for single person
-  period: 2020
+  period: 2019
   absolute_error_margin: 40
   input:
     age: 35
@@ -8,4 +8,4 @@
   output:
     poverty_gap_bhc: 211 * 52
     in_poverty_bhc: true
-    in_deep_poverty_bhc: true
+    in_deep_poverty_bhc: true
\ No newline at end of file