Permissions, data & business rules · Audit

Experiment Design Audit

Audit a product experiment from estimand and randomization through exposure, outcomes, guardrails, analysis, and rollout decision.

MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions

← Back to search

Use this workflow

Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.

Goal and scope

Audit a product experiment from estimand and randomization through exposure, outcomes, guardrails, analysis, and rollout decision.

Domain invariants

  • Population, unit of randomization/analysis, intervention, exposure, outcome window, estimand, baseline, minimum practical effect, and decision rule are explicit.
  • Assignment is stable and independent at the chosen unit; eligibility, mutual exclusion, bucketing, and cross-device/account identity do not create contamination.
  • Exposure is recorded at the authoritative point where treatment can affect behavior and remains distinct from assignment and outcome.
  • Sample-ratio mismatch, missing/late events, bot/internal traffic, attrition, novelty/seasonality, and clustered/repeated observations are checked before effect estimation.
  • Power/sample duration and uncertainty match the statistical unit and variance; sequential looks, multiple variants/metrics, and stopping are pre-specified or adjusted.
  • Primary outcome, guardrails, heterogeneous effects, practical significance, and rollout/reversal criteria are interpreted together without cherry-picking.

Audit method

  1. Trace eligibility → assignment → delivery → exposure → outcome/guardrail events → dataset/model → decision artifact.
  2. Verify deterministic assignment, unit identity, allocation, exclusions, mutual groups, and treatment leakage across clients/services.
  3. Inspect SRM, pre-period balance, missingness, exposure timing, event semantics, windows, outliers, repeated users, and clustering.
  4. Reproduce power/uncertainty and analysis choices, including sequential/multiple-comparison handling and sensitivity checks.
  5. Check rollback/rollout policy, operational guardrails, data freshness, and who owns the final decision.

Handoff

Return the estimand/unit, affected assignment or exposure path, analysis window and concrete data-quality/decision violation. Retain configuration/data identity and the discriminator for contamination, missingness or unit mismatch. Pass these to Improve Experiment Design; an attractive treatment effect is not evidence that the assignment/exposure contract is valid.

Workflow ID: experiment-design-audit · View the versioned source · Shared workflow and authority rules