ab-test-review

agent
Guvenlik Denetimi
Uyari
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 11 GitHub stars
Code Uyari
  • Code scan incomplete — No supported source files were scanned during light audit
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Agent Skill that reviews A/B test designs and results: a verdict, the findings that matter, and concrete fixes. Works with Claude Code and other Agent Skills consumers.

README.md

ab-test-review

An Agent Skill that helps an analyst with a specific A/B test at any point before the decision is made: pressure-testing an idea, drafting a design doc, reviewing a design before launch, and checking results before the ship/no-ship call. Compatible with Claude Code and other Agent Skills consumers.

What it does

The response is sized to what you bring:

You have You get
A concrete test idea A short reply: is a test needed at all, the main risks, a sketch of a design
A draft design doc Help filling the gaps, using the rubric as the list of what a design should settle
A design doc before launch A review with a verdict: ready / ready after fixes / not ready
Results before the decision A review with a verdict on which conclusions the data can support, checked against the design if there is one
Several reviews of one test, or a request for a thorough review One consolidated review, checked against the document

A review has two parts. The summary gives the verdict, the reason, the single most valuable fix, and the main findings in one line each — enough to act on. The details repeat each finding with its evidence, calculation, and concrete fix. About five findings are detailed; blockers are never cut, and anything else real is listed in one line under "Also noted" rather than dropped. The verdict follows from the findings: any finding that blocks launch means "not ready". Numbers in the material (arm counts, power, intervals) are recomputed rather than taken on trust.

Thorough review. Reviews of the same document agree on the main problem but vary in the secondary findings. For a test that matters, ask for several runs to be merged — "run this review three times and consolidate" — or run it yourself a few times and ask to combine the results. The consolidation re-checks every finding and number against the document. It costs about four times a single review and happens only when you ask for it.

See examples/design-review-example.md for a full review of a made-up test.

Structure

ab-test-review/
├── SKILL.md                          # Modes, review principles, finding levels and verdict
└── references/
    ├── rubric.md                     # Seven dimensions: problem / gaps / solid
    ├── validity-checks.md            # Validity checklist, design vs results, cheap fixes
    ├── verification-computations.md  # Recomputing SRM, power, intervals; reconciliation
    ├── constrained-designs.md        # Cluster, switchback, quasi, delayed outcomes, human/AI-delivered treatments
    ├── output-template.md            # Report format for the review modes
    └── consolidation.md              # Running several independent reviews and merging them

Installation

Clone the repo:

git clone https://github.com/antocci/ab-test-review.git

Claude Code (or any harness that reads ~/.claude/skills/): copy the ab-test-review/ folder into your skills directory (e.g., ~/.claude/skills/).

Claude.ai / Claude Desktop: package the folder as a .skill bundle first — zip the ab-test-review/ folder (the folder itself must be inside the archive) and rename the extension to .skill — then upload it in a chat and click Save skill, or add it via Settings → Skills.

Other Agent Skills consumers: point your agent at the ab-test-review/ folder — SKILL.md + references/ follow the standard Agent Skills layout.

Usage

  • "Review this A/B test design before we launch"
  • "Sanity-check this readout — can we trust the uplift?"
  • "We want to test a new onboarding flow — is it worth a test, and how should we set it up?"
  • "Help me finish this design doc, the power section is empty"
  • "Do a thorough review of this readout: three independent runs, then consolidate"

Which model to use

The skill was tested only with Claude models. The pattern there was clear: the most capable models gave reliable reviews; a mid-size model found the main problem but ranked the rest less well and sometimes misquoted numbers; the smallest model produced false findings and is not recommended.

With other providers' models the skill is untested. Use the most capable one you have, and check its first few reviews against documents you know well before relying on it.

Known limits

  • Models occasionally misquote a number from a chart or table. The skill asks for a final check of quoted figures, which helps but is not a guarantee — spot-check numbers that drive a finding.
  • On a document that contradicts itself, runs may differ on whether the verdict is "not ready" or "ready after fixes, unless …". The findings are the same; the label can differ.
  • The length limits are followed loosely: reviews run to 1,000–1,400 words in total, with the summary around 190.
  • When a fix includes an estimate (how often a rule would misfire, how long a test must run), different runs can give different numbers because they count the inputs differently. Treat such figures as orders of magnitude.

Background

The idea came from the ml-system-design-review skill by Valerii Babushkin and Arseny Kravchenko: a skill that reviews a design document the way an experienced colleague would. This one applies the same idea to A/B tests. The structure has since diverged — there is no gradecard here, and the verdict comes from the findings.

The vocabulary and the core concepts (sample ratio mismatch, guardrail metrics, Twyman's law, triggering, novelty effects) follow Trustworthy Online Controlled Experiments by Kohavi, Tang, and Xu, which is the reference to read for the reasoning behind them. The skill is not a summary of the book: a good part of its checks came from testing it and fixing what it missed.

License

MIT — see LICENSE.

Yorumlar (0)

Sonuc bulunamadi