Skip to content

Add FRS child and qualifying young person inputs#380

Merged
MaxGhenis merged 2 commits into
mainfrom
codex/frs-own-right-benefits
Apr 29, 2026
Merged

Add FRS child and qualifying young person inputs#380
MaxGhenis merged 2 commits into
mainfrom
codex/frs-own-right-benefits

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • derive receives_benefits_in_own_right from reported Universal Credit, JSA, and ESA receipt in the FRS person table
  • add FRS person-level inputs for current non-advanced education, approved training, education/training entry age, and the Universal Credit age-19 terminal-date proxy
  • pair this data wiring with Tighten child and qualifying young person benefit rules policyengine-uk#1655 so the legal child/QYP predicates can use microdata inputs instead of country-package defaults

Notes

  • FRS does not observe exact course acceptance/start age or UC assessment-period terminal-date detail, so the PR makes those explicit data-side proxies for observed current qualifying education/training.
  • Government-training codes exclude the FRS None of these codes.

Tests

  • uv run pytest policyengine_uk_data/tests/test_legacy_benefit_proxies.py -q
  • uv run ruff check policyengine_uk_data/datasets/frs.py policyengine_uk_data/tests/test_legacy_benefit_proxies.py
  • uv run ruff format --check policyengine_uk_data/datasets/frs.py policyengine_uk_data/tests/test_legacy_benefit_proxies.py
  • git diff --check

@MaxGhenis MaxGhenis changed the title Derive own-right benefit receipt in FRS Add FRS child and qualifying young person inputs Apr 29, 2026
@MaxGhenis MaxGhenis merged commit 39ad2af into main Apr 29, 2026
3 checks passed
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