Commit b029843
Fix extended childcare entitlement expansion date (2025-09-01) (#1456)
* Fix extended childcare entitlement hours expansion date
Updated the extended childcare entitlement hours parameter to reflect the
correct policy implementation date of September 1, 2025 (not 2026-01-01).
From September 2025, children aged 9 months to 2 years became eligible for
30 hours per week of free childcare (doubled from 15 hours), for eligible
working parents in England.
This fixes the calculation for 2025 scenarios where 2-year-olds were
incorrectly receiving 15 hours instead of 30 hours.
Fixes #1455
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix test expectations for extended childcare entitlement
The previous commit incorrectly updated test expectations for period 2025.
When PolicyEngine evaluates for a full year period, it uses the parameter
values at the start of the year (Jan 1, 2025), which is before the
September 1, 2025 expansion to 30 hours for 2-year-olds.
Changes:
- Reverted test expectations for period 2025 to use 15 hours for 2-year-olds
- Updated test names to clarify they test pre-expansion values
- Added new tests for period 2026 to validate the 30-hour entitlement
for 2-year-olds after the September 2025 expansion
This ensures tests accurately reflect PolicyEngine's behavior while
still validating that the parameter change is correct.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix test expectations for 2026 extended childcare entitlement
Update expected values to account for CPI uprating of funding rates:
- 2-year-old in 2026: 9678.032 → 10011.897
- Family with 2yo+3yo in 2026: 16356.064 → 17121.797
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: policyengine-bot <bot@policyengine.org>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Max Ghenis <mghenis@gmail.com>1 parent af6b80f commit b029843
File tree
3 files changed
+48
-14
lines changed- policyengine_uk
- parameters/gov/dfe/extended_childcare_entitlement
- tests/policy/baseline/gov/dfe/extended_childcare_entitlement
3 files changed
+48
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 42 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
191 | 221 | | |
192 | | - | |
| 222 | + | |
0 commit comments