EBernhardson has uploaded a new change for review. https://gerrit.wikimedia.org/r/247335
Change subject: Increase subtest sampling from 1:1000 to 1:200 ...................................................................... Increase subtest sampling from 1:1000 to 1:200 This brings all users of the satisfaction schema into the subtest. Because half of these users are in the control group, and many of those in the test group don't end up submitting a query that is effected (and we log it there was the possibliity of an effect), this should have minimal to no change on the main satisfaction metric. Change-Id: I59246cb03ebf66c2c43afab4e6bd31988ed88ecc --- M modules/ext.wikimediaEvents.search.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaEvents refs/changes/35/247335/1 diff --git a/modules/ext.wikimediaEvents.search.js b/modules/ext.wikimediaEvents.search.js index 02a1ca1..2d99d03 100644 --- a/modules/ext.wikimediaEvents.search.js +++ b/modules/ext.wikimediaEvents.search.js @@ -169,7 +169,7 @@ if ( activeSubTest === null ) { // include 1 in 10 of the users in the satisfaction metric into the common terms sub test. - activeSubTest = oneIn( 5 ) ? subTestGroups[Math.floor( Math.random() * subTestGroups.length )] : ''; + activeSubTest = subTestGroups[Math.floor( Math.random() * subTestGroups.length )]; $.jStorage.set( 'searchSubTest', activeSubTest, { TTL: sessionLifetimeMs } ); if ( $.jStorage.get( 'searchSubTest' ) !== activeSubTest ) { // localstorage full, just opt them back out of the sub test -- To view, visit https://gerrit.wikimedia.org/r/247335 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I59246cb03ebf66c2c43afab4e6bd31988ed88ecc Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikimediaEvents Gerrit-Branch: master Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits