Repository navigation
test(eval): don't score a review run that only posted a notice - #2006
Conversation
fullsend post-review now posts stale-head and failure notices as their own comment under <!-- fullsend:review-notice --> (fullsend-ai/fullsend#9399), so the prior-review fetchers never read a notice as the last review. A run whose only output is such a notice leaves no review-agent sticky, and finding_expectations and expected_review_action failed it with "expected one review-agent sticky comment, found 0" instead of abstaining, as expected_review_action already does for a notice inside the sticky. Both checks now return Not scored when there is no review-agent sticky and a comment starts with the review-notice marker. A notice beside the run's review leaves the review scored. Tests cover stale-head and failure notices, a notice beside a review, and the marker off the first line. Signed-off-by: Tim Pouyer <tim.pouyer@gmail.com>
PR Summary by QodoAbstain from scoring review runs that only post a notice
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
|
🤖 Finished Review · ✅ Success · Started 6:45 PM UTC · Completed 6:51 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.90 |
|
Risk Assessment: moderate (2/5) DetailsSmall eval test change with low metadata risk, elevated to moderate risk by recent regression history and change coupling on eval/review/eval.yaml. |
|
Looks good to me |
waynesun09
left a comment
There was a problem hiding this comment.
Notice-only runs abstain in both judges, a notice beside a real sticky is still judged, and a marker not on the first line is ignored; tests cover each. Inert until fullsend#9399 emits the marker.
Summary
Companion to fullsend-ai/fullsend#9399, raised by @waynesun09 in fullsend-ai/fullsend#9399 (comment).
fullsend-ai/fullsend#9399 posts stale-head and failure notices as their own comment under
<!-- fullsend:review-notice -->, so the prior-review fetchers never read a notice as the last review. A run whose only output is such a notice leaves noreview-agentsticky, sofinding_expectationsandexpected_review_actionwould fail it with "expected one review-agent sticky comment, found 0" instead of abstaining.Changes
eval/review/eval.yaml: both checks return Not scored when there is noreview-agentsticky and a comment starts with thereview-noticemarker. A notice beside the run's review leaves the review scored. A notice inside the sticky (fullsend before #9399) is handled as before:expected_review_actionabstains on it andfinding_expectationsscores it.state-and-action-checks-test.sh,finding-expectations-test.sh) gain cases for a stale-head notice comment, a failure notice comment, a notice beside a review, and the marker off the first line. The existing stale-head case instate-and-action-checks-test.shis kept and labelled as the pre-#9399 shape.Not changed
Only these two checks abstain.
review_qualityand the label checks still judge a notice-only run as they did a notice inside the sticky; the notice is matched on its first line, as the sticky is, without checking its author (each case runs in a new repository).Order
This should land before or with the fullsend release that ships #9399. It is safe to land first: with today's fullsend no comment carries the
review-noticemarker, so nothing changes until #9399 ships.Testing
bash eval/scripts/finding-expectations-test.sh: 27 tests, 0 failures.bash eval/scripts/state-and-action-checks-test.sh: 71 tests, 0 failures.eval.yamlchange, the new notice-only cases fail with "found 0".