Skip to content

Add review-pull-request reviewer regression Vally suite - #70238

Closed
PureWeen wants to merge 4 commits into
dotnet:mainfrom
PureWeen:shneuvil-microsoft-vally-reviewer-suite-design
Closed

PureWeen wants to merge 4 commits into
dotnet:mainfrom
PureWeen:shneuvil-microsoft-vally-reviewer-suite-design

Conversation

@PureWeen

@PureWeen PureWeen commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Add review-pull-request reviewer regression Vally suite

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Add a Vally regression suite for the review-pull-request skill.

Description

Adds a regression test suite under eng/skill-evals/review-pull-request/ to compare a proposed change to .github/skills/review-pull-request against the current skill on main.

What it tests

How it works

  • Runs current vs. candidate (5 runs per arm on each PR = 20 runs total) against small frozen source snapshots.
  • Grades the reviewer's markdown output directly and cross-checks it against the structured summary block so a run cannot pass by self-reporting.
  • Reports whether the candidate improved, tied, or regressed relative to current, and fails if the output format is broken or if the run introduces a new claim that isn't in the answer key.
  • Supersedes draft Add reviewer concurrency capability eval #70205 and uses separate reviewer-regression* files so it does not conflict with Add trace-aware pull request review evals #70055.

Remaining work before Ready for Review

  • An initial 20-run current vs. current baseline check exposed 5 parser/scoring bugs in the grader; all 5 are fixed and unit-tested here (and verified offline against the 20 saved outputs).
  • One clean current vs. current baseline run on merged Enable adaptive validation in hosted PR reviews #70087 (de7cdc33) remains before marking ready for review.

Validation

  • pwsh ./eng/skill-evals/review-pull-request/generate_reviewer_regression.ps1 -Check — ran / passed
  • pwsh ./eng/skill-evals/review-pull-request/check_reviewer_regression.ps1 — ran / passed
  • pwsh ./eng/skill-evals/review-pull-request/test_reviewer_regression.ps1 — ran / passed
  • pwsh ./eng/skill-evals/review-pull-request/run_reviewer_regression.ps1 DryRun — ran / passed
  • Offline grader replay on the 20 saved calibration outputs — ran / passed (0 false format failures)

Fixes N/A

@github-actions github-actions Bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Nov 2, 2026
@PureWeen PureWeen mentioned this pull request Nov 2, 2026
3 of 4 tasks
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

@PureWeen
PureWeen force-pushed the shneuvil-microsoft-vally-reviewer-suite-design branch from 60a8e17 to 0dc8bf9 Compare November 2, 2026 13:28
@PureWeen
PureWeen force-pushed the shneuvil-microsoft-vally-reviewer-suite-design branch from daa4190 to d77c7f3 Compare November 3, 2026 16:50

@kubaflo kubaflo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current-head review — d77c7f3444f5ff52abfd511196f7123fcbcc800b (draft)

Three actionable findings, reproduced by a GPT-6.1 Sol reviewer using the unchanged scripts:

  1. [P2] Include hidden fixture paths in recursive enumeration — eng/skill-evals/review-pull-request/generate_reviewer_regression.ps1:57. On Unix, Get-ChildItem -Recurse -File excludes .github directories and .gitattributes without -Force: it finds 131 files versus the checked-in lock's 135. Consequently, unchanged-head generator -Check fails. The checker has the same omission and eventually throws at line 164 because its single remaining guidance entry becomes a scalar without .Count. Enumerate hidden files consistently and preserve the final pipeline result as an array. Confidence: 99%.
  2. [P2] Reject contradictory ID and exact-anchor dispositions — eng/skill-evals/review-pull-request/grade_reviewer_regression.ps1:267–271. Any candidate-ID mention disables exact-path matching across every section. Publishing V21's stale-token claim under NEW_FINDINGS using its exact AuthorizationMessageHandler.cs:77 anchor, while listing V21 under DISCARDED and marking it discarded in the convenience index, makes the unchanged grader return passed=true. Reconcile unambiguous ID and anchor evidence instead of suppressing contradictory published anchors. Confidence: 99%.
  3. [P2] Enforce global result-shape integrity in the aggregate assertion — eng/skill-evals/review-pull-request/assert_reviewer_regression.ps1:148–152. A #69782 result with schemaVersion=2 and a correctly surfaced V23 gets overall passed=false and integrity/result-shape=false, but retains acceptance/V23=true. Shape failures are absent from the metadata arrays checked here. Using actual grader outputs for five trials per arm, the assertion nevertheless printed “Reviewer regression assertion passed”, exit 0. Gate the global shape-integrity detail independently of the intended relative V23 comparison. Confidence: 99%.

Prior feedback: All three paginated surfaces were inspected: no reviews or inline comments, only the automated notification; these findings do not duplicate earlier feedback.

Validation and limits: PowerShell 7.5.4 parsed all seven new scripts. All 135 fixture-lock hashes/sizes and every guide-assignment descriptor matched; authentication, file-mapping, and OpenAPI fixture contracts were inspected. Existing generator/checker/self-test entry points failed as above (self-tests stop in the checker); both false-pass findings were separately reproduced through unchanged program execution. No new pipeline/configuration tests were written. Skill eval checks succeeded but did not run these new regression self-tests; model-evaluation jobs were skipped. Mono-server E2E and analysis checks failed; Build Analysis names NavigationLock_CanBlockExternalNavigation, without established causal attribution to this diff.

Scope: GPT-6.1 Sol only; no model campaigns, toolchain installations, runtime/browser replay, or visual validation. COMMENT only, not approval or a merge-readiness decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants