Skip to content

User Guide

Guide for product managers, experimenters, and analysts using Controlvar.


Accessing the Platform

You'll need an account with one of the following roles:

Role What You Can Do
ADMIN Create, change, schedule and delete any experiment (which actions have a screen); create and manage any feature flag
DEVELOPER Create, change, schedule and delete any experiment (which actions have a screen); create and manage any feature flag
ANALYST View all experiments, results, and reports, and every feature flag, and change no experiment or flag; like every role, create an API key, which writes tracking data
VIEWER View every experiment and its results, and every feature flag, and change no experiment or flag; like every role, create an API key, which writes tracking data

The ADMIN role does not, by itself, open the dashboard's Users, API Keys, Safety settings or Roles pages, manage user accounts, or change a flag's per-flag safety config or roll it back: those need the separate, superuser account flag (is_superuser), which an ADMIN account may or may not have. Through the API, the ADMIN role alone may manage other users' API keys and custom Roles (details). A superuser can do all of the above regardless of role. Contact your platform admin to request access, a role change, or superuser access.

What the dashboard does not do yet

What the dashboard does, and what is API only lists, row by row, what has a screen and what works through the API only, with the guide for each.

Request time-outs

The dashboard gives up on a request when the API has not started to answer within 30 seconds: 120 seconds for results, for the audit-log export and for warehouse connection and source checks, and 31 minutes for a warehouse preview. A read that times out says the API did not answer. A change that times out says the request may or may not have been carried out, because the API may still finish it: reload the page and check before you try again.

Two things the deadline does not cover. First, it ends when the API starts to answer, so a response that begins and then stalls while its body arrives (a download or export that stops partway) is not timed out, and the page can keep waiting. Second, only the places that were checked show the time-out wording: some other error messages put the underlying message inside their own fixed sentence, so a time-out there can read as an ordinary failure. User deletion is fixed; the others were not audited one by one.

If you raise WAREHOUSE_MAX_QUERY_TIMEOUT_SECONDS above 1800, the dashboard still gives up on a warehouse preview after 31 minutes.


Experiments

Creating an Experiment

Experiments → + New Experiment opens guided setup, five short steps. Your answers stay in this browser tab until you press Create Experiment; reloading starts over. If you prefer every field on one page, choose Use the single-page form (advanced) — your answers carry over.

Step 1: Type

Choose A/B Test, Multivariate or Bandit; a bandit also asks for its Optimization algorithm. In the full profile, Split URL is offered last, and asks for each variant's page on the Variants step.

Step 2: Details

  • Name: Descriptive name, e.g., "Homepage CTA Button Color Q1 2026"
  • Key: generated from the name until you edit it, e.g., homepage_cta_button_color_q1_2026 — your code passes this as experiment_key
  • Description: Background context, links to design doc, Jira ticket
  • Hypothesis: "Changing the CTA button from blue to green will increase click-through rate by 10%"

Then choose what to measure. Mark one metric as the primary metric (the one you decide on); any others are tracked alongside it.

A conversion metric's results report the share of users who sent the metric's event; a revenue, count, duration or custom metric's report its mean per assigned user.

The metric's event name must match exactly what your engineers track in code (e.g., checkout_complete).

Each metric has an optional Conversion window in hours (beta, optional). Blank sends none; a whole number from 1 to 8,760 is sent as the metric's conversion_window_hours, and the help under the box says it in days too, so 168 reads 7 days (168 hours). Anything else is refused, naming the metric, and the box takes focus.

Step 3: Variants

Every experiment needs a control; mark one variant as it:

Variant Is Control Traffic %
Control (Blue Button) ✅ 50%
Treatment (Green Button) — 50%

The traffic split must add up to exactly 100%.

For multivariate tests, add more variants:

Variant Is Control Traffic %
Control ✅ 34%
Green Button — 33%
Red Button — 33%

