Warn when a frequency-capped messaging experiment uses a dummy control message

Open
#17,658 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@jaredlockhart is already working on this.

Since Oct 7, 2026.

Assessment

This issue has not been assessed yet.

Description

Desktop messaging experiments record exposure for the control branch with a "dummy" message: the same trigger and targeting as the treatment message, but no template or content. ASRouter selects it, Nimbus records exposure, and nothing renders. Because nothing renders, the dummy never registers an impression, so a frequency cap on it never takes effect. The treatment message stops being selected once it hits its cap, while control keeps being selected and keeps recording exposure on every trigger.

The result is that control records several times as many exposure events per client as treatment. Comparing exposure event counts across branches measures the cap rather than exposure, and a mid-experiment distinct-client cut is biased too, since capped treatment clients stop firing. First exposure per client, counted from the experiment start, is the comparable measure. FIDE-3810 plans a replacement for the dummy message that records impressions; until then this asymmetry applies to every frequency-capped messaging experiment.

Proposal

Add a non-blocking review warning to NimbusReviewSerializer for desktop experiments (not rollouts): for each messaging feature, if a treatment message has a frequency cap and the control message with the same trigger and targeting is a dummy (no template), warn that control exposure will not be capped and that branches should be compared on first exposure per client.

Acceptance criteria

  • Warning appears on the review warning card, does not block launch, and names the affected feature and treatment message ids.
  • Fires only for desktop experiments, only for messaging features, only when the treatment message is frequency-capped and its control counterpart is a dummy message.
  • Does not fire for uncapped messages, for rollouts, or when control has no matching message (covered by the existing control-message warnings).

┆Issue is synchronized with this Jira Task

Dominant language
Python
Stars
152
Forks
231
Avg merge
23h 54m
Merged PRs (30d)
201

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/experimenter

All issues in mozilla/experimenter

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.