policyengine-uk 2.35.0__py3-none-any.whl → 2.36.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- policyengine_uk/__init__.py +4 -0
- policyengine_uk/data/__init__.py +0 -4
- policyengine_uk/data/dataset_schema.py +32 -2
- policyengine_uk/data/economic_assumptions.py +12 -23
- policyengine_uk/data/uprating_growth_factors.csv +83 -83
- policyengine_uk/parameters/gov/benefit_uprating_cpi.yaml +2 -1
- policyengine_uk/parameters/gov/contrib/create_private_pension_uprating.py +7 -11
- policyengine_uk/parameters/gov/dwp/IIDB/maximum.yaml +1 -1
- policyengine_uk/parameters/gov/dwp/state_pension/basic_state_pension/amount.yaml +1 -1
- policyengine_uk/parameters/gov/dwp/state_pension/new_state_pension/amount.yaml +1 -1
- policyengine_uk/parameters/gov/dwp/state_pension/triple_lock/create_triple_lock.py +23 -15
- policyengine_uk/parameters/gov/dwp/state_pension/triple_lock/include_earnings.yaml +8 -0
- policyengine_uk/parameters/gov/dwp/state_pension/triple_lock/include_inflation.yaml +6 -0
- policyengine_uk/parameters/gov/economic_assumptions/create_economic_assumption_indices.py +64 -0
- policyengine_uk/parameters/gov/economic_assumptions/yoy_growth.yaml +265 -0
- policyengine_uk/parameters/gov/hmrc/fuel_duty/petrol_and_diesel.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/income_tax/allowances/personal_allowance/amount.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/income_tax/rates/scotland/rates.yaml +6 -6
- policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/lower_earnings_limit.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/primary_threshold.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/secondary_threshold.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/upper_earnings_limit.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/national_insurance/class_2/small_profits_threshold.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/national_insurance/class_4/thresholds/lower_profits_limit.yaml +1 -1
- policyengine_uk/parameters/gov/hmrc/national_insurance/class_4/thresholds/upper_profits_limit.yaml +1 -1
- policyengine_uk/parameters/gov/indices/private_rent_index.yaml +1 -1
- policyengine_uk/parameters/gov/simulation/private_school_vat/private_school_fees.yaml +1 -1
- policyengine_uk/parameters/gov/social_security_scotland/pawhp/amount/base.yaml +1 -1
- policyengine_uk/parameters/gov/social_security_scotland/pawhp/amount/higher.yaml +1 -1
- policyengine_uk/parameters/gov/social_security_scotland/pawhp/amount/lower.yaml +1 -1
- policyengine_uk/parameters/household/consumption/total_by_category.yaml +1 -1
- policyengine_uk/parameters/household/poverty/absolute_poverty_threshold_ahc.yaml +2 -1
- policyengine_uk/parameters/household/poverty/absolute_poverty_threshold_bhc.yaml +2 -1
- policyengine_uk/parameters/household/wealth/national_balance_sheet.yaml +1 -1
- policyengine_uk/system.py +33 -11
- policyengine_uk/tests/microsimulation/reforms_config.yaml +4 -4
- policyengine_uk/tests/policy/baseline/gov/dfe/extended_childcare_entitlement/extended_childcare_entitlement.yaml +2 -2
- policyengine_uk/utils/create_triple_lock.py +6 -2
- policyengine_uk/variables/gov/dfe/free_school_fruit_veg.py +1 -1
- policyengine_uk/variables/gov/dfe/free_school_meals.py +1 -1
- policyengine_uk/variables/gov/dfe/free_school_milk.py +1 -1
- policyengine_uk/variables/gov/dwp/afcs_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/attendance_allowance_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/basic_state_pension.py +1 -1
- policyengine_uk/variables/gov/dwp/bsp_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/carers_allowance_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/child_tax_credit_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/dla/dla_m_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/dla/dla_sc_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/esa_contrib_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/esa_income_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/housing_benefit/housing_benefit_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/iidb_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/incapacity_benefit_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/income_support_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/jsa_contrib_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/jsa_income_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/maternity_allowance_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/pension_credit/pension_credit_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/pip/pip_dl_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/pip/pip_m_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/sda_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/state_pension_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/universal_credit/universal_credit_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/winter_fuel_allowance_reported.py +1 -1
- policyengine_uk/variables/gov/dwp/working_tax_credit_reported.py +1 -1
- policyengine_uk/variables/gov/gov_tax.py +1 -0
- policyengine_uk/variables/gov/hmrc/capital_gains_tax/capital_gains_before_response.py +1 -1
- policyengine_uk/variables/gov/hmrc/child_benefit_reported.py +1 -1
- policyengine_uk/variables/gov/hmrc/student_loan_repayments.py +1 -1
- policyengine_uk/variables/household/demographic/household_weight.py +1 -1
- policyengine_uk/variables/household/income/capital_gains.py +1 -1
- policyengine_uk/variables/household/income/inflation_adjustment.py +3 -1
- policyengine_uk/variables/household/income/statutory_maternity_pay.py +1 -1
- policyengine_uk/variables/household/income/statutory_paternity_pay.py +1 -1
- policyengine_uk/variables/household/income/statutory_sick_pay.py +1 -1
- policyengine_uk/variables/household/wealth/gross_financial_wealth.py +1 -1
- policyengine_uk/variables/household/wealth/net_financial_wealth.py +1 -1
- policyengine_uk/variables/household/wealth/savings.py +1 -1
- policyengine_uk/variables/input/consumption/alcohol_and_tobacco_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/childcare_expenses.py +1 -1
- policyengine_uk/variables/input/consumption/clothing_and_footwear_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/communication_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/diesel_spending.py +1 -1
- policyengine_uk/variables/input/consumption/education_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/energy.py +1 -1
- policyengine_uk/variables/input/consumption/food_and_non_alcoholic_beverages_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/health_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/household_furnishings_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/housing_water_and_electricity_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/miscellaneous_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/petrol_spending.py +1 -1
- policyengine_uk/variables/input/consumption/property/council_tax.py +1 -1
- policyengine_uk/variables/input/consumption/property/employee_pension_contributions.py +1 -1
- policyengine_uk/variables/input/consumption/property/employer_pension_contributions.py +1 -1
- policyengine_uk/variables/input/consumption/property/maintenance_expenses.py +1 -1
- policyengine_uk/variables/input/consumption/property/mortgage_capital_repayment.py +1 -1
- policyengine_uk/variables/input/consumption/property/mortgage_interest_repayment.py +1 -1
- policyengine_uk/variables/input/consumption/property/personal_pension_contributions.py +1 -1
- policyengine_uk/variables/input/consumption/recreation_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/restaurants_and_hotels_consumption.py +1 -1
- policyengine_uk/variables/input/consumption/transport_consumption.py +1 -1
- policyengine_uk/variables/input/corporate_wealth.py +1 -1
- policyengine_uk/variables/input/dividend_income.py +1 -1
- policyengine_uk/variables/input/employment_income.py +1 -1
- policyengine_uk/variables/input/employment_income_before_lsr.py +1 -1
- policyengine_uk/variables/input/lump_sum_income.py +1 -1
- policyengine_uk/variables/input/main_residence_value.py +1 -1
- policyengine_uk/variables/input/maintenance_income.py +1 -1
- policyengine_uk/variables/input/miscellaneous_income.py +1 -1
- policyengine_uk/variables/input/non_residential_property_value.py +1 -1
- policyengine_uk/variables/input/other_investment_income.py +1 -1
- policyengine_uk/variables/input/other_residential_property_value.py +1 -1
- policyengine_uk/variables/input/owned_land.py +1 -1
- policyengine_uk/variables/input/pension_income.py +1 -1
- policyengine_uk/variables/input/private_pension_income.py +1 -1
- policyengine_uk/variables/input/private_transfer_income.py +1 -1
- policyengine_uk/variables/input/property_income.py +1 -1
- policyengine_uk/variables/input/rent.py +1 -1
- policyengine_uk/variables/input/savings_interest_income.py +1 -1
- policyengine_uk/variables/input/self_employment_income.py +1 -1
- policyengine_uk/variables/input/state_pension.py +1 -1
- policyengine_uk/variables/input/sublet_income.py +1 -1
- {policyengine_uk-2.35.0.data → policyengine_uk-2.36.0.data}/data/share/openfisca/openfisca-country-template/CHANGELOG.md +17 -0
- {policyengine_uk-2.35.0.dist-info → policyengine_uk-2.36.0.dist-info}/METADATA +1 -1
- {policyengine_uk-2.35.0.dist-info → policyengine_uk-2.36.0.dist-info}/RECORD +130 -143
- policyengine_uk/parameters/gov/obr/add_per_capita_parameters.py +0 -40
- policyengine_uk/parameters/gov/obr/average_earnings.yaml +0 -30
- policyengine_uk/parameters/gov/obr/consumer_price_index.yaml +0 -28
- policyengine_uk/parameters/gov/obr/council_tax.yaml +0 -18
- policyengine_uk/parameters/gov/obr/employment_income.yaml +0 -28
- policyengine_uk/parameters/gov/obr/extend_forecast.py +0 -32
- policyengine_uk/parameters/gov/obr/gdp.yaml +0 -28
- policyengine_uk/parameters/gov/obr/house_prices.yaml +0 -27
- policyengine_uk/parameters/gov/obr/mixed_income.yaml +0 -24
- policyengine_uk/parameters/gov/obr/mortgage_interest.yaml +0 -27
- policyengine_uk/parameters/gov/obr/non_labour_income.yaml +0 -24
- policyengine_uk/parameters/gov/obr/rent.yaml +0 -27
- policyengine_uk/parameters/gov/obr/rpi.yaml +0 -29
- policyengine_uk/parameters/gov/ons/README.md +0 -3
- policyengine_uk/parameters/gov/ons/household.yaml +0 -51
- policyengine_uk/parameters/gov/ons/population.yaml +0 -37
- policyengine_uk/parameters/gov/ons/rpi.yaml +0 -19
- {policyengine_uk-2.35.0.data → policyengine_uk-2.36.0.data}/data/share/openfisca/openfisca-country-template/LICENSE +0 -0
- {policyengine_uk-2.35.0.data → policyengine_uk-2.36.0.data}/data/share/openfisca/openfisca-country-template/README.md +0 -0
- {policyengine_uk-2.35.0.dist-info → policyengine_uk-2.36.0.dist-info}/WHEEL +0 -0
- {policyengine_uk-2.35.0.dist-info → policyengine_uk-2.36.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,265 @@
|
|
1
|
+
obr:
|
2
|
+
rpi:
|
3
|
+
description: Retail price index year-on-year growth.
|
4
|
+
values:
|
5
|
+
2009-01-01: 0.018
|
6
|
+
2010-01-01: 0.008
|
7
|
+
2011-01-01: 0.016
|
8
|
+
2012-01-01: 0.007
|
9
|
+
2013-01-01: 0.047
|
10
|
+
2014-01-01: 0.006
|
11
|
+
2015-01-01: 0.020
|
12
|
+
2016-01-01: 0.024
|
13
|
+
2017-01-01: 0.032
|
14
|
+
2018-01-01: 0.026
|
15
|
+
2019-01-01: 0.022
|
16
|
+
2020-01-01: 0.003
|
17
|
+
2021-01-01: 0.059
|
18
|
+
2022-01-01: 0.064
|
19
|
+
2023-01-01: 0.069
|
20
|
+
2024-01-01: 0.047
|
21
|
+
2025-01-01: 0.037
|
22
|
+
2026-01-01: 0.022
|
23
|
+
2027-01-01: 0.021
|
24
|
+
2028-01-01: 0.023
|
25
|
+
2029-01-01: 0.025
|
26
|
+
metadata:
|
27
|
+
unit: /1
|
28
|
+
label: retail price index growth
|
29
|
+
reference:
|
30
|
+
- title: OBR EFO March 2025
|
31
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
32
|
+
average_earnings:
|
33
|
+
description: Average earnings year-on-year growth.
|
34
|
+
values:
|
35
|
+
2009-01-01: 0.018
|
36
|
+
2010-01-01: 0.008
|
37
|
+
2011-01-01: 0.016
|
38
|
+
2012-01-01: 0.007
|
39
|
+
2013-01-01: 0.047
|
40
|
+
2014-01-01: 0.006
|
41
|
+
2015-01-01: 0.020
|
42
|
+
2016-01-01: 0.024
|
43
|
+
2017-01-01: 0.032
|
44
|
+
2018-01-01: 0.026
|
45
|
+
2019-01-01: 0.022
|
46
|
+
2020-01-01: 0.003
|
47
|
+
2021-01-01: 0.059
|
48
|
+
2022-01-01: 0.064
|
49
|
+
2023-01-01: 0.069
|
50
|
+
2024-01-01: 0.047
|
51
|
+
2025-01-01: 0.037
|
52
|
+
2026-01-01: 0.022
|
53
|
+
2027-01-01: 0.021
|
54
|
+
2028-01-01: 0.023
|
55
|
+
2029-01-01: 0.025
|
56
|
+
metadata:
|
57
|
+
unit: /1
|
58
|
+
label: average earnings growth
|
59
|
+
reference:
|
60
|
+
- title: OBR EFO March 2025 (detailed forecast tables, economy, Table 1.6, Row Q)
|
61
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
62
|
+
|
63
|
+
consumer_price_index:
|
64
|
+
description: Consumer price index year-on-year growth.
|
65
|
+
values:
|
66
|
+
2009-01-01: 0.022
|
67
|
+
2010-01-01: 0.035
|
68
|
+
2011-01-01: 0.043
|
69
|
+
2012-01-01: 0.027
|
70
|
+
2013-01-01: 0.023
|
71
|
+
2014-01-01: 0.011
|
72
|
+
2015-01-01: 0.001
|
73
|
+
2016-01-01: 0.011
|
74
|
+
2017-01-01: 0.028
|
75
|
+
2018-01-01: 0.023
|
76
|
+
2019-01-01: 0.017
|
77
|
+
2020-01-01: 0.006
|
78
|
+
2021-01-01: 0.040
|
79
|
+
2022-01-01: 0.100
|
80
|
+
2023-01-01: 0.057
|
81
|
+
2024-01-01: 0.023
|
82
|
+
2025-01-01: 0.032
|
83
|
+
2026-01-01: 0.019
|
84
|
+
2027-01-01: 0.020
|
85
|
+
2028-01-01: 0.020
|
86
|
+
2029-01-01: 0.020
|
87
|
+
metadata:
|
88
|
+
unit: /1
|
89
|
+
label: consumer price index growth
|
90
|
+
reference:
|
91
|
+
- title: OBR EFO March 2025
|
92
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
93
|
+
|
94
|
+
non_labour_income:
|
95
|
+
description: Non-labour income year-on-year growth.
|
96
|
+
values:
|
97
|
+
2021-01-01: 0.072
|
98
|
+
2022-01-01: 0.138
|
99
|
+
2023-01-01: 0.066
|
100
|
+
2024-01-01: 0.08
|
101
|
+
2025-01-01: 0.068
|
102
|
+
2026-01-01: 0.056
|
103
|
+
2027-01-01: 0.045
|
104
|
+
2028-01-01: 0.034
|
105
|
+
2029-01-01: 0.035
|
106
|
+
metadata:
|
107
|
+
unit: /1
|
108
|
+
label: non-labour income growth
|
109
|
+
reference:
|
110
|
+
- title: OBR EFO March 2025
|
111
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
112
|
+
|
113
|
+
council_tax:
|
114
|
+
description: Council tax year-on-year growth.
|
115
|
+
values:
|
116
|
+
2021-01-01: 0.078
|
117
|
+
2022-01-01: 0.053
|
118
|
+
2023-01-01: 0.056
|
119
|
+
2024-01-01: 0.064
|
120
|
+
2025-01-01: 0.046
|
121
|
+
2026-01-01: 0.045
|
122
|
+
2027-01-01: 0.046
|
123
|
+
2028-01-01: 0.045
|
124
|
+
2029-01-01: 0.045
|
125
|
+
metadata:
|
126
|
+
unit: /1
|
127
|
+
label: council tax growth
|
128
|
+
reference:
|
129
|
+
- title: OBR EFO March 2025
|
130
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
131
|
+
|
132
|
+
per_capita:
|
133
|
+
gdp:
|
134
|
+
description: Per capita GDP year-on-year growth.
|
135
|
+
values:
|
136
|
+
2021-01-01: 0.125
|
137
|
+
2022-01-01: 0.092
|
138
|
+
2023-01-01: 0.05
|
139
|
+
2024-01-01: 0.038
|
140
|
+
2025-01-01: 0.028
|
141
|
+
2026-01-01: 0.028
|
142
|
+
2027-01-01: 0.031
|
143
|
+
2028-01-01: 0.033
|
144
|
+
2029-01-01: 0.033
|
145
|
+
metadata:
|
146
|
+
unit: /1
|
147
|
+
label: per capita GDP growth
|
148
|
+
reference:
|
149
|
+
- title: OBR EFO March 2025
|
150
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
151
|
+
|
152
|
+
mixed_income:
|
153
|
+
description: Per capita mixed income year-on-year growth.
|
154
|
+
values:
|
155
|
+
2021-01-01: 0.06
|
156
|
+
2022-01-01: 0.063
|
157
|
+
2023-01-01: 0.024
|
158
|
+
2024-01-01: 0.048
|
159
|
+
2025-01-01: 0.047
|
160
|
+
2026-01-01: 0.031
|
161
|
+
2027-01-01: 0.031
|
162
|
+
2028-01-01: 0.036
|
163
|
+
2029-01-01: 0.038
|
164
|
+
metadata:
|
165
|
+
unit: /1
|
166
|
+
label: per capita mixed income growth
|
167
|
+
reference:
|
168
|
+
- title: OBR EFO March 2025
|
169
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
170
|
+
|
171
|
+
non_labour_income:
|
172
|
+
description: Per capita non-labour income year-on-year growth.
|
173
|
+
values:
|
174
|
+
2021-01-01: 0.068
|
175
|
+
2022-01-01: 0.134
|
176
|
+
2023-01-01: 0.052
|
177
|
+
2024-01-01: 0.069
|
178
|
+
2025-01-01: 0.057
|
179
|
+
2026-01-01: 0.049
|
180
|
+
2027-01-01: 0.038
|
181
|
+
2028-01-01: 0.029
|
182
|
+
2029-01-01: 0.03
|
183
|
+
metadata:
|
184
|
+
unit: /1
|
185
|
+
label: per capita non-labour income growth
|
186
|
+
reference:
|
187
|
+
- title: OBR EFO March 2025
|
188
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
189
|
+
|
190
|
+
house_prices:
|
191
|
+
description: House prices year-on-year growth.
|
192
|
+
values:
|
193
|
+
2021-01-01: 0.082
|
194
|
+
2022-01-01: 0.083
|
195
|
+
2023-01-01: -0.01
|
196
|
+
2024-01-01: 0.027
|
197
|
+
2025-01-01: 0.024
|
198
|
+
2026-01-01: 0.025
|
199
|
+
2027-01-01: 0.026
|
200
|
+
2028-01-01: 0.023
|
201
|
+
2029-01-01: 0.024
|
202
|
+
metadata:
|
203
|
+
unit: /1
|
204
|
+
label: house prices growth
|
205
|
+
reference:
|
206
|
+
- title: OBR EFO March 2025
|
207
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
208
|
+
|
209
|
+
mortgage_interest:
|
210
|
+
description: Mortgage interest year-on-year growth.
|
211
|
+
values:
|
212
|
+
2021-01-01: 0.003
|
213
|
+
2022-01-01: 0.262
|
214
|
+
2023-01-01: 0.485
|
215
|
+
2024-01-01: 0.221
|
216
|
+
2025-01-01: 0.136
|
217
|
+
2026-01-01: 0.126
|
218
|
+
2027-01-01: 0.082
|
219
|
+
2028-01-01: 0.042
|
220
|
+
2029-01-01: 0.047
|
221
|
+
metadata:
|
222
|
+
unit: /1
|
223
|
+
label: mortgage interest growth
|
224
|
+
reference:
|
225
|
+
- title: OBR EFO March 2025
|
226
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
227
|
+
|
228
|
+
rent:
|
229
|
+
description: Rent year-on-year growth.
|
230
|
+
values:
|
231
|
+
2021-01-01: 0.018
|
232
|
+
2022-01-01: 0.04
|
233
|
+
2023-01-01: 0.063
|
234
|
+
2024-01-01: 0.074
|
235
|
+
2025-01-01: 0.057
|
236
|
+
2026-01-01: 0.036
|
237
|
+
2027-01-01: 0.027
|
238
|
+
2028-01-01: 0.023
|
239
|
+
2029-01-01: 0.024
|
240
|
+
metadata:
|
241
|
+
unit: /1
|
242
|
+
label: rent growth
|
243
|
+
reference:
|
244
|
+
- title: OBR EFO March 2025
|
245
|
+
href: https://obr.uk/efo/economic-and-fiscal-outlook-march-2025/
|
246
|
+
|
247
|
+
ons:
|
248
|
+
population:
|
249
|
+
description: Population year-on-year growth.
|
250
|
+
values:
|
251
|
+
2021-01-01: 0.004
|
252
|
+
2022-01-01: 0.003
|
253
|
+
2023-01-01: 0.014
|
254
|
+
2024-01-01: 0.01
|
255
|
+
2025-01-01: 0.011
|
256
|
+
2026-01-01: 0.007
|
257
|
+
2027-01-01: 0.008
|
258
|
+
2028-01-01: 0.004
|
259
|
+
2029-01-01: 0.005
|
260
|
+
metadata:
|
261
|
+
unit: /1
|
262
|
+
label: population growth
|
263
|
+
reference:
|
264
|
+
- title: ONS Population Projections
|
265
|
+
href: https://www.ons.gov.uk/
|
@@ -30,7 +30,7 @@ metadata:
|
|
30
30
|
unit: currency-GBP
|
31
31
|
name: fuel_duty_rate
|
32
32
|
label: Fuel duty rate (petrol and diesel)
|
33
|
-
uprating: gov.
|
33
|
+
uprating: gov.economic_assumptions.indices.obr.rpi
|
34
34
|
reference:
|
35
35
|
- title: Hydrocarbon Oil Duties Act 1979 s. 6
|
36
36
|
href: https://www.legislation.gov.uk/ukpga/1979/5/section/6
|
@@ -11,7 +11,7 @@ metadata:
|
|
11
11
|
name: personal_allowance
|
12
12
|
label: Personal allowance
|
13
13
|
unit: currency-GBP
|
14
|
-
uprating: gov.obr.consumer_price_index
|
14
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
15
15
|
reference:
|
16
16
|
- title: Income Tax Act 2007 s. 35
|
17
17
|
href: https://www.legislation.gov.uk/ukpga/2007/3/section/35
|
@@ -6,7 +6,7 @@ brackets:
|
|
6
6
|
2018-04-06: 0
|
7
7
|
2021-04-06: 0
|
8
8
|
metadata:
|
9
|
-
uprating: gov.obr.consumer_price_index
|
9
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
10
10
|
rate:
|
11
11
|
2017-04-01: null
|
12
12
|
2018-04-06: 0.19 # Starter rate
|
@@ -19,7 +19,7 @@ brackets:
|
|
19
19
|
2023-04-06: 2_162
|
20
20
|
2024-04-06: 2_306
|
21
21
|
metadata:
|
22
|
-
uprating: gov.obr.consumer_price_index
|
22
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
23
23
|
rate:
|
24
24
|
2017-04-06: 0.20 # Basic rate
|
25
25
|
- threshold:
|
@@ -31,7 +31,7 @@ brackets:
|
|
31
31
|
2023-04-06: 13_118
|
32
32
|
2024-04-06: 13_991
|
33
33
|
metadata:
|
34
|
-
uprating: gov.obr.consumer_price_index
|
34
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
35
35
|
rate:
|
36
36
|
2017-04-06: null
|
37
37
|
2018-04-06: 0.21 # Intermediate rate
|
@@ -43,7 +43,7 @@ brackets:
|
|
43
43
|
2023-04-06: 31_092
|
44
44
|
2024-04-06: 31_092
|
45
45
|
metadata:
|
46
|
-
uprating: gov.obr.consumer_price_index
|
46
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
47
47
|
rate:
|
48
48
|
2017-04-06: 0.40
|
49
49
|
2021-04-06: 0.41 # Higher rate
|
@@ -54,7 +54,7 @@ brackets:
|
|
54
54
|
2023-04-06: 125_140
|
55
55
|
2024-04-06: 62_430
|
56
56
|
metadata:
|
57
|
-
uprating: gov.obr.consumer_price_index
|
57
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
58
58
|
rate:
|
59
59
|
2017-04-06: 0.45
|
60
60
|
2018-04-06: 0.46 # Additional rate
|
@@ -65,7 +65,7 @@ brackets:
|
|
65
65
|
2017-04-06: null
|
66
66
|
2024-04-06: 125_140
|
67
67
|
metadata:
|
68
|
-
uprating: gov.obr.consumer_price_index
|
68
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
69
69
|
rate:
|
70
70
|
2017-04-06: null
|
71
71
|
2024-04-06: 0.48
|
policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/lower_earnings_limit.yaml
CHANGED
@@ -6,7 +6,7 @@ metadata:
|
|
6
6
|
- https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/882271/Table-a4.pdf
|
7
7
|
- https://www.gov.uk/government/publications/rates-and-allowances-national-insurance-contributions/rates-and-allowances-national-insurance-contributions
|
8
8
|
unit: currency-GBP
|
9
|
-
uprating: gov.obr.consumer_price_index
|
9
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
10
10
|
label: NI Lower Earnings Limit
|
11
11
|
values:
|
12
12
|
2015-04-06: 112
|
policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/primary_threshold.yaml
CHANGED
@@ -29,7 +29,7 @@ metadata:
|
|
29
29
|
label: NI Primary Threshold
|
30
30
|
name: NI_PT
|
31
31
|
unit: currency-GBP
|
32
|
-
uprating: gov.obr.consumer_price_index
|
32
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
33
33
|
period: week
|
34
34
|
reference:
|
35
35
|
- title: "GOV.UK | Rates and allowances: National Insurance contributions"
|
policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/secondary_threshold.yaml
CHANGED
@@ -2,7 +2,7 @@ description: Secondary threshold for National Insurance
|
|
2
2
|
metadata:
|
3
3
|
label: NI Secondary Threshold
|
4
4
|
period: week
|
5
|
-
uprating: gov.obr.consumer_price_index
|
5
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
6
6
|
reference:
|
7
7
|
- https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/882271/Table-a4.pdf
|
8
8
|
- https://www.gov.uk/government/publications/rates-and-allowances-national-insurance-contributions/rates-and-allowances-national-insurance-contributions
|
policyengine_uk/parameters/gov/hmrc/national_insurance/class_1/thresholds/upper_earnings_limit.yaml
CHANGED
@@ -11,7 +11,7 @@ values:
|
|
11
11
|
metadata:
|
12
12
|
label: NI Upper Earnings Limit
|
13
13
|
unit: currency-GBP
|
14
|
-
uprating: gov.obr.consumer_price_index
|
14
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
15
15
|
period: week
|
16
16
|
reference:
|
17
17
|
- https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/882271/Table-a4.pdf
|
@@ -15,7 +15,7 @@ values:
|
|
15
15
|
metadata:
|
16
16
|
unit: currency-GBP
|
17
17
|
label: NI Class 2 Small Profits Threshold
|
18
|
-
uprating: gov.obr.consumer_price_index
|
18
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
19
19
|
reference:
|
20
20
|
- https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/882271/Table-a4.pdf
|
21
21
|
- https://www.gov.uk/government/publications/rates-and-allowances-national-insurance-contributions/rates-and-allowances-national-insurance-contributions
|
policyengine_uk/parameters/gov/hmrc/national_insurance/class_4/thresholds/lower_profits_limit.yaml
CHANGED
@@ -22,7 +22,7 @@ metadata:
|
|
22
22
|
label: NI Lower Profits Limit
|
23
23
|
unit: currency-GBP
|
24
24
|
period: year
|
25
|
-
uprating: gov.obr.consumer_price_index
|
25
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
26
26
|
reference:
|
27
27
|
- https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/882271/Table-a4.pdf
|
28
28
|
- https://www.gov.uk/government/publications/rates-and-allowances-national-insurance-contributions/rates-and-allowances-national-insurance-contributions
|
policyengine_uk/parameters/gov/hmrc/national_insurance/class_4/thresholds/upper_profits_limit.yaml
CHANGED
@@ -13,7 +13,7 @@ metadata:
|
|
13
13
|
name: NI_UPL
|
14
14
|
unit: currency-GBP
|
15
15
|
period: year
|
16
|
-
uprating: gov.obr.consumer_price_index
|
16
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
17
17
|
reference:
|
18
18
|
- https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/882271/Table-a4.pdf
|
19
19
|
- https://www.gov.uk/government/publications/rates-and-allowances-national-insurance-contributions/rates-and-allowances-national-insurance-contributions
|
@@ -111,7 +111,7 @@ values:
|
|
111
111
|
2024-01-01: 124.6
|
112
112
|
metadata:
|
113
113
|
label: Private rental prices index
|
114
|
-
uprating: gov.obr.consumer_price_index
|
114
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
115
115
|
reference:
|
116
116
|
- title: ONS Index of Private Housing Rental Prices, UK monthly estimates
|
117
117
|
href: https://www.ons.gov.uk/economy/inflationandpriceindices/datasets/indexofprivatehousingrentalpricesreferencetables
|
@@ -7,4 +7,4 @@ metadata:
|
|
7
7
|
reference:
|
8
8
|
- title: Tax, private school fees and state school spending
|
9
9
|
href: https://ifs.org.uk/publications/tax-private-school-fees-and-state-school-spending
|
10
|
-
uprating: gov.obr.consumer_price_index
|
10
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
@@ -1,6 +1,7 @@
|
|
1
1
|
description: Absolute poverty threshold for equivalised household net income, after housing costs.
|
2
2
|
values:
|
3
3
|
2010-01-01: 215.4
|
4
|
+
2020-01-01: 261.92
|
4
5
|
metadata:
|
5
6
|
period: week
|
6
7
|
unit: currency-GBP
|
@@ -9,4 +10,4 @@ metadata:
|
|
9
10
|
reference:
|
10
11
|
- title: Households Below Average income, 2010/11
|
11
12
|
href: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/200720/full_hbai12.pdf#page=35
|
12
|
-
uprating: gov.obr.consumer_price_index
|
13
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
@@ -1,6 +1,7 @@
|
|
1
1
|
description: Absolute poverty threshold for equivalised household net income, before housing costs
|
2
2
|
values:
|
3
3
|
2010-01-01: 251.4
|
4
|
+
2020-01-01: 305.70
|
4
5
|
metadata:
|
5
6
|
period: week
|
6
7
|
unit: currency-GBP
|
@@ -9,4 +10,4 @@ metadata:
|
|
9
10
|
reference:
|
10
11
|
- title: Households Below Average income, 2010/11
|
11
12
|
href: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/200720/full_hbai12.pdf#page=35
|
12
|
-
uprating: gov.obr.consumer_price_index
|
13
|
+
uprating: gov.economic_assumptions.indices.obr.consumer_price_index
|
policyengine_uk/system.py
CHANGED
@@ -6,20 +6,20 @@ from policyengine_core.simulations import (
|
|
6
6
|
Simulation as CoreSimulation,
|
7
7
|
Microsimulation as CoreMicrosimulation,
|
8
8
|
)
|
9
|
+
from policyengine_uk.data.dataset_schema import UKDataset
|
10
|
+
from policyengine_core.tools.hugging_face import download_huggingface_dataset
|
9
11
|
|
10
12
|
import pandas as pd
|
11
13
|
from policyengine_uk.utils.parameters import (
|
12
14
|
backdate_parameters,
|
13
15
|
convert_to_fiscal_year_parameters,
|
14
16
|
)
|
17
|
+
from policyengine_uk.parameters.gov.economic_assumptions.create_economic_assumption_indices import (
|
18
|
+
create_economic_assumption_indices,
|
19
|
+
)
|
15
20
|
from policyengine_core.reforms import Reform
|
16
21
|
from policyengine_uk.reforms import create_structural_reforms_from_parameters
|
17
|
-
|
18
|
-
add_per_capita_parameters,
|
19
|
-
)
|
20
|
-
from policyengine_uk.parameters.gov.obr.extend_forecast import (
|
21
|
-
extend_obr_forecast,
|
22
|
-
)
|
22
|
+
|
23
23
|
from policyengine_uk.parameters.gov.contrib.create_private_pension_uprating import (
|
24
24
|
add_private_pension_uprating_factor,
|
25
25
|
)
|
@@ -58,12 +58,12 @@ class CountryTaxBenefitSystem(TaxBenefitSystem):
|
|
58
58
|
modelled_policies = COUNTRY_DIR / "modelled_policies.yaml"
|
59
59
|
|
60
60
|
def process_parameters(self, reform=None):
|
61
|
-
self.parameters = extend_obr_forecast(self.parameters)
|
62
|
-
self.parameters = add_per_capita_parameters(self.parameters)
|
63
|
-
self.parameters = add_triple_lock(self.parameters)
|
64
|
-
self.parameters.add_child("baseline", self.parameters.clone())
|
65
61
|
if reform:
|
66
62
|
self.apply_reform_set(reform)
|
63
|
+
self.parameters = add_private_pension_uprating_factor(self.parameters)
|
64
|
+
self.parameters = add_triple_lock(self.parameters)
|
65
|
+
self.parameters = create_economic_assumption_indices(self.parameters)
|
66
|
+
self.parameters.add_child("baseline", self.parameters.clone())
|
67
67
|
self.parameters = homogenize_parameter_structures(
|
68
68
|
self.parameters, self.variables
|
69
69
|
)
|
@@ -77,7 +77,6 @@ class CountryTaxBenefitSystem(TaxBenefitSystem):
|
|
77
77
|
self.parameters.gov = convert_to_fiscal_year_parameters(
|
78
78
|
self.parameters.gov
|
79
79
|
)
|
80
|
-
self.parameters = add_private_pension_uprating_factor(self.parameters)
|
81
80
|
|
82
81
|
def __init__(self, reform=None):
|
83
82
|
super().__init__(entities, reform=reform)
|
@@ -158,6 +157,29 @@ class Microsimulation(CoreMicrosimulation):
|
|
158
157
|
max_spiral_loops = 10
|
159
158
|
|
160
159
|
def __init__(self, *args, dataset=ENHANCED_FRS, **kwargs):
|
160
|
+
if dataset is not None:
|
161
|
+
if isinstance(dataset, str):
|
162
|
+
if "hf://" in dataset:
|
163
|
+
owner, repo, filename = dataset.split("/")[-3:]
|
164
|
+
if "@" in filename:
|
165
|
+
version = filename.split("@")[-1]
|
166
|
+
filename = filename.split("@")[0]
|
167
|
+
else:
|
168
|
+
version = None
|
169
|
+
dataset_file_path = download_huggingface_dataset(
|
170
|
+
repo=f"{owner}/{repo}",
|
171
|
+
repo_filename=filename,
|
172
|
+
version=version,
|
173
|
+
)
|
174
|
+
|
175
|
+
if Path(dataset_file_path).exists():
|
176
|
+
if dataset_file_path.endswith(".h5"):
|
177
|
+
try:
|
178
|
+
UKDataset.validate_file_path(dataset_file_path)
|
179
|
+
dataset = UKDataset(file_path=dataset_file_path)
|
180
|
+
except:
|
181
|
+
dataset = Dataset.from_file(dataset_file_path)
|
182
|
+
|
161
183
|
super().__init__(*args, dataset=dataset, **kwargs)
|
162
184
|
|
163
185
|
reform = create_structural_reforms_from_parameters(
|
@@ -1,10 +1,10 @@
|
|
1
1
|
reforms:
|
2
2
|
- name: Raise basic rate by 1pp
|
3
|
-
expected_impact: 7.
|
3
|
+
expected_impact: 7.7
|
4
4
|
parameters:
|
5
5
|
gov.hmrc.income_tax.rates.uk[0].rate: 0.21
|
6
6
|
- name: Raise higher rate by 1pp
|
7
|
-
expected_impact:
|
7
|
+
expected_impact: 4.9
|
8
8
|
parameters:
|
9
9
|
gov.hmrc.income_tax.rates.uk[1].rate: 0.42
|
10
10
|
- name: Raise personal allowance by ~800GBP/year
|
@@ -16,7 +16,7 @@ reforms:
|
|
16
16
|
parameters:
|
17
17
|
gov.hmrc.child_benefit.amount.additional: 25
|
18
18
|
- name: Reduce Universal Credit taper rate to 20%
|
19
|
-
expected_impact: -38.
|
19
|
+
expected_impact: -38.3
|
20
20
|
parameters:
|
21
21
|
gov.dwp.universal_credit.means_test.reduction_rate: 0.2
|
22
22
|
- name: Raise Class 1 main employee NICs rate to 10%
|
@@ -28,6 +28,6 @@ reforms:
|
|
28
28
|
parameters:
|
29
29
|
gov.hmrc.vat.standard_rate: 0.22
|
30
30
|
- name: Raise additional rate by 3pp
|
31
|
-
expected_impact: 4.
|
31
|
+
expected_impact: 4.4
|
32
32
|
parameters:
|
33
33
|
gov.hmrc.income_tax.rates.uk[2].rate: 0.48
|
@@ -89,7 +89,7 @@
|
|
89
89
|
family_type: COUPLE_WITH_CHILDREN
|
90
90
|
extended_childcare_entitlement_eligible: true
|
91
91
|
output:
|
92
|
-
extended_childcare_entitlement:
|
92
|
+
extended_childcare_entitlement: 18706.
|
93
93
|
|
94
94
|
- name: No expenses for zero hours
|
95
95
|
period: 2025
|
@@ -155,7 +155,7 @@
|
|
155
155
|
extended_childcare_entitlement_eligible: true
|
156
156
|
maximum_extended_childcare_hours_usage: 40
|
157
157
|
output:
|
158
|
-
extended_childcare_entitlement:
|
158
|
+
extended_childcare_entitlement: 13835.381
|
159
159
|
|
160
160
|
|
161
161
|
- name: Benefit unit without maximum hours cap applied
|
@@ -2,8 +2,12 @@ from policyengine_uk.system import system
|
|
2
2
|
|
3
3
|
# Run this script to generate the triple lock parameter for updated CPI and average earnings forecasts from the OBR.
|
4
4
|
|
5
|
-
cpi =
|
6
|
-
|
5
|
+
cpi = (
|
6
|
+
system.parameters.gov.economic_assumptions.indices.obr.consumer_price_index
|
7
|
+
)
|
8
|
+
average_earnings = (
|
9
|
+
system.parameters.gov.economic_assumptions.indices.obr.average_earnings
|
10
|
+
)
|
7
11
|
|
8
12
|
START_YEAR = 2021
|
9
13
|
|