ac-online-experiments
Running trustworthy online controlled experiments: the experiment as a decision with a hypothesis and a success metric, statistical power and minimum detectable effect before launch, randomisation units and stable bucketing, ramping percentages and the peeking problem, guardrail metrics that stop an experiment early, novelty and primacy effects that fade, multiple comparisons across a fleet, and the written experiment record. It explains how to design, run, and read a controlled experiment; it never certifies that a variant won. Use when asking "A/B test", "controlled experiment", "treatment arm", "randomisation unit", "minimum detectable effect", "statistical power", "peeking", "sequential testing", "novelty effect", "guardrail metric", "experiment ramp", "hash bucketing", "why did our A/B test flip sign". Not for trading strategy backtests (ac-backtest-integrity), not for prompt and model evaluation sets (ac-prompt-engineer), not for feature deployment mechanics like canary and rollback (ac-ci-and-release).
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- ac-online-experiments
- status
- seedling
- license
- MIT
- metadata
- { "domain": "software-engineering" }
- description
- Running trustworthy online controlled experiments: the experiment as a decision with a hypothesis and a success metric, statistical power and minimum detectable effect before launch, randomisation units and stable bucketing, ramping percentages and the peeking problem, guardrail metrics that stop an experiment early, novelty and primacy effects that fade, multiple comparisons across a fleet, and the written experiment record. It explains how to design, run, and read a controlled experiment; it never certifies that a variant won. Use when asking "A/B test", "controlled experiment", "treatment arm", "randomisation unit", "minimum detectable effect", "statistical power", "peeking", "sequential testing", "novelty effect", "guardrail metric", "experiment ramp", "hash bucketing", "why did our A/B test flip sign". Not for trading strategy backtests (ac-backtest-integrity), not for prompt and model evaluation sets (ac-prompt-engineer), not for feature deployment mechanics like canary and rollback (ac-ci-and-release).
02 资源文件 11
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md377 B
- 参考文档subskills/experiment-as-decision.md3.2 KB
- 参考文档subskills/experiment-record.md3.0 KB
- 参考文档subskills/guardrail-metrics.md3.3 KB
- 参考文档subskills/multiplicity-across-tests.md3.4 KB
- 参考文档subskills/novelty-and-primacy.md3.3 KB
- 参考文档subskills/power-and-mde.md3.2 KB
- 参考文档subskills/ramping-and-peeking.md3.1 KB
- 参考文档subskills/randomisation-and-bucketing.md3.3 KB
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Online experiments
Overview
An online controlled experiment assigns some users to a treatment and others to a control, measures the difference, and decides. The arithmetic is one line; the trustworthiness is the whole craft. Most results are wrong not because the statistics were miscomputed but because the experiment was misdesigned: the metric answered a different question than the decision, the randomisation leaked, the sample was too small to detect anything realistic, or the analyst peeked at a moving average until it crossed a threshold.
This skill covers the design and reading of experiments: the decision framed first, power computed before launch rather than lamented after, assignment made stable and hashable, ramps that separate safety from measurement, guardrails that stop real harm, novelty effects that fade and mislead, and the multiplicity that a fleet of simultaneous tests introduces. The deployment mechanics of rolling out a feature belong elsewhere; the trading backtest and the prompt evaluation set are separate instruments with the same honesty problems and different machinery.
Primary sources: https://experimentguide.com/ and https://en.wikipedia.org/wiki/A/B_testing.
When to use
- When designing or sizing an online controlled experiment.
- When a result will decide whether a feature ships.
- When ramping, peeking, or multiple simultaneous tests threaten the reading.
- When an experiment result looks too good, too bad, or too unstable to be true.
When NOT to use
- For trading strategy backtests (use ac-backtest-integrity).
- For evaluating prompts and models on held-out sets (use ac-prompt-engineer).
- For feature deployment mechanics like canary rollout and rollback (use ac-ci-and-release).
Subskill Index
| Leaf | Domain segment | Scope (one line) |
|---|---|---|
subskills/experiment-as-decision.md |
software-engineering/experiment-as-decision |
Hypothesis, decision rule, and the metric that answers the question. |
subskills/power-and-mde.md |
software-engineering/power-and-mde |
Sample size, minimum detectable effect, and the pre-launch arithmetic. |
subskills/randomisation-and-bucketing.md |
software-engineering/randomisation-and-bucketing |
Units, hash assignment, and the leakage that breaks an experiment. |
subskills/ramping-and-peeking.md |
software-engineering/ramping-and-peeking |
Ramps for safety, fixed horizons for measurement, and sequential honesty. |
subskills/guardrail-metrics.md |
software-engineering/guardrail-metrics |
Metrics that stop a test early because the cost of waiting is real. |
subskills/novelty-and-primacy.md |
software-engineering/novelty-and-primacy |
Effects that fade, and the cohort analysis that reveals them. |
subskills/multiplicity-across-tests.md |
software-engineering/multiplicity-across-tests |
Many tests, many metrics, and the corrections that keep a fleet honest. |
subskills/experiment-record.md |
software-engineering/experiment-record |
The written record: design, analysis plan, result, and the decision it drove. |
Status and honest limits
Experiments measure averages over populations during a window; they do not certify that every segment benefited, that the effect will persist, or that the metric movement had the cause the team believes. Sample ratio mismatch and instrumentation bugs can silently ruin results that look statistically sound. Nothing here recommends shipping a variant — it states what the evidence supports and what it cannot, and a negative result honestly recorded is worth more than a positive one peeked into existence.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.