Skip to content

Add abolish benefit cap scenario#1561

Merged
MaxGhenis merged 2 commits intomainfrom
codex/fix-1397
Apr 7, 2026
Merged

Add abolish benefit cap scenario#1561
MaxGhenis merged 2 commits intomainfrom
codex/fix-1397

Conversation

@MaxGhenis
Copy link
Copy Markdown
Collaborator

Summary

  • add a reusable abolish_benefit_cap scenario by setting each benefit cap rate to np.inf
  • export the scenario and document it in the scenarios guide
  • add a regression test showing the scenario removes benefit_cap_reduction and restores pre-cap UC awards

Testing

  • /Users/maxghenis/worktrees/policyengine-uk-fix-private-default/.venv/bin/python -m pytest -q policyengine_uk/tests/test_abolish_benefit_cap_scenario.py
  • /Users/maxghenis/worktrees/policyengine-uk-fix-private-default/.venv/bin/python -m ruff check policyengine_uk/scenarios/abolish_benefit_cap.py policyengine_uk/tests/test_abolish_benefit_cap_scenario.py
  • cd docs/book && uvx --from 'jupyter-book>=2.0.0a0' jupyter book clean --all -y
  • cd docs/book && uvx --from 'jupyter-book>=2.0.0a0' jupyter book build --html

Closes #1397.

@MaxGhenis MaxGhenis merged commit f113173 into main Apr 7, 2026
3 checks passed
@MaxGhenis MaxGhenis deleted the codex/fix-1397 branch April 7, 2026 14:23
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 benefit cap removal parameters for poverty reduction analysis

1 participant