Expand Universal Credit documentation page (#745)#1700
Open
vahid-ahmadi wants to merge 1 commit into
Open
Conversation
The existing page covered six legacy benefits, gave the Welfare Reform Act 2012 link, and showed a chart of selected element rates. Round it out with: - a "How PolicyEngine computes Universal Credit" section explaining the uc_maximum_amount -> means test -> benefit cap pipeline and the would_claim_uc take-up input, - a References section pointing at the primary statute (WRA 2012), the operational regs (SI 2013/376), the annual DWP rate uprating publication, and the UC official statistics page that policyengine-uk-data calibrates against, - fix the rates dataframe so it builds in one pass instead of pd.concat in a loop (which raised FutureWarning) and corrects the "Amount(£m)" axis label to "Amount (£/month)", - drop an empty trailing code cell.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uc_maximum_amount-> means test (work allowance + taper + asset rules) -> benefit cap reduction, plus a note on howwould_claim_uchandles take-up.pd.concatinside a loop, which was raising aFutureWarningin the rendered output.Amount(£m)y-axis label is wrong — UC elements are £/month, not millions; corrected toAmount (£/month).Test plan
🤖 Generated with Claude Code