Skip to content

Tighten child and qualifying young person benefit rules#1655

Merged
MaxGhenis merged 1 commit intomainfrom
codex/legal-child-qyp-rules
Apr 29, 2026
Merged

Tighten child and qualifying young person benefit rules#1655
MaxGhenis merged 1 commit intomainfrom
codex/legal-child-qyp-rules

Conversation

@MaxGhenis
Copy link
Copy Markdown
Collaborator

@MaxGhenis MaxGhenis commented Apr 28, 2026

Summary

  • tighten the generic qualifying young person rule to require non-advanced education or approved training and exclude people receiving adult benefits in their own right
  • add program-specific child/QYP predicates for UC, CTC, Child Benefit, and Pension Credit
  • use UC-specific child ordering for UC child elements and update tests for the legal default behavior

Tests

  • uv run pytest policyengine_uk/tests/test_child_qyp_rules.py -q
  • uvx ruff format --check <touched Python files>
  • uv run policyengine-core test policyengine_uk/tests/policy -c policyengine_uk

@MaxGhenis MaxGhenis force-pushed the codex/legal-child-qyp-rules branch from 277bb23 to 92f72a7 Compare April 28, 2026 21:42
@MaxGhenis MaxGhenis force-pushed the codex/legal-child-qyp-rules branch from 92f72a7 to bb9ef4c Compare April 28, 2026 22:51
@MaxGhenis MaxGhenis changed the title Tighten child and QYP benefit rules Tighten child and qualifying young person benefit rules Apr 28, 2026
@MaxGhenis MaxGhenis force-pushed the codex/legal-child-qyp-rules branch 2 times, most recently from 98dc0df to 31d3967 Compare April 28, 2026 23:16
@MaxGhenis MaxGhenis force-pushed the codex/legal-child-qyp-rules branch from 31d3967 to 38f851e Compare April 29, 2026 00:58
@MaxGhenis MaxGhenis merged commit 6815261 into main Apr 29, 2026
8 checks passed
@MaxGhenis MaxGhenis deleted the codex/legal-child-qyp-rules branch April 29, 2026 02:26
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.

1 participant