Simulate contributory (New Style) JSA instead of reading reported amounts only
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with variables/gov/dwp/jsa_contrib.py, which currently only sums jsa_contrib_reported, and the gov.dwp.JSA.contrib parameters for the age rates and disregards. Check JSA/eligibility/min_age.yaml, which applies to income-based JSA only. Done means a simulated contributory JSA amount, with reported amounts still used when present, and tests showing a claimant who loses their job receives it. The contribution-condition approximations and take-up need maintainer guidance before implementation.
由索引模型根据 Issue 内容生成。
描述
Contributory (New Style) JSA is reported-only: jsa_contrib just adds jsa_contrib_reported (variables/gov/dwp/jsa_contrib.py). Someone who loses their job in a reform or scenario therefore never gets it. The rate parameters exist (gov.dwp.JSA.contrib.amount_18_24, amount_over_25, earn_disregard, pension_disregard), but no formula reads them.
This came up from an external user modelling displaced workers, who had to add New Style JSA by hand.
A simulated version could cover:
- Contribution conditions, approximated from earnings: Class 1 paid on 26 × LEL in one of the last two tax years, and paid or credited on 50 × LEL in each.
- Duration: 182 days.
- Rate: the age-based rates.
- Deductions: earnings (over
earn_disregard) and occupational or personal pensions (over £50 a week,pension_disregard). - Take-up.
Downstream it already works if the amount lands in jsa_contrib_reported. That feeds UC unearned income, CTR, HB, the benefit cap and social_security_income for income tax.
Also: JSA/eligibility/min_age.yaml is for income-based JSA. There is no contributory minimum age.
Drafted with AI assistance and checked against main at 70014b3.
- 主要语言
- Python
- 星标
- 53
- 派生
- 34
- 平均合并
- 3 天 7 小时
- 30 天内合并 PR
- 100
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/policyengine-uk 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
PolicyEngine/policyengine-uk#2948 ·
维护者通常 3 天内回复
-
Let the shard-assignment properties draw up to 16 shards可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
PolicyEngine/policyengine-uk#2920 · 已指派 1 人 ·
维护者通常 3 天内回复
-
Lift the Universal Credit benefit cap for a claimant who receives War Widow's Pension可能已有人在做 @juaristi22 于 24 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
PolicyEngine/policyengine-uk#2792 · 1 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
PolicyEngine/policyengine-uk#2946 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
PolicyEngine/policyengine-uk#2944 ·
维护者通常 3 天内回复
查看 PolicyEngine/policyengine-uk 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
meetecho/juturna_nodes#43 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
TigreGotico/text2spoken#726 ·
维护者通常 1 天内回复
-
bug dependencies
难度 2/5 1-3 小时 新手友好度 83/100
nolte/claude-shared#822 ·
维护者通常 1 天内回复
-
`RequestHandler.build_request_kwargs` drops empty request bodies such as `{}` or `""`可能已有人在做 @abhirajadhikary06 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
typesense/typesense-python#170 ·
维护者通常 1 天内回复
-
claude-subscription-directsdk: tool calls with raw control characters in string values are dropped未关闭
难度 2/5 1-3 小时 新手友好度 72/100
NousResearch/hermes-official-plugins#538 ·
维护者通常 3 天内回复