Repository navigation
docs: add evidence-based scoring to PR review #684
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
Open
david6666666
wants to merge
2
commits into
main
Choose a base branch
from
codex/review-campaign-evidence-20261125
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| # Advisory PR Review Score | ||
|
|
||
| Use this score on request after assessing the reviewed revision. Base each | ||
| rating on the pinned diff and evidence. Apply the existing PR review verdict | ||
| and campaign verdict rules independently of the score. | ||
|
|
||
| | Dimension | Weight | What to assess | | ||
| | --- | ---: | --- | | ||
| | Scope and intent | 15 | Governing Issue, accepted scope, hypothesis or requested behavior, and the fit between the diff and the delivery slice. | | ||
| | Correctness and safety | 25 | Architecture ownership, public contracts, failure handling, cleanup, and the correctness of any changed evaluator or validator. | | ||
| | Validation | 20 | Focused tests, relevant CI, and replay or verification of the affected artifacts. | | ||
| | Claim evidence | 30 | Frozen gates, source and environment pins, trial index, measured outputs, and a verdict supported by the bundle. Use the [evidence rules](../../../../docs/contributing.md#evidence-and-claims). | | ||
| | Simplicity | 10 | Focused changes, reuse of the owning API and validator, and avoidable duplication or state. | | ||
|
|
||
| ## Hard scoring requirements | ||
|
|
||
| - **Claim evidence is 0/3** if any [required model artifact](#required-model-artifacts) | ||
| is missing or inaccessible. Apply the zero even when the run has hashes, | ||
| summary metrics, or a recorded campaign verdict. | ||
| - **Simplicity is 0/3** if the diff adds or rewrites any explanatory code | ||
| comment in maintained source, tests, scripts, or config. License headers, | ||
| shebangs, tool directives, and required docstrings are exempt. Treat | ||
| byte-preserved historical evidence as data. Express behavior through code, | ||
| tests, or relevant docs. | ||
|
|
||
| ## Required model artifacts | ||
|
|
||
| For each claimed model result, provide the actual outputs and applicable raw | ||
| benchmark records from the pinned run. Provide both sets of outputs for a | ||
| comparison and apply each relevant requirement for multimodal results. | ||
|
|
||
| - **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 | ||
| actual files for each additional claimed output modality. | ||
| - **Image generation or editing** requires decodable image files. | ||
| - **Video generation** requires playable video files and, for audio-video | ||
| results, the generated audio track. | ||
| - **Music or sound generation** requires the generated audio files. | ||
|
|
||
| Use attachments or stable links the reviewer can open. Match each file to | ||
| its revision, input, and frozen quality protocol. Hashes and metrics supplement | ||
| the actual files. The [campaign evidence rules](../../../../docs/contributing.md#evidence-and-claims) | ||
| govern the campaign verdict. | ||
|
|
||
| ## Rating and delivery | ||
|
|
||
| Apply the hard scoring requirements first. For each remaining applicable | ||
| dimension, choose the highest rating supported by the evidence. | ||
|
|
||
| - **3** — the applicable checks are supported by matching evidence. | ||
| - **2** — the main checks are supported, with a bounded gap. | ||
| - **1** — some checks are supported, with a material gap or inconsistency. | ||
| - **0** — the dimension lacks usable evidence or a material contract violation | ||
| is confirmed. | ||
|
|
||
| Use `N/A` when a dimension is outside the change's scope. For example, claim | ||
| evidence can be `N/A` for a scaffold-only change without a campaign claim. | ||
| Count each gap in its primary dimension. Identify the source of each rating, | ||
| including the difference between recorded experiment results and checks you ran. | ||
|
|
||
| The formula is `100 * sum(weight * rating) / (3 * sum(applicable weights))`. | ||
| Round to the nearest integer, with halves up. Withhold the total | ||
| if the snapshot is stale or a material portion of the diff could not be | ||
| reviewed. Report the base and head, total, dimension ratings with evidence, | ||
| and the highest-priority remaining action. Use the existing conversation and | ||
| formal review rules for delivery. | ||
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.
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?