Closed Bug 536491 Opened 15 years ago Closed 14 years ago

All Studies: Record current study version number into event log every time study starts up

Categories

(Mozilla Labs Graveyard :: Test Pilot, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jono, Assigned: jono)

Details

(Whiteboard: api)

Right now, we have experiment fixes being applied partway through the run of an experiment. That means when we get the upload, the first half of the data in the log is pre-bugfix, the second half of the log is post-bugfix, but the overall experiment version number is the post-bugfix number. This makes it hard to identify data that came in after the bug fix. It would be better to make a clean break, by simply having the extension core not apply updates to already-running experiments.
This is closely related to bug 533858.
Priority: -- → P1
Whiteboard: extension_core, recurring_experiments
Target Milestone: 0.1 → 0.5
I've got a better solution to this, actually. Every experiment needs to record its own version number each time it starts up (therefore its data storage schema needs to include an event code for 'STUDY_STATUS' or something like that, but this is a small price to pay.) Then when we are analyzing data we can look not only at the *current* version number in the metadata, but also look at the STUDY_STATUS events in the file to see the most recent version number. If, for instance, we fixed a bug in version 4 of the study, then we can do our analysis using ONLY the parts of each file that come AFTER the first "STUDY_STATUS version=4" record. Changing name of the bug to reflect this. Has to be implemented in each study, NOT in the core.
Summary: Update experiments only when experiment is not running → All Studies: Record current study version number into event log every time study starts up
Whiteboard: extension_core, recurring_experiments → api
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.