Skip to content

Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.

fix(ab-testing): account for exposure and allocation in duration checklist

Rudy Celekli4082de57ce07
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 39ddc4c..68a230d 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -6,7 +6,7 @@
},
"metadata": {
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, and growth",
- "version": "2.11.26",
+ "version": "2.11.27",
"repository": "https://github.com/coreyhaines31/marketingskills"
},
"plugins": [
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index f1a5cf8..aabe26f 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "marketing-skills",
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",
- "version": "2.11.26",
+ "version": "2.11.27",
"author": {
"name": "Corey Haines"
},
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index 45d9d89..9cd1f4c 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "marketing-skills",
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",
- "version": "2.11.26",
+ "version": "2.11.27",
"author": {
"name": "Corey Haines"
},
diff --git a/VERSIONS.md b/VERSIONS.md
index dc6d5ce..14d334b 100644
--- a/VERSIONS.md
+++ b/VERSIONS.md
@@ -4,7 +4,7 @@ Current versions of all skills. Agents can compare against local versions to che
| Skill | Version | Last Updated |
|-------|---------|--------------|
-| ab-testing | 2.0.1 | 2026-10-08 |
+| ab-testing | 2.0.2 | 2026-10-10 |
| ad-creative | 2.10.0 | 2026-10-08 |
| ai-seo | 2.7.6 | 2026-10-08 |
| analytics | 2.0.3 | 2026-10-08 |
@@ -57,6 +57,10 @@ Current versions of all skills. Agents can compare against local versions to che
## Recent Changes
+### 2.11.27 (2026-10-10)
+
+- Correct per-arm duration estimates for partial exposure and unequal traffic allocation.
+
### 2.11.26 (2026-10-08)
- **lead-magnets** (2.0.0 → 2.1.0): new `references/content-to-skill.md` (plus corpus design and release companions) on packaging a course, webinar series, podcast, or newsletter archive you own as an installable agent skill: a new kind of lead magnet. From @rudycelekli's #725 (closes #432), folded in rather than added as a new skill. Triggers added: 'course as a skill,' 'package our content as an agent skill.' **ai-seo** (2.7.5 → 2.7.6) points to it.
diff --git a/skills/ab-testing/SKILL.md b/skills/ab-testing/SKILL.md
index a31e208..2549315 100644
--- a/skills/ab-testing/SKILL.md
+++ b/skills/ab-testing/SKILL.md
@@ -2,7 +2,7 @@
name: ab-testing
description: When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro.
metadata:
- version: 2.0.1
+ version: 2.0.2
---
# A/B Test Setup
diff --git a/skills/ab-testing/references/sample-size-guide.md b/skills/ab-testing/references/sample-size-guide.md
index bb5b05c..3b3cd07 100644
--- a/skills/ab-testing/references/sample-size-guide.md
+++ b/skills/ab-testing/references/sample-size-guide.md
@@ -97,8 +97,14 @@ Reference for calculating sample sizes and test duration.
```
Duration (days) = (Sample per variant × Number of variants) / (Daily traffic × % exposed)
+
+For unequal allocation, calculate each arm separately:
+Days per arm = Required sample for that arm / (Daily eligible traffic × Exposure fraction × Arm allocation fraction)
+Total collection time = longest arm duration
```
+Use fractions for exposure and allocation (50% = 0.5). Count eligible randomized units consistently with the sample-size calculation; repeat pageviews are not additional participants. The balanced formula assumes equal sample requirements and equal allocation.
+
### Examples
**Scenario 1: High-traffic page**
@@ -249,15 +255,22 @@ Statistical method that adjusts for multiple looks at data.
### Can I run this test?
```
-Daily traffic to page: _____
+Daily eligible traffic (randomization units): _____
+Fraction exposed to the experiment: _____
+Number of arms (including control): _____
+Allocation fraction for each arm: _____
Baseline conversion rate: _____
MDE I care about: _____
Sample needed per variant: _____ (from tables above)
-Days to run: Sample / Daily traffic = _____
+Balanced allocation: Days = Sample per arm × Number of arms / (Daily eligible traffic × Exposure fraction)
+Unequal allocation: Days = max across arms of [Sample required for arm / (Daily eligible traffic × Exposure fraction × Arm allocation)]
+Round collection time up, then apply the minimum-duration rules above.
If days > 60: Consider alternatives
If days > 30: Acceptable for high-impact tests
If days < 14: Likely feasible
If days < 7: Easy to run, consider running longer anyway
```
+
+**Duration check (illustrative):** with 2,000 participants required per arm and 1,000 eligible participants/day, two arms at 50/50 with full exposure require four days, not two. At 50% exposure they require eight days. With full exposure and 90/10 allocation, the smaller arm needs 20 days to reach 2,000. These are collection estimates; honor planned business cycles and the analysis stopping rule.