Meta experiment design

From FOURTEEN1416/academic-agent-toolkit · View interactive version

Meta experiment design is an AI agent skill from the GitHub repository FOURTEEN1416/academic-agent-toolkit. Use when planning product experiments: testable hypotheses, sample size, test prioritization, defensible evaluation.

How to use this skill

Skill file

Experiment Designer

Design, prioritize, and evaluate product experiments with clear hypotheses and defensible decisions.

When To Use

Use this skill for:

Core Workflow

  1. Write hypothesis in If/Then/Because format
  1. Define metrics before running test
  1. Estimate sample size

Use:

脚本 scripts/sample_size_calculator.py 未随本仓集成(已入 asset_gap_register.json),按公式手工估算:

两比例检验每变体样本量 n ≈ (z_{α/2}+z_β)² · [p₁(1−p₁)+p₂(1−p₂)] / (p₂−p₁)²。

例(--baseline-rate 0.12 --mde 0.02 --mde-type absolute,即 p₁=0.12、p₂=0.14,α=0.05、power=0.8):(1.96+0.84)²=7.84,n ≈ 7.84 × (0.1056+0.1204) / 0.02² ≈ 4430/变体。

  1. Prioritize experiments with ICE

ICE Score = (Impact * Confidence * Ease) / 10

  1. Launch with stopping rules
  1. Interpret results

Hypothesis Quality Checklist

Common Experiment Pitfalls

Statistical Interpretation Guardrails

See:

Tooling

`scripts/sample_size_calculator.py`

脚本未随本仓集成(已入 asset_gap_register.json);需要时按下列公式手工计算。

Computes required sample size (per variant and total) from:

Example(p₁=0.10、绝对 MDE 0.015 即 p₂=0.115、α=0.05、power=0.8,(1.96+0.84)²=7.84):

n ≈ 7.84 × (0.10×0.90 + 0.115×0.885) / 0.015² ≈ 7.84 × 0.1918 / 0.000225 ≈ 6680/变体(双变体合计约 13360)。

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.