Page MenuHomePhabricator

Schema QA : mediawiki_web_ab_test_enrollment
Closed, ResolvedPublic

Description

As one of the instrumentations for sticky header, Web team has deployed the instrumentation to record AB test group enrollment. T292587

Instrumentation note

The related events will be stored in a new schema mediawiki_web_ab_test_enrollment. Sample rate is 100%

QA summary

What has been checkedStatusNote
Check experiment group assignment✅passSchema captured three groups: control , stickyHeaderDisabled, stickyHeaderEnabled
Check daily pageviews and sessions by groups✅passThe schema runs on every page view for users that are inside the A/B test while the A/B test is running
Check bucketing✅passThe distribution ratio of control, stickyHeaderDisabled and stickyHeaderEnabled groups is close to 1:1:1
Check whether mediawiki_web_ab_test_enrollment can join with click events on stiky header✅passTwo schemas can be joined by condition DesktopWebUIActionsTracking.event.token =mediawiki_web_ab_test_enrollment.web_session_id
Check whether mediawiki_web_ab_test_enrollment can join with scroll events✅passTwo scehemas can be joined by web_session_id . We only see scroll-back event in stickyHeaderDisabled group, not in stickyHeaderEnabled group. Maybe it indicates that sticky header reduced scroll-back on 12-28-2021. We needs more data to confirm after we collect data from AB test

Please see QA notebook for details.

Bugs/Potential Issues
IssuesStatusNote
unsampled group is recorded in the data✅Engineer has fixed itData since 12-15-2021 is corrected
duplicated records on the same web_session_id✅ Confirmed with engineer that it's expectedT292587#7576512

Event Timeline

Explored data and found 2 possible issues.

  • unsampled group is recorded in the data.
    • Status: engineer will fix it.
  • There are duplicated records on the same web_session_id.
jwang updated the task description. (Show Details)

@ovasileva I completed post-deployment QA of the instrumentation added to track AB test enrollment. All events appear to be recording as expected.

What has been checkedStatusNote
check experiment group assignment✅passSchema captured three groups: control , stickyHeaderDisabled, stickyHeaderEnabled
Check daily pageviews and sessions by groups✅passThe schema runs on every page view for users that are inside the A/B test while the A/B test is running
Check bucketing✅passThe distribution ratio of control, stickyHeaderDisabled and stickyHeaderEnabled groups is close to 1:1:1
Check whether mediawiki_web_ab_test_enrollment can join with click events on stiky header✅passTwo schemas can be joined by condition DesktopWebUIActionsTracking.event.token =mediawiki_web_ab_test_enrollment.web_session_id
Check whether mediawiki_web_ab_test_enrollment can join with scroll events✅passTwo scehemas can be joined by web_session_id . We only see scroll-back event in stickyHeaderDisabled group, not in stickyHeaderEnabled group. Maybe it indicates that sticky header reduced scroll-back on 12-28-2021. We needs more data to confirm after we collect data from AB test

Please see QA notebook for details.