11
edits
(Bug 1369685 - Add a new key "region" on Switchboard) |
|||
(One intermediate revision by one other user not shown) | |||
Line 39: | Line 39: | ||
* '''Name''': A descriptive name for the experiment. This name is used in JSON that is being sent by the server and stored by the client. Examples are: ''bookmark-history-menu'', ''malware-download-protection'', ''promote-add-to-homescreen'' | * '''Name''': A descriptive name for the experiment. This name is used in JSON that is being sent by the server and stored by the client. Examples are: ''bookmark-history-menu'', ''malware-download-protection'', ''promote-add-to-homescreen'' | ||
* '''Description''': A more detailed description what this experiment is about. In the best case this contains a bug number for context. Currently we send this data to the clients too (Don't make it too big). | * '''Description''': A more detailed description what this experiment is about. In the best case this contains a bug number for context. Currently we send this data to the clients too (Don't make it too big). | ||
* '''Regions''': It check the country we get in the search engine manager (e.g. US, TW). If there's no value stored we just think we are not in the experiment. In the admin interface, it should be a list (e.g {'US','TW'} ). | |||
* '''Buckets''': Every user is in one of 100 buckets (0-99). For every experiment you can set up a min and max value (0 <= min <= max <= 100). The bounds are [min, max). An experiment set to buckets min=0, max=50 means that users in buckets 0-49 will have it enabled. There is no check for out of bounds values, so "disabled" experiments can have min/max buckets keys that are either out of bounds or have min == max. A disabled experiment is usually set to min=0, max=0. | * '''Buckets''': Every user is in one of 100 buckets (0-99). For every experiment you can set up a min and max value (0 <= min <= max <= 100). The bounds are [min, max). An experiment set to buckets min=0, max=50 means that users in buckets 0-49 will have it enabled. There is no check for out of bounds values, so "disabled" experiments can have min/max buckets keys that are either out of bounds or have min == max. A disabled experiment is usually set to min=0, max=0. | ||
* '''Filters''' - In addition to buckets additional filters can be used to limit the experiments to a subset of users. | * '''Filters''' - In addition to buckets additional filters can be used to limit the experiments to a subset of users. | ||
Line 47: | Line 48: | ||
** device (regex): Android device name | ** device (regex): Android device name | ||
** manufacturer (regex): Android device manufacturer | ** manufacturer (regex): Android device manufacturer | ||
* '''values''': Every experiment can include an optional JSON object with values that are used by the experiment. For example an experiment showing a bookmark dialog after a page has been visited multiple times, could use a value that defines how many visits are needed to display the dialog. With that the experiment can change without needing to update the app. |
edits