Add correct start dates to a/b test scripts
This commit is contained in:
parent
c35b925cb1
commit
cf78e4068f
4 changed files with 13 additions and 28 deletions
|
@ -1,4 +1,5 @@
|
|||
// foreshadowsLevels A/B Results
|
||||
// Test started 2015-01-29
|
||||
|
||||
// Usage:
|
||||
// mongo <address>:<port>/<database> <script file> -u <username> -p <password>
|
||||
|
@ -14,13 +15,8 @@ load('abTestHelpers.js');
|
|||
|
||||
var scriptStartTime = new Date();
|
||||
try {
|
||||
var numDays = 10;
|
||||
|
||||
var startDay = new Date();
|
||||
today = startDay.toISOString().substr(0, 10);
|
||||
startDay.setUTCDate(startDay.getUTCDate() - numDays);
|
||||
startDay = startDay.toISOString().substr(0, 10);
|
||||
log("Today is " + today);
|
||||
var startDay = '2015-01-29'
|
||||
log("Today is " + new Date().toISOString().substr(0, 10));
|
||||
log("Start day is " + startDay);
|
||||
|
||||
var eventFunnel = ['Started Level', 'Saw Victory'];
|
||||
|
|
Reference in a new issue