|
22 | 22 | use Optimizely\Event\LogEvent; |
23 | 23 |
|
24 | 24 | define('DATAFILE', |
25 | | - '{"experiments": [{"status": "Running", "key": "test_experiment", "layerId": "7719770039", |
26 | | - "trafficAllocation": [{"entityId": "", "endOfRange": 1500}, {"entityId": "7722370027", "endOfRange": 4000}, |
27 | | - {"entityId": "7721010009", "endOfRange": 8000}], "audienceIds": ["7718080042"], |
28 | | - "variations": [{"id": "7722370027", "key": "control"}, {"id": "7721010009", "key": "variation"}], |
29 | | - "forcedVariations": {"user1": "control"}, "id": "7716830082"}, |
30 | | - {"status": "Paused", "key": "paused_experiment", "layerId": "7719779139", |
31 | | - "trafficAllocation": [{"entityId": "7722370427", "endOfRange": 5000}, |
32 | | - {"entityId": "7721010509", "endOfRange": 8000}], "audienceIds": [], |
33 | | - "variations": [{"id": "7722370427", "key": "control"}, {"id": "7721010509", "key": "variation"}], |
34 | | - "forcedVariations": {}, "id": "7716830585"}, |
35 | | - {"status": "Launched", "key": "launched_experiment", "layerId": "7719779140", |
36 | | - "trafficAllocation": [{"entityId": "7722370428", "endOfRange": 5000}, |
37 | | - {"entityId": "7721010510", "endOfRange": 8000}], "audienceIds": [], |
38 | | - "variations": [{"id": "7722370428", "key": "control"}, {"id": "7721010510", "key": "variation"}], |
39 | | - "forcedVariations": {}, "id": "7716830586"}], "version": "2", |
40 | | - "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"device_type\", \"type\": \"custom_attribute\", \"value\": \"iPhone\"}]], [\"or\", [\"or\", {\"name\": \"location\", \"type\": \"custom_attribute\", \"value\": \"San Francisco\"}]]]", "id": "7718080042", "name": "iPhone users in San Francisco"}], |
41 | | - "groups": [{"policy": "random", "trafficAllocation": [{"entityId": "", "endOfRange": 500}, {"entityId": "7723330021", "endOfRange": 2000}, {"entityId": "7718750065", "endOfRange": 6000}], "experiments": [{"status": "Running", "key": "group_experiment_1", "layerId": "7721010011", "trafficAllocation": [{"entityId": "7722260071", "endOfRange": 5000}, {"entityId": "7722360022", "endOfRange": 10000}], "audienceIds": [], "variations": [{"id": "7722260071", "key": "group_exp_1_var_1"}, {"id": "7722360022", "key": "group_exp_1_var_2"}], "forcedVariations": {"user1": "group_exp_1_var_1"}, "id": "7723330021"}, {"status": "Running", "key": "group_experiment_2", "layerId": "7721020020", "trafficAllocation": [{"entityId": "7713030086", "endOfRange": 5000}, {"entityId": "7725250007", "endOfRange": 10000}], "audienceIds": [], |
42 | | - "variations": [{"id": "7713030086", "key": "group_exp_2_var_1"}, {"id": "7725250007", "key": "group_exp_2_var_2"}], "forcedVariations": {}, "id": "7718750065"}], "id": "7722400015"}], |
43 | | - "attributes": [{"id": "7723280020", "key": "device_type"}, {"id": "7723340004", "key": "location"}], |
44 | | - "projectId": "7720880029", "accountId": "1592310167", |
45 | | - "events": [{"experimentIds": ["7716830082", "7723330021", "7718750065", "7716830585"], "id": "7718020063", "key": "purchase"}, |
46 | | - {"experimentIds": ["7716830586"], "id": "7718020064", "key": "click"}], |
| 25 | + '{"experiments": [{"status": "Running", "key": "test_experiment", "layerId": "7719770039", |
| 26 | + "trafficAllocation": [{"entityId": "", "endOfRange": 1500}, {"entityId": "7722370027", "endOfRange": 4000}, |
| 27 | + {"entityId": "7721010009", "endOfRange": 8000}], "audienceIds": ["7718080042"], |
| 28 | + "variations": [{"id": "7722370027", "key": "control"}, {"id": "7721010009", "key": "variation"}], |
| 29 | + "forcedVariations": {"user1": "control"}, "id": "7716830082"}, {"status": "Paused", "key": "paused_experiment", "layerId": "7719779139", |
| 30 | + "trafficAllocation": [{"entityId": "7722370427", "endOfRange": 5000}, |
| 31 | + {"entityId": "7721010509", "endOfRange": 8000}], "audienceIds": [], |
| 32 | + "variations": [{"id": "7722370427", "key": "control"}, {"id": "7721010509", "key": "variation"}], |
| 33 | + "forcedVariations": {}, "id": "7716830585"}], "version": "2", |
| 34 | + "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"device_type\", \"type\": \"custom_attribute\", \"value\": \"iPhone\"}]], [\"or\", [\"or\", {\"name\": \"location\", \"type\": \"custom_attribute\", \"value\": \"San Francisco\"}]]]", "id": "7718080042", "name": "iPhone users in San Francisco"}], |
| 35 | + "groups": [{"policy": "random", "trafficAllocation": [{"entityId": "", "endOfRange": 500}, {"entityId": "7723330021", "endOfRange": 2000}, {"entityId": "7718750065", "endOfRange": 6000}], "experiments": [{"status": "Running", "key": "group_experiment_1", "layerId": "7721010011", "trafficAllocation": [{"entityId": "7722260071", "endOfRange": 5000}, {"entityId": "7722360022", "endOfRange": 10000}], "audienceIds": [], "variations": [{"id": "7722260071", "key": "group_exp_1_var_1"}, {"id": "7722360022", "key": "group_exp_1_var_2"}], "forcedVariations": {"user1": "group_exp_1_var_1"}, "id": "7723330021"}, {"status": "Running", "key": "group_experiment_2", "layerId": "7721020020", "trafficAllocation": [{"entityId": "7713030086", "endOfRange": 5000}, {"entityId": "7725250007", "endOfRange": 10000}], "audienceIds": [], |
| 36 | + "variations": [{"id": "7713030086", "key": "group_exp_2_var_1"}, {"id": "7725250007", "key": "group_exp_2_var_2"}], "forcedVariations": {}, "id": "7718750065"}], "id": "7722400015"}], |
| 37 | + "attributes": [{"id": "7723280020", "key": "device_type"}, {"id": "7723340004", "key": "location"}], |
| 38 | + "projectId": "7720880029", "accountId": "1592310167", |
| 39 | + "events": [{"experimentIds": ["7716830082", "7723330021", "7718750065", "7716830585"], "id": "7718020063", "key": "purchase"}], |
47 | 40 | "revision": "15"}'); |
48 | 41 |
|
49 | 42 | define('DATAFILE_V3', |
|
0 commit comments