> For the complete documentation index, see [llms.txt](https://docs.hackle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackle.io/ab-test/group-distribution/ab-variation.md).

# 테스트 그룹 분배 과정

## 개요

이 문서에서는 사용자가 A/B 테스트의 그룹에 분배되는 과정을 설명합니다.

## 흐름도

![](https://2738466581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHRZjjknm5KdNgPtDsbl%2Fuploads%2Fgit-blob-8b5a10b6accd13021dccb934a1ac156a0d6b1b3a%2F2814d4c-_2022-07-26__12.12.15_5b6e8f8014241058.png?alt=media)

## 과정 상세

A/B 테스트 그룹 분배 과정은 다음과 같습니다.

{% stepper %}
{% step %}

### A/B 테스트 존재 여부를 확인합니다

A/B 테스트가 없으면 기본 그룹인 테스트 그룹 A로 결정됩니다.
{% endstep %}

{% step %}

### 테스트기기 등록 여부를 확인합니다

테스트기기로 등록된 사용자는 설정된 테스트 그룹으로 결정됩니다.
{% endstep %}

{% step %}

### 사용자 식별자 존재 여부를 확인합니다

사용자 식별자가 없으면 기본 그룹인 테스트 그룹 A로 결정됩니다.
{% endstep %}

{% step %}

### 상호배타 그룹의 제외 대상인지 확인합니다

A/B 테스트가 상호배타 그룹에 포함되면 사용자의 포함 여부를 확인합니다.

사용자가 상호배타 그룹에 없으면 기본 그룹인 테스트 그룹 A로 결정됩니다.
{% endstep %}

{% step %}

### 사용자가 A/B 테스트 대상인지 확인합니다

사용자가 A/B 테스트 대상이 아니면 기본 그룹인 테스트 그룹 A로 결정됩니다.
{% endstep %}

{% step %}

### A/B 테스트 상태를 확인합니다

A/B 테스트가 준비 또는 일시정지 상태이면 기본 그룹인 테스트 그룹 A로 결정됩니다.
{% endstep %}

{% step %}

### A/B 테스트 완료 여부를 확인합니다

A/B 테스트가 완료되면 종료 시 선택한 승리(Winner) 테스트 그룹으로 결정됩니다.
{% endstep %}

{% step %}

### 버켓팅으로 트래픽 할당 여부를 확인합니다

할당되지 않은 사용자는 기본 그룹인 테스트 그룹 A로 결정됩니다.

**버켓팅**은 [테스트 그룹 분배 원리](/ab-test/group-distribution/ab-bucketing.md)에서 확인할 수 있습니다.
{% endstep %}

{% step %}

### 할당된 테스트 그룹의 제외 여부를 확인합니다

제외된 테스트 그룹으로 할당되면 기본 그룹인 테스트 그룹 A로 결정됩니다.

제외되지 않으면 해당 테스트 그룹으로 결정됩니다.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hackle.io/ab-test/group-distribution/ab-variation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
