A/B Testing
Intermediate 12 min read A/B Testing

Guardrail Metrics

The rules that stop an experiment from winning by breaking something

Guardrail metrics are the products' other promises: latency, churn, quality, support. An experiment that wins its OEC but breaks a guardrail is a trade, not a win.

guardrailtrade-offlatencychurnquality metricsnegative effect
Prerequisites: Hypothesis & Metrics
Before we start

What you will learn

  • Identify which metrics deserve guardrail status in a given product
  • Define thresholds that turn guardrails into decision rules
  • Evaluate an experiment balancing OEC win vs guardrail breach
In 60 seconds

Guardrails are metrics that should not regress while you optimize the OEC — e.g., an engagement experiment must not raise support volume or latency. Breach a guardrail and the experiment is a no-go regardless of primary gains.

Introduction

What is this?

Guardrail metrics are the product's 'other promises': things like latency, error rates, refunds, churn-of-existing-users, support load and security incidents, held as fixed while an experiment perturbs a specific metric. Each guardrail carries a threshold — a maximum regression that triggers a decision rule. When a test moves the OEC up but breaches a guardrail, the verdict shifts from 'launch' to 'fix the trade-off or reject'.

Motivation

Why do you need it?

  • Single-metric optimization is how products get ruined a percentage at a time.
  • Guardrails convert values ('we care about reliability') into enforceable measurements.
  • They pre-commit the team to honesty: you can't 'accidentally' miss a breach when the threshold was written before the test.
  • They make the trade-off visible at review time so the business can consciously accept or reject it.
Think about it

Mental model

Imagine

A budget's spending cap

Think of

A guardrail threshold

The OEC is maximizing value; the guardrail is the cap that says no matter how profitable the idea, it can't blow the line item. Both are written before the quarter starts.

Mechanics

How it works

  • Inventory the product's promises beyond the OEC: reliability (latency, uptime), trust (fraud, refunds), retention (existing-user churn), cost (infra, support).
  • Select the top 2–5 that could plausibly move in this experiment's domain.
  • Define a threshold: absolute or relative cap (e.g. latency p95 +5% max, support tickets +3% max).
  • Pre-register them alongside the OEC so the readout is mechanical.
  • At review, publish a 5-line verdict: OEC result, each guardrail delta vs threshold, and the combined decision.

Evaluating an experiment against OEC and guardrails.

Experiment
OEC
Guardrail 1
Guardrail 2
Decision
Real world

In production

  • A push-notification experiment ships only when uninstall rate stays flat — a classic mobile guardrail.
  • A ranking change is approved with the guardrail 'zero-correction-rate must not rise', holding organic relevance hostage.
  • A pricing pilot uses 'support ticket volume per user' as a guardrail, catching confusion-driven refunds before revenue metrics glow.
Guidelines

Best practices

  • Choose guardrails the experiment could plausibly touch — every test doesn't need all five.
  • Pre-commit thresholds in the experiment's kickoff doc, with one decimal place of specificity.
  • Use statistical plus business thresholds: guardrail deltas get CIs too, and review reads the whole bracket.
  • Re-run the guardrail read after the novelty window; early 'no impact' can turn into late regressions.
Watch out

Common mistakes

  • Declaring guardrails after seeing results, so breaches magically never count.
  • Guardrailing only the metrics that are convenient to measure, missing the real risk (e.g., fraud).
  • Treating a threshold breach as a veto without checking uncertainty — a +8% support bump with a huge CI needs a follow-up, not a panic.
  • Letting a 'great' OEC win excuse a guardrail breach permanently instead of iterating on the fix.
When things break

Debugging tips

  • If a guardrail shows a breach, segment it (which plan, which flow) to locate the mechanism before freelancing 'improvements'.
  • Guardrails can spike from experiment-side effects (a broken flow) — verify exposure before blaming the product change.
  • Check guardrail computation timing; metrics computed on different windows can look like regressions that aren't.
  • When OEC and guardrail conflict repeatedly, re-examine whether the guardrail is measuring the right risk.
Interviews

Interview checkpoint

Test yourself

Quick quiz

0/2
1

Which of these is the best candidate for a guardrail in a notification experiment?

2

Guardrail thresholds should be decided after the experiment results are visible.

Go deeper

Official documentation