Repository navigation
Add UC Sch 4 para 10 companion cases for other families' children, foster children and para 12 bedrooms - #412
Merged
MaxGhenis merged 2 commits intoOct 10, 2026
Conversation
…ster children and para 12 bedrooms Seven cases pin the para 10 counts PolicyEngine-UK now produces (PolicyEngine/policyengine-uk#2016, issue #2011): a non-dependant's children allotted with the renter's (para 9(2)(g), 10(1)(d)-(f)), foster children outside the extended benefit unit (9(2)(c)), a child placed for adoption (reg 4A(1)(c)), and the para 12 additional bedrooms (12(9)). No module bytes change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 1, 2026
MaxGhenis
changed the base branch from
pe-parity-uc-sch4-para10-young-person-bedroom
to
main
October 10, 2026 12:26
Contributor
Author
|
Merged by the Axiom engineering hub (session local_2d82123f) at b4a42ce with --merge. Gates: |
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.
Follows #408, which added companion cases to the same file and merged on 2026-10-01. This PR now targets
main.Adds 7 companion cases to
uk/regulations/uksi/2013/376/schedule/4/paragraph/10.test.yaml. They pin the para 10 counts for other families' children, foster children, children placed for adoption and the para 12 additional bedrooms. The cases follow PolicyEngine/policyengine-uk#2011 and its fix PR PolicyEngine/policyengine-uk#2016, as read on 2026-10-01; PolicyEngine's current output was not re-run for this PR. No module bytes change.Law (legislation.gov.uk, fetched 2026-10-01):
Where the expected values come from. They are hand-computed from paras 9, 10 and 12. The cases were written to mirror PolicyEngine-UK's
LHA_other_families_children_and_additional_bedrooms.yamlin PolicyEngine/policyengine-uk#2016 as it stood on 2026-10-01; exact equality with that fixture's current revision was not re-checked. An independent review recomputed each expected value from Schedule 4 paragraphs 10 and 12 at the test period.Verification.
axiom-encode testat the CI pins (axiom-encode c326d1ac, axiom-rules-engine 05eac9d2): "RuleSpec companion tests passed: 1 file(s), 12 case(s)" (5 already onmain+ 7 new).Scope. Test-only, on the #350/#391/#408 pattern. For the PolicyEngine parity rule it closes UC Sch 4 para 10(1)(d)-(f) and (3)(b) for these cases as encoded-correct. Still open:
🤖 Generated with Claude Code