Agent Skillsmohitagw15856/pm-claude-skills › experiment-readout

experiment-readout

GitHub

用于分析已完成的A/B测试结果,计算提升率、P值和置信区间,检查统计显著性与业务意义,验证实验有效性及护栏指标,最终给出明确的上线、不上线或迭代建议。

plugins/pm-dataeng/skills/experiment-readout/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

用户要求解读A/B测试数据 需要判断实验结果是否具有统计显著性 基于实验数据决定产品功能的上线决策

Install

npx skills add mohitagw15856/pm-claude-skills --skill experiment-readout -g -y
More Options

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/plugins/pm-dataeng/skills/experiment-readout -g -y

Use without installing

npx skills use mohitagw15856/pm-claude-skills@experiment-readout

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill experiment-readout -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "experiment-readout",
    "description": "Analyse a finished A\/B test and write an honest results readout with real statistics. Use when asked to read out an A\/B test, analyse experiment results, check if a result is statistically significant, or decide ship\/no-ship from test data. Produces a readout — the computed lift, p-value & confidence interval, a significance verdict, guardrail check, and a clear ship \/ no-ship \/ iterate recommendation. Includes a stdlib significance calculator."
}

Experiment Readout Skill

A test result is only a decision if the statistics are sound — and "variant looks higher" is not a result. This skill computes the lift, the p-value, and a confidence interval from the raw counts, checks the guardrails, and writes an honest readout with a clear ship/no-ship call — flagging the traps (peeking, underpowered, novelty, a significant but tiny effect) that make teams ship noise.

Required Inputs

Ask for these only if they aren't already provided:

  • The metric & data — for a conversion test: users and conversions per variant (control vs. treatment). For a continuous metric: mean, SD, and n per variant.
  • The hypothesis — what you expected and the minimum effect that matters.
  • Guardrail metrics — what shouldn't get worse (revenue, latency, retention).
  • Test setup — planned sample size/duration, and whether it ran to plan (for the peeking check).

Output Format

Experiment Readout: [test name]

1. Result — computed (use the helper): control vs. treatment rate, absolute & relative lift, p-value, and the confidence interval on the difference.

Variant N Conversions Rate
Control
Treatment

→ Lift: X% (CI: [a%, b%]) · p = 0.0xx

2. Verdict — significant at the stated bar or not, and whether the effect is big enough to matter (a significant +0.2% may not be worth the complexity). Distinguish statistical from practical significance.

3. Guardrails — did anything you promised not to harm move? A win that tanks a guardrail isn't a win.

4. Validity checks — was it run to the planned sample (no peeking/early-stopping)? Sample-ratio mismatch? Novelty/seasonality? Call out anything that undermines the result.

5. Recommendationship / no-ship / iterate / re-run, with the reason. If inconclusive, say so — "no significant difference" is a valid, useful result, not a failure to spin.

Programmatic Helper

scripts/ab_significance.py (stdlib only) computes the two-proportion z-test, p-value, lift, and CI:

# python3 ab_significance.py <control_n> <control_conv> <treat_n> <treat_conv>
python3 scripts/ab_significance.py 10000 800 10000 880
python3 scripts/ab_significance.py 10000 800 10000 880 --json

Quality Checks

  • Lift, p-value, and a confidence interval are computed (not just "higher")
  • Statistical significance AND practical significance are both assessed
  • Guardrail metrics are checked, not just the primary
  • Validity is checked: ran to planned n, no peeking, no sample-ratio mismatch
  • An inconclusive result is reported honestly, not spun into a win
  • The recommendation is explicit (ship/no-ship/iterate/re-run)

Anti-Patterns

  • Do not call significance by eye — compute the p-value and CI; a higher number isn't a result
  • Do not ignore the confidence interval — a CI spanning zero (or huge) means you don't actually know the effect
  • Do not confuse statistical with practical significance — a tiny significant lift may not be worth shipping
  • Do not trust a peeked/early-stopped test — stopping when it looks good inflates false positives massively
  • Do not spin a null result — "no detectable difference" is honest and often the right call

Based On

Frequentist A/B analysis — two-proportion z-test, confidence intervals, guardrails, and the peeking/practical-significance pitfalls.

Version History

  • a38bc30 Current 2026-07-05 11:15

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
28899090
Indexed
2026-07-05 11:15

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-30 04:18
浙ICP备14020137号-1 $방문자$