Use the experiments a Fenix client is already reporting to size targeting on other active experiments

Open
#18,223 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by locating the Fenix sizing data in bigquery-etl and the translator that handles activeExperiments, activeRollouts, and enrollmentsMap; the issue does not name their paths or tests. Read how the ping data is currently passed into sizing, then trace the Fenix-specific translation. Done when the reported experiment list informs these lookups, the draft's own slug remains excluded, and ended experiments still trigger the warning.

Written by the indexing model from the issue text.

Description

What

For Android (Fenix) experiments, make the population estimate understand targeting rules that check whether a user is in another active experiment or rollout.

Why

Today the estimate ignores these rules on mobile and tells the owner that part of their targeting was left out. Fenix already reports the active experiments and rollouts a client is in, with the branch, on the same ping the estimate reads. No new data collection is needed.

What to do
  • Add the experiments list from the ping to the Fenix sizing data in bigquery-etl.
  • In the translator, turn "'slug' in activeExperiments", "'slug' in activeRollouts" and enrollmentsMap['slug'] into a lookup in that list, for Fenix only.
  • Keep the existing rule that the draft's own slug is never enrolled.
Limits
  • Only experiments that are active now are visible. Rules about experiments that have already ended still cannot be answered, so the warning should stay for those.
  • The list does not say whether an entry is an experiment or a rollout.
  • iOS reports almost none of this, so iOS is unchanged.
  • Recording full enrollment history on mobile was dropped, because enrollment status depends on each experiment's targeting and could expose higher-category data.

┆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.