Each variant can also carry a configuration: a JSON object your app receives with the assignment, so code can read values instead of branching on the variant's name. Open Configuration (JSON, optional) under the variant and type an object, for example:

{"button_color": "green", "button_text": "Buy now"}

Leave it empty when the variant name is enough; the variant then has no configuration (null, not {}). The form refuses anything that is not a JSON object, such as a list, a string or text that does not parse, and shows the problem under the field; Next and Create Experiment open the field and move to it. The dashboard accepts up to 16,384 bytes (UTF-8) per configuration; the API accepts larger ones. POST /api/v1/tracking/assign, which the SDKs call, returns the configuration as saved, and the experiment's page shows it in the variants table.

Only want to test on specific users? Add targeting rules on the same step:

  • Country is in [US, CA]
  • Subscription plan is "premium"
  • Account age is greater than 30 days

Users who don't match targeting rules are excluded from the experiment entirely.

Every condition needs an attribute, an operator and (for most operators) a value. If one is missing, Create Experiment stops and the problem is shown beside the targeting rules; a condition the server cannot apply is reported there too.

Step 4: How results will be judged, and an estimate

First, How results will be judged. These two settings are saved with the experiment and cannot be changed after it starts:

  • Confidence level: 90%, 95% (recommended) or 99%. At 95%, a variant is significant when its p-value is below 0.05.
  • Correction for several variants: Benjamini-Hochberg (recommended), Bonferroni (stricter) or None. It only matters with three or more variants: each extra variant is another chance for one to look like a winner by luck. Benjamini-Hochberg keeps the share of false winners among the variants called significant at about 5% (at 95% confidence); Bonferroni keeps the chance of even one false winner at 5% and needs more users. The correction applies to the variants of each metric, not across metrics.

Below them, Also analyse the primary metric with Bayesian statistics is off by default. Turned on, the results also carry a Bayesian analysis of the primary metric (the probability that each variant is the best); the frequentist results and the recommendation do not change. Under it, Advanced Bayesian settings opens to the prior alpha, prior beta, loss threshold and credible level, each at its default (1.0, 1.0, 0.001 and 0.95); they are sent only when one of them is changed. A value the API would refuse is named under its field, and nothing is created until it is fixed. Like the two settings above, Bayesian analysis and its settings are saved with the experiment and cannot be changed after it starts. For what each setting does, see Bayesian analysis.

The single-page form has the same settings in a collapsed Analysis settings section, whose title shows the current values.

Then, optionally, the estimate. Enter your baseline conversion rate and the smallest change worth detecting — a relative change, so 5% on a 12% baseline means 12% → 12.6% — and press Calculate estimate. With two variants, at 80% power and 95% confidence that example needs 47,036 users per variant. Add your daily users to see roughly how many days that takes. The smallest change worth detecting (the minimum detectable effect) is saved with the experiment, and the results page's Planned sample plans for it; leave it blank and the results page plans for 5%. An effect below 0.1%, or of 100% or more, cannot be saved, and Next says so. The rest of the estimate is a guide and is not saved: the results page plans from the control variant's own conversion rate, at 80% power. The estimate plans at 1 − the confidence level and uses the correction chosen above, as the results page's Sample Size tab does. With three or more variants and Bonferroni or Benjamini-Hochberg, each comparison with the control is planned at that level ÷ (variants − 1): with three variants the example needs 56,961 users per variant. With None, each comparison is planned at the full level, the same as the results. Benjamini-Hochberg is planned at the same level as Bonferroni and gives the same estimate. That is cautious: Benjamini-Hochberg finds every winner Bonferroni finds, so it may need fewer users.

Step 5: Review and create

Check the summary, including each variant's configuration and the Analysis row (for example "95% confidence · Benjamini-Hochberg correction", with "· Bayesian analysis on" when it is on), use Edit to go back to any step, then press Create Experiment. The Sample size row says exactly what is saved: the minimum detectable effect, if you entered one, and nothing else from the estimate. The experiment is created as a draft and you land on its page.

