experiment-readout
Skill2.1k starsChanged 11 days agoMITView on GitHub
Analyze a finished A/B test and recommend a decision — validity checks first (sample ratio mismatch, duration, exposure), then lift, confidence intervals and p-values from a bundled script, guardrails and pre-registered segments, and a ship / iterate / roll back call with a stakeholder summary and flag cleanup. Use when an experiment has ended, or when someone asks "did the test win?", "is this significant?", or to read A/B results.
2 other projects use a version of this.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- dvy1987/agent-loomtheir own version, first seen Nov 15, 2026
- ArghyaSarkar/claude-skillstheir own version, first seen Oct 13, 2026
Who's talking about Trystan-SA/product-engineer-skills
- sudosubin/agents.nix“codex-marketplaces.github.trystan-sa.product-engineer-skills: init at 0-unstable-2026-07-06”GitHub · Nov 28, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.trystan-sa.product-engineer-skills: init at 0-unstable-2026-07-06”GitHub · Nov 26, 2026
- tekvisions/prompt-index“fix: retain 4 reviewed references that left discovery (Nov 25)”GitHub · Nov 25, 2026
- xiaolai/nlpm“Audit candidate: Trystan-SA/product-engineer-skills”GitHub · Nov 23, 2026
The biggest 4 of 4 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- dvy1987/agent-loom★ 4same name
- ArghyaSarkar/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- ab-test-designSkill
- accessibility-auditSkill
- adoption-planSkill
- design-system-adoptionSkill
- design-system-extractSkill
- feature-briefSkill
- flow-testSkill
- happy-path-auditSkill
- instrument-featureSkill
- launch-reviewSkill
- unhappy-pathsSkill
- usability-test-planSkill
- user-interviewsSkill
- ux-reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read experiment.md in the feature folder (docs/product/<feature-slug>/) for the pre-registered primary metric, guardrails, MDE, duration …
- Distinctive: line 18
Stop and report if a check fails.
- Distinctive: line 20
Sample ratio mismatch (SRM): Do the variant sizes match the planned split?
- Very specific: line 28
Run the bundled script, in the scripts/ folder next to this file:
- Distinctive: line 44
Read the confidence interval, not only the p-value:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Experiment Readout
The readout is where experimentation most often loses its value: a dashboard shows +4 % in green, someone ships, and nobody checks whether the test was valid or whether +4 % is noise. This skill checks validity before results, computes the numbers reproducibly, and states the decision together with its uncertainty.
Phase 1: Gather the spec and the data
Read experiment.md in the feature folder (docs/product/<feature-slug>/) for the pre-registered primary metric, guardrails, MDE, duration and segments. Without a spec, reconstruct it with the user and label the readout as post hoc.
Get raw numbers per variant: users (randomization units) and conversions, or users, mean and standard deviation for continuous metrics. Sources, in order of preference: a warehouse query, the experimentation or analytics tool's API or export, numbers the user pastes. Prefer raw counts to percentages copied from a dashboard.
Phase 2: Check validity before reading results
Stop and report if a check fails. A result from an invalid test isn't weak evidence; it's no evidence.
- Sample ratio mismatch (SRM). Do the variant sizes match the planned split? The script below runs a chi-square test; p < 0.001 means assignment or exposure logging is broken (bots, redirects, a variant that crashes before logging). Find the cause; don't adjust the numbers.
- Duration. Did the test run its planned duration, in whole weeks? Was it stopped early because it looked good?
- Sample size. Did it reach the planned sample? If not, it's underpowered and a non-significant result says little.
- Stability. Did anything change mid-test (allocation, targeting, variant code, an outage)? Data from before a change can't be pooled with data from after.
- Exposure. Are only exposed, eligible users counted?
Phase 3: Compute
Run the bundled script, in the scripts/ folder next to this file:
# Conversions: users and conversions per variant
python3 scripts/readout.py --control 48210 5302 --treatment 48655 5598 --mde 0.05
# Continuous metric: users, mean and standard deviation per variant
python3 scripts/readout.py --control-mean 48210 41.2 38.5 --treatment-mean 48655 42.0 39.1It prints the SRM check, each variant's rate or mean, the absolute and relative differences with 95 % confidence intervals, the p-value, and a verdict against the MDE. Run it for the primary metric and for each guardrail.
For metrics whose unit differs from the randomization unit (revenue per order, clicks per session), this script underestimates the variance. Use the delta method or the experimentation platform's computation instead, and say so in the readout.
Phase 4: Interpret
Read the confidence interval, not only the p-value:
| Interval for the relative lift | Meaning |
| Entirely above zero and above the MDE | Clear win |
| Above zero, but includes lifts smaller than the MDE | Real, possibly too small to be worth maintaining: judgment call |
| Includes zero, stays within ± MDE | Flat: no effect large enough to matter. A useful result |
| Includes zero and reaches beyond ± MDE | Inconclusive: the test was too small to tell |
| Entirely below zero | The change hurts |
Then:
- Guardrails — a guardrail significantly worse beyond its threshold blocks shipping, whatever the primary metric says.
- Segments — only the pre-registered ones. With 20 post-hoc segments, one will look significant by chance; report post-hoc patterns as hypotheses for the next test.
- Novelty — with daily data, check whether the lift shrinks over time. Early lifts on visible changes often fade.
- Practical size — translate the lift into what it means: "+0.6 pp activation ≈ 140 more activated teams a month".
Phase 5: Decide and clean up
Recommend one of:
- Ship — roll the variant out to 100 %, then remove the flag and the control code.
- Iterate — the direction is promising or the learning is clear; propose the next test.
- Roll back — keep control and remove the variant code.
Whatever the decision, create the task or PR that removes the flag. Dead flags are permanent complexity.
Output
Add a ## Readout section to experiment.md (or write readout.md): validity checks, a results table for the primary metric and guardrails with the commands that produced it, the interpretation, the decision, and what was learned. Open it with a five-line summary for stakeholders: decision, primary result with its interval, guardrails, confidence, next step.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

