# Ab Test Plumbing

> Build trustworthy A/B-test plumbing: deterministic sticky assignment, exposure logging (who actually saw the variant), Sample-Ratio-Mismatch checks before reading results, pre-registered metric/MDE/duration, and guardrail metrics — leaving significance to applied-statistics.

- Skill: `mcorbett51090/ab-test-plumbing` (Agent Skill)
- Install (CLI): `npx get-skill add mcorbett51090/ab-test-plumbing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mcorbett51090/ab-test-plumbing/raw
- Safety review: pending (external: skill-scanner PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Marketing & Growth
- Author: mcorbett51090 (https://skillmd.com/u/mcorbett51090)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/mcorbett51090/ab-test-plumbing

---


# A/B Test Plumbing

## Plumbing before result
- **Deterministic, sticky** assignment (hash-based per unit).
- Log **exposure** (who SAW the variant), not just assignment.
- **SRM check**: observed split != intended -> assignment is broken -> result invalid (no matter how significant).

## Pre-register (with applied-statistics)
Primary metric, **MDE**, duration, guardrails — set before start. No peeking-to-stop, no HARKing.

## Guardrails
A winning primary metric that tanks latency/errors/revenue is not a win.

## Hand off
Deliver clean exposure + metric data; **significance is applied-statistics'**.

