make-mp-data 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dungeons/food.js CHANGED
@@ -168,7 +168,7 @@ const config = {
168
168
  weight: 1,
169
169
  isFirstEvent: true,
170
170
  properties: {
171
- "signup_method": u.pickAWinner(["email", "google", "apple", "facebook"]),
171
+ "signup_method": ["email", "google", "apple", "facebook"],
172
172
  "referral_code": u.pickAWinner([true, false], 0.3),
173
173
  }
174
174
  },
@@ -176,7 +176,7 @@ const config = {
176
176
  event: "restaurant browsed",
177
177
  weight: 18,
178
178
  properties: {
179
- "cuisine_type": u.pickAWinner([
179
+ "cuisine_type": [
180
180
  "American",
181
181
  "Italian",
182
182
  "Chinese",
@@ -185,8 +185,8 @@ const config = {
185
185
  "Indian",
186
186
  "Thai",
187
187
  "Mediterranean"
188
- ]),
189
- "sort_by": u.pickAWinner(["recommended", "distance", "rating", "price"]),
188
+ ],
189
+ "sort_by": ["recommended", "distance", "rating", "price"],
190
190
  "filter_applied": u.pickAWinner([true, false], 0.4),
191
191
  }
192
192
  },
@@ -195,7 +195,7 @@ const config = {
195
195
  weight: 15,
196
196
  properties: {
197
197
  "restaurant_id": u.pickAWinner(restaurantIds),
198
- "cuisine_type": u.pickAWinner([
198
+ "cuisine_type": [
199
199
  "American",
200
200
  "Italian",
201
201
  "Chinese",
@@ -204,10 +204,10 @@ const config = {
204
204
  "Indian",
205
205
  "Thai",
206
206
  "Mediterranean"
207
- ]),
207
+ ],
208
208
  "avg_rating": u.weighNumRange(1, 5, 0.8, 30),
209
209
  "delivery_time_est_mins": u.weighNumRange(15, 90, 1.2, 40),
210
- "price_tier": u.pickAWinner(["$", "$$", "$$$", "$$$$"]),
210
+ "price_tier": ["$", "$$", "$$$", "$$$$"],
211
211
  }
212
212
  },
213
213
  {
@@ -215,7 +215,7 @@ const config = {
215
215
  weight: 14,
216
216
  properties: {
217
217
  "item_id": u.pickAWinner(itemIds),
218
- "item_category": u.pickAWinner(["entree", "appetizer", "drink", "dessert", "side"]),
218
+ "item_category": ["entree", "appetizer", "drink", "dessert", "side"],
219
219
  "item_price": u.weighNumRange(3, 65, 1.0, 40),
220
220
  "customization_count": u.weighNumRange(0, 5, 1.5, 20),
221
221
  }
@@ -225,7 +225,7 @@ const config = {
225
225
  weight: 5,
226
226
  properties: {
227
227
  "item_id": u.pickAWinner(itemIds),
228
- "removal_reason": u.pickAWinner(["changed_mind", "too_expensive", "substitution"]),
228
+ "removal_reason": ["changed_mind", "too_expensive", "substitution"],
229
229
  }
230
230
  },
231
231
  {
@@ -233,7 +233,7 @@ const config = {
233
233
  weight: 4,
234
234
  properties: {
235
235
  "coupon_code": u.pickAWinner(couponCodes),
236
- "discount_type": u.pickAWinner(["percent", "flat", "free_delivery"]),
236
+ "discount_type": ["percent", "flat", "free_delivery"],
237
237
  "discount_value": u.weighNumRange(5, 50, 1.2, 20),
238
238
  }
239
239
  },
@@ -251,7 +251,7 @@ const config = {
251
251
  weight: 10,
252
252
  properties: {
253
253
  "order_id": u.pickAWinner(orderIds),
254
- "payment_method": u.pickAWinner(["credit_card", "apple_pay", "google_pay", "paypal", "cash"]),
254
+ "payment_method": ["credit_card", "apple_pay", "google_pay", "paypal", "cash"],
255
255
  "order_total": u.weighNumRange(10, 200, 0.8, 40),
256
256
  "tip_amount": u.weighNumRange(0, 30, 1.5, 20),
257
257
  "delivery_fee": u.weighNumRange(0, 12, 1.0, 20),
@@ -262,7 +262,7 @@ const config = {
262
262
  weight: 13,
263
263
  properties: {
264
264
  "order_id": u.pickAWinner(orderIds),
265
- "order_status": u.pickAWinner(["confirmed", "preparing", "picked_up", "en_route", "delivered"]),
265
+ "order_status": ["confirmed", "preparing", "picked_up", "en_route", "delivered"],
266
266
  "eta_mins": u.weighNumRange(5, 60, 1.0, 30),
267
267
  }
268
268
  },
@@ -295,7 +295,7 @@ const config = {
295
295
  "wings", "curry", "pho", "burritos", "steak"
296
296
  ]),
297
297
  "results_count": u.weighNumRange(0, 50, 0.8, 30),
298
- "search_type": u.pickAWinner(["restaurant", "cuisine", "dish"]),
298
+ "search_type": ["restaurant", "cuisine", "dish"],
299
299
  }
300
300
  },
301
301
  {
@@ -303,8 +303,8 @@ const config = {
303
303
  weight: 8,
304
304
  properties: {
305
305
  "promo_id": () => `promo_${v.uid(5)}`,
306
- "promo_type": u.pickAWinner(["banner", "push", "in_feed"]),
307
- "promo_value": u.pickAWinner(["10%", "15%", "20%", "25%", "30%", "40%", "50%"]),
306
+ "promo_type": ["banner", "push", "in_feed"],
307
+ "promo_value": ["10%", "15%", "20%", "25%", "30%", "40%", "50%"],
308
308
  }
309
309
  },
310
310
  {
@@ -320,7 +320,7 @@ const config = {
320
320
  event: "subscription cancelled",
321
321
  weight: 1,
322
322
  properties: {
323
- "reason": u.pickAWinner(["too_expensive", "not_ordering_enough", "found_alternative", "bad_experience"]),
323
+ "reason": ["too_expensive", "not_ordering_enough", "found_alternative", "bad_experience"],
324
324
  "months_subscribed": u.weighNumRange(1, 24, 1.5, 15),
325
325
  }
326
326
  },
@@ -328,7 +328,7 @@ const config = {
328
328
  event: "support ticket",
329
329
  weight: 3,
330
330
  properties: {
331
- "issue_type": u.pickAWinner(["missing_item", "wrong_order", "late_delivery", "quality_issue", "refund_request"]),
331
+ "issue_type": ["missing_item", "wrong_order", "late_delivery", "quality_issue", "refund_request"],
332
332
  "order_id": u.pickAWinner(orderIds),
333
333
  }
334
334
  },
@@ -343,13 +343,13 @@ const config = {
343
343
  ],
344
344
 
345
345
  superProps: {
346
- platform: u.pickAWinner(["iOS", "Android", "Web"]),
346
+ platform: ["iOS", "Android", "Web"],
347
347
  subscription_tier: u.pickAWinner(["Free", "Free", "Free", "Free", "QuickBite+"]),
348
- city: u.pickAWinner(["New York", "Los Angeles", "Chicago", "Houston", "Phoenix", "San Francisco"]),
348
+ city: ["New York", "Los Angeles", "Chicago", "Houston", "Phoenix", "San Francisco"],
349
349
  },
350
350
 
351
351
  userProps: {
352
- "preferred_cuisine": u.pickAWinner([
352
+ "preferred_cuisine": [
353
353
  "American",
354
354
  "Italian",
355
355
  "Chinese",
@@ -358,7 +358,7 @@ const config = {
358
358
  "Indian",
359
359
  "Thai",
360
360
  "Mediterranean"
361
- ]),
361
+ ],
362
362
  "avg_order_value": u.weighNumRange(15, 80, 0.8, 40),
363
363
  "orders_per_month": u.weighNumRange(1, 20, 1.5, 10),
364
364
  "favorite_restaurant_count": u.weighNumRange(1, 10),
@@ -371,7 +371,7 @@ const config = {
371
371
  groupProps: {
372
372
  restaurant_id: {
373
373
  "name": () => `${chance.pickone(["The", "Big", "Lucky", "Golden", "Fresh", "Urban"])} ${chance.pickone(["Kitchen", "Grill", "Bowl", "Wok", "Bistro", "Plate", "Table", "Fork"])}`,
374
- "cuisine": u.pickAWinner([
374
+ "cuisine": [
375
375
  "American",
376
376
  "Italian",
377
377
  "Chinese",
@@ -380,7 +380,7 @@ const config = {
380
380
  "Indian",
381
381
  "Thai",
382
382
  "Mediterranean"
383
- ]),
383
+ ],
384
384
  "avg_rating": u.weighNumRange(1, 5, 0.8, 30),
385
385
  "delivery_radius_mi": u.weighNumRange(1, 15, 1.0, 10),
386
386
  }
@@ -246,13 +246,13 @@ const config = {
246
246
  company_id: {
247
247
  name: () => { return chance.company(); },
248
248
  email: () => { return `CSM: ${chance.pickone(["AK", "Jessica", "Michelle", "Dana", "Brian", "Dave"])}`; },
249
- industry: pickAWinner(["tech", "finance", "healthcare", "education", "government", "non-profit"]),
249
+ industry: ["tech", "finance", "healthcare", "education", "government", "non-profit"],
250
250
  segment: ["enterprise", "SMB", "mid-market"],
251
251
  "# active users": chance.integer({ min: 2, max: 20 })
252
252
  },
253
253
  team_id: {
254
254
  name: () => { return `Team ${chance.word({ capitalize: true })}`; },
255
- department: pickAWinner(["Engineering", "Sales", "Marketing", "Support", "HR"]),
255
+ department: ["Engineering", "Sales", "Marketing", "Support", "HR"],
256
256
  size: integer(3, 50)
257
257
  },
258
258
  department_id: {
@@ -51,26 +51,26 @@ const config = {
51
51
  conversionRate: 0.99,
52
52
  timeToConvert: 1,
53
53
  props: {
54
- "quest type": u.pickAWinner([
54
+ "quest type": [
55
55
  "Rescue",
56
56
  "Retrieve",
57
57
  "Explore",
58
58
  "Destroy",
59
59
  "Investigate",
60
- ]),
61
- "quest difficulty": u.pickAWinner([
60
+ ],
61
+ "quest difficulty": [
62
62
  "Easy",
63
63
  "Medium",
64
64
  "Hard",
65
65
  "Legendary",
66
- ]),
67
- "quest location": u.pickAWinner([
66
+ ],
67
+ "quest location": [
68
68
  "Forest",
69
69
  "Dungeon",
70
70
  "Mountain",
71
71
  "City",
72
72
  "Desert",
73
- ])
73
+ ]
74
74
  }
75
75
  },
76
76
  ],
@@ -80,7 +80,7 @@ const config = {
80
80
  event: "character creation",
81
81
  weight: 2,
82
82
  properties: {
83
- mode: u.pickAWinner(["fast", "slow", "template"]),
83
+ mode: ["fast", "slow", "template"],
84
84
  },
85
85
  },
86
86
  {
@@ -88,7 +88,7 @@ const config = {
88
88
  weight: 8,
89
89
  properties: {
90
90
  "party size": u.weighNumRange(1, 6),
91
- "party leader": u.pickAWinner([
91
+ "party leader": [
92
92
  "Bard",
93
93
  "Cleric",
94
94
  "Fighter",
@@ -98,33 +98,33 @@ const config = {
98
98
  "Ranger",
99
99
  "Sorcerer",
100
100
  "Warlock",
101
- ]),
101
+ ],
102
102
  },
103
103
  },
104
104
  {
105
105
  event: "start quest",
106
106
  weight: 12,
107
107
  properties: {
108
- "quest type": u.pickAWinner([
108
+ "quest type": [
109
109
  "Rescue",
110
110
  "Retrieve",
111
111
  "Explore",
112
112
  "Destroy",
113
113
  "Investigate",
114
- ]),
115
- "quest difficulty": u.pickAWinner([
114
+ ],
115
+ "quest difficulty": [
116
116
  "Easy",
117
117
  "Medium",
118
118
  "Hard",
119
119
  "Legendary",
120
- ]),
121
- "quest location": u.pickAWinner([
120
+ ],
121
+ "quest location": [
122
122
  "Forest",
123
123
  "Dungeon",
124
124
  "Mountain",
125
125
  "City",
126
126
  "Desert",
127
- ]),
127
+ ],
128
128
  "party size": u.weighNumRange(1, 6),
129
129
  "used hint": u.pickAWinner(["yes", "no"], 0.3),
130
130
  "used boost": u.pickAWinner(["yes", "no"], 0.2),
@@ -159,7 +159,7 @@ const config = {
159
159
  "event": "in-game purchase",
160
160
  "weight": 2,
161
161
  "properties": {
162
- "purchase type": u.pickAWinner([
162
+ "purchase type": [
163
163
  "Gold",
164
164
  "Gems",
165
165
  "Items: Weapons",
@@ -168,7 +168,7 @@ const config = {
168
168
  "Items: Scrolls",
169
169
  "Boosts",
170
170
  "Currency",
171
- ]),
171
+ ],
172
172
  "purchase amount": u.weighNumRange(1, 50, 1, 20),
173
173
  }
174
174
  },
@@ -176,19 +176,19 @@ const config = {
176
176
  event: "fight boss",
177
177
  weight: 3,
178
178
  properties: {
179
- "boss type": u.pickAWinner([
179
+ "boss type": [
180
180
  "Dragon",
181
181
  "Demon",
182
182
  "Lich",
183
183
  "Vampire",
184
184
  "Beholder",
185
- ]),
185
+ ],
186
186
  "boss level": u.weighNumRange(10, 20),
187
- "boss difficulty": u.pickAWinner([
187
+ "boss difficulty": [
188
188
  "Hard",
189
189
  "Legendary",
190
190
  "Impossible",
191
- ]),
191
+ ],
192
192
  "fight duration (mins)": u.weighNumRange(1, 60),
193
193
 
194
194
  },
@@ -197,42 +197,42 @@ const config = {
197
197
  event: "level up",
198
198
  weight: 1,
199
199
  properties: {
200
- "new abilities": u.pickAWinner([
200
+ "new abilities": [
201
201
  "Attack",
202
202
  "Spell",
203
203
  "Feat",
204
204
  "Skill",
205
- ]),
205
+ ],
206
206
  },
207
207
  },
208
208
  {
209
209
  event: "attack",
210
210
  weight: 5,
211
211
  properties: {
212
- generic_prop: u.pickAWinner(["foo", "bar", "baz", "qux"]),
212
+ generic_prop: ["foo", "bar", "baz", "qux"],
213
213
  }
214
214
  },
215
215
  {
216
216
  event: "defend",
217
217
  weight: 3,
218
218
  properties: {
219
- generic_prop: u.pickAWinner(["foo", "bar", "baz", "qux"]),
219
+ generic_prop: ["foo", "bar", "baz", "qux"],
220
220
  }
221
221
  },
222
222
  ],
223
223
  superProps: {
224
- platform: u.pickAWinner([
224
+ platform: [
225
225
  "Mobile",
226
226
  "Xbox",
227
227
  "Playstation",
228
228
  "Switch",
229
229
  "Web"
230
- ]),
230
+ ],
231
231
  "game mode": u.pickAWinner([
232
232
  "Single Player",
233
233
  "Multiplayer",
234
234
  ], 1),
235
- language: u.pickAWinner([
235
+ language: [
236
236
  "English",
237
237
  "Spanish",
238
238
  "French",
@@ -240,7 +240,7 @@ const config = {
240
240
  "Japanese",
241
241
  "Korean",
242
242
  "Chinese",
243
- ], 0),
243
+ ],
244
244
 
245
245
  },
246
246
  scdProps: {
@@ -253,14 +253,14 @@ const config = {
253
253
  // }
254
254
  },
255
255
  userProps: {
256
- experiment: u.pickAWinner([
256
+ experiment: [
257
257
  "fast leveling",
258
258
  "tension economy",
259
259
  "free trial",
260
- ]),
260
+ ],
261
261
  variant: ["A", "B", "C", "Control"],
262
262
 
263
- race: u.pickAWinner([
263
+ race: [
264
264
  "Human",
265
265
  "Elf",
266
266
  "Dwarf",
@@ -270,8 +270,8 @@ const config = {
270
270
  "Half-Elf",
271
271
  "Half-Orc",
272
272
  "Tiefling",
273
- ]),
274
- class: u.pickAWinner([
273
+ ],
274
+ class: [
275
275
  "Barbarian",
276
276
  "Bard",
277
277
  "Cleric",
@@ -284,8 +284,8 @@ const config = {
284
284
  "Sorcerer",
285
285
  "Warlock",
286
286
  "Wizard",
287
- ]),
288
- alignment: u.pickAWinner([
287
+ ],
288
+ alignment: [
289
289
  "Lawful Good",
290
290
  "Neutral Good",
291
291
  "Chaotic Good",
@@ -295,9 +295,9 @@ const config = {
295
295
  "Lawful Evil",
296
296
  "Neutral Evil",
297
297
  "Chaotic Evil",
298
- ]),
298
+ ],
299
299
  level: u.weighNumRange(1, 20),
300
- background: u.pickAWinner([
300
+ background: [
301
301
  "Acolyte",
302
302
  "Charlatan",
303
303
  "Criminal",
@@ -311,7 +311,7 @@ const config = {
311
311
  "Sailor",
312
312
  "Soldier",
313
313
  "Urchin",
314
- ]),
314
+ ],
315
315
  "subscription MRR": u.weighNumRange(0, 250, 1, 200)
316
316
  },
317
317
  hook: function (record, type, meta) {
package/dungeons/media.js CHANGED
@@ -166,24 +166,24 @@ const config = {
166
166
  weight: 1,
167
167
  isFirstEvent: true,
168
168
  properties: {
169
- "signup_source": u.pickAWinner(["organic", "referral", "trial_offer", "ad"]),
170
- "plan_selected": u.pickAWinner(["free", "standard", "premium"]),
169
+ "signup_source": ["organic", "referral", "trial_offer", "ad"],
170
+ "plan_selected": ["free", "standard", "premium"],
171
171
  }
172
172
  },
173
173
  {
174
174
  event: "content browsed",
175
175
  weight: 20,
176
176
  properties: {
177
- "browse_section": u.pickAWinner(["home", "trending", "new_releases", "genre", "continue_watching"]),
178
- "genre": u.pickAWinner(["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation", "thriller", "romance"]),
177
+ "browse_section": ["home", "trending", "new_releases", "genre", "continue_watching"],
178
+ "genre": ["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation", "thriller", "romance"],
179
179
  }
180
180
  },
181
181
  {
182
182
  event: "content selected",
183
183
  weight: 15,
184
184
  properties: {
185
- "content_type": u.pickAWinner(["movie", "series", "documentary", "special"]),
186
- "genre": u.pickAWinner(["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation", "thriller", "romance"]),
185
+ "content_type": ["movie", "series", "documentary", "special"],
186
+ "genre": ["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation", "thriller", "romance"],
187
187
  "content_id": u.pickAWinner(contentIds),
188
188
  }
189
189
  },
@@ -192,9 +192,9 @@ const config = {
192
192
  weight: 18,
193
193
  properties: {
194
194
  "content_id": u.pickAWinner(contentIds),
195
- "content_type": u.pickAWinner(["movie", "series", "documentary", "special"]),
196
- "playback_quality": u.pickAWinner(["480p", "720p", "1080p", "4k"]),
197
- "subtitle_language": u.pickAWinner(["none", "english", "spanish", "french", "japanese", "korean"], 0),
195
+ "content_type": ["movie", "series", "documentary", "special"],
196
+ "playback_quality": ["480p", "720p", "1080p", "4k"],
197
+ "subtitle_language": ["none", "english", "spanish", "french", "japanese", "korean"],
198
198
  "playback_speed": u.pickAWinner(["0.5x", "1x", "1x", "1x", "1.25x", "1.5x", "2x"]),
199
199
  }
200
200
  },
@@ -203,7 +203,7 @@ const config = {
203
203
  weight: 12,
204
204
  properties: {
205
205
  "content_id": u.pickAWinner(contentIds),
206
- "content_type": u.pickAWinner(["movie", "series", "documentary", "special"]),
206
+ "content_type": ["movie", "series", "documentary", "special"],
207
207
  "watch_duration_min": u.weighNumRange(5, 180, 0.5, 45),
208
208
  "completion_percent": u.weighNumRange(10, 100, 1.5, 85),
209
209
  }
@@ -213,7 +213,7 @@ const config = {
213
213
  weight: 10,
214
214
  properties: {
215
215
  "content_id": u.pickAWinner(contentIds),
216
- "pause_reason": u.pickAWinner(["manual", "ad_break", "buffering", "notification"]),
216
+ "pause_reason": ["manual", "ad_break", "buffering", "notification"],
217
217
  }
218
218
  },
219
219
  {
@@ -230,8 +230,8 @@ const config = {
230
230
  weight: 8,
231
231
  properties: {
232
232
  "content_id": u.pickAWinner(contentIds),
233
- "content_type": u.pickAWinner(["movie", "series", "documentary", "special"]),
234
- "genre": u.pickAWinner(["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation", "thriller", "romance"]),
233
+ "content_type": ["movie", "series", "documentary", "special"],
234
+ "genre": ["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation", "thriller", "romance"],
235
235
  }
236
236
  },
237
237
  {
@@ -239,7 +239,7 @@ const config = {
239
239
  weight: 3,
240
240
  properties: {
241
241
  "content_id": u.pickAWinner(contentIds),
242
- "reason": u.pickAWinner(["watched", "not_interested", "expired"]),
242
+ "reason": ["watched", "not_interested", "expired"],
243
243
  }
244
244
  },
245
245
  {
@@ -248,14 +248,14 @@ const config = {
248
248
  properties: {
249
249
  "search_term": () => chance.word(),
250
250
  "results_count": u.weighNumRange(0, 50, 0.5, 15),
251
- "search_type": u.pickAWinner(["title", "actor", "director", "genre"]),
251
+ "search_type": ["title", "actor", "director", "genre"],
252
252
  }
253
253
  },
254
254
  {
255
255
  event: "recommendation clicked",
256
256
  weight: 9,
257
257
  properties: {
258
- "algorithm": u.pickAWinner(["collaborative_filtering", "content_based", "trending", "editorial"]),
258
+ "algorithm": ["collaborative_filtering", "content_based", "trending", "editorial"],
259
259
  "position": u.weighNumRange(1, 20),
260
260
  }
261
261
  },
@@ -263,14 +263,14 @@ const config = {
263
263
  event: "profile switched",
264
264
  weight: 4,
265
265
  properties: {
266
- "profile_type": u.pickAWinner(["main", "kids", "partner", "guest"]),
266
+ "profile_type": ["main", "kids", "partner", "guest"],
267
267
  }
268
268
  },
269
269
  {
270
270
  event: "ad impression",
271
271
  weight: 8,
272
272
  properties: {
273
- "ad_type": u.pickAWinner(["pre_roll", "mid_roll", "banner", "interstitial"]),
273
+ "ad_type": ["pre_roll", "mid_roll", "banner", "interstitial"],
274
274
  "ad_duration_sec": u.weighNumRange(5, 30),
275
275
  "skipped": u.pickAWinner([true, false], 0.4),
276
276
  }
@@ -279,9 +279,9 @@ const config = {
279
279
  event: "subscription changed",
280
280
  weight: 2,
281
281
  properties: {
282
- "old_plan": u.pickAWinner(["free", "standard", "premium"]),
283
- "new_plan": u.pickAWinner(["free", "standard", "premium"]),
284
- "change_reason": u.pickAWinner(["upgrade", "downgrade", "cancel", "resubscribe"]),
282
+ "old_plan": ["free", "standard", "premium"],
283
+ "new_plan": ["free", "standard", "premium"],
284
+ "change_reason": ["upgrade", "downgrade", "cancel", "resubscribe"],
285
285
  }
286
286
  },
287
287
  {
@@ -289,37 +289,37 @@ const config = {
289
289
  weight: 5,
290
290
  properties: {
291
291
  "content_id": u.pickAWinner(contentIds),
292
- "content_type": u.pickAWinner(["movie", "series", "documentary", "special"]),
293
- "download_quality": u.pickAWinner(["720p", "1080p", "4k"]),
292
+ "content_type": ["movie", "series", "documentary", "special"],
293
+ "download_quality": ["720p", "1080p", "4k"],
294
294
  }
295
295
  },
296
296
  {
297
297
  event: "share content",
298
298
  weight: 3,
299
299
  properties: {
300
- "share_method": u.pickAWinner(["link", "social", "dm", "email"]),
301
- "content_type": u.pickAWinner(["movie", "series", "documentary", "special"]),
300
+ "share_method": ["link", "social", "dm", "email"],
301
+ "content_type": ["movie", "series", "documentary", "special"],
302
302
  }
303
303
  },
304
304
  {
305
305
  event: "subtitle toggled",
306
306
  weight: 4,
307
307
  properties: {
308
- "subtitle_language": u.pickAWinner(["none", "english", "spanish", "french", "japanese", "korean"], 0),
309
- "action": u.pickAWinner(["enabled", "disabled", "changed"]),
308
+ "subtitle_language": ["none", "english", "spanish", "french", "japanese", "korean"],
309
+ "action": ["enabled", "disabled", "changed"],
310
310
  }
311
311
  },
312
312
  ],
313
313
 
314
314
  superProps: {
315
315
  subscription_plan: u.pickAWinner(["free", "free", "standard", "standard", "standard", "premium"]),
316
- device_type: u.pickAWinner(["smart_tv", "mobile", "tablet", "laptop", "desktop"]),
316
+ device_type: ["smart_tv", "mobile", "tablet", "laptop", "desktop"],
317
317
  },
318
318
 
319
319
  scdProps: {},
320
320
 
321
321
  userProps: {
322
- "preferred_genre": u.pickAWinner(["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation"]),
322
+ "preferred_genre": ["action", "comedy", "drama", "documentary", "horror", "sci_fi", "animation"],
323
323
  "avg_session_duration_min": u.weighNumRange(10, 180, 0.5, 45),
324
324
  "total_watch_hours": u.weighNumRange(0, 500, 0.8, 50),
325
325
  "profiles_count": u.weighNumRange(1, 5),