Jdlrobson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371129 )

Change subject: WIP: A/B test infrastructure
......................................................................

WIP: A/B test infrastructure

Introduce getUserBucket which determines whether a user is in a bucket on, off 
or control
based on the value of PopupsAnonsEnabledSamplingRate
Add tests showing how these buckets are calculated.

TODO:
* We'll make sure events get logged for buckets on and control.
* We'll add the bucket field to all events logged so we can determine
who's who.

Bug: T171853
Change-Id: If2a0c5fceae78262c44cb522af38a925cc5919d3
---
M resources/dist/index.js
M resources/dist/index.js.map
A src/getUserBucket.js
M src/isEnabled.js
A tests/node-qunit/getUserBucket.test.js
M tests/node-qunit/stubs.js
6 files changed, 70 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Popups 
refs/changes/29/371129/1


-- 
To view, visit https://gerrit.wikimedia.org/r/371129
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If2a0c5fceae78262c44cb522af38a925cc5919d3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Popups
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to