Then: start the experiment

Click Start on the experiment's page. The status changes to ACTIVE.

You can also schedule automatic start and end dates. On a draft's page, Schedule opens a Start and an End (optional) picker in your browser's time zone, and shows under each the time it will be saved as, in your zone and in UTC. Save dates sends only the dates you changed, and Remove clears one. The page refuses a start or an end in the past, and an end less than an hour after the start, before it sends anything. Through the API, this is PUT /api/v1/experiments/{experiment_id}/schedule, on a DRAFT experiment, with the token of a user who may change experiments, such as an ADMIN or DEVELOPER. The experiment activates at start_date and completes at end_date, which must be at least an hour later. The scheduler checks every 15 minutes by default (EXPERIMENT_SCHEDULER_INTERVAL_MINUTES), so it can start or complete up to that much later. A draft that is not ready to start (it needs two variants, a control and a metric, and a split URL experiment needs a valid split_url_config) stays a draft until it is. A date you leave out of the request is left as it is, and null clears it. A date written without a UTC offset is read in time_zone, an IANA name such as America/Los_Angeles (default UTC); a date with an offset, like the ones below, keeps it. Dates are stored in UTC. The experiment's page shows these dates in your browser's time zone, as "Starts" and "Ends" until the experiment has started or ended, then as "Started" and "Ended", and as "Start date" and "End date" once it is archived. Clicking Start before the scheduled start starts the experiment right away: its start date becomes the time you clicked, and a scheduled end date is kept.

curl -s -X PUT "localhost:8000/api/v1/experiments/$EXPERIMENT_ID/schedule" \
  -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  -d '{"start_date": "2026-11-02T09:00:00Z", "end_date": "2026-11-16T09:00:00Z"}'

Pausing and Stopping

Pause: Temporarily halt assignment of new users. Existing assignments are preserved. While the experiment is paused, every user gets the control variant (apps see assigned: false and the reason paused); when you start it again, each user who was assigned gets their variant back. An app using an SDK keeps showing the answer it cached during the pause for up to the SDK's cache time, 5 minutes by default. Use when you need to investigate anomalies or if there's a critical bug.

A paused experiment stays paused until you click Start again. Nothing resumes it behind your back: not the scheduler, and not a restart of the service.

To have it resume by itself at a set time, schedule a resume after pausing: the same PUT /api/v1/experiments/{experiment_id}/schedule call, where start_date is the time to resume at. It is stored as resume_at (returned with the experiment); the experiment's own start date does not move. On a paused experiment:

  • "start_date": null cancels a scheduled resume;
  • a field you leave out is left as it is, as on a draft;
  • end_date must be later than the experiment's start date and, with a resume scheduled, at least an hour after the resume time.

In the dashboard, a paused experiment's page has Schedule resume, which opens one Resume at picker in your browser's time zone. Remove cancels a scheduled resume, and the page shows the time as Resumes.

Starting, completing or archiving the experiment cancels a scheduled resume, and so does any other change of status.

Complete: Stop the experiment. Use when you have sufficient data and are ready to make a decision. Existing data is preserved.

From then on every user gets the control variant, with the reason completed. So ship the winning experience first: put it in your code, or behind a feature flag at 100%, deploy it, then complete the experiment, and remove the experiment call afterwards.

Archive: a completed experiment's page offers Archive, then asks you to confirm. An archived experiment keeps its results. Its page offers Unarchive, to the people who may change experiments, when it has a start date and an end date; it comes back Completed, and can be archived again. Unarchive refuses an experiment with no start date, and one whose end date is missing or still ahead: clone it to run it again. The Experiments list's Archived filter shows archived experiments.

Events the SDKs send while an experiment is paused, completed or archived (through /tracking/track and /tracking/batch) are stored, but they count in no variant's results.

