Add workshop step 23: Test Your Prompt Ideas with A/B Experiments#983
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add research-backed training node for A/B experiments
Add workshop step 23: Test Your Prompt Ideas with A/B Experiments
Jul 14, 2026
Contributor
|
@copilot emphasize on using the /agentic-workflows skill to author experiments |
…xperiments Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Done in the latest commit. The "Add an experiment to your workflow" section now leads with the agent path: a |
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.
The curriculum (steps 1–22) teaches building, scheduling, memory, sub-agents, and error handling — but never gives learners a principled way to measure whether a prompt change actually improves output. Step 23 closes that gap with the
experiments:frontmatter field.New file:
workshop/23-ab-experiments.mdCovers the full experiment lifecycle:
experiments/{workflow-id}branch, lowest-count variant picked, counters saved, artifact uploaded, variant injected before agent sees the promptexperiments:block with named experiment and variant array; naming rules ([a-zA-Z_][a-zA-Z0-9_]*, non-matching names silently skipped at compile time){{#if experiments.<name> == "<variant>" }}blocks to swap instructions per variant{{#if experiments.output_style == "concise" }} Write a maximum of 5 bullet points. Each bullet is one sentence. {{#else}} Write a structured report with sections: open issues, merged PRs, CI status. {{#endif}}experimentartifact JSON to check per-variant assignment countsexperiments:block, recompile; do not remove early or state resetsUpdated:
workshop/README.mdAdded step 23 row to the curriculum table.