본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트41k · #6876

configuring-experiment-rollout

하는 일

이 스킬은 50/50 같은 변형 분할과 실험에 들어갈 사용자의 비율을 설정합니다. 테스트 트래픽을 안전하고 공정하게 설정하려는 사람을 위한 것입니다.

사용하는 경우

  • ✓대조군과 테스트 변형 사이의 분할을 고르고 싶을 때.
  • ✓누군가 롤아웃 비율을 요청했는데 그 의미를 알아야 할 때.
  • ✓80/20처럼 균등하지 않은 분할을 고려하면서 편향을 피하고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/experiments/skills/configuring-experiment-rollout/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/experiments/skills/configuring-experiment-rollout/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“실험을 50/50으로 나누고 사용자의 25퍼센트에게 롤아웃해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

기본으로 균등한 분할을 추천하며, 전체 롤아웃을 조정해 노출되는 트래픽 양을 조절합니다. 또한 균등하지 않은 분할이 만드는 편향에 대해 경고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Configuring experiment rollout

This skill answers: Who sees what variant?

Recommended approach: equal split + adjust rollout percentage

In most cases, experiments work best with an equal split. If you want to limit exposure to the test variant, adjust the rollout percentage instead.

Why equal splits are better:

  • Equal splits maximize statistical power — each variant has the same sample size
  • Equal splits balance traffic and thus reach significance faster
  • Increasing user exposure throughout the experiment through increasing rollout is clean (changing split mid-experiment can cause users to switch variants, which is bad for user experience and data quality)

Always default to an equal split unless the user explicitly requests otherwise.

When an uneven split is required

Uneven splits combined with the default "Exclude from analysis" handling can introduce bias. If the experiment observes multi-variant users (users exposed to more than one variant) then those are dropped asymmetrically — the smaller variant loses a larger fraction of its assignments. If those users behave differently from the rest, the smaller variant's metrics will be skewed.

The right mitigation depends on experiment state:

  1. Pre-launch, or live but with few exposures so far — use an equal split and reduce the overall rollout. Achieves the same test-variant exposure without the bias and preserves statistical power. See the disambiguation question below.
  2. Live experiment with significant exposures — switch multivariate handling to "First seen variant". Changing the split mid-run reassigns users across variants (anti-pattern; see "Changing rollout on a running experiment" below). Switching handling instead keeps everyone in their original variant and avoids the asymmetric exclusion. See configuring-experiment-analytics for how to set this. Note that "first seen" handling can introduce other biases, but it's preferable to mid-run reassignment.

The two rollout controls

There are two separate controls that determine who sees what. Both live on the linked feature flag, sent through the feature_flag object in the flag's own shape (not the deprecated parameters keys).

1. Variant split (feature_flag.filters.multivariate.variants)

How users inside the experiment are distributed across variants.

  • Array of {key, name, rollout_percentage}, where the rollout_percentage values must sum to 100
  • Minimum 2 variants, maximum 20
  • No specific variant key is required — the analysis baseline defaults to the variant keyed "control" when present, else the first variant
  • Default: control 50% / test 50%

If the user says "A/B/C test" without naming keys, key the baseline "control" (the convention) and create additional variants for the others; if they ask for specific keys, use them as-is with the baseline first.

2. Overall rollout (feature_flag.filters.groups[0].rollout_percentage)

What percentage of all users enter the experiment at all, sent as a single rollout group: groups: [{ "properties": [], "rollout_percentage": N }]. Default: 100%.

Users not included are excluded entirely: they don't see any variant and are not part of the analysis.

Where these are sent

Both controls live inside feature_flag.filters:

{
  "feature_flag": {
    "filters": {
      "multivariate": {
        "variants": [
          { "key": "control", "name": "Control", "rollout_percentage": 50 },
          { "key": "test", "name": "Test", "rollout_percentage": 50 }
        ]
      },
      "groups": [{ "properties": [], "rollout_percentage": 100 }]
    }
  }
}

filters may also carry aggregation_group_type_index (to run the experiment on a group type rather than individual users) and payloads (JSON-encoded strings keyed by variant key). On a running experiment, any flag-config change must also send update_feature_flag_params: true, otherwise the API rejects the update before it reaches the flag (see "Changing rollout on a running experiment").

How they interact

These two controls multiply:

Overall rollout Variant split % seeing test % in analysis
100% 50/50 50% 100%
100% 75/25 control/test 25% 100%
50% 50/50 25% 50%
25%
자주 묻는 질문

왜 균등한 분할을 쓰나요?

균등한 분할은 각 변형에 같은 표본 크기를 주므로, 테스트가 더 빨리 유의미한 결과에 도달하는 데 도움이 됩니다.

테스트 중에 분할을 바꿀 수 있나요?

권장하지 않습니다. 사용자가 변형을 바꿀 수 있어서 사용자 경험과 데이터 품질을 해치기 때문입니다.

왜 균등하지 않은 분할은 위험한가요?

여러 변형을 보는 사용자가 고르지 않게 빠지므로, 작은 변형의 결과가 왜곡될 수 있습니다.

상세 정보

작성자의 원본 설명

Configures the rollout shape of a PostHog experiment — the variant split (50/50, 80/20, A/B/C ratios), the overall rollout percentage that gates how many users enter the experiment, and the disambiguation when a percentage like "roll out to 25%" could mean either. Use when the user mentions a rollout percentage, variant split, or traffic distribution; gives a ratio like 60/40, 70/30, or 80/20; asks "who sees the test variant?"; wants to increase, decrease, or change the rollout or split on a draft or running experiment; weighs equal vs uneven splits; or proposes a mid-experiment split change (

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6876
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