Add prompt_style A/B experiment to blog-auditor workflow#32630
Merged
Conversation
7 tasks
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add A/B test for prompt style in blog-auditor workflow
Add prompt_style A/B experiment to blog-auditor workflow
May 16, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a prompt_style A/B experiment to the blog auditor workflow to compare detailed versus concise audit prompts.
Changes:
- Adds
experiments.prompt_stylemetadata for detailed/concise variants. - Wraps the audit prompt in a variant conditional and introduces a concise audit path.
- Regenerates the compiled lock workflow with experiment selection/state handling.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/blog-auditor.md |
Adds experiment metadata and concise/detailed prompt branching. |
.github/workflows/blog-auditor.lock.yml |
Regenerated workflow artifact with experiment state, selection, and propagation steps. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 3
Comment on lines
+31
to
+32
| notify: | ||
| issue: 32603 |
| - All required keywords present: `agentic-workflows`, `GitHub`, `workflow`, `compiler` | ||
| - Any YAML/Markdown workflow code snippets pass `gh aw compile --no-emit --validate` | ||
|
|
||
| Create a discussion in the **Audits** category titled `[audit] Agentic Workflows blog audit - PASSED` (or `FAILED`). Include a summary table of each check with pass/fail status and the values observed. For failures, add suggested remediation steps. |
| - HTTP status is 200 | ||
| - Final URL is within `githubnext.com` / `www.githubnext.com` | ||
| - Content length exceeds 5,000 characters | ||
| - All required keywords present: `agentic-workflows`, `GitHub`, `workflow`, `compiler` |
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.
This updates
blog-auditorto run aprompt_styleexperiment (detailedvsconcise) so we can measure whether a goal-oriented prompt reduces token/runtime cost without degrading audit correctness. The workflow prompt now supports compile-time variant selection while preserving the existing detailed path.Experiment configuration (frontmatter)
experiments.prompt_stylewith:variants: [detailed, concise]notify.issueset to the created issue numberPrompt variant branching
experiments.prompt_style.elsebranch.Compiled workflow artifact update
blog-auditor.lock.ymlto reflect the new experiment metadata and prompt conditional rendering.{{#if experiments.prompt_style == 'concise' }} ## Audit Process Navigate to the target URL with Playwright, capture accessibility snapshot, validate status/url/content/keywords/snippets, then create an Audits discussion with a check summary. {{else}} ## Audit Process ...existing detailed step-by-step instructions... {{/if}}