Skip to content

Move disability benefit reported amount mapping to UK data#1656

Open
MaxGhenis wants to merge 3 commits intomainfrom
codex/pip-categories-data-inputs
Open

Move disability benefit reported amount mapping to UK data#1656
MaxGhenis wants to merge 3 commits intomainfrom
codex/pip-categories-data-inputs

Conversation

@MaxGhenis
Copy link
Copy Markdown
Collaborator

@MaxGhenis MaxGhenis commented Apr 30, 2026

Summary

  • Make PIP, DLA, and Attendance Allowance category variables direct model input leaves.
  • Remove pip_*_reported, dla_*_reported, and attendance_allowance_reported from the model and uprating docs.
  • Add tests that disability benefit categories default or can be set directly, and reported amount variables are no longer model inputs.

Tests

  • uv run ruff check policyengine_uk/variables/input/dla_sc_category.py policyengine_uk/variables/input/dla_m_category.py policyengine_uk/variables/input/pip_dl_category.py policyengine_uk/variables/input/pip_m_category.py policyengine_uk/variables/gov/dwp/aa_category.py policyengine_uk/tests/test_deterministic_variables.py
  • uv run pytest -q policyengine_uk/tests/code_health policyengine_uk/tests/test_deterministic_variables.py

@MaxGhenis MaxGhenis changed the title Move PIP reported amount mapping to UK data Move disability benefit reported amount mapping to UK data Apr 30, 2026
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