Page MenuHomePhabricator

Experiment with new A/B framework for TechWish use cases
Closed, ResolvedPublic

Description

We want to use Test Kitchen for future A/B testing. Let's make an experimental change that is controlled through this framework, and learn about what is involved.

Documentation

AB Test for green button: https://test-kitchen.wikimedia.org/experiment/test-context-edit-color
Start Date: 2026-01-31
End Date: 2026-02-06
Test Wikipedia: 5 %

For review

Our learnings:
Test Kitchen Summary

Test code change on beta:
http://dev.wiki.local.wmftest.net:8080/w/index.php?title=Example/Cite&veaction=edit&mpo=test-context-edit-color:green-button

To test https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cite/+/1222589 locally:

  1. Start docker with eventlogging
  2. Add ?mpo=test-context-edit-color:green-button to the url.
  3. Open a context item.
  4. Enjoy the light green icon. :)

Details

Event Timeline

awight updated the task description. (Show Details)

Change #1222589 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] [WIP] Integrate with Test Kitchen

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

Added more small bits of code which assume an experiment exists and changes the UI based on user experiment enrollment.

Change #1222589 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Add an experiment using the Test Kitchen

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

Waiting on the patch to be deployed then we can start the experiment.

WMDE-Fisch changed the task status from Open to Stalled.Wed, Jan 21, 1:14 PM
WMDE-Fisch changed the task status from Stalled to Open.Wed, Jan 28, 12:13 PM
WMDE-Fisch removed WMDE-Fisch as the assignee of this task.
WMDE-Fisch subscribed.

Waiting on the patch to be deployed then we can start the experiment.

We could start that experiment now. The code is live on test.WP