Page MenuHomePhabricator

[Share Highlights] Launch the experiment
Closed, ResolvedPublic5 Estimated Story Points

Description

This task is a set of pre- and post-launch items adapted from the team's Experiment Launch Checklist. We plan to launch Share Highlights on Monday, May 18 Tuesday, May 19.

2 weeks before launch (Week of 5/4)

  • Code is feature-complete (only bugfix and instrumentation work after this week; avoid adding/removing message strings)
  • Ensure that the feature flag config var (placed prior to security review) is removed from ReaderExperiments - https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ReaderExperiments/+/1285325
  • Communicate launch date to affected wikis (note: this step is specific to giving the community an update on the expected launch timeline, not a substitute for early community consultation)
  • Check translations are available for the product launch (if applicable). Ask ambassadors to expedite translations if not. Consult the measurement spec for the list of target wikis. #reader-ambassadors Slack channel can be used to request additional translations (make sure to check with Eliza first)
    • Arabic
    • French
    • Chinese
    • Vietnamese
    • English
NOTE: the readerexperiments-sharehighlight-generating message was introduced as part of T422968: Share Highlights: add loading state. Not a blocker.

1 week before launch (week of 5/11)

  • T424591: [Share Highlights] Bug Bash tasks complete
  • Ensure all necessary patches are backported to production ahead of experiment launch.
  • Communicate launch date to affected wikis (note: this step is specific to giving the community an update on the expected launch timeline, not a substitute for early community consultation)
  • Go/No Go meeting with stakeholders async document drafted
  • Configure experiment with start date in Test Kitchen - https://test-kitchen.wikimedia.org/experiment/share-highlight

Immediately before launch

Post-launch

  • Validate production data (Kafka, Hive, Superset) - instructions

Event Timeline

SherryYang-WMF set the point value for this task to 5.

Change #1281515 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/extensions/ReaderExperiments@master] Share Highlight: add and update i18n messages

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

Change #1281515 merged by Kimberly Sarabia:

[mediawiki/extensions/ReaderExperiments@master] Share Highlight: add and update i18n messages

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

Change #1282394 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/extensions/ReaderExperiments@master] Share Highlight: add i18 message for blue dot indicator

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

Change #1282394 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] Share Highlight: add i18 message for blue dot indicator

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

Change #1285325 had a related patch set uploaded (by Marco Fossati; author: Marco Fossati):

[mediawiki/extensions/ReaderExperiments@master] ShareHighlight: remove feature flag check

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

Change #1285325 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] ShareHighlight: remove feature flag check

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

Prod data QA

Checked on Hive:

from wmfdata.spark import create_session
from pyspark.sql import functions as F

spark = create_session(app_name='shh')
q = """SELECT mediawiki.database AS wiki, experiment.assigned AS group, action, action_subtype, action_source, action_context
FROM event.product_metrics_web_base
WHERE datacenter = 'eqiad'
AND year = 2026
AND month = 5
AND day >= 19
AND experiment.enrolled = 'share-highlight'
"""
ddf = spark.sql(q)

# Inspect ddf
  • experiment_exposure treatment ✅ & control ✅
  • page_visit treatment ✅ & control ✅
  • select_text treatment ✅ & control ✅
  • navigate_to_highlight treatment ✅ & control ✅
  • download control ✅
  • page share - all wikis
    • share_initiated
    • share
    • copy_share_link
    • download_share_card
    • share_completed
    • share_abandoned
  • selection share - arwiki, frwiki, enwiki
    • share_initiated
    • share
    • copy_share_link ⛔ none yet
    • download_share_card
    • share_completed
    • share_abandoned

Notes

  • no selection share events for now on zhwiki and viwiki
  • no copy_share_link on selection share for now
  • select_text is also fired in the control group
  • select_image, select_mixed are included as action subtypes for select

Prod data QA update

selection_share on zhwiki and viwiki ✅

q = """SELECT mediawiki.database AS wiki, action, action_source, action_context, action_subtype, experiment.assigned AS group
FROM event.product_metrics_web_base
WHERE year = 2026
AND month = 5
AND day >= 19
AND experiment.enrolled = 'share-highlight'
AND mediawiki.database IN ('zhwiki', 'viwiki')
AND action_source = 'selection_share'
"""
ddf = spark.sql(q)
selection_share = ddf.groupBy('wiki', 'action_source', 'action_context').agg(F.collect_set('action').alias('action'), F.collect_set('action_subtype').alias('action_subtype'), F.collect_set('group').alias('group'), F.count('*').alias('events')).toPandas()
selection_share.sort_values('wiki')

     wiki    action_source       action_context                              action action_subtype        group  events
3  viwiki  selection_share  download_share_card                             [click]             []  [treatment]       1
4  viwiki  selection_share                share                             [click]             []  [treatment]       1
6  viwiki  selection_share      share_initiated                             [click]             []  [treatment]       6
7  viwiki  selection_share                 None                   [share_abandoned]             []  [treatment]       4
0  zhwiki  selection_share                 None  [share_abandoned, share_completed]             []  [treatment]      23
1  zhwiki  selection_share                share                             [click]             []  [treatment]       1
2  zhwiki  selection_share  download_share_card                             [click]             []  [treatment]       1
5  zhwiki  selection_share      share_initiated                             [click]             []  [treatment]      26

copy_share_link

q = """SELECT mediawiki.database AS wiki, action, action_source, action_context, action_subtype, experiment.assigned AS group
FROM event.product_metrics_web_base
WHERE year = 2026
AND month = 5
AND day >= 19
AND experiment.enrolled = 'share-highlight'
AND action_source = 'selection_share'
AND action_context = 'copy_share_link'
"""
ddf = spark.sql(q)
ddf.count()

0

Notes

  • no share_completed on viwiki yet
  • still no copy_share_link on selection share
mfossati claimed this task.
mfossati updated the task description. (Show Details)

Final QA update

  • occurrences of share_completed on viwiki = 13 ✅
  • occurrences of copy_share_link on selection share = 3 ✅