Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Study childcare entitlement #1016

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

vahid-ahmadi
Copy link
Collaborator

@vahid-ahmadi vahid-ahmadi commented Jan 30, 2025

Overview

This PR implements the study childcare entitlement scheme in PolicyEngine UK:

  • Care to learn scheme: provides childcare support for young parents (under 20) in education

Note

This scheme applies to England only. Different programs operate in Scotland, Wales, and Northern Ireland.

Key Features

  • Care to Learn:
    • Output type: Weekly amount (£180 or £195) for each eligible parent based on London residence
    • For young parents under 20 in education (except higher education)
    • Cannot be claimed by apprentices with a salary

Fixes #1017

Depends on #1004

Copy link

sonarqubecloud bot commented Feb 7, 2025

@vahid-ahmadi vahid-ahmadi self-assigned this Feb 18, 2025
Copy link
Collaborator

@nikhilwoodruff nikhilwoodruff left a comment

Choose a reason for hiding this comment

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

Looks good to me, on resolving these questions.

… labels and descriptions

- Capitalize 'London' in parameter labels
- Remove '(the 2-year-old entitlement)' from targeted childcare description
- Remove 'per year' from study childcare entitlement label

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
reference:
- title: Documentation for Care to Learn scheme
href: https://www.gov.uk/care-to-learn
- title: House of Commons Library – Paying for Childcare in England (12 July 2024), p.43
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- title: House of Commons Library – Paying for Childcare in England (12 July 2024), p.43
- title: House of Commons Library – Paying for Childcare in England (12 July 2024)

- title: Documentation for Care to Learn scheme
href: https://www.gov.uk/care-to-learn
- title: House of Commons Library – Paying for Childcare in England (12 July 2024), p.43
href: https://researchbriefings.files.parliament.uk/documents/CBP-8054/CBP-8054.pdf
Copy link
Collaborator

Choose a reason for hiding this comment

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

and elsewhere

Suggested change
href: https://researchbriefings.files.parliament.uk/documents/CBP-8054/CBP-8054.pdf
href: https://researchbriefings.files.parliament.uk/documents/CBP-8054/CBP-8054.pdf#page=43

metadata:
reference:
- title: Local Authority (Duty to Secure Early Years Provision Free of Charge) Regulations 2014 - Regulation 3 defining "eligible child"
href: https://www.legislation.gov.uk/uksi/2014/2147/regulation/3/made
Copy link
Collaborator

Choose a reason for hiding this comment

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

this source doesn't mention these benefits, remove

reference:
- title: Local Authority (Duty to Secure Early Years Provision Free of Charge) Regulations 2014 - Regulation 3 defining "eligible child"
href: https://www.legislation.gov.uk/uksi/2014/2147/regulation/3/made
- title: Education Act 1996 s.512ZB(4) - criteria for free school meals
Copy link
Collaborator

Choose a reason for hiding this comment

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

is tce based on free school meal eligibility? cite that source if so and then model free school meal eligibility separately before linking them

Copy link
Collaborator

Choose a reason for hiding this comment

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

i also dont see all these programs here, e.g. income support. sources must precisely back parameter values; if there's complexity please comment it

- title: Education Act 1996 s.512ZB(4) - criteria for free school meals
href: https://www.legislation.gov.uk/ukpga/1996/56/section/512ZB
- title: Local Authority (Duty to Secure Early Years Provision Free of Charge) (Amendment) Regulations 2018
href: https://www.legislation.gov.uk/uksi/2018/146/contents/made
Copy link
Collaborator

Choose a reason for hiding this comment

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

doesnt back up parameters

- is_guarantee_credit_eligible
- child_tax_credit
- working_tax_credit
- dla
Copy link
Collaborator

Choose a reason for hiding this comment

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

is there significance to this being in a different section in the gov.uk site?

- esa_income
- universal_credit
- is_guarantee_credit_eligible
- child_tax_credit
Copy link
Collaborator

Choose a reason for hiding this comment

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

there's also an income limitation on this and wtc so probably needs to be separate

is_child = person("is_child", period)

# Check basic eligibility conditions
has_children = person.benunit.any(person("is_child", period))
Copy link
Collaborator

Choose a reason for hiding this comment

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

otherwise implies the specific person has their own children

Suggested change
has_children = person.benunit.any(person("is_child", period))
benunit_has_children = person.benunit.any(person("is_child", period))

Copy link
Collaborator

Choose a reason for hiding this comment

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

or should this reference is_parent?

quantity_type = FLOW
unit = GBP
default_value = 0

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
defined_for = "study_childcare_entitlement_eligible"

# Only exclude higher education/tertiary
not_higher_education = current_ed != education_types.TERTIARY

not_apprentice = ~person("is_apprentice", period)
Copy link
Collaborator

Choose a reason for hiding this comment

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

then use ~is_apprentice for consistency with ~is_child

Suggested change
not_apprentice = ~person("is_apprentice", period)
is_apprentice = person("is_apprentice", period)

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.

Add study childcare entitlement
3 participants