Skip to content

Add Scottish funded early learning and childcare (#1008)#1643

Merged
MaxGhenis merged 2 commits intomainfrom
feat/scottish-funded-early-learning-1008
May 1, 2026
Merged

Add Scottish funded early learning and childcare (#1008)#1643
MaxGhenis merged 2 commits intomainfrom
feat/scottish-funded-early-learning-1008

Conversation

@vahid-ahmadi
Copy link
Copy Markdown
Collaborator

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:

  • 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 — Person-level boolean, gated on country == SCOTLAND and the age window.
  • YAML tests: eligible ages (3, 4), country gate (English 3-year-old excluded), and the age boundaries (2 and 5 both false).

Out of scope (follow-ups)

  • The eligible-two-year-old strand in Scotland (vulnerable / low-income children aged 2 under the 2014 Order).
  • Wales's Childcare Offer (30 hours/week for 3-4 year olds of working parents).
  • Northern Ireland's Pre-school Education Programme (12.5 hours/week).
  • No downstream wiring yet — this variable is defined but not consumed by any cost or benefit calculation.

Test plan

  • ruff format + ruff check on the new file.
  • Variable and parameters register with the system (system.variables, system.parameters.gov.scottish_government.funded_early_learning_childcare).
  • CI policyengine-core test run.

Partially addresses #1008.

🤖 Generated with Claude Code

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>
Copy link
Copy Markdown
Collaborator

@MaxGhenis MaxGhenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@MaxGhenis MaxGhenis merged commit 4accd4b into main May 1, 2026
8 checks passed
@MaxGhenis MaxGhenis deleted the feat/scottish-funded-early-learning-1008 branch May 1, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants