@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,485 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "account created",
5
- "isFirstEvent": true,
6
- "properties": {
7
- "signup_source": [
8
- "web",
9
- "mobile",
10
- "agent_referral",
11
- "partner"
12
- ],
13
- "account_type": [
14
- "individual",
15
- "family",
16
- "business"
17
- ]
18
- }
19
- },
20
- {
21
- "event": "page viewed",
22
- "weight": 10,
23
- "properties": {
24
- "page_name": [
25
- "home",
26
- "quotes",
27
- "coverage_options",
28
- "claims",
29
- "faq",
30
- "profile",
31
- "payment",
32
- "documents"
33
- ],
34
- "referrer": [
35
- "direct",
36
- "google",
37
- "email",
38
- "social_media"
39
- ]
40
- }
41
- },
42
- {
43
- "event": "quote requested",
44
- "weight": 5,
45
- "properties": {
46
- "coverage_level": [
47
- "basic",
48
- "standard",
49
- "premium"
50
- ],
51
- "deductible": {
52
- "$range": [
53
- 443,
54
- 4473
55
- ]
56
- }
57
- }
58
- },
59
- {
60
- "event": "quote received",
61
- "weight": 4,
62
- "properties": {
63
- "monthly_premium": {
64
- "$range": [
65
- 164,
66
- 651
67
- ]
68
- },
69
- "coverage_amount": {
70
- "$range": [
71
- 79151,
72
- 430388
73
- ]
74
- },
75
- "quote_comparison_count": [
76
- 2,
77
- 4
78
- ]
79
- }
80
- },
81
- {
82
- "event": "application started",
83
- "weight": 4,
84
- "properties": {
85
- "coverage_level": [
86
- "basic",
87
- "standard",
88
- "premium"
89
- ],
90
- "estimated_premium": {
91
- "$range": [
92
- 175,
93
- 646
94
- ]
95
- }
96
- }
97
- },
98
- {
99
- "event": "application step completed",
100
- "weight": 6,
101
- "properties": {
102
- "step_name": [
103
- "personal_info",
104
- "coverage_selection",
105
- "medical_history",
106
- "vehicle_info",
107
- "beneficiary",
108
- "review"
109
- ],
110
- "step_number": {
111
- "$range": [
112
- 1,
113
- 5
114
- ]
115
- },
116
- "time_on_step_sec": {
117
- "$range": [
118
- 121,
119
- 491
120
- ]
121
- }
122
- }
123
- },
124
- {
125
- "event": "document uploaded",
126
- "weight": 3,
127
- "properties": {
128
- "document_type": [
129
- "drivers_license",
130
- "proof_of_address",
131
- "vehicle_registration",
132
- "medical_records",
133
- "property_photos"
134
- ],
135
- "file_size_kb": {
136
- "$range": [
137
- 552,
138
- 4345
139
- ]
140
- }
141
- }
142
- },
143
- {
144
- "event": "application submitted",
145
- "weight": 3,
146
- "properties": {
147
- "documents_attached": [
148
- 4
149
- ],
150
- "application_time_min": {
151
- "$range": [
152
- 17,
153
- 47
154
- ]
155
- }
156
- }
157
- },
158
- {
159
- "event": "application approved",
160
- "weight": 2,
161
- "properties": {
162
- "approved_premium": {
163
- "$range": [
164
- 130,
165
- 648
166
- ]
167
- },
168
- "approval_time_hours": {
169
- "$range": [
170
- 8,
171
- 61
172
- ]
173
- }
174
- }
175
- },
176
- {
177
- "event": "policy activated",
178
- "weight": 2,
179
- "properties": {
180
- "policy_term_months": [
181
- 6,
182
- 12,
183
- 24
184
- ],
185
- "effective_date_offset_days": [
186
- 10,
187
- 23,
188
- 21,
189
- 22,
190
- 19,
191
- 14,
192
- 18
193
- ]
194
- }
195
- },
196
- {
197
- "event": "claim filed",
198
- "weight": 2,
199
- "properties": {
200
- "claim_type": [
201
- "collision",
202
- "theft",
203
- "water_damage",
204
- "fire",
205
- "medical",
206
- "liability"
207
- ],
208
- "estimated_amount": {
209
- "$range": [
210
- 5885,
211
- 43341
212
- ]
213
- }
214
- }
215
- },
216
- {
217
- "event": "claim status checked",
218
- "weight": 4,
219
- "properties": {
220
- "claim_status": [
221
- "submitted",
222
- "under_review",
223
- "approved",
224
- "denied",
225
- "payment_pending"
226
- ],
227
- "days_since_filed": [
228
- 48,
229
- 20,
230
- 42,
231
- 12,
232
- 35,
233
- 27,
234
- 47,
235
- 21
236
- ]
237
- }
238
- },
239
- {
240
- "event": "payment made",
241
- "weight": 5,
242
- "properties": {
243
- "payment_method": [
244
- "credit_card",
245
- "bank_transfer",
246
- "auto_pay",
247
- "check"
248
- ],
249
- "amount": {
250
- "$range": [
251
- 181,
252
- 677
253
- ]
254
- },
255
- "payment_status": [
256
- "success",
257
- "failed"
258
- ]
259
- }
260
- },
261
- {
262
- "event": "support ticket created",
263
- "weight": 4,
264
- "properties": {
265
- "issue_category": [
266
- "billing",
267
- "claims",
268
- "coverage",
269
- "technical",
270
- "policy_change"
271
- ],
272
- "priority": [
273
- "low",
274
- "medium",
275
- "high"
276
- ],
277
- "channel": [
278
- "chat",
279
- "phone",
280
- "email",
281
- "web_form"
282
- ],
283
- "pre_release_bug": [
284
- false
285
- ]
286
- }
287
- },
288
- {
289
- "event": "support ticket resolved",
290
- "weight": 3,
291
- "properties": {
292
- "resolution_type": [
293
- "self_service",
294
- "agent_assisted",
295
- "escalated",
296
- "auto_resolved"
297
- ],
298
- "satisfaction_score": [
299
- 3,
300
- 2,
301
- 4
302
- ],
303
- "resolution_time_hours": [
304
- 53,
305
- 50,
306
- 57,
307
- 52,
308
- 20,
309
- 54,
310
- 36,
311
- 17
312
- ]
313
- }
314
- },
315
- {
316
- "event": "coverage reviewed",
317
- "weight": 4,
318
- "properties": {
319
- "current_premium": {
320
- "$range": [
321
- 183,
322
- 666
323
- ]
324
- },
325
- "coverage_adequate": [
326
- true,
327
- false
328
- ]
329
- }
330
- },
331
- {
332
- "event": "profile updated",
333
- "weight": 2,
334
- "properties": {
335
- "field_updated": [
336
- "address",
337
- "phone",
338
- "email",
339
- "beneficiary",
340
- "payment_method",
341
- "vehicle_info"
342
- ]
343
- }
344
- },
345
- {
346
- "event": "renewal completed",
347
- "weight": 2,
348
- "properties": {
349
- "renewal_premium": {
350
- "$range": [
351
- 162,
352
- 651
353
- ]
354
- },
355
- "premium_change_pct": [
356
- 14,
357
- -4,
358
- 6
359
- ],
360
- "auto_renewed": [
361
- true,
362
- false
363
- ]
364
- }
365
- }
366
- ],
367
- "funnels": [
368
- {
369
- "sequence": [
370
- "account created",
371
- "page viewed",
372
- "quote requested"
373
- ],
374
- "name": "Onboarding",
375
- "isFirstFunnel": true,
376
- "conversionRate": 85,
377
- "timeToConvert": 0.5
378
- },
379
- {
380
- "sequence": [
381
- "application started",
382
- "application step completed",
383
- "document uploaded",
384
- "application submitted"
385
- ],
386
- "name": "Application Completion",
387
- "conversionRate": 60,
388
- "timeToConvert": 48,
389
- "weight": 4
390
- },
391
- {
392
- "sequence": [
393
- "application submitted",
394
- "application approved",
395
- "policy activated"
396
- ],
397
- "name": "Application Approval",
398
- "conversionRate": 70,
399
- "timeToConvert": 72,
400
- "weight": 3
401
- },
402
- {
403
- "sequence": [
404
- "claim filed",
405
- "claim status checked",
406
- "support ticket created"
407
- ],
408
- "name": "Claims Process",
409
- "conversionRate": 50,
410
- "timeToConvert": 24,
411
- "weight": 2
412
- },
413
- {
414
- "sequence": [
415
- "coverage reviewed",
416
- "payment made",
417
- "renewal completed"
418
- ],
419
- "name": "Policy Renewal",
420
- "conversionRate": 65,
421
- "timeToConvert": 72,
422
- "weight": 3
423
- }
424
- ],
425
- "superProps": {
426
- "Platform": [
427
- "web",
428
- "ios",
429
- "android"
430
- ],
431
- "insurance_type": [
432
- "auto",
433
- "home",
434
- "life",
435
- "health",
436
- "renters"
437
- ],
438
- "app_version": [
439
- "2.10"
440
- ]
441
- },
442
- "userProps": {
443
- "age_range": [
444
- "18-25",
445
- "26-35",
446
- "36-45",
447
- "46-55",
448
- "56-65",
449
- "65+"
450
- ],
451
- "risk_profile": [
452
- "low",
453
- "medium",
454
- "high"
455
- ],
456
- "policy_count": [
457
- 3
458
- ],
459
- "lifetime_premium": {
460
- "$range": [
461
- 8131,
462
- 43291
463
- ]
464
- },
465
- "preferred_contact": [
466
- "email",
467
- "phone",
468
- "app_notification"
469
- ]
470
- },
471
- "scdProps": {
472
- "policy_status": {
473
- "type": "user",
474
- "frequency": "month",
475
- "timing": "fuzzy",
476
- "max": 8,
477
- "values": [
478
- "pending",
479
- "active",
480
- "lapsed",
481
- "renewed"
482
- ]
483
- }
484
- }
485
- }