Skip to main content

Create and manage holdout groups

This page shows how to create a holdout group, add its target flags, and take it through its statuses. For what a holdout group is, see Holdout groups.

Required role

Creating and changing a holdout group needs the Organization Admin or Organization Owner role (Organization roles). A member who can view the environment sees the groups with everything on their pages, and the actions disabled.

Create a holdout group​

  1. Open Holdout Groups in the navigation of the environment.
  2. Click New Holdout Group.
  3. In step 1. Group, fill in the fields below and click Next.
  4. In step 2. Measurement, select at least one goal.
  5. Click Create holdout group. The page of the group opens, where you add the target flags.
Step 1 of the New Holdout Group form with general information, assignment and schedule
FieldWhat to enter
Name, DescriptionHow the group is shown in the dashboard. Both can be changed later.
Hold users outBy percentage (hash) or By user segment.
Percentage of usersFor a percentage: more than 0 and at most 50, with at most 3 decimal places. The form starts with 5.
User segmentFor a segment: a segment that includes at most 100,000 users.
Start, StopWhen the group starts and stops by itself. The periods of the groups of an environment cannot overlap.
Schedule an analysis periodOptional. See Analysis period.
The assignment cannot be changed

The assignment type, the percentage and the segment are fixed when the group is created. To hold out different users, create a new group. A group that has not started can be deleted first.

By percentage (hash)​

Bucketeer places the held-out users at a position on a hash ring when the group is created. You cannot choose the position, and it never changes. A user is held out when the hash of the user ID falls in the Held-out range. The Comparison range has the same size and is next to it. Its users are served normally and are only used for the measurement, so the two ranges together cannot exceed 100%.

By user segment​

The users included in the segment are held out. Use it for a known list of users that a random share cannot stand in for. It has three costs:

  • The segment is locked. While the group is running or in its analysis period, the segment cannot be edited, uploaded to, or deleted.
  • At most 100,000 users. The limit is checked when you create the group and again when the group starts. Use a percentage for a larger population.
  • The results are observational. The users are not chosen at random, so a difference between them and other users is an observation, not the effect of your features.

The users of the segment are fixed at the moment the group starts.

Add target flags​

Users are held out only on the flags that you add to the group.

  1. Open the group and stay on the Overview tab.
  2. In Target flags, click Add flags.
  3. Select one or more flags.
  4. For each flag, choose the Holdout variation, and confirm.
Overview tab of a running holdout group with its assignment, schedule, measurement and target flags

The holdout variation should be the behavior before the change that the flag rolls out. Bucketeer marks one variation as recommended: the off variation of the flag, or the variation its default strategy serves. If you select another variation, the dialog asks you to confirm it, because held-out users may then get a behavior that is not the one before the change.

Rules for target flags:

  • A flag can be a target of one group at a time.
  • An archived flag cannot be a target.
  • Flags can be added while the group is Waiting or Running. No flag can be added during the analysis period.
  • A flag can be removed with Remove until the group stops.
Changes while the group is running
  • A flag you add is held out from the next evaluation of each held-out user. It counts toward the measured effect only from that moment.
  • A flag you remove gets its normal evaluation from the next evaluation of each held-out user. The rest of the period no longer shows the effect of holding that flag out.
  • The next evaluation is not the next call of the SDK in your application. See When a change reaches a user.

Statuses​

StatusMeaning
WaitingThe group has not started. No user is held out.
RunningHeld-out users get the holdout variation of every target flag.
AnalysisUsers stay held out. No target flag can be added.
StoppedThe group stopped at its scheduled stop. Every user gets the normal evaluation.
Force stoppedThe group was stopped with Stop. Every user gets the normal evaluation.

The group changes status in two ways:

  • By schedule. The group starts at Start, enters its analysis period at Analysis period start when one is scheduled, and stops at Stop. Bucketeer checks the schedule at regular intervals, so a change happens shortly after its time.
  • By hand. Use the buttons on the page of the group. Each asks for a confirmation.
ButtonShown whileWhat it does
StartWaitingStarts the group now. A start scheduled for later is moved to now.
Start analysisRunningStarts the analysis period now.
StopRunning, AnalysisStops the group now. A stopped group cannot be started again.
EditEvery status until the group is archivedOpens the edit form.
ArchiveStopped, Force stoppedMoves the group to the Archived tab of the list. It can no longer be changed.
DeleteWaitingDeletes the group. This cannot be undone.

Only one group of an environment can be Running or in Analysis at a time. Stop that group before you start another one.

When a change reaches a user​

Starting and stopping a group, and adding and removing a target flag, change the evaluations that Bucketeer makes from then on. An application gets the change when its SDK next gets data from the server. Until then, the SDK returns what it had before.

  • Client SDKs keep the evaluations of the user and update them at their polling interval, or when the application asks for an update.
  • Server SDKs with local evaluation keep the flags and the holdout group and update them at their cache polling interval.
  • Server SDKs with remote evaluation ask the server on every evaluation.

The intervals are settings of each SDK (SDKs). Take them into account when you stop a group or remove a flag to release the held-out users quickly.

Analysis period​

The analysis period is the last part of the time the group holds users out. From its start until the group stops, no target flag can be added, so no flag joins the group late in that time. A flag can still be removed. The rest of the period then no longer shows the effect of holding that flag out. A group with goals gets a second result that covers the analysis period alone (Measurement and results).

The analysis period must start after the start of the group and before its stop. Schedule it in the form, or start it with Start analysis.

Edit a holdout group​

Click Edit on the page of the group. What can be changed depends on the status:

FieldWaitingRunningAnalysisStopped, Force stopped
Name, descriptionYesYesYesYes
StartYesNoNoNo
StopYesYesYesNo
Analysis period startYesYesYes, but it cannot be removedNo
GoalsAdd and removeAdd onlyAdd onlyNo
AssignmentNoNoNoNo

An archived group cannot be edited.