Use the Sample Size tab to confirm the smallest variant has reached the planned sample before deciding. Do not stop the experiment the first time a p-value drops below 0.05: decide at the planned sample size.

Notes and learnings

An experiment's page has a Notes and learnings section, for what ran, what you saw and what to do next. Everyone who can open the experiment reads it, in every status. The Notes and Learnings fields are offered to anyone with permission to change experiments, which the ADMIN and DEVELOPER roles have.

They are the notes and learnings keys of the experiment's metadata. POST /api/v1/experiments/{experiment_id}/metadata with {"notes": "..."} merges the keys it is sent and leaves the others as they are, so saving one field never changes the other, nor a key you set through the API, which the page shows read-only.


Reading Results

Open the experiment from Experiments and choose View results (it cannot be chosen while the experiment is a draft), or go to http://localhost:3000/results/EXPERIMENT_ID.

To follow one result from a visitor's click to this page on the demo stack, see Guided examples.

Which events count, and which do not, is on How events count.

Experiment Summary Card

Shows at a glance: - Status: Active / Completed - Duration: Days running - Total Users: Participants across all variants - Planned sample: Reached when the smallest variant has the planned sample per variant in the plan the Sample Size tab shows before you change anything, for example "4,000 of 3,000 per variant"; otherwise Not yet, with the progress, for example "203 of 69,410 per variant". With no rate to plan from yet it reads Not yet with "0 per variant, no plan yet". The line under the cards names the effect the plan is for and the control rate it starts from: "To detect a 10% lift on the control's 5.01%. The 10% was set when the experiment was created." for an effect saved with the experiment, or "To detect a 5% lift (the default: no effect was saved with this experiment) on the control's 10%." when none was. Changing the inputs on the tab does not change the card, and the card's "See the Sample Size tab for how the plan is calculated, or to try another effect." link opens the tab. - Shipping floor: a variant is recommended for shipping only once every variant has at least the primary metric's minimum sample size (100 users unless the metric sets another): until then a significantly better variant is shown as Leading, and the recommendation is CONTINUE TESTING, with the reason "Not every variant has reached the minimum sample size yet". Planned sample is the sample in the plan the Sample Size tab shows before you change anything, while the recommendation uses its own minimum of 100 users per variant, so SHIP VARIANT beside a Planned sample of Not yet is not a contradiction. - Recommendation: SHIP VARIANT / KEEP CONTROL / CONTINUE TESTING / INCONCLUSIVE - Impact on the primary metric: one line per treatment, its impact with its interval, for example "One page: +124 converting users (95% CI +40 to +208)", followed by ", not significant" when the treatment is not significant. When the sample-ratio check fails, the same warning as on a leading variant follows the lines. - Analysis: the confidence level and correction the results use, which are the experiment's own settings. For example "95% confidence · Benjamini-Hochberg correction for the 2 comparisons with the control on each metric", or, with one treatment, "one comparison with the control on each metric, so no correction is needed".

To see the uncorrected numbers for an experiment with several variants and a correction, ask the API with ?correction_method=none (GET /api/v1/results/{experiment_id}).

Sample Ratio Check

The results page compares how many users each variant received with its traffic allocation (a chi-square test of the assignment counts). If they differ by more than chance allows (p < 0.001), a notice above the tabs says so, with each variant's users and the number expected. The recommendation is then INCONCLUSIVE, and a "Leading" variant and the Bayesian analysis carry a warning. So does the stopping banner on the Sequential tab, whatever it recommends. A mismatch usually means assignment or tracking is broken, so do not use the numbers for a decision until you find out why.

When the split matches, one line below the summary card says so, with the check's p-value. Nothing is shown for a bandit, which moves traffic on purpose, for an experiment with no users yet, or when the check could not be run; that is not a pass. The API returns the check as srm in GET /api/v1/results/{experiment_id}.

Conversion window

For each metric with a conversion window, a line below the sample ratio check says how many users had less than the full window. While the experiment runs, it gives the users still inside their window when the results were computed, that time in UTC, and each variant's share. Once the experiment is completed, or archived with an end, it gives the users who had less than the window before it ended, and says a pause may have left more users short. While it is paused, or archived with no end, it gives no count, and says that events sent while the experiment is paused or archived are not counted. The summary card names the primary metric's window, for example Conversion window: events in the 7 days (168 hours) from each user's assignment count., and the metric's rows in the table are tagged within 7 days.

Bayesian Analysis

For an experiment with Bayesian analysis on, the end of the Overview tab shows a Bayesian analysis of the primary metric: its decision (Continue, Stop: a winner is clear, Stop: the variants are equivalent or Stop: a meaningful difference is unlikely) and, for each variant, the chance it is the best, the expected loss, the posterior mean and the credible interval. It is a second analysis and does not change the recommendation. When Bayesian analysis is on but the results carry none, a line says it could not be computed. The method is described in Bayesian analysis.

Recommendation Meanings

Recommendation Meaning Action
SHIP VARIANT Treatment is significantly better Deploy the treatment to all users
KEEP CONTROL Control is significantly better Do not ship the treatment
CONTINUE TESTING Not enough data yet Wait for more data before deciding
INCONCLUSIVE The sample-ratio check failed: users were not split the way the traffic allocation says, so the numbers cannot be trusted Do not ship on these results. Find and fix the cause of the uneven split, then run the experiment again

Metric Comparison Table

For each metric and variant pair:

Column Meaning
Sample Size Users assigned to this variant
Value Conversion rate for this variant: the share of its users who sent the metric's event. For a revenue metric, revenue per user: each user's event values added up, averaged over every user assigned to the variant (0 for a user with none), as a plain number with no currency. A count metric reads events per user (how many times each user sent the event), a duration metric duration per user and a custom metric value per user, averaged the same way, with no unit
Effect size How large the difference from the control is, in a standardised unit: Cohen's h for a rate, Cohen's d for an average. It is written to two places with the label the server gives it (negligible, small, medium or large), e.g. 0.32 (small). The control's row reads Control.
Interval (95%) This variant's own rate or average with its confidence interval, headed with the experiment's confidence level (Interval (99%) at 99%). A variant with fewer than 2 users reads Not enough data yet. When every user of a variant has the same value, for example none converted, it reads No interval: all 200 users have the same value (with its own user count), because the interval is built from how much users differ, and they do not. The interval of the change is in the Change column.
Change Relative change vs. control (e.g., +12.3%). A significant change also says better or worse in the metric's direction, so a fall is better when lower is better. A treatment's Change cell shows the change from the control, its confidence interval, and the difference with its interval. For a metric whose control's average is too uncertain around 0 to bound the relative change, the cell says so in place of the interval. For a conversion metric the difference is in percentage points; for a revenue, count, duration or custom metric it is the difference per user with its confidence interval, e.g. +1.19 per user (95% CI −0.47 to +2.84). Every interval on a row is marked unadjusted when the p-value beside it is adjusted
Impact The difference times the treatment's own assigned users (converting users, events, or the total of the values sent), with its interval. It is not projected beyond those users and has no currency or unit.
p-value Probability the difference is due to chance (lower = more confident). Headed Adjusted p-value when a correction applies and a metric has two or more treatments with a p-value: the p-value after the experiment's correction, with the unadjusted value beneath it. A footnote under the table names the correction.
Significance (adjusted) p-value < (1 - confidence level), e.g., < 0.05 for 95% confidence

The table shows the effect size and the interval that GET /api/v1/results/{experiment_id} returns for each variant as effect_size, effect_size_label (negligible / small / medium / large) and confidence_interval.

Green = significantly better in the metric's direction Red = significantly worse in the metric's direction Gray = not statistically significant

