@ak--47/dungeon-master 1.3.0 → 1.3.1

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.
Files changed (74) hide show
  1. package/dungeons/technical/array-of-object-lookup.js +0 -2
  2. package/dungeons/technical/simple.js +3 -4
  3. package/dungeons/technical/simplest-schema.json +5 -0
  4. package/dungeons/technical/text-generation.js +1 -1
  5. package/dungeons/vertical/ai-platform.js +192 -133
  6. package/dungeons/vertical/community.js +64 -34
  7. package/dungeons/vertical/crypto.js +333 -224
  8. package/dungeons/vertical/dating.js +228 -282
  9. package/dungeons/vertical/devtools.js +164 -62
  10. package/dungeons/vertical/ecommerce.js +240 -91
  11. package/dungeons/vertical/education.js +328 -310
  12. package/dungeons/vertical/fintech.js +437 -311
  13. package/dungeons/vertical/fitness.js +141 -58
  14. package/dungeons/vertical/food-delivery.js +298 -318
  15. package/dungeons/vertical/gaming.js +378 -231
  16. package/dungeons/vertical/healthcare.js +140 -60
  17. package/dungeons/vertical/insurance-application.js +168 -73
  18. package/dungeons/vertical/logistics.js +95 -6
  19. package/dungeons/vertical/marketplace.js +137 -51
  20. package/dungeons/vertical/media.js +241 -386
  21. package/dungeons/vertical/real-estate.js +322 -315
  22. package/dungeons/vertical/sass.js +253 -263
  23. package/dungeons/vertical/social.js +262 -206
  24. package/dungeons/vertical/travel.js +59 -16
  25. package/index.js +17 -17
  26. package/lib/core/config-validator.js +93 -21
  27. package/lib/core/context.js +10 -24
  28. package/lib/core/storage.js +6 -1
  29. package/lib/generators/events.js +11 -14
  30. package/lib/generators/funnels.js +12 -4
  31. package/lib/generators/mirror.js +3 -2
  32. package/lib/generators/product-names.js +1 -1
  33. package/lib/generators/scd.js +2 -1
  34. package/lib/generators/text.js +1 -1
  35. package/lib/orchestrators/user-loop.js +47 -47
  36. package/lib/utils/utils.js +71 -39
  37. package/package.json +1 -1
  38. package/scripts/smoke-test-all.mjs +162 -0
  39. package/scripts/verify-runner.mjs +72 -24
  40. package/types.d.ts +38 -15
  41. package/dungeons/technical/ad-spend-schema.json +0 -128
  42. package/dungeons/technical/anonymous-users-schema.json +0 -92
  43. package/dungeons/technical/array-of-object-lookup-schema.json +0 -191
  44. package/dungeons/technical/experiments-schema.json +0 -203
  45. package/dungeons/technical/foobar-schema.json +0 -362
  46. package/dungeons/technical/group-analytics-schema.json +0 -241
  47. package/dungeons/technical/mirror-strategies-schema.json +0 -84
  48. package/dungeons/technical/nested-objects-schema.json +0 -145
  49. package/dungeons/technical/retention-cadence-schema.json +0 -37
  50. package/dungeons/technical/sanity-schema.json +0 -185
  51. package/dungeons/technical/scale-test-schema.json +0 -70
  52. package/dungeons/technical/scd-schema.json +0 -467
  53. package/dungeons/technical/simple-schema.json +0 -362
  54. package/dungeons/technical/text-generation-schema.json +0 -1062
  55. package/dungeons/vertical/ai-platform-schema.json +0 -617
  56. package/dungeons/vertical/community-schema.json +0 -579
  57. package/dungeons/vertical/crypto-schema.json +0 -546
  58. package/dungeons/vertical/dating-schema.json +0 -401
  59. package/dungeons/vertical/devtools-schema.json +0 -601
  60. package/dungeons/vertical/ecommerce-schema.json +0 -604
  61. package/dungeons/vertical/education-schema.json +0 -5686
  62. package/dungeons/vertical/fintech-schema.json +0 -630
  63. package/dungeons/vertical/fitness-schema.json +0 -530
  64. package/dungeons/vertical/food-delivery-schema.json +0 -36728
  65. package/dungeons/vertical/gaming-schema.json +0 -2703
  66. package/dungeons/vertical/healthcare-schema.json +0 -549
  67. package/dungeons/vertical/insurance-application-schema.json +0 -485
  68. package/dungeons/vertical/logistics-schema.json +0 -574
  69. package/dungeons/vertical/marketplace-schema.json +0 -533
  70. package/dungeons/vertical/media-schema.json +0 -4749
  71. package/dungeons/vertical/real-estate-schema.json +0 -527
  72. package/dungeons/vertical/sass-schema.json +0 -3128
  73. package/dungeons/vertical/social-schema.json +0 -620
  74. package/dungeons/vertical/travel-schema.json +0 -580
