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

Internal mypy debt has grown past its recorded budget: 108 errors in 36 files against 106 in 35

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
ci-cd, tooling

调研方向

Start by running ./.venv/bin/python -m mypy --ignore-missing-imports forgelm/ to list the 108 errors across 36 files, and read the deferral row at docs/roadmap/risks-and-decisions.md:262. Choose between fixing enough errors to get back to 106 or below, or re-baselining with a written reason. Done means the count is within budget, a CI step fails on growth past the budget, and the row is removed with its ID named in the CHANGELOG.

由索引模型根据 Issue 内容生成。

描述

area: dev-tooling severity: low source: roadmap wave: 4

Deferred work · F-W20260729-OPS-23-internal · severity Low · cost ~1-2 days · recorded in docs/roadmap/risks-and-decisions.md:262

Summary

Phase 16 S1 wired the public-surface mypy --strict gate and recorded the package-wide typing debt as a budget instead of a blocker: 106 errors across 35 files, measured with mypy 1.20.2 and ./.venv/bin/python -m mypy --ignore-missing-imports forgelm/, with growth past 106 named as the signal to act. That signal has fired, and nothing in CI enforces the budget, which is why the growth went unnoticed.

Condition or budget

"Growth past 106 is the signal to act" — met: the recorded command reports 108 errors in 36 files on 2026-10-09.

State today (re-checked 2026-10-09)

Re-measured on development with the recorded command and mypy 1.20.2: Found 108 errors in 36 files (checked 104 source files).

Related

#748 corrects the stale "47" in the Phase 16 plan (documentation only).

Acceptance criteria

  • The count is back to 106 or below, or the budget is re-baselined with a written reason.
  • Growth past the budget fails CI (a ratchet), so the next increase is caught when it happens.
  • The row is removed from the deferral table and the CHANGELOG names its ID (the table's removal contract).

Recorded in docs/roadmap/risks-and-decisions.md (read at f94595f) and re-checked against the code on 2026-10-09. The row leaves that table only when the fix is on main, the CHANGELOG names its ID and any promised guard exists.

主要语言
Python
星标
9
派生
1
平均合并
9 小时 14 分钟
30 天内合并 PR
37

环境准备

从这里开始

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

HodeTech/ForgeLM 的其他 Issue

查看 HodeTech/ForgeLM 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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