Skip to main content

Measurement and results

Bucketeer measures a holdout group on the goals you select and shows the result on the Results tab of the group. This page explains what is counted, how to read the result, and which SDKs the measurement depends on.

Check the SDKs first

A user counts as held out only when the SDK reports the reason HOLDOUT. An SDK below its minimum version does not report it, and where such an SDK evaluates a target flag, the result is not valid. For the Android, iOS and Flutter SDKs, check every app build that is still in use. See Minimum SDK versions.

Goals​

  • The create form asks for at least one goal.
  • Until the group starts, goals can be added and removed in Edit.
  • While the group is Running or in Analysis, goals can be added. A goal that was added cannot be removed.
  • After the group has stopped, the goals cannot be changed.

A goal that a holdout group measures is in use from the start of the group, also after the group has stopped. The Goals page shows the groups that measure a goal as Holdout groups: N.

What is counted​

By percentage (hash)By user segment
Held outUsers in the held-out rangeUsers of the segment
Compared withComparison range: users in the range of the same sizeAll other users
  • Only users who evaluated at least one target flag in the period are counted. A user is counted once, whatever the number of flags and of evaluations.
  • A target flag counts toward the result from the time it was added. The Results tab lists the target flags and marks a flag that was added after the start.
  • Bucketeer calculates the result at regular intervals. Before the first calculation, and while no user is counted, the tab shows No data yet.
  • After the group stops, the result is still calculated for two more days.
  • The measurement starts when the group starts. If the first goal is added while the group is running, the measurement starts at that moment, and the result says that it begins later than the group.

The two results​

Results tab of a running holdout group with the whole period result, the SRM check and a goal
  • Whole period: the result over the whole time the group holds users out.
  • Analysis period: the result over the analysis period, in which no target flag is added. A group has this result from the start of its analysis period.
Analysis period result with the time it covers, the users counted and the time of the last calculation

Each result shows the time it Covers, the Users counted and when it was Last calculated.

How to read a result​

A result uses the charts and tables of an experiment result (Analyzing experiment results), with these differences:

  • The held-out users are the baseline. A variation that beats the baseline means that the users who got your features did better than the users who did not.
  • No goal is the primary one. Every goal shows its own status: Collecting data, or Enough evidence.
  • Nothing is rolled out from a result. The result tells you the effect. It does not change a flag.

Traffic allocation check (SRM)​

For a group that holds users out by percentage, the held-out range and the comparison range have the same size, so each is expected to have 50% of the counted users. Advanced diagnostics shows the check and the observed and expected users.

When the numbers differ significantly, the result shows Traffic allocation mismatch detected — results may be invalid. A known cause is a target flag that is evaluated by an Android, iOS or Flutter SDK below its minimum version.

For a group that holds out a user segment, there is no expected split, and the check is not performed.

Results of a user segment are observational​

The users of a segment were not chosen at random. A difference between them and the other users shows how the two sets of users differ as well as the effect of your features, so it cannot be read like the result of an experiment. The tab shows a notice, and an Observational badge on each result.

Groups without goals​

A group has no goals when all of them were removed in Edit before the group started. Bucketeer then holds the users out and stores nothing for the measurement. The Results tab says that the group is analyzed externally.

To analyze such a group yourself:

  1. Read the reason of the evaluation from the SDK. It is HOLDOUT for a held-out user on a target flag.
  2. Record that reason in your own analytics.
  3. Compare those users with the rest.

Goals can still be added until the group stops. Bucketeer then measures the group from that moment.

info

An Android, iOS or Flutter SDK below its minimum version returns another reason, so its held-out users cannot be found this way. The same holds for the Go server SDK 1.8.0 with remote evaluation: the user is held out, but the evaluation details return DEFAULT.

What the measurement covers​

SDK that evaluates a target flagHolds the user outReports HOLDOUTResult
Go server, Node.js serverYesYesValid
JavaScript, React, React NativeYesYesValid
Android from 2.4.0, iOS from 2.4.0, Flutter from 2.3.0YesYesValid
Any older version of the Android, iOS or Flutter SDKDepends on the versionNoNot valid

Where an older version of the Android, iOS or Flutter SDK evaluates a target flag, its held-out users are missing from the held-out users of the result:

  • By percentage (hash): it shows as a traffic allocation mismatch on the result, but only when enough users are missing for the difference to be significant. A small number of such users changes the result without a warning.
  • By user segment: nothing on the result shows it. Those users are counted among the other users.

The result is valid when every SDK that evaluates a target flag is at or above its minimum version. That section also says what each older version does.

Minimum SDK versions​

Every SDK that evaluates a target flag must be at or above the version below. Bucketeer does not check the version of an SDK and never rejects a request, so an older SDK fails without an error.

SDKMinimum versionWhat an older version does
Go server with local evaluation1.9.01.8.0 does not hold the user out. It returns the normal variation and the normal reason.
Node.js server with local evaluation0.4.80.4.7 does the same as the Go server SDK 1.8.0.
JavaScript, React, React NativeNo minimum was found. The current release holds the user out and reports HOLDOUT.Older releases were not checked.
Android2.4.0Reports the reason DEFAULT instead of HOLDOUT.
iOS2.4.0Reports the reason ERROR_EXCEPTION instead of HOLDOUT. A much older version also breaks other flags (see the caution below).
Flutter2.3.0Reports the reason of the Android or iOS SDK it is built on: DEFAULT on Android devices, ERROR_EXCEPTION on iOS devices. A much older version also breaks other flags on iOS devices (see the caution below).

For an OpenFeature provider, the minimum applies to the Bucketeer SDK that the provider is built on.

The minimum versions of the Go and Node.js server SDKs apply to local evaluation, in which the SDK evaluates the flag itself. With remote evaluation, which is the default of both SDKs, Bucketeer evaluates the flag on the server and holds the user out there:

  • The Go server SDK 1.8.0 and the Node.js server SDK 0.4.7 return the variation the server chose, and report the reason HOLDOUT in their events. Older releases were not checked.
  • The evaluation details of the Go server SDK return the reason HOLDOUT from 1.9.0. In 1.8.0 they return DEFAULT for a held-out user.
Client SDKs

For a client SDK, the minimum applies to every app build that is still in use, because an installed app cannot be upgraded from the server. Check the versions in use before you start a group:

  • An app build with an Android, iOS or Flutter SDK below its minimum version keeps reporting another reason. The result is not valid while such a build evaluates a target flag.
  • With the iOS SDK 2.2.1 or older, and with the Flutter SDK 2.1.2 or older on iOS devices, the evaluations of a held-out user stop updating for every flag while the group holds users out. This is the one case where a holdout group breaks flags that are not its targets.
  • The Android SDK versions before 2.1.0 were not checked.