Labs/Test Pilot/ExperimentAPI: Difference between revisions

Line 136: Line 136:
* versionNumber: An integer for telling apart different versions of the same experiment.  Whenever a significant change is made to the experiment code, the versionNumber should be incremented.  The version number gets attached to the user's data upload when they submit results for the experiment; it can then be detected on the server side to tell apart submissions from different versions of the experiment.  Required.
* versionNumber: An integer for telling apart different versions of the same experiment.  Whenever a significant change is made to the experiment code, the versionNumber should be incremented.  The version number gets attached to the user's data upload when they submit results for the experiment; it can then be detected on the server side to tell apart submissions from different versions of the experiment.  Required.
* minTPVersion: A version string (e.g. "1.0a1") corresponding to a version of the Test Pilot extension.  Versions of the extension older than minTPVersion will not attempt to download or run this study.  It is optional; if not specified, all versions of the extension will download and run the study.
* minTPVersion: A version string (e.g. "1.0a1") corresponding to a version of the Test Pilot extension.  Versions of the extension older than minTPVersion will not attempt to download or run this study.  It is optional; if not specified, all versions of the extension will download and run the study.
 
* minFXVersion: A version string (e.g. "4.0b3") corresponding to a version of Firefox.  Test Pilot running on a version of Firefox older than minFXVersion will not attempt to download or run this study.  If not specified, the study will be run on all versions of Firefox.


==== experimentInfo Example ====
==== experimentInfo Example ====
1,007

edits