On Mon, Sep 14, 2015 at 1:12 PM, Erik Bernhardson
<[email protected]> wrote:
> Last week we started up a new AB test[1] comparing the existing completion
> suggestions against a new completion suggestion API.  This very simply puts
> 1 in 10000 users into the test bucket, and a further 1 in 10000 users into
> the control bucket like so:
>
> function oneIn(population) {
>
>     return Math.floor( Math.random() * populationSize ) === 0;
>
> }

Perhaps 'population' in the function declaration should be 'populationSize'.
 --scott

-- 
(http://cscott.net)

_______________________________________________
Analytics mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/analytics

Reply via email to