The words better and worse in the cell say the same as the colour, so colour is never the only signal.

Under the table, a revenue, count, duration or custom metric has a footnote saying what its value per user is. If users sent a revenue, duration or custom metric's event but every user's total value is 0, a note says so: send the amount, duration or number in the event's value field, not in its properties.

A metric marked lower is better (lower_is_better), such as a guardrail, is listed like any other metric, with its users and conversions. No guardrail verdict is produced: the recommendation follows the primary metric alone, so a significant rise in a lower-is-better secondary metric does not change it.

Results for one saved segment

Show results for, above the summary card, narrows the summary card and the Overview tab to the members of one saved ID-list segment (beta). It lists ID-list segments only; inactive and archived ones are named so. The choice is not saved: a reload shows all users again.

The results for a segment are exploratory. The card shows Exploratory in place of the recommendation, with no winner and no leading variant: decide on the results for all users. The sample ratio check runs twice, once for all users and once inside the segment.

The other tabs and the CSV download always show all users, and each says so while a segment is chosen. The Bayesian analysis is not computed for a segment. How the numbers are counted is in Results for one saved segment.

Trend Chart

Shows conversion rate over time for each variant. Two modes: - Cumulative: Running total from experiment start (recommended — smooths noise) - Daily: Day-by-day rate (useful for detecting novelty effects or day-of-week patterns)

Sample Size

The Sample Size tab shows the planned sample size: how many users each variant needs to detect the smallest lift you care about, and how far the experiment has got.

Calculated from. Every number the plan uses is shown, with where it came from:

  • Baseline conversion rate: the rate observed in the control variant on the primary metric so far ("Observed in control so far: 11.8% (2,140 users)"), or the rate you typed ("Entered by you").
  • Minimum detectable effect: the effect saved with the experiment ("Set when this experiment was created"), or 5% relative when none was saved ("Default — no effect was saved with this experiment"), unless you change it. Relative means 12% → 12.6%, not 17%. The saved effect is the primary metric's expected_effect (see The planned effect).
  • Power (80%, 90% or 95%) and significance (always two-sided, which is what the results test): 1 − the experiment's confidence level unless you choose 5%, 1% or 10%. A level set through the API, such as 92%, shows as "8% (this experiment's setting)".
  • Correction, for three or more variants: the experiment's correction unless you choose another. Bonferroni or Benjamini-Hochberg plans each comparison with the control at significance ÷ (variants − 1).

Change any of them and press Recalculate.

Progress is the smallest variant: "Smallest variant: 20,000 of 47,036 (43%)", then either "43% of planned sample" or "Planned sample reached". The power shown is the power to detect your planned lift at the current size, not the effect seen so far.

The tab also says when:

  • no users have been assigned yet, or there is no rate to plan from (no control conversions, or every control user converted): type the rate you expect;
  • the metric is not a conversion: the plan is for a conversion rate whatever the metric's type, so a revenue, count, duration or custom metric's plan is for the share of users who send its event. The Power Calculator plans conversion rates only too, and the tab says so;
  • a fixed sample size is a guide only: a bandit, an uneven split, sequential testing or Bayesian analysis.

The Planned sample card on the Overview shows the same progress, for the plan the tab shows before you change anything.

The tab loads its numbers separately from the rest of the page. If they cannot be loaded, the tab says so and offers Try again; the Overview and the other tabs still work.


Feature Flags

Feature flags let you control which users see a feature without deploying new code.

Creating a Feature Flag

Navigate to Feature Flags → New Flag:

  • Key: Identifier used in code, e.g., new-checkout-flow
  • Name: Human-readable name
  • Description: What this flag controls

Controlling Rollout

Manual rollout:

Open the flag, move the Rollout percentage slider to the desired value and press Save Changes.

Percentage Meaning
0% No user outside a targeting rule gets the feature
5% 1 in 20 users sees the feature
50% Half of users
100% All users see the feature

