Skip to content

Commit 077ae19

Browse files
vahid-ahmadiclaude
andauthored
Consolidate UC work allowance parameters (#289) (#1651)
Merge `work_allowance/with_housing.yaml` and `work_allowance/without_housing.yaml` into a single `work_allowance.yaml` with shared metadata (period, unit, uprating, reference) propagated to children via `propagate_metadata_to_children`. The parameter path `gov.dwp.universal_credit.means_test.work_allowance.with_housing` (and `...without_housing`) is unchanged — OpenFisca treats a file's dict keys and subdirectory files equivalently. All 5 work_allowance and uc_earned_income baseline tests still pass. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ac3aba4 commit 077ae19

4 files changed

Lines changed: 43 additions & 42 deletions

File tree

changelog.d/289.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Consolidate UC work allowance parameters (`with_housing` / `without_housing`) into a single `work_allowance.yaml` file, with shared metadata propagated from the parent node.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
description: Universal Credit work allowance
2+
metadata:
3+
label: Universal Credit work allowance
4+
period: month
5+
unit: currency-GBP
6+
uprating: gov.benefit_uprating_cpi
7+
propagate_metadata_to_children: true
8+
reference:
9+
- title: The Universal Credit Regulations 2013 reg. 22
10+
href: https://www.legislation.gov.uk/uksi/2013/376/regulation/22
11+
with_housing:
12+
description: Universal Credit work allowance if household receives housing support.
13+
metadata:
14+
label: Universal Credit work allowance with housing support
15+
values:
16+
# Skip 2013-2016, when the parameterization was different.
17+
2016-04-11: 192
18+
2018-04-09: 198
19+
2019-04-08: 287
20+
2020-04-06: 292
21+
2021-04-12: 293
22+
2021-11-24: 335
23+
2022-04-06: 344
24+
2023-04-01: 379
25+
2024-04-01: 404
26+
2025-04-01: 411
27+
without_housing:
28+
description: Universal Credit work allowance if household does not receive housing support.
29+
metadata:
30+
label: Universal Credit work allowance without housing support
31+
values:
32+
# Skip 2013-2016, when the parameterization was different.
33+
2016-04-11: 397
34+
2018-04-09: 409
35+
2019-04-08: 503
36+
2020-04-06: 512
37+
2021-04-12: 515
38+
2021-11-24: 557
39+
2022-04-06: 573
40+
2023-04-01: 631
41+
2024-04-01: 673
42+
2025-04-01: 684

policyengine_uk/parameters/gov/dwp/universal_credit/means_test/work_allowance/with_housing.yaml

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

policyengine_uk/parameters/gov/dwp/universal_credit/means_test/work_allowance/without_housing.yaml

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

0 commit comments

Comments
 (0)