-
Notifications
You must be signed in to change notification settings - Fork 3k
fix(review): polish the two budget-gap rendering defects a live body showed #8778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d1d9701
fix(review): polish the two budget-gap rendering defects a live body …
4e19288
fix(review): label all coverage channels by role and shed wrapped non…
17b7c2a
fix(review): keep role-labeled entries from shadowing the caller's ow…
419a169
Merge branch 'main' into fix/budget-gap-rendering-polish
qwen-code-dev-bot 6ea2d2b
Merge branch 'main' into fix/budget-gap-rendering-polish
qwen-code-dev-bot 4e591de
test(review): pin the verification-gap relay exemption and the label …
9c9180a
Merge branch 'main' into fix/budget-gap-rendering-polish
qwen-code-dev-bot 218cf87
chore(review): merge main into the budget-gap rendering polish branch
qwen-code-dev-bot b955fe8
fix(review): drop the dead stripTrailingGapChars the main merge stranded
f358c31
fix(review): render all same-role disclosures; strip more phantom gap…
qwen-code-dev-bot cb4c6db
fix(review): strip fullwidth phantom gaps; pin the relay-exemption re…
qwen-code-dev-bot 53c3f5c
fix(review): strip the last CJK wrapper phantoms; pin nine unpinned b…
qwen-code-dev-bot be36539
Merge branch 'main' into fix/budget-gap-rendering-polish
qwen-code-dev-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Suggestion] R7-P1 (instance 4/9): Pattern — nine behaviors this diff adds are pinned by NO discriminating test; for each, an executed mutant survives the entire suite and a probe demonstrates the behavioral flip. This instance: the file-scoped test pins only the English half of the per-file label — the Chinese twin computed alongside it (
publicRoleLabelZh→${base}(${req.file}), carried out viapublicLabelsZh) is pinned by no test. Executed mutation: dropping the file frompublicRoleLabelZhleaves all 304 tests green, and two per-file invariant agents stopping in a bilingual run then render two identical zh clauses with no file discriminator — the exact indistinguishability this test's own comment says it exists to prevent, surviving on the zh side (probe flips). Suggested fix: also assertexpect(r.publicLabelsZh[${base} on src/a.ts]).toBe(${BRIEFS[role].publicLabelZh}(src/a.ts))(and likewise forsrc/b.ts).中文说明
[Suggestion] R7-P1(实例 4/9):模式——本 diff 新增的九处行为均无任何判别性测试固定;每一处执行变异后整个套件仍然全绿,且探针演示了行为翻转。本实例:file-scoped 测试只固定了按文件标签的英文半区——与之同时计算的中文孪生(
publicRoleLabelZh→${base}(${req.file}),经publicLabelsZh输出)没有任何测试固定。已执行变异:从publicRoleLabelZh中去掉文件后全部 304 个测试仍绿,双语运行中两个按文件的 invariant agent 停止时会渲染出两条逐字相同、无文件区分的中文子句——正是本测试自身注释声称要防止的不可区分性,在中文侧存活(探针翻转)。建议修复:同时断言expect(r.publicLabelsZh[${base} on src/a.ts]).toBe(${BRIEFS[role].publicLabelZh}(src/a.ts))(src/b.ts同理)。— qwen3.8-max via Qwen Code /review (v0.21.10)