Compare code semantically across a force push in review bundles
维护者通常 1 天内回复
@Alan52254 已经在做这个了。
开始于 2026年11月6日。
评估
这个 Issue 还没有评估数据。
描述
Problem
After a force push, review-bundle.sh --since points a reviewer to a tree diff or a git range-diff. Both compare lines. When an author reworks a commit, the range-diff reads almost as long as the whole diff: 925 of 1200 lines on #586, 624 of 1284 on #584.
Current behavior
diffmodel.py pairs moved units by indentation, which workbench.md calls a guess at syntax and not a parse. since.range-diff.txt shows a reworked commit as removed and added lines, so a rename or a moved function reads as new code.
Desired outcome
A reviewer reading a rewritten pull request sees which functions or blocks changed in meaning, and which only moved or were renamed, without rereading the whole commit.
Scope
- A comparison that builds on
diffmodel.py's unit pairing. - The rewrites of #585, #584 and #586 as its cases.
- No code from or call to OmniDiff, whose license is incompatible with CodeTrial.
Out of scope
Replacing since.diff and since.range-diff.txt; they stay the fallback.
Related
#605 adds those two files for #587.
- 主要语言
- Rust
- 星标
- 223
- 派生
- 148
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 227
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/codetrial 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
sysprog21/codetrial#604 · 1 条评论 ·
维护者通常 1 天内回复
-
Calculator % disagrees with // on negative operands可能已有人在做 @YunJ-Chang 今天认领。 未关闭
sysprog21/codetrial#602 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Start does nothing visible in the lobby when site data is blocked可能已有人在做 @sidney-Hung 今天认领。 未关闭
sysprog21/codetrial#600 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add a Copy results action to the coding test panel可能已有人在做 @seallllllllll 今天认领。 未关闭
sysprog21/codetrial#598 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Review history drops older reports that still fit可能已有人在做 @HellHBBD 今天认领。 未关闭
sysprog21/codetrial#596 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 sysprog21/codetrial 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
type: documentation
难度 2/5 1-3 小时 新手友好度 70/100
tauri-apps/tauri#16476 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
fish-shell/fish-shell#13084 · 1 条评论 ·
维护者通常 2 天内回复
-
bug: merge_insert does not detect concurrent inserts of the same FixedSizeBinary primary key可能已有人在做 @lance-gatefixer 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 84/100
lance-format/lance#10811 ·
维护者通常 2 天内回复
-
provider testing
难度 2/5 1-3 小时 新手友好度 78/100
mishraprafful/multihull#234 ·
维护者通常 1 天内回复