OG-UK follow-ups gated on Scorecard comparisons (oguk re-pin, one-process dynamic scoring deferred)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 领域
- testing
调研方向
从 integration/tests/test_og.py 以及 issue 的 State、Deferred 和 Not deferred 部分开始。检查过时的 PolicyEngine 版本假设和 pre-#69 OG 数字;完成情况取决于 Scorecard 比较的需求,并标记或移除受影响的数字,然后定义所需的任何 OG 机制。
由索引模型根据 Issue 内容生成。
描述
Re-scoping the OG-UK follow-ups per Max's steer (2026-08-16): PE model development centers on the Scorecard — compute counterparts to OBR's published scores first, add machinery only when a comparison needs it.
State
- PSLmodels/OG-UK#69 merged 8/3 (
e0ff741): pin lifted topolicyengine-uk>=2.89.2, and the pre-existing MTR bugs fixed (household-normalisation clipping had ~80% of mid-band earners at a 0.000 marginal rate; every OG-UK tax function to date — including the tax functions behind this repo's OG numbers and the #82 overlay factors — was fit on those). No oguk release yet (master still0.3.2; not on PyPI). PSLmodels/OG-UK#70 lifts the now-staleogcore<0.18cap. integration/tests/test_og.pystill describes the old world ("oguk 0.3.0 pins policyengine-uk==2.88.0") and skips the real solve whenever installed PE ≠ 2.88 — that skip is now stale.
Deferred (deliberately)
- Re-pinning oguk to
e0ff741and collapsing the two-environmentog_payloadpipeline into one-process dynamic scoring. - Re-baselining quoted OG numbers.
These get built when PolicyEngine/policyengine-scorecard#55 has an OBR-published claim that an OG-UK counterpart is needed for (labour-supply/FTE effects of NICs cuts etc.), with PE-UK's static LSR answer sitting next to it. Until then the OG arm's correctness fix lives upstream and this repo carries no new OG machinery. Static OBR costings vs PE-UK is PolicyEngine/policyengine-scorecard#54.
Not deferred
- Any OG number currently quoted on the site or in papers that came from pre-#69 tax functions should be marked as such (fit on zeroed MTRs) or removed — a correctness note, not machinery.
- 主要语言
- HTML
- 星标
- 3
- 派生
- 0
- 平均合并
- 22 小时 53 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/macro 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
PolicyEngine/macro#77 ·
查看 PolicyEngine/macro 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
-
enhancement
难度 1/5 1-3 小时 新手友好度 85/100
holepunchto/hrpc-test#28 ·
-
hv-dataqc internal systems
难度 2/5 1-3 小时 新手友好度 78/100
RTIInternational/NHLBI-BDC-DMC-HV#896 ·
维护者通常 3 天内回复
-
enhancement minor
难度 2/5 1-3 小时 新手友好度 82/100
testcontainers/testcontainers-node#1533 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
unionai-oss/pandera#2563 ·
维护者通常 2 天内回复