Who gets the feature? The platform uses a deterministic hash of the user's ID. The same user always gets the same result (sticky assignment). This means: - If you set 5%, the same 5% of users will consistently see the feature - If you increase to 50%, the original 5% are still included (plus 45% more)

Adding targeting rules:

Optionally restrict to specific users: - Enable only for users in the US - Only for users on the "enterprise" plan - Only for users who signed up before a certain date

Every condition needs an attribute, an operator and (for most operators) a value. If one is missing, Create Feature Flag or Save Changes stops and the problem is shown beside the targeting rules; a condition the server cannot apply is reported there too.

Rules written through the API in a shape the rule builder cannot show are displayed read-only. Saving other changes, such as the rollout percentage, leaves them as they are; Replace rules starts again with the builder.

Scheduled Rollouts

For gradual rollouts on a schedule:

On the flag's page, Create a rollout schedule under Rollout schedule takes a name and the stages, in order, and Activate starts it (see Rollouts). Through the API, create one with POST /api/v1/rollout-schedules/ (the stages go in its stages list; see Rollouts for the full contract), then start it with POST /api/v1/rollout-schedules/{schedule_id}/activate. A schedule like this one:

Stage Target % Trigger Type Start Date
Stage 1 5% Time-based Apr 1, 2026
Stage 2 25% Time-based Apr 8, 2026
Stage 3 100% Manual —

The platform automatically advances time-based stages. A manual stage waits until you advance it: Start stage or Complete stage on the flag's page, or POST /api/v1/rollout-schedules/stages/{stage_id}/advance.

Guided examples points to a staged rollout with an automatic rollback that runs on the demo stack.

Disabling / Rolling Back

To disable a flag, turn it off with the switch at the top of its page; it then shows Not serving. Setting the rollout percentage to 0 is not the same: users matched by a targeting rule keep the flag.

If you have safety monitoring configured, the platform can roll the flag back automatically when its error rate or latency breaches a threshold. Automatic rollback is off by default: a superuser turns it on with Enable automatic rollbacks in Admin → Safety. A rollback to 0% turns the flag off for every user and pauses its rollout schedule (see Safety Monitoring).

Archived Flags

An archived flag is retired: every evaluation answers it as off, with its off value. It cannot be turned on until it is unarchived: the API refuses every request that would turn it on with "This flag is archived. Unarchive it before turning it on." Turning it off succeeds and changes nothing. To archive a flag, open its page and choose Archive, then confirm; an archived flag's page offers Unarchive, and an unarchived flag comes back inactive (off). Both need permission to change feature flags, which the ADMIN and DEVELOPER roles have; through the API they are a bulk toggle with archive and POST /api/v1/feature-flags/{id}/unarchive (beta). The dashboard shows an archived flag as Archived, with no on/off switch, and the flag list has an Archived filter. See Archived flags.


Analytics & Reporting

Viewing All Experiments

Experiments list shows all experiments with their name, status, type, number of variants and creation date.

Filter by status: All / Draft / Active / Paused / Completed / Archived.

Exporting Results

On an experiment's results page, Download CSV saves its variant rows as a CSV file. The file covers the primary metric only, with the experiment's saved correction and confidence level, and has no adjusted p-value.

Through the API: - CSV export: GET /api/v1/export/variants downloads per-variant results as CSV (?format=json for JSON); see Data Export - Full results: GET /api/v1/results/{experiment_id} returns JSON with all statistics


Advanced Statistical Methods

Sequential Testing — Stop Experiments Early

Standard A/B tests require a fixed sample size decided upfront. Sequential testing lets you monitor results continuously and stop as soon as you have enough evidence — without inflating your false positive rate.

When sequential testing is on for an experiment, its results page has a Sequential tab. The API route is:

GET /api/v1/results/{experiment_id}/sequential

The experiment's own page says whether sequential testing is on.

