ABSmartly.Types.HoldoutData (ABSmartly v1.0.0)

Copy Markdown View Source

A holdout from the API's holdouts list.

An experiment is covered by the holdouts listed in its holdoutIds. A unit in a holdout's arm 0 is held out of every experiment it covers; with a three-arm split, arm 1 holds it out of the covered experiments that are not full-on.

Summary

Functions

Create HoldoutData from an entry of the API's holdouts list.

Functions

from_map(map)

Create HoldoutData from an entry of the API's holdouts list.

Returns nil for an entry that is not an object with an integer id. Other fields with an unexpected type get their default, and unknown fields are ignored, so a malformed holdout never fails the context.