Page MenuHomePhabricator

[Epic] Perform an A/A test for retention baseline
Closed, ResolvedPublic

Description

The Reader Growth team will make extensive use of XLab, the new WMF analytics platform, over the course of the next year as we launch various experimental features and test their effectiveness at retaining logged-out readers.

One of the first things we need to do here is establish a baseline for the new "retention" metric we will rely on in the future to measure the success of various features. Retention here can be defined as: Percentage of users who revisit wiki after their initial visit over a specific period (probably a 30-day window).

From @jwang

This could be a great project for onboarding to the Experiment Platform, as it involves an AA test—which is simpler than an A/B test—and only requires basic user interaction tracking (specifically, page load events).
For reference, here is a previous AA test implemented by Sam: T393918. FYI, to help evaluate the expected workload. Here is the product requirements for additional context. cc

Resources
Next Steps

In the future XLab may provide a more automated workflow for these kinds of tests. But for now we still need to do some manual setup. Here is what needs to happen to launch this A/A test. Each of these steps should be tracked in a dedicated sub-task (this might not be necessary in the future as we get more comfortable with these tools, but for the first one we do as a team let's follow each step individually).

  • T399347 Finalize an instrumentation spec for the test
  • T399482 Set up instrumentation for this experiment in the WikimediaEvents codebase
  • T399484 Set up a "smoke test" for this experiment on TestWiki
  • T399486 Enable the experiment in production via a config patch
  • T399487 Disable the experiment in production via a config patch, after about 1 month's time

Event Timeline

Change #1168231 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[mediawiki/extensions/WikimediaEvents@master] [WIP] New experiment name for page-visited event

https://gerrit.wikimedia.org/r/1168231

egardner renamed this task from Set up an A/A test for retention baseline to [Epic] Set up an A/A test for retention baseline.Jul 14 2025, 4:54 PM
egardner removed KSarabia-WMF as the assignee of this task.
egardner updated the task description. (Show Details)
egardner added a subscriber: KSarabia-WMF.
egardner renamed this task from [Epic] Set up an A/A test for retention baseline to [Epic] Perform an A/A test for retention baseline.Jul 14 2025, 5:01 PM
egardner updated the task description. (Show Details)
egardner removed a project: Patch-For-Review.

Change #1168231 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[mediawiki/extensions/WikimediaEvents@master] [WIP] New experiment name for page-visited event

https://gerrit.wikimedia.org/r/1168231

Change #1171226 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[mediawiki/extensions/WikimediaEvents@wmf/1.45.0-wmf.10] New experiment name for page-visited event

https://gerrit.wikimedia.org/r/1171226

Change #1168231 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@master] xLab: Add instrumentation for logged-out user retention

https://gerrit.wikimedia.org/r/1168231

Change #1171226 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@wmf/1.45.0-wmf.10] xLab: Add instrumentation for logged-out user retention

https://gerrit.wikimedia.org/r/1171226

Mentioned in SAL (#wikimedia-operations) [2025-07-21T20:02:43Z] <bvibber@deploy1003> Started scap sync-world: Backport for [[gerrit:1171226|xLab: Add instrumentation for logged-out user retention (T399227)]]

Mentioned in SAL (#wikimedia-operations) [2025-07-21T20:04:53Z] <bvibber@deploy1003> ksarabia, bvibber: Backport for [[gerrit:1171226|xLab: Add instrumentation for logged-out user retention (T399227)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-07-21T20:13:39Z] <bvibber@deploy1003> Finished scap sync-world: Backport for [[gerrit:1171226|xLab: Add instrumentation for logged-out user retention (T399227)]] (duration: 10m 54s)