Skip to content

Add Housing Benefit permitted-work earnings disregard - #2219

Draft
anth-volk wants to merge 1 commit into
add-hb-special-disregardfrom
add-hb-permitted-work
Draft

anth-volk wants to merge 1 commit into
add-hb-special-disregardfrom
add-hb-permitted-work

Conversation

@anth-volk

@anth-volk anth-volk commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #2218

Adds the approved pre-assessed annual Housing Benefit permitted-work disregard. The supplied amount replaces the ordinary earnings disregard, retains a higher lone-parent amount, is capped at net earnings, and leaves the additional and accommodation disregards separately conditional. The statutory earnings, work and partner-allocation limits are assessed externally, not inferred from gross work income.

Government sources embedded in code: GB working-age Schedule 4 paragraph 10A, GB pension-age paragraph 5A, and the matching NI working-age and pension-age provisions.

Approved plan C6 only: four files, one GBP input. No dataset mapping has been verified. Missing/zero input preserves the ordinary-disregard approximation and can understate qualifying awards; public variable documentation explains this. No new ESA or permitted-work eligibility engine.

Validation: 32 new YAML cases passed in the existing core 3.32.13 environment. Covers GB/NI and both regulation sets, replacement, lone-parent precedence, low earnings, additional-disregard equality and failure, accommodation, parameter reform, passport, and replacement of the special standard amount. The six special-disregard tests also pass on the composed branch. make format and git diff --check passed. No full suite, population simulation or CI polling.

Merge dependency: stacked on #2225 (special standard disregard); merge #2225 first, then this PR. The childcare and first-year accommodation changes follow this replacement.

axiom: TheAxiomFoundation/rulespec-uk#375 queued
The special and permitted-work earnings disregards extension to rulespec-uk#375, with the law, required outputs and companion tests: TheAxiomFoundation/rulespec-uk#375 (comment) (UK hub, 24 Oct).

@MaxGhenis

Copy link
Copy Markdown
Collaborator

Parent-gated build hand-off. Head remains a66b990b52a468d2182d3154cbcbf8da66982b1a; no branch changes, push or retarget. Immediate parent #2225 is still OPEN/unmerged at 6e68f23fafef3a1e0a1718bd5d1e4bc0fa860c72 (checked 22 October). Root #2211 has a local reconciliation awaiting the required disk gate: #2211 (comment)

Tests for this child: 0 executed in this job; no claim is made about the current head's CI. Preserve Anthony's corrected disabled-worker earnings-disregard regression (£1,929.20) when updating the base. Draft status unchanged; no merge/readiness/closure action.

Once #2225 lands, the pending commands are:

git fetch origin main add-hb-permitted-work
git switch add-hb-permitted-work  # create tracking branch if absent
git merge --no-ff origin/main
# Resolve, run focused foreground tests with -n 2 after load1 <=110 and
# os.statvfs available disk >=55 GB decimal; commit fixes and push once.
gh api -X PATCH repos/PolicyEngine/policyengine-uk/pulls/2219 -f base=main

Open items: parent landing; merge/test/push/body refresh as needed; retarget; hub independent review. #2229 remains gated on this PR's landing.

@juaristi22 juaristi22 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at a66b990b52a468d2182d3154cbcbf8da66982b1a, limited to the permitted-work change over its stacked parent. No actionable findings from independent policy/source and code reviews.

The component replaces the selected ordinary disregard, preserves a higher lone-parent amount and caps the result at earnings. Its external pre-assessment contract matches the GB working-age rule and corresponding GB pension-age/NI provisions. It does not infer qualifying work or partner allocation from generic flags.

Validation:39 focused tests passed. An eligible claimed-HB integration raises the final award from£6477.90 to£10208.90 when the external£6000 assessment is supplied, exactly65% of the£5740 replacement difference; passport and cap effects were excluded. The documented upstream-assessment coverage limitation and stacked-parent merge order remain.

This branch has not been deployed

No deployments
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 the Housing Benefit permitted-work earnings disregard

3 participants