Add A/B experiment for rendering verifier prompt context - #58037
Merged
pelikhan merged 3 commits intoSep 2, 2026
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Propose A/B experiment to remove redundant context in daily rendering scripts
Add A/B experiment for rendering verifier prompt context
Sep 2, 2026
pelikhan
marked this pull request as ready for review
September 2, 2026 21:44
pelikhan
deleted the
copilot/daily-rendering-scripts-verifier-remove-redundant
branch
September 2, 2026 21:44
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The control arm is never selected, the correctness guardrail is inadequate, and the router references a missing file.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds an A/B experiment to evaluate whether trimming redundant verifier prompt guidance reduces execution time without harming correctness.
Changes:
- Adds control/candidate prompt variants with duration and correctness metrics.
- Regenerates experiment, grader, and evaluation workflow wiring.
- Adds compatibility guidance routing.
File summaries
| File | Description |
|---|---|
.github/workflows/daily-rendering-scripts-verifier.md |
Defines the experiment and conditional prompt mutation. |
.github/workflows/daily-rendering-scripts-verifier.lock.yml |
Compiles experiment, grader, evaluation, and state jobs. |
.github/skills/agentic-workflows/SKILL.md |
Adds a reference to a nonexistent compatibility document. |
Review details
Suppressed comments (1)
.github/skills/agentic-workflows/SKILL.md:27
- The PR description and its validation explicitly scope this change to the verifier source and generated lock file, but this unrelated router update adds a third changed file. Remove it from this PR, or document why compatibility-advisory guidance is part of the experiment change and update the stated validation scope.
- `.github/aw/compat.md`
- Files reviewed: 3/3 changed files
- Comments generated: 3
- Review effort level: Balanced
|
|
||
| ## Guidelines | ||
|
|
||
| {{#if experiments.remove_redundant_context_v1 == 'candidate' }} |
| - `.github/aw/charts-trending.md` | ||
| - `.github/aw/charts.md` | ||
| - `.github/aw/cli-commands.md` | ||
| - `.github/aw/compat.md` |
Comment on lines
+23
to
+25
| evals: | ||
| - id: correct_verification_outcome | ||
| question: Did the agent correctly complete the verification cycle — creating a pull request with concrete parser/render fixes when real issues were found, or confirming no issues were found (cache-memory update / noop) without fabricating problems? |
Contributor
|
🎉 This pull request is included in a new release. Release: |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
daily-rendering-scripts-verifierhas the fleet’s highest average AI-credit cost, partly due to four redundant closing guidelines. This change measures whether removing that duplicated context improves execution duration without reducing verification correctness.control/candidatevariants viaremove_redundant_context_v1.grader:execution-durationas the primary metric.eval:correct_verification_outcome >= 0.90.controlpreserves the existing Guidelines section.candidateretains only the unique safety rule..lock.ymlwith experiment assignment, eval, and grader wiring.