Page MenuHomePhabricator

Experiment config and schema registration (Article Guidance initial intervention)
Closed, ResolvedPublic4 Estimated Story Points

Description

As part of the Article Guidance experiment (T396029), the experiment needs to be registered and configured so that it is ready for automated analysis once the feature code is deployed.

Work required

  1. Register the experiment in Test Kitchen UI once experiment code is deployed
  2. Create and submit the MR to register the experiment for automated analysis
  3. @MNeisler or @mpopov to review and merge the MR

Dependencies

  • Instrumentation spec complete and QA'd (T417046)

Resources

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Article Guidance funnel metricsrepos/product-analytics/test-kitchen/experiment-analytics-configs!68sbissonT422146-4main
Improve Article Guidance metricsrepos/product-analytics/test-kitchen/experiment-analytics-configs!67sbissonT422146-3main
Fix article guidance queryrepos/product-analytics/test-kitchen/experiment-analytics-configs!66bearlogaarticle-guidance-query-fixmain
Customize query in GitLab

Event Timeline

GGalofre-WMF added a subscriber: SBisson.

@SBisson I created this task for the schema and experiment registration.

It turns out there is no schema to create, we're using web/base, but there will be an experiment and an instrument to create in the Test Kitchen UI. Who should be doing that?

Following up with clarification on who owns each step, based on a conversation with @MNeisler:

Both steps are typically owned by the engineers, with support from Product Analytics (@MNeisler and @mpopov) as needed:

1. Configuring the experiment in Test Kitchen UI
Owned by the engineer. @MNeisler and @mpopov can help answer questions as needed.

2. Registering the experiment for automated analysis
Also owned by the engineer. This involves:

  • Adding the metrics for the experiment to metrics_catalog if not already available
  • Adding an entry to experiments_registry.yaml
  • A guide for this process is available here
  • The guide and current metrics catalog include example queries which may be useful for defining the metrics for this experiment
  • Once the MR is ready, add both @MNeisler and @mpopov as reviewers — they will review and merge with any suggested changes
SBisson triaged this task as High priority.
SBisson moved this task from Backlog to In-progress on the LPL Hypothesis board.

Change #1289406 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ArticleGuidance@master] Log editing_start and article_saved events for control group

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

Change #1289406 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@master] Log editing_start and article_saved events for control group

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

Change #1289446 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ArticleGuidance@wmf/1.47.0-wmf.3] Log editing_start and article_saved events for control group

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

Change #1289446 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@wmf/1.47.0-wmf.3] Log editing_start and article_saved events for control group

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

Mentioned in SAL (#wikimedia-operations) [2026-05-20T13:07:44Z] <sbisson@deploy1003> Started scap sync-world: Backport for [[gerrit:1289446|Log editing_start and article_saved events for control group (T422146)]]

Mentioned in SAL (#wikimedia-operations) [2026-05-20T13:09:40Z] <sbisson@deploy1003> sbisson: Backport for [[gerrit:1289446|Log editing_start and article_saved events for control group (T422146)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-05-20T13:15:40Z] <sbisson@deploy1003> Finished scap sync-world: Backport for [[gerrit:1289446|Log editing_start and article_saved events for control group (T422146)]] (duration: 07m 55s)

Some rework on the metrics needed now that I have a good way to test them locally.

Change #1293128 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ArticleGuidance@master] Instrumentation: log new articles namespace and source

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

Change #1293128 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@master] Instrumentation: log new articles namespace and source

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

Change #1293177 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ArticleGuidance@wmf/1.47.0-wmf.3] Instrumentation: log new articles namespace and source

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

Change #1293177 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@wmf/1.47.0-wmf.3] Instrumentation: log new articles namespace and source

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

Mentioned in SAL (#wikimedia-operations) [2026-05-26T13:05:07Z] <sbisson@deploy1003> Started scap sync-world: Backport for [[gerrit:1293177|Instrumentation: log new articles namespace and source (T422146)]]

Mentioned in SAL (#wikimedia-operations) [2026-05-26T13:06:59Z] <sbisson@deploy1003> sbisson: Backport for [[gerrit:1293177|Instrumentation: log new articles namespace and source (T422146)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-05-26T13:12:16Z] <sbisson@deploy1003> Finished scap sync-world: Backport for [[gerrit:1293177|Instrumentation: log new articles namespace and source (T422146)]] (duration: 07m 09s)