PolicyEngine / PolicyEngine/policyengine-app-v2
Bug in UK household calculation [MOVE TO API]
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1
- Forks
- 3
- Avg merge
- 1d 50m
- Merged PRs (30d)
- 39
Description
Calculation fails for this set of input data
Policy:
Household Body
{ "status": "ok", "message": null, "result": { "id": 56307, "country_id": "uk", "label": null, "api_version": "2.39.0", "household_json": { "people": { "you": { "age": { "2025": 40 }, "employment_income": { "2025": 100 } }, "your first dependent": { "age": { "2025": 10 }, "employment_income": { "2025": 10 } } }, "benunits": { "your benefit unit": { "members": [ "you", "your first dependent" ] } }, "households": { "your household": { "brma": { "2025": "AYLESBURY" }, "region": { "2025": "NORTH_EAST" }, "members": [ "you", "your first dependent" ], "local_authority": { "2025": "ABERDEENSHIRE" } } } }, "household_hash": "SpfJVcrqS8dnLsbt3oW7WkLzWN7AGfoLKlgxmtCx9Ho=" } }
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the household JSON in the issue and determine which API path now owns the UK household calculation. Confirm the expected result with the issue reporter or current API documentation; done means this exact input calculates successfully in the intended API location.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend-api-design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100