Repository navigation
docs: add evidence-based scoring to PR review - #684
david6666666 wants to merge 2 commits into
Conversation
Link campaign claims to frozen gates and measured outputs. Add an advisory score for requested reviews and require evidence for each dimension. Agent-assisted-by: Codex (author) Signed-off-by: David Chen <530634352@qq.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex, acting for @david6666666. Author self-check is complete for Source and validationLauren Tan's talk informed the focus on inspecting runtime artifacts and turning recurring review feedback into executable checks. This PR applies those ideas to reviewing frozen campaign criteria, measured outputs, and recorded verdicts. All Code Is Slop (Except Mine) The scoring reference now assigns 0/3 for missing required model artifacts and 0/3 for new explanatory code comments. The 29 focused tests, relative links and anchors, modality checklist, and hard-zero score calculations passed. The updated trial on #671 exercises both requirements. |
Agent-assisted-by: Codex (author) Signed-off-by: David Chen <530634352@qq.com> Co-authored-by: Isotr0py <41363108+Isotr0py@users.noreply.github.com>
5c8d212 to
98098ee
Compare
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666 under delegated PR review. Non-voting feedback on the author's PR.
|
|
||
| - **Text output** requires the returned text or response payload. | ||
| - **TTS** requires generated audio and the exact synthesis text. | ||
| - **Multimodal Omni** requires the returned text, generated audio, and the |
There was a problem hiding this comment.
This makes audio mandatory for every Omni result. A video-input task whose frozen protocol requests a text-only response would get Claim evidence 0/3 even with every required output retained. Can we require actual artifacts for each output modality claimed or required by the frozen protocol, and add a text-only Omni example alongside a text-plus-audio case?
Direct reviews now check the evidence for performance, quality, model support and user-visible behavior at the reviewed revision. Reviewers report what they inspected or reproduced. A requested advisory score follows the findings and uses the five weighted dimensions from vLLM-Omni #11141 and InferRSI #684. The skill keeps snapshot capture, independent source review, validation and final reporting in the entry point. It links the procedures for feedback, knowledge tracing, authorized continuation, claim evidence and scoring as needed. The standalone Cursor command loads the same released workflow. **Verification** - 101 focused tests passed for the review contracts, knowledge tracing and consent, workflow loading and installation. - The skill validator passed. The built wheel contains the revised entry point and all five references, byte-for-byte identical to the source. **References** - vllm-project/vllm-omni#11141 - InferMatrixLab/InferRSI#684
|
@Dong1017 @amy-why-3459 @Bounty-hunter ptal thx |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).
Reviewed base 259c597 and head 98098ee (full diff, 2 files: .agents/skills/review-pr/SKILL.md and new .agents/skills/review-pr/references/review-score.md). This is the PTAL from @david6666666.
Blocker
.agents/skills/review-pr/references/review-score.md:34-35still makes generated audio mandatory for every Omni result: "Multimodal Omni requires the returned text, generated audio, and the actual files for each additional claimed output modality." The inline point from the same-head COMMENTED review asked for artifacts per output modality that the frozen protocol claims or requires, and a text-only Omni example beside a text-plus-audio case. Neither is in the diff. Failure path: a text-only Omni result whose frozen protocol requests no audio, with all its required outputs retained, is still scored Claim evidence 0/3 under the hard requirement at lines 17-19. Expected correction: tie the audio requirement to the modalities the frozen protocol claims or requires, and add a text-only Omni example next to the text-plus-audio case.
Non-blocking
- The PR body says "the new replay script has an explanatory comment". No replay script is in this diff. That sentence appears to refer to the #671 example, so the body should say so to avoid reading as a change in this PR.
- The body's checks (Ruff on
src tests tools, 29 focused tests, the fail-fast Windows rerun) cover Python code that this diff does not change. For the two Markdown files, the relevant check is link and anchor resolution. The body should state what was run for these files. - The #683 comment from zengchuang-hw (non-voting for this PR) asks to pin the #671 example to the rubric commit and the PR commit, to state whether reviewers can open the raw artifacts, and to add an N/A example for a pure implementation PR. Optional for merge, but the #671 score depends on the rule in blocker 1, so re-score after the fix.
Verified from the diff and head
- Scope: only the two review-skill files changed. This matches #683's accepted scope (review guidance only; no code, validator, or evidence layout changes).
- Anchors:
docs/contributing.md#evidence-and-claimsresolves to## Evidence and claims(line 168 at head).review-score.md#required-model-artifactsresolves (line 26).tools/validate_evidence.pyexists at head. - Weights in
review-score.mdsum to 100. The formula at line 62 matches the stated scale. The hard zeros at lines 15-24 are internally consistent with the rest of the file. - Prior reviews: no APPROVED review on this head; the only formal review on it is the COMMENTED review from @david6666666, with no outstanding CHANGES_REQUESTED.
Not verified here
CI status, the Ruff and pytest runs in the body, the external Lauren Tan talk link, the #671 scored example, and the pre-existing docs/agent-collaboration.md#pr-review-and-merge anchor. I did not run any tooling.
I will re-read after the author pushes a new head that fixes blocker 1. Until then this stays DO NOT PASS, and it does not change the PR's scope.
Bounty-hunter
left a comment
There was a problem hiding this comment.
Claude Code agent, acting for @Bounty-hunter.
PR review verdict — DO NOT PASS
Reviewed base 259c5970b9335c32c17aa7a88ca2551b116d705a and head 98098ee7a8fbdd7d969f3fdcc60fd460d564f648 (full diff, 2 files). One blocker remains: the Omni artifact rule zeroes Claim evidence for text-only Omni results.
Blocker, checks and optional notes
Blocker (concrete defect against the PR's own claim)
references/review-score.md:34-35: "Multimodal Omni requires the returned text, generated audio, and the actual files for each additional claimed output modality." This makes audio mandatory for every Omni result. It contradicts line 28 of the same section ("For each claimed model result, provide the actual outputs…") and the PR body's claim that the zero applies to required model outputs. Combined with the hard rule at lines 17-19 ("Claim evidence is 0/3 if any required model artifact is missing"), a text-only Omni result whose frozen protocol requests no audio gets 0/3 for Claim evidence even when every output it claims is retained.
Expected correction: require the actual files for each output modality the claim or frozen protocol produces or requires, for example "returned text, plus generated audio and other files for each output modality the frozen protocol requires". Add a text-only Omni case next to the text-plus-audio case. This matches the owner's inline comment on line 34 at this head, which has not been addressed yet. I reached the same conclusion independently of the Dong-bot review.
Verified
- Scope matches the owner decision on #683 (issuecomment-7158102360): only
.agents/skills/review-pr/SKILL.mdand one scoring reference changed. - Relative links resolve.
../../../../docs/contributing.md#evidence-and-claimsfromreferences/goes to the repo root.#required-model-artifactsmatches the heading.references/review-score.mdfrom SKILL.md is correct. - Weights are 15+25+20+30+10 = 100. With all dimensions applicable and all ratings 3, the formula
100 * sum(w*r) / (3 * sum(applicable w))gives 100. N/A normalization is consistent. - CI at this head: all check runs green (full-check 3.10/3.11, lint-and-smoke, installed-package, pr-references, declarations, dashboard-browser, advisory host-compatibility).
- No
bot:stopon #684 or #683, and I found no stop comment on #683.
Optional, non-blocking
- Simplicity hard zero: "adds or rewrites any explanatory code comment" also zeroes a PR that corrects a stale or wrong comment. If you don't intend that, consider exempting comment removals and corrections, or say explicitly that it is intended.
- Music or sound generation requires only the audio files. TTS also requires the exact synthesis text. Consider requiring the prompt or conditioning input for music and sound too, so a reviewer can match each output to its input as line 41 asks.
- PR body: "the new replay script has an explanatory comment" refers to #671, not this diff. A short clarification would help.
Not verified: I did not run local tooling. I also did not re-score the #671 example, which should be re-scored after the Omni fix.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
Dot,代表 zengchuang-hw 独立首审,使用 base 上的仓库 review-pr skill。Base 259c5970b9335c32c17aa7a88ca2551b116d705a,head 98098ee7a8fbdd7d969f3fdcc60fd460d564f648。
批准前必改:按冻结用例声明的输出模态判定证据是否缺失,不要按模型或框架是否支持 Omni 判定。 评分规则第 17–19、34–35 行一边规定缺任一必需产物即给 Claim evidence 0/3,一边无条件要求 Multimodal Omni 提供文本和音频。例如此 PR 引用的 #671 是在 vLLM-Omni 上验 GLM-Image 图像输出;假设可解码图片和冻结要求的原始记录都齐全,不能因为没有本就未请求的音频把它扣成 0/3。按现文两种分类会得出不同分数。在全适用且其余项满分时,这个歧义是 100 对 70。建议明写按输入用例、冻结质量协议及声称的输出模态列必需产物,并给一对示例:只有图像的请求无需音频;声称音视频输出却无法读取音轨则触发硬零。这样才符合 #683 接受范围 要求的按证据评分。
已核对两个文件的实际差异和贡献规则;从冻结计划追到 trial index、实测输出和 validator 的主流程,以及把评分与正式 verdict 分开,符合范围。独立跑了权重、N/A 归一化、硬零差值和相对链接路径检查。未运行 #671 的模型试验、仓库全量测试或 CI;此结论不评判 #671 的实验结果。
amy-why-3459
left a comment
There was a problem hiding this comment.
Dot, acting for @amy-why-3459.
Holding approval at 98098ee7 against 259c5970. The required-artifact list should be driven by outputs the claim or frozen quality protocol requires, not by what the serving stack can emit. A useful paired rubric example is the same audio/video-input workload twice: (a) the protocol requests text and the full text is accessible, so absent output audio must not trigger a hard zero; (b) the protocol requires text plus playable speech, but the run retains only text and an audio digest, so Claim evidence is 0/3, not N/A. This also prevents treating an input recording as the missing generated speech. Keep the rule separate from the campaign verdict. I inspected both changed files and the accepted #683 scope; I did not run a model workload.
Governing Issue and delivery slice
Refs #683
Lauren Tan's talk on inspecting runtime artifacts and turning recurring review feedback into executable checks informed this proposal. All Code Is Slop (Except Mine)
Co-author Isotr0py
Knowledge authorship declaration
Changed artifacts and evidence
The review skill now traces a campaign claim from its frozen scope to the trial index, measured outputs, and validator. Reviewers can produce a requested advisory score with five fixed weights, evidence per rating, and normalization for inapplicable dimensions. Missing or inaccessible required model outputs yield 0/3 for Claim evidence. Added or rewritten explanatory code comments yield 0/3 for Simplicity. The existing PR and campaign verdict rules apply independently.
I tried the rubric on the GLM-Image evidence PR. All five recorded timing comparisons could be recomputed from the committed JSON. The strict score is 60/100 because the matching images are retained outside the reviewed evidence and the new replay script has an explanatory comment.
Checks and dependencies
Git confirmed the co-author commit has the same file tree as the tested revision
5c8d212e.src tests tools. The 29 focused smoke, claim, architecture, and evidence-inventory tests passed.python tools/validate_evidence.pyreturned zero structural or hash errors for the available bundles. It reported absent external assets as unavailable.N/Acase.Remaining work and Issue closure
The PR is ready for independent review. The issue's completion is for the accountable owner, @david6666666, to assess after integration.