Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

OG-UK follow-ups gated on Scorecard comparisons (oguk re-pin, one-process dynamic scoring deferred)

未关闭
#181 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 to policyengine-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 still 0.3.2; not on PyPI). PSLmodels/OG-UK#70 lifts the now-stale ogcore<0.18 cap.
  • integration/tests/test_og.py still 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 e0ff741 and collapsing the two-environment og_payload pipeline 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PolicyEngine/macro 的其他 Issue

查看 PolicyEngine/macro 的全部 Issue

相似的 Issue

更多 Testing & QA Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。