Reporting Bugs in Running Experiments

Learn how to report a bug from a running experiment, what severity to choose, when to pause a variant, how a bug is tracked as a task in Planning, and how its…

7 min read


When something breaks in a live experiment, a variant that does not render on one browser or a button that stops working, you can report it from the experiment itself. The report becomes a Bug task in Planning, linked to the experiment, and the days it affected are marked on the results so whoever reads them knows.

Report a bug

On a running or deployed experiment, the button at the top of the page is a red Actions menu. It holds three items: Report a bug, Deploy a variant (hidden once a variant is deployed) and End experiment, which still asks you to confirm.

  1. 1Open the experiment and choose Actions → Report a bug.
  2. 2Fill in the form and click Create.
  3. 3The new task opens in the Planning side panel.

The form has these fields:

  • Title: up to 256 characters, for example "The buy button is hidden on mobile".
  • Severity: how badly it hurts. See the next section.
  • Affected variant: one variant, or All variants.
  • Device or browser: for example "iPhone Safari". Up to 120 characters.
  • Affected from: the first day visitors were affected. It starts as today. Set an earlier day if the bug began before you noticed it, because the broken period on the results starts here.
  • Page: the address where it happens. It starts as the experiment's first page rule, or the website's address.
  • Description: what happens, what you expected, and how to see it.

The task goes to the people on the experiment's own task, or to the person who created the experiment if nobody is on it, and they are told as for any assignment. You can also report a bug from the QA preview panel of an experiment in QA. See Checking a variant on your live site with QA.

Choose a severity

  • Cosmetic: looks wrong, but the page works.
  • Broken for some: fails for some visitors, devices or browsers.
  • Blocking: visitors cannot use the page. Consider pausing the variant.

Severity also decides whether Pertento suggests a clean restart. See below.

Pause this variant

For a Blocking bug on one variant of a running experiment, the form shows a second button, Pause this variant, beside Create. It creates the bug and sets that variant's traffic to 0%, sharing its traffic out among the others. It is never automatic, and it is offered only when all of these hold:

  • The experiment is running, not deployed.
  • The bug is on one named variant, and that variant is not the control.
  • The experiment decides its variants in the browser. Server-side experiments where your own code assigns the variant do not get it.
  • You have a role that can create experiments.

If the pause fails after the bug is created, a message says so and the bug stays. See Traffic Allocation and Variant Weights.

The bug as a task in Planning

A bug is a task type of its own. It has these statuses:

  • Open: reported, not yet being worked on.
  • In progress: someone is fixing it.
  • Fixed: mended. Setting it records the date, and moving the task out of Fixed clears it.
  • Won't fix: left as it is.

The task's Bug section shows the experiment (a link back to it), the severity, the affected variant, the device or browser, the page, Affected from and, once fixed, the fixed date. The experiment's own task shows Bugs: 2 open under Linked to.

In the Bug section each field reads as text with a pencil beside it, and clicking it opens the field for editing. Press Enter or click away to save, or press Escape to cancel. A severity saves as soon as you pick it.

A few things are different from other tasks:

  • A bug is reported from an experiment, so New task does not offer it and the Bug group in Planning has no +.
  • A bug stays a bug: it cannot change type, and it does not get the default steps.
  • The Open, Fixed and Won't fix groups appear only for a website that has bugs. Fixed and Won't fix start collapsed.
  • Filter by Bug in Planning to see them together. See Finding and Organising Tasks.

Open bugs where the experiment is listed

An experiment with an open bug (Open or In progress) shows a badge, Open bug or 3 open bugs, beside its name on the experiment page, in the Library and in Monitor. It is red for a Blocking bug and a warning colour otherwise. One bug opens its task. Several open Planning filtered to that experiment's bugs, with a Bugs of pill you can clear. The badge goes away when the last bug is Fixed or marked Won't fix.

The broken period on the results

Each bug with an Affected from day is drawn as a shaded band on the results:

  • On the Daily and Cumulative charts, with a note under the heading listing each bug and its period.
  • On the experiment's timeline, as a shaded stretch of the run.
  • In the Debrief, under Bugs during the run, with each bug's severity, variant, status and period.

The band runs from Affected from to the day the bug was marked Fixed. While it is open, it runs to today (or to the end of the run). A Won't fix bug is shaded in a neutral grey, runs to the end of the run and is labelled (Won't fix), because nothing ever mended it.

The shading is a note on the numbers, not an adjustment to them. No days are removed from the statistics. Cutting days out after seeing the results is a choice that can tilt a result, so Pertento does not offer it. The band tells you which days to be careful with, and you judge the rest. See Experiment Debriefs.

A clean restart, when it is worth it

When a Broken for some or Blocking bug has hit one named variant for 10% of the run or more, the results show a notice, A bug hit this experiment, above the recommendation. Overlapping bugs on the same variant count once. A Cosmetic bug never triggers it, and neither does a bug on All variants, because both arms were hit and the comparison still stands.

The notice is only a suggestion. If you are on a running experiment and your role can create experiments, Restart clean asks you to confirm, then:

  1. 1Copies the experiment as a new draft named with "(clean restart)". If a variant had been paused, the copy gets an even split again.
  2. 2Ends the old experiment. Its results so far stay as they are.

If the copy fails, nothing is ended. The copy opens as a draft and you start it yourself. Dismiss hides the notice in your browser. See Duplicating an Experiment.

Create a bug task from a finding

Two checks can raise a Create a bug task button, so a finding becomes a task in one step:

  • Traffic did not split as configured, on the Statistics tab. See When Traffic Does Not Split as Configured.
  • Stopped receiving traffic (no data), on the Home Needs attention card and in a notice on the running experiment's page. See How Pertento Decides What Needs Your Attention.

The button opens the same form, titled Create a bug task and already filled in from the finding. A traffic split problem is Broken for some, on the variant furthest from its expected share, from the experiment's start. No data is Blocking on all variants, from when traffic stopped. Change anything before you create it.

An experiment keeps one open bug per finding. Click again while it is open and you go straight to it. If the finding comes back after the bug was Fixed or marked Won't fix, you get a new bug, so the earlier fixed period stays on the results.

From the QA preview label on your site

While you preview a variant on your live site, the Pertento QA preview label has a Report a bug button beside Exit. With several experiments in QA at once there is one Report a bug in # button per experiment. It opens the dashboard in a new tab with the form filled in with the variant, the page (without its query string or anything after a #) and your device and browser. Nothing is sent from your site. If you are signed out, you sign in and land back on the same form.

Who can do what

  • Members can report bugs, from the Actions menu, from Create a bug task and from the QA label. They cannot edit a bug afterwards, pause a variant or restart an experiment.
  • Admins and Owners, or any role that can create experiments, can also edit bugs and their statuses, Pause this variant, Restart clean, deploy a variant and end an experiment.

See Getting Started with Planning. See Roles and Permissions in Pertento.