Page MenuHomePhabricator

Deploy updated Search A/B test to eu/ca/test wiki
Closed, ResolvedPublic3 Estimated Story Points

Description

Background

  • This ticket is for the updated deploy of the AB test on Feb 20

Requirements

Feb 20: euwiki, cawiki, testwiki

  • bucketing rate: 50/50
  • session length sampling rate : 100%
  • click tracking sampling rate: 100%

Config updates

Data QA

Confirm we are seeing an increase in empty_search_suggestion clicks (up from 3).

SELECT count(*) FROM event.product_metrics_web_base_search_ab_test_clicks
WHERE year=2025 and month=2
AND action='click'
AND action_source='empty_search_suggestion'

Sign off steps

  • Make sure the deployment steps have been documented and the analyst knows which data to ignore as part of the A/B test due to bugs.

Event Timeline

Change #1120609 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[operations/mediawiki-config@master] Update Search AB test config, increase bucketing/sampling rates for eu/ca, deploy to testwiki

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

bwang triaged this task as High priority.Feb 18 2025, 6:24 PM
Jdrewniak changed the task status from Open to In Progress.Feb 18 2025, 6:58 PM
Jdrewniak assigned this task to bwang.
Jdrewniak moved this task from Incoming to Q3 on the Web-Team board.

It is enough to use configuration here to get these fields to show up, or do we also need to send them in WikimediaEvents ? Have we confirmed the config patch is all we need to do?

@Jdlrobson it should be enough to use the config, just like all the other provide_values fields. i could double check with jennifer that thats enough

Change #1120685 had a related patch set uploaded (by Jdlrobson; author: Bernard Wang):

[mediawiki/extensions/WikimediaEvents@wmf/1.44.0-wmf.16] Remove init event from Search AB test and also remove ABTestEnrollment.js.

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

Jdlrobson-WMF set the point value for this task to 3.Feb 19 2025, 4:30 PM
Jdlrobson-WMF moved this task from Q3 to Sprint Backlog on the Web-Team board.

Change #1120609 merged by jenkins-bot:

[operations/mediawiki-config@master] Update Search AB test config, increase bucketing/sampling rates for eu/ca, deploy to testwiki

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

Mentioned in SAL (#wikimedia-operations) [2025-02-19T21:28:07Z] <cjming@deploy2002> Started scap sync-world: Backport for [[gerrit:1119579|Footer: Wikimedia icon should collapse at lower resolutions (T384619)]], [[gerrit:1120609|Update Search AB test config, increase bucketing/sampling rates for eu/ca, deploy to testwiki (T386734)]]

Mentioned in SAL (#wikimedia-operations) [2025-02-19T21:31:10Z] <cjming@deploy2002> jdlrobson, cjming, bwang: Backport for [[gerrit:1119579|Footer: Wikimedia icon should collapse at lower resolutions (T384619)]], [[gerrit:1120609|Update Search AB test config, increase bucketing/sampling rates for eu/ca, deploy to testwiki (T386734)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-02-19T21:39:55Z] <cjming@deploy2002> Finished scap sync-world: Backport for [[gerrit:1119579|Footer: Wikimedia icon should collapse at lower resolutions (T384619)]], [[gerrit:1120609|Update Search AB test config, increase bucketing/sampling rates for eu/ca, deploy to testwiki (T386734)]] (duration: 11m 47s)

Jdrewniak added a subscriber: jwang.

I've taken a look at the data and I can verify the following:

  • Sampling rate has increased to 100%
    • there are many more events coming in, e.g.
Autocomplete_search_suggestion 211
Empty_search_suggestion 22
Search_box 565
  • Bucketing is 50/50 and the experiment is renamed to RelatedArticles test experiment
{ "RelatedArticles test experiment" : "experimentEnabled" } 3564
{ "RelatedArticles test experiment" : "experimentDisabled" } 3465
  • performer_is_temp and mediawiki_database have been added to the data. It looks like performer.is_temp is null for anons, and either true or false when performer.is_logged_in is true.
  • Mediawiki_database is present - values are either euwiki or cawiki.

Make sure the deployment steps have been documented and the analyst knows which data to ignore as part of the A/B test due to bugs.

The general deployment task is T386849. There are still some outstanding bugs, T386735, T386495, so @jwang I think all this data should still be ignored until the test is widely deployed next week.

The general deployment task is T386849. There are still some outstanding bugs, T386735, T386495, so @jwang I think all this data should still be ignored until the test is widely deployed next week.

As I understand T386495 doesnt greatly impact the data analysis, its just a fix we want before the final deploy to make things easier. T386495 was backported too, and i can verify the fix on test.wiki. So I believe the data starting yesterday is good for @jwang to QA and analyze.

I'm going to sign off this task too given the backports all are confirmed and verified in production!

Change #1120685 abandoned by Jdlrobson:

[mediawiki/extensions/WikimediaEvents@wmf/1.44.0-wmf.16] Remove init event from Search AB test and also remove ABTestEnrollment.js.

Reason:

wmf.16 is no more.

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