UK metrics review: decile bound (absolute 0.005, a share bound) is applied to decile mean incomes in GBP
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- data, testing-qa
调研方向
Start by reading uk_review_bounds.json and the comparator in uk_candidate.py, then trace how decile rows and their gbp_household units are handled. Choose and justify a unit-consistent bound while preserving historical receipts. Add a test showing that a sub-pound change in a decile mean does not flag and a material share shift does.
由索引模型根据 Issue 内容生成。
描述
Found while reviewing candidate 2.136.0 + uk-data 1.58.2 (pair 7f2b5855…, ledger attempt 4773da7ff7c0).
uk_review_bounds.json defines kind decile with absolute 0.005 and relative 0, described as half a point on a decile share. The metrics report's decile rows are mean household incomes, with unit gbp_household, and the comparator in uk_candidate.py applies the bound to their raw difference. So a £0.005 change in a decile's mean income raises a flag. On this candidate that's 70 of the 148 model-only and 70 of the 105 data-only metric flags.
Fix options (pick and justify):
- (a) compare decile shares (decile income / total), so the 0.005 share bound means what it says; or
- (b) give
gbp_householddecile means a unit-correct bound (e.g. relative), consistent with the other kinds.
Keep historical receipts as they are, and add a test that a sub-pound change in a decile mean doesn't flag while a material share shift does.
- 主要语言
- Python
- 星标
- 8
- 派生
- 10
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 50
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/policyengine.py 的其他 Issue
-
Raise the simulation cache memory warning to 16 GiB可能已有人在做 @anth-volk 于 21 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
PolicyEngine/policyengine.py#549 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
PolicyEngine/policyengine.py#473 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
PolicyEngine/policyengine.py#436 · 1 条评论 ·
维护者通常 1 天内回复
-
Certify populace-uk as the UK certified default可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
PolicyEngine/policyengine.py#408 ·
维护者通常 1 天内回复
-
Certify Microcosm builds published side by side in their own release folders可能已有人在做 @anth-volk 于 1 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
PolicyEngine/policyengine.py#682 ·
维护者通常 1 天内回复
查看 PolicyEngine/policyengine.py 的全部 Issue
相似的 Issue
-
[Bug]: IndexHandler.post crashes with HTTP 500 on malformed payloads, missing credentials, or when login is disabled可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 6 天内回复
-
github_actions
难度 2/5 1-3 小时 新手友好度 65/100
collective/icalendar#2003 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 79/100
-
难度 2/5 1-3 小时 新手友好度 68/100
openzim/python-scraperlib#360 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
volcengine/OpenViking#6445 ·
维护者通常 1 天内回复