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

make test-changed: measured residuals of the name-based section selection

已关闭
#1,349 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, shell

调研方向

Start with tools/section_plan.sh --changed and the section definitions used by the test scripts and tools/ gates; then inspect how a CI full run opens files and how Makefile edits select sections [137] and [69]. Done means documenting or demonstrating the [80] Formatter behavior and recording a decision on the observed file-to-section map, with the measured miss rate as evidence.

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

描述

area:gates kind:decision

Follow-up to #1347 / #1348. tools/section_plan.sh --changed maps a changed path to suite sections by the names the runner, the test scripts and the tools/ gates use for it. Ten blind-critic rounds on #1348 closed every class found. Round 10 measured the remaining miss rate at 1 of 339 non-merge commits in 60 days, and that one was a comment edit. These residuals are known and not handled:

  • [80] Formatter round-trips every tests/, lib/ and examples/*.eigs file but is never selected by edits to them. Two critics tried about 45 constructs and could not make it go red from a non-src edit. Either show it can catch one, or accept it as CI-only.
  • [54] Example Smoke Tests names examples by stem (run_example "hello"). A stem lookup for examples/ selected 64 chunks, so it was not added. No listed example changed in 60 days.
  • Makefile edits select [137] and [69], which build ASan binaries: about 7 minutes locally, measured. Those edits are also reported as runtime.
  • The structural fix for the whole class is an observed file-to-section map. Record which tracked files each section opens during a CI full run, and select from that. It would replace the name heuristics.

Done when

  • [80] is either shown to catch a non-src edit and then selected, or documented as CI-only.
  • A decision is recorded on the observed file-to-section map: build it, or keep the name lookup, with the measured miss rate as the argument.
主要语言
C
星标
3
派生
7
平均合并
11 小时 37 分钟
30 天内合并 PR
269

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

InauguralSystems/EigenScript 的其他 Issue

查看 InauguralSystems/EigenScript 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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