Skip to content

Commit a0413dd

Browse files
authored
Merge pull request #1584 from PolicyEngine/codex/local-la-uprating-params
Add local-authority target uprating parameters
2 parents 3aa3379 + 640666f commit a0413dd

4 files changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add named economic-assumption parameters for the local-authority ONS income target uprating factors used by `policyengine-uk-data`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
description: Factor used to uprate ONS FYE 2020 local-authority housing costs targets to the 2025 calibration year, using the OBR house price index as the calibration proxy.
2+
values:
3+
2025-01-01: 1.2190812720848057
4+
metadata:
5+
unit: /1
6+
label: Local-authority ONS housing costs uprating factor
7+
reference:
8+
- title: OBR EFO November 2025 (economy detailed forecast tables, house price index)
9+
href: https://obr.uk/efo/economic-and-fiscal-outlook-november-2025/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
description: Factor used to uprate ONS FYE 2020 local-authority net income before housing costs targets to the 2025 calibration year.
2+
values:
3+
2025-01-01: 1.3526165167620605
4+
metadata:
5+
unit: /1
6+
label: Local-authority ONS net income BHC uprating factor
7+
reference:
8+
- title: OBR EFO November 2025 (economy detailed forecast tables, real household disposable income index)
9+
href: https://obr.uk/efo/economic-and-fiscal-outlook-november-2025/
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from policyengine_uk.system import system
2+
3+
4+
def test_local_authority_target_uprating_parameters():
5+
params = system.parameters.gov.economic_assumptions.local_authority_targets
6+
ons_income = params.ons_income
7+
8+
assert ons_income.net_income_bhc_uprating_factor("2025-01-01") == (1985.1 / 1467.6)
9+
assert ons_income.housing_costs_uprating_factor("2025-01-01") == (103.5 / 84.9)
10+
11+
bhc_reference = ons_income.net_income_bhc_uprating_factor.metadata["reference"][0]
12+
housing_reference = ons_income.housing_costs_uprating_factor.metadata["reference"][
13+
0
14+
]
15+
16+
assert "November 2025" in bhc_reference["title"]
17+
assert "November 2025" in housing_reference["title"]

0 commit comments

Comments
 (0)