# Interface ExperimentVariant

Experiment variant configuration.

interface ExperimentVariant {
id: string;
name: string;
description: string;
trafficPercent: number;
isControl: boolean;
}

- Defined in packages/nexus-agents/src/learning/ab-test-types.ts:21

##### Index

### Properties

id
name
description
trafficPercent
isControl

## Properties

### `Readonly` id

id: string

Variant identifier

- Defined in packages/nexus-agents/src/learning/ab-test-types.ts:23

### `Readonly` name

name: string

Human-readable name

- Defined in packages/nexus-agents/src/learning/ab-test-types.ts:25

### `Readonly` description

description: string

Description of what this variant does

- Defined in packages/nexus-agents/src/learning/ab-test-types.ts:27

### `Readonly` trafficPercent

trafficPercent: number

Traffic allocation percentage (0-100)

- Defined in packages/nexus-agents/src/learning/ab-test-types.ts:29

### `Readonly` isControl

isControl: boolean

Whether this is the control variant

- Defined in packages/nexus-agents/src/learning/ab-test-types.ts:31