@@ -1,527 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "account created",
5
- "isFirstEvent": true,
6
- "properties": {
7
- "signup_method": [
8
- "email",
9
- "google",
10
- "apple",
11
- "facebook"
12
- ]
13
- }
14
- },
15
- {
16
- "event": "property search",
17
- "weight": 10,
18
- "properties": {
19
- "location": [
20
- "Manhattan",
21
- "Brooklyn",
22
- "Austin",
23
- "Miami",
24
- "San Francisco",
25
- "Denver",
26
- "Seattle",
27
- "Chicago",
28
- "Nashville",
29
- "Portland"
30
- ],
31
- "price_range_min": {
32
- "$range": [
33
- 172706,
34
- 434774
35
- ]
36
- },
37
- "price_range_max": {
38
- "$range": [
39
- 586384,
40
- 1735904
41
- ]
42
- },
43
- "bedrooms": [
44
- 1,
45
- 2,
46
- 3,
47
- 4,
48
- 5
49
- ],
50
- "property_type": [
51
- "Single Family",
52
- "Condo",
53
- "Townhouse",
54
- "Multi-Family"
55
- ]
56
- }
57
- },
58
- {
59
- "event": "property viewed",
60
- "weight": 12,
61
- "properties": {
62
- "listing_id": {
63
- "$type": "string"
64
- },
65
- "listing_price": {
66
- "$range": [
67
- 384906,
68
- 1263544
69
- ]
70
- },
71
- "property_type": [
72
- "Single Family",
73
- "Condo",
74
- "Townhouse",
75
- "Multi-Family"
76
- ],
77
- "bedrooms": [
78
- 1,
79
- 2,
80
- 3,
81
- 4,
82
- 5
83
- ],
84
- "square_feet": {
85
- "$range": [
86
- 1178,
87
- 4404
88
- ]
89
- },
90
- "spring_season": [
91
- false
92
- ],
93
- "luxury": [
94
- false
95
- ]
96
- }
97
- },
98
- {
99
- "event": "property saved",
100
- "weight": 5,
101
- "properties": {
102
- "listing_id": {
103
- "$type": "string"
104
- },
105
- "listing_price": {
106
- "$range": [
107
- 355946,
108
- 1235410
109
- ]
110
- }
111
- }
112
- },
113
- {
114
- "event": "saved search created",
115
- "weight": 3,
116
- "properties": {
117
- "location": [
118
- "Manhattan",
119
- "Brooklyn",
120
- "Austin",
121
- "Miami",
122
- "San Francisco",
123
- "Denver",
124
- "Seattle",
125
- "Chicago",
126
- "Nashville",
127
- "Portland"
128
- ],
129
- "criteria_count": [
130
- 7,
131
- 3,
132
- 6,
133
- 5,
134
- 4
135
- ]
136
- }
137
- },
138
- {
139
- "event": "virtual tour",
140
- "weight": 4,
141
- "properties": {
142
- "listing_id": {
143
- "$type": "string"
144
- },
145
- "duration_mins": {
146
- "$range": [
147
- 12,
148
- 35
149
- ]
150
- }
151
- }
152
- },
153
- {
154
- "event": "in-person tour",
155
- "weight": 3,
156
- "properties": {
157
- "listing_id": {
158
- "$type": "string"
159
- },
160
- "agent_id": {
161
- "$type": "string"
162
- }
163
- }
164
- },
165
- {
166
- "event": "tour scheduled",
167
- "weight": 4,
168
- "properties": {
169
- "listing_id": {
170
- "$type": "string"
171
- },
172
- "agent_id": {
173
- "$type": "string"
174
- },
175
- "spring_season": [
176
- false
177
- ]
178
- }
179
- },
180
- {
181
- "event": "mortgage pre-approval",
182
- "weight": 2,
183
- "properties": {
184
- "lender": [
185
- "Chase",
186
- "Wells Fargo",
187
- "Bank of America",
188
- "Rocket Mortgage",
189
- "United Wholesale",
190
- "loanDepot"
191
- ],
192
- "approved_amount": {
193
- "$range": [
194
- 457192,
195
- 1233515
196
- ]
197
- },
198
- "mortgage_rate": {
199
- "$range": [
200
- 6,
201
- 7
202
- ]
203
- }
204
- }
205
- },
206
- {
207
- "event": "offer submitted",
208
- "weight": 2,
209
- "properties": {
210
- "listing_id": {
211
- "$type": "string"
212
- },
213
- "offer_price": {
214
- "$range": [
215
- 447569,
216
- 1195058
217
- ]
218
- },
219
- "listing_price": {
220
- "$range": [
221
- 458307,
222
- 1270588
223
- ]
224
- },
225
- "pre_approved": [
226
- false
227
- ],
228
- "spring_season": [
229
- false
230
- ],
231
- "dual_tour": [
232
- false
233
- ]
234
- }
235
- },
236
- {
237
- "event": "offer accepted",
238
- "properties": {
239
- "listing_id": {
240
- "$type": "string"
241
- },
242
- "final_price": {
243
- "$range": [
244
- 377749,
245
- 1260893
246
- ]
247
- }
248
- }
249
- },
250
- {
251
- "event": "offer rejected",
252
- "properties": {
253
- "listing_id": {
254
- "$type": "string"
255
- },
256
- "reason": [
257
- "price too low",
258
- "competing offer",
259
- "seller changed mind",
260
- "inspection issues",
261
- "financing fell through"
262
- ]
263
- }
264
- },
265
- {
266
- "event": "property listed",
267
- "weight": 3,
268
- "properties": {
269
- "listing_price": {
270
- "$range": [
271
- 411345,
272
- 1198589
273
- ]
274
- },
275
- "property_type": [
276
- "Single Family",
277
- "Condo",
278
- "Townhouse",
279
- "Multi-Family"
280
- ],
281
- "bedrooms": [
282
- 1,
283
- 2,
284
- 3,
285
- 4,
286
- 5
287
- ],
288
- "listing_status": [
289
- "active",
290
- "pending",
291
- "coming soon"
292
- ],
293
- "luxury": [
294
- false
295
- ],
296
- "premier_agent": [
297
- false
298
- ]
299
- }
300
- },
301
- {
302
- "event": "property sold",
303
- "properties": {
304
- "sale_price": {
305
- "$range": [
306
- 404205,
307
- 1253417
308
- ]
309
- },
310
- "days_on_market": {
311
- "$range": [
312
- 34,
313
- 145
314
- ]
315
- },
316
- "premier_agent": [
317
- false
318
- ]
319
- }
320
- },
321
- {
322
- "event": "agent contacted",
323
- "weight": 4,
324
- "properties": {
325
- "contact_method": [
326
- "phone",
327
- "email",
328
- "in-app message",
329
- "text"
330
- ]
331
- }
332
- },
333
- {
334
- "event": "open house attended",
335
- "weight": 2,
336
- "properties": {
337
- "listing_id": {
338
- "$type": "string"
339
- },
340
- "attendees": {
341
- "$range": [
342
- 6,
343
- 21
344
- ]
345
- }
346
- }
347
- },
348
- {
349
- "event": "review submitted",
350
- "weight": 2,
351
- "properties": {
352
- "rating": [
353
- 1,
354
- 2,
355
- 3,
356
- 4,
357
- 5
358
- ],
359
- "review_type": [
360
- "agent",
361
- "property",
362
- "platform"
363
- ]
364
- }
365
- }
366
- ],
367
- "funnels": [
368
- {
369
- "sequence": [
370
- "account created",
371
- "property search",
372
- "property viewed"
373
- ],
374
- "name": "Buyer Journey",
375
- "isFirstFunnel": true,
376
- "conversionRate": 80,
377
- "timeToConvert": 0.5
378
- },
379
- {
380
- "sequence": [
381
- "property viewed",
382
- "tour scheduled",
383
- "offer submitted"
384
- ],
385
- "name": "Tour Funnel",
386
- "conversionRate": 40,
387
- "timeToConvert": 24,
388
- "weight": 5
389
- },
390
- {
391
- "sequence": [
392
- "property listed",
393
- "open house attended",
394
- "property sold"
395
- ],
396
- "name": "Seller Funnel",
397
- "conversionRate": 35,
398
- "timeToConvert": 48,
399
- "weight": 3
400
- }
401
- ],
402
- "superProps": {
403
- "user_type": [
404
- "Buyer",
405
- "Agent",
406
- "Both"
407
- ],
408
- "preferred_location": [
409
- "Urban",
410
- "Suburban",
411
- "Rural"
412
- ],
413
- "property_preference": [
414
- "Single Family",
415
- "Condo",
416
- "Townhouse",
417
- "Multi-Family"
418
- ],
419
- "has_saved_search": [
420
- false
421
- ],
422
- "cold_lead": [
423
- false
424
- ]
425
- },
426
- "userProps": {
427
- "user_type": [
428
- "Buyer",
429
- "Agent",
430
- "Both"
431
- ],
432
- "preferred_location": [
433
- "Urban",
434
- "Suburban",
435
- "Rural"
436
- ],
437
- "property_preference": [
438
- "Single Family",
439
- "Condo",
440
- "Townhouse",
441
- "Multi-Family"
442
- ],
443
- "budget_max": {
444
- "$range": [
445
- 535381,
446
- 1709979
447
- ]
448
- },
449
- "agent_tier": [
450
- "Standard",
451
- "Premier"
452
- ],
453
- "total_properties_viewed": {
454
- "$range": [
455
- 18,
456
- 91
457
- ]
458
- },
459
- "pre_approval_status": [
460
- "none"
461
- ],
462
- "has_saved_search": [
463
- false
464
- ],
465
- "cold_lead": [
466
- false
467
- ]
468
- },
469
- "groupKeys": [
470
- {
471
- "key": "brokerage_id",
472
- "count": 200,
473
- "affectsEvents": [
474
- "property listed",
475
- "property sold",
476
- "agent contacted",
477
- "open house attended"
478
- ]
479
- }
480
- ],
481
- "groupProps": {
482
- "brokerage_id": {
483
- "brokerage_name": [
484
- "Compass",
485
- "RE/MAX",
486
- "Keller Williams",
487
- "Coldwell Banker",
488
- "Century 21",
489
- "Sotheby's",
490
- "eXp Realty",
491
- "Redfin"
492
- ],
493
- "agent_count": {
494
- "$range": [
495
- 42,
496
- 153
497
- ]
498
- },
499
- "region": [
500
- "Northeast",
501
- "Southeast",
502
- "Midwest",
503
- "Southwest",
504
- "West Coast",
505
- "Pacific Northwest"
506
- ],
507
- "avg_listing_price": {
508
- "$range": [
509
- 443419,
510
- 1256504
511
- ]
512
- }
513
- }
514
- },
515
- "scdProps": {
516
- "agent_tier": {
517
- "type": "user",
518
- "frequency": "month",
519
- "timing": "fuzzy",
520
- "max": 4,
521
- "values": [
522
- "Standard",
523
- "Premier"
524
- ]
525
- }
526
- }
527
- }