Page MenuHomePhabricator

Reading Lists - XLab configuration
Closed, ResolvedPublic2 Estimated Story Points

Description

As part of the T397532 reading lists on web experiment, we want to configure the XLab platform with the necessary parameters to run the experiment.

User story

As a product team, want to make data driven decisions by running experiments.


Requirements

This experiment should only run on logged-in users, per the conditions outlined in T402231.

Per the Instrumentation spec, the experiment should be configured as such

schema

analytics/product_metrics/web/base

stream name

mediawiki.product_metrics.reading_list

experiment info

Machine readable experiment name:
we-3-3-4-reading-list-test1

Machine readable group names:
- control
- treatment

experiment.subject_id

contextual attributes

- agent_client_platform
- agent_client_platform_family
- page_content_language
- page_namespace_id
- mediawiki_skin
- mediawiki.database
- performer.is_logged_in
- performer.is_temp
- performer.is_bot
- performer.edit_count_bucket
- performer.session_id

Acceptance criteria

  • An xlab configuration for this specific experiment exists.

BDD

  • For QA engineer to fill out.

Test Steps

  • For QA engineer to fill out.

Communication criteria

Add if this needs an announcement or discussion.

Rollback plan

Describe the rollback plan in production for this task if something goes wrong.

This task was created by Version 1.0.0 of the Reader Experience team task template using phabulous.

Event Timeline

Jdrewniak moved this task from Incoming to Needs refinement on the Reader Experience Team board.
Jdrewniak set the point value for this task to 2.Aug 20 2025, 5:12 PM

For this task, do we need to add a new event stream?

https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/refs/heads/master/wmf-config/ext-EventStreamConfig.php

The main differences between the reading_list event stream and product_metrics.web_base are that we include edit count and session_id.

We definitely don't need an event stream for the xlab configuration itself - my understanding is that streams and schemas are now handled by the experiments platform, and we now pass in the contextual attributes we want to the event logging method, but I could be wrong about this

Just noting that in this patch we commented out the instrumentation code to not load it unnecessarily, and that after the experiment is configured (in this task) we should remove that comment in order to test the instrumentation.

Commented out instrumentation code has been removed, so we're good to go on that end.

Updated the phab ticket, but looks good to me - idk who should do QA, but ideally this would get looked at by at least one more person before we sign it off