Skip to content

Refactor universal childcare age parameters#1598

Merged
MaxGhenis merged 1 commit into
mainfrom
universal-childcare-age-params
Apr 15, 2026
Merged

Refactor universal childcare age parameters#1598
MaxGhenis merged 1 commit into
mainfrom
universal-childcare-age-params

Conversation

@MaxGhenis
Copy link
Copy Markdown
Collaborator

Summary

  • Move universal childcare entitlement age thresholds under gov.dfe.universal_childcare_entitlement.age.
  • Update formulas to read age.min and age.max.
  • Clarify why the minimum-age parameter still cites Childcare Act 2006 section 7 alongside the 2016 Regulations.

Closes #1055.

Tests

  • uv run --python 3.13 policyengine-core test policyengine_uk/tests/policy/baseline/gov/dfe/universal_childcare_entitlement -c policyengine_uk
  • uv run --python 3.13 ruff check policyengine_uk/variables/gov/dfe/universal_childcare_entitlement/is_child_receiving_universal_childcare.py policyengine_uk/variables/gov/dfe/universal_childcare_entitlement/universal_childcare_entitlement_eligible.py
  • uv run --python 3.13 ruff format --check policyengine_uk/variables/gov/dfe/universal_childcare_entitlement/is_child_receiving_universal_childcare.py policyengine_uk/variables/gov/dfe/universal_childcare_entitlement/universal_childcare_entitlement_eligible.py

@MaxGhenis MaxGhenis merged commit 026891c into main Apr 15, 2026
2 checks passed
@MaxGhenis MaxGhenis deleted the universal-childcare-age-params branch April 15, 2026 19:45
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.

Document and reorganize universal childcare entitlement age minimum

1 participant