The platform uses mSPRT (mixture Sequential Probability Ratio Test). When recommended_action is stop_for_effect, it is safe to stop: there is an effect, but it may be a harm, so the sign of the confidence sequence and the metric's lower_is_better decide whether to ship. An experiment running well past its expected duration is flagged at_risk; that is advisory, not a reason to conclude there is no effect. See the Sequential Testing Guide for details.


CUPED — Reach Significance Faster

CUPED reduces result noise by adjusting for each user's own events in the days before they were assigned; how much depends on how well that history predicts the outcome.

When to use it: When your users sent the metric's event before the experiment (returning customers who bought before, say). Send that history to the tracking API with no experiment key, before you start the experiment: history the server receives after a user was assigned is ignored for that user.

For an experiment whose method is cuped or cuped_plus, the results page has a CUPED (beta) tab: each conversion metric's change with and without CUPED, how much the variance shrank, and the share of users with history. The method is set through the API when the experiment is created or while it is a draft. The same numbers are at:

GET /api/v1/results/{experiment_id}/cuped

See the CUPED Guide for sending history and reading the result.


Dimensional Analysis — Did the Effect Vary by Segment?

After an experiment concludes, use dimensional analysis to understand whether the treatment worked differently for different groups (mobile vs desktop, new vs returning users, etc.).

Important: Segment findings are always exploratory. Use them to generate hypotheses for follow-up experiments, not as final conclusions.

Access via the Breakdowns tab on any experiment results page, which reads GET /api/v1/results/{experiment_id}?breakdown={dimension}. The same segments, as counts with no significance test, are at the route below, where segment_by is the dimension, such as device:

GET /api/v1/experiments/{experiment_id}/segmented-results/{segment_by}

See the Dimensional Analysis Guide.

For an experiment that balances its split within groups, the Breakdowns tab opens on its balanced groups, from GET /api/v1/results/{experiment_id}/balanced-groups (beta); see Balance the split within groups.


Multi-Armed Bandit — Maximize Conversions During the Experiment

A bandit experiment automatically shifts traffic toward the better-performing variant as data accumulates. Use this when maximizing conversions during the experiment matters more than getting precise effect size estimates.

In the dashboard, choose Bandit as the experiment type and pick the Optimization algorithm; through the API, set optimization_type to thompson_sampling, ucb1, or epsilon_greedy when creating an experiment. Until the first weight update, new users are split by the variants' allocations. See the Multi-Armed Bandit Guide.

A bandit experiment's page has a Current traffic weights panel: each variant's share of new users, with its pulls, successes and conversion rate, and when the weights were last computed. Every role can read it. An Admin or a superuser can also set the weights by hand with Set weights by hand, as whole percentages that add up to 100; while the experiment is active, the bandit replaces them at its next update. It loads once and again when you press Refresh. Before the first update it says so, and new users follow each variant's starting allocation until then. Under it, Weight history lists the bandit's past updates, newest first, when you open it.


Interaction Detection — Are Your Experiments Interfering?

When multiple experiments run simultaneously on overlapping user populations, they can distort each other's results. Run an interaction scan to find the pairs that share users, then ask the pair route whether one experiment's effect differs across the other's arms (beta). The scan measures overlap only.

In the dashboard, open Experiments and then Interactions: Scan active experiments lists the pairs that share many users, and the Pair test (beta) tests any two experiments. It needs the ANALYST, DEVELOPER or ADMIN role. Through the API:

GET /api/v1/interactions/scan
GET /api/v1/interactions/{exp_a_id}/{exp_b_id}

If high-risk pairs are found, add the experiments to a Mutual Exclusion Group to prevent overlap in future runs. See the Interaction Detection Guide.


Getting Help

  • API Documentation: http://localhost:8000/api/v1/docs
  • Technical Guide: See Technical Guide for implementation details
  • Issues: https://github.com/Controlvar/controlvar/issues