Add Scottish funded early learning and childcare (#1008)#1643
Merged
Add Scottish funded early learning and childcare (#1008)#1643
Conversation
Scotland's universal Funded Early Learning and Childcare (ELC) provision entitles every 3- and 4-year-old resident in Scotland to 1,140 funded hours per year, rolled out in full from August 2021 under the Children and Young People (Scotland) Act 2014 s. 48–49. Adds: - Parameters under `gov/scottish_government/funded_early_learning_childcare/`: age/min.yaml (3), age/max.yaml (5, exclusive), hours_per_year.yaml (600 from Aug 2014, 1,140 from Aug 2021). - `scottish_funded_early_learning_childcare_eligible` — a Person-level boolean gated on `country == SCOTLAND` and the age window. - YAML tests covering eligible ages, the country gate (English 3-year-old excluded), and the age boundaries (2 and 5 both false). Scope is deliberately narrow: only the universal age-based strand. The eligible-two-year-old strand (vulnerable / low-income children aged 2 under the 2014 Order), Wales's Childcare Offer, and Northern Ireland's Pre-school Education Programme remain to be added in follow-up work. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
MaxGhenis
approved these changes
May 1, 2026
Collaborator
MaxGhenis
left a comment
There was a problem hiding this comment.
Reviewed: the Scottish ELC formula now models the 3-year-old statutory start-date condition as an explicit input, with tests for before/after start date and age bounds. CI is green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First-pass implementation of regional childcare under issue #1008.
Scotland's universal Funded Early Learning and Childcare (ELC) provision entitles every 3- and 4-year-old resident in Scotland to 1,140 funded hours per year, rolled out in full from August 2021 under the Children and Young People (Scotland) Act 2014 ss. 48–49.
Adds:
gov/scottish_government/funded_early_learning_childcare/:age/min.yaml(3),age/max.yaml(5, exclusive)hours_per_year.yaml(600 from Aug 2014, 1,140 from Aug 2021)scottish_funded_early_learning_childcare_eligible— Person-level boolean, gated oncountry == SCOTLANDand the age window.Out of scope (follow-ups)
Test plan
ruff format+ruff checkon the new file.system.variables,system.parameters.gov.scottish_government.funded_early_learning_childcare).policyengine-core testrun.Partially addresses #1008.
🤖 Generated with Claude Code