File size: 5,458 Bytes
d6a76d5
 
 
 
0894e25
 
 
 
 
 
 
d6a76d5
 
0894e25
 
 
d6a76d5
0894e25
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
0894e25
 
 
 
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
0894e25
 
 
 
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
 
0894e25
 
 
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
0894e25
 
 
 
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
0894e25
 
 
 
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
 
0894e25
 
 
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
0894e25
 
 
 
d6a76d5
0894e25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a76d5
 
0894e25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227


# app/dataset.py

"""

PURPOSE: Production-grade multi-intent dataset

- Introduces ambiguity (multiple valid interpretations)

- Separates perceived vs true intent

- Supports stochastic + difficulty-aware environments

"""

TICKETS = [

    # =========================
    # 1. BILLING vs DELIVERY
    # =========================
    {
        "ticket_id": "T001",

        "variants": [
            "I was charged but didn’t receive my order",
            "Payment went through but nothing arrived",
            "Got billed but package is missing"
        ],

        "noise": [
            "pls check asap",
            "this is urgent",
            ""
        ],

        # AGENT CONFUSION SPACE
        "possible_categories": ["billing", "delivery"],

        "ground_truth": {
            "category": "delivery",
            "priority": "high",
            "required_info": ["order_id", "account_email"]
        }
    },

    # =========================
    # 2. TECH vs ACCOUNT
    # =========================
    {
        "ticket_id": "T002",

        "variants": [
            "I can’t log into my account",
            "Login keeps failing with error",
            "Account not accessible"
        ],

        "noise": [
            "tried multiple times",
            "not sure what's wrong",
            ""
        ],

        "possible_categories": ["technical", "account"],

        "ground_truth": {
            "category": "account",
            "priority": "medium",
            "required_info": ["account_email", "device_type"]
        }
    },

    # =========================
    # 3. BILLING vs TECH
    # =========================
    {
        "ticket_id": "T003",

        "variants": [
            "I got charged twice for the same order",
            "Duplicate charge happened",
            "Payment processed twice"
        ],

        "noise": [
            "this is frustrating",
            "",
        ],

        "possible_categories": ["billing", "technical"],

        "ground_truth": {
            "category": "billing",
            "priority": "high",
            "required_info": ["order_id", "account_email"]
        }
    },

    # =========================
    # 4. DELIVERY (CLEAR)
    # =========================
    {
        "ticket_id": "T004",

        "variants": [
            "My order hasn’t arrived yet",
            "Delivery is delayed",
            "Still waiting for package"
        ],

        "noise": [
            "been 5 days",
            "",
        ],

        "possible_categories": ["delivery"],

        "ground_truth": {
            "category": "delivery",
            "priority": "medium",
            "required_info": ["order_id"]
        }
    },

    # =========================
    # 5. TECH (AMBIGUOUS UI ISSUE)
    # =========================
    {
        "ticket_id": "T005",

        "variants": [
            "App crashes when I open it",
            "Screen goes blank after launch",
            "Something is wrong with the app"
        ],

        "noise": [
            "happens randomly",
            "",
        ],

        "possible_categories": ["technical"],

        "ground_truth": {
            "category": "technical",
            "priority": "high",
            "required_info": ["device_type", "browser"]
        }
    },

    # =========================
    # 6. ACCOUNT vs BILLING
    # =========================
    {
        "ticket_id": "T006",

        "variants": [
            "My subscription is active but I can’t use features",
            "Paid but features locked",
            "Account says active but not working"
        ],

        "noise": [
            "pls fix",
            "",
        ],

        "possible_categories": ["account", "billing"],

        "ground_truth": {
            "category": "account",
            "priority": "high",
            "required_info": ["account_email"]
        }
    },

    # =========================
    # 7. HARD: MULTI-LAYER ISSUE
    # =========================
    {
        "ticket_id": "T007",

        "variants": [
            "Order delayed and I was charged twice",
            "Late delivery and duplicate payment issue",
            "Package not here and billing looks wrong"
        ],

        "noise": [
            "very frustrating",
            "please resolve quickly",
            ""
        ],

        "possible_categories": ["billing", "delivery"],

        "ground_truth": {
            "category": "billing",  # root cause focus
            "priority": "high",
            "required_info": ["order_id", "account_email"]
        }
    },

    # =========================
    # 8. HARD: VAGUE + NOISY
    # =========================
    {
        "ticket_id": "T008",

        "variants": [
            "Something is wrong with my account",
            "Not working properly",
            "Issue with my profile"
        ],

        "noise": [
            "not sure what exactly",
            "pls help",
            ""
        ],

        "possible_categories": ["technical", "account"],

        "ground_truth": {
            "category": "technical",
            "priority": "medium",
            "required_info": ["device_type"]
        }
    }

]