wmf_ab is a javascript library for A/B-testing
wmf_ab currently contain these tests:
- comparing donation rates of a set of banners (rate_comparison)
If you're not running SeGLiR in node, note that SeGLiR requires jStat.js available.
var wmf_ab = require("wmf_ab");
// collect impression and donation counts
var rate_data= {
'A' : {'num_donations': 500, 'num_impressions': 1000},
'B' : {'num_donations': 488, 'num_impressions': 1000},
'C' : {'num_donations': 480, 'num_impressions': 1000}
}
wmf_ab.rate_comparison(rate_data)Make sure you have grunt and node installed.
To download the package and install the development dependencies run npm install git://github.com/ewulczyn/wmf_ab.git and to build it run grunt in the root directory.
SeGLiR is distributed under the MIT License.