The policy the bandit serves. null until the bandit starts.

Hierarchy

  • ExperimentsBanditPolicyV2

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
appliedAt: Date

When the policy started being served.

configVersion: number

The configuration version the policy was made for.

id: string

The policy ID. Each exposure logs it as bandit.policy_id.

WARMUP serves the arms equally. ADAPTIVE serves the initial split or a split from a refresh. FALLBACK serves one variant after the bandit ends.

policyNumber: number

The policy's place in the bandit's policy history. It follows applied_at and orders policies saved at the same time.

Why the policy was applied.

refreshId: null | string

The refresh that proposed the policy. null for policies no refresh proposed, such as the first split and the policy served after the bandit ends.

Each variant's share of traffic. The probabilities add up to 1.

Generated using TypeDoc