Arrowman123 commited on
Commit
50cd66d
·
verified ·
1 Parent(s): b0eb85b
Files changed (1) hide show
  1. dataset.py +109 -110
dataset.py CHANGED
@@ -1,111 +1,110 @@
1
- cases = [
2
-
3
- # =========================
4
- # 🟢 1. GENUINE REQUESTS
5
- # =========================
6
-
7
- {
8
- "query": "I received a damaged product, want a refund",
9
- "days": 2,
10
- "has_proof": True,
11
- "correct_action": "refund"
12
- },
13
- {
14
- "query": "The item is broken, can I get a replacement?",
15
- "days": 1,
16
- "has_proof": True,
17
- "correct_action": "replace"
18
- },
19
- {
20
- "query": "Wrong item delivered, I ordered something else",
21
- "days": 3,
22
- "has_proof": True,
23
- "correct_action": "replace"
24
- },
25
- {
26
- "query": "Product stopped working within 5 days",
27
- "days": 5,
28
- "has_proof": True,
29
- "correct_action": "refund"
30
- },
31
- {
32
- "query": "I want to return the product, it is defective",
33
- "days": 6,
34
- "has_proof": True,
35
- "correct_action": "refund"
36
- },
37
-
38
- # =========================
39
- # 🔴 2. CUSTOMER LYING
40
- # =========================
41
-
42
- {
43
- "query": "I never received my order but tracking says delivered",
44
- "days": 4,
45
- "has_proof": False,
46
- "delivery_status": "delivered",
47
- "correct_action": "reject"
48
- },
49
- {
50
- "query": "Product is damaged (no images attached)",
51
- "days": 3,
52
- "has_proof": False,
53
- "correct_action": "ask_proof"
54
- },
55
- {
56
- "query": "I want refund but I already used the product",
57
- "days": 5,
58
- "has_proof": False,
59
- "used_product": True,
60
- "correct_action": "reject"
61
- },
62
- {
63
- "query": "Claiming wrong item but order history matches delivery",
64
- "days": 2,
65
- "has_proof": False,
66
- "correct_action": "reject"
67
- },
68
- {
69
- "query": "Requesting refund after clearly using the product",
70
- "days": 4,
71
- "has_proof": False,
72
- "used_product": True,
73
- "correct_action": "reject"
74
- },
75
-
76
- # =========================
77
- # 🟡 3. SUSPICIOUS REQUESTS
78
- # =========================
79
-
80
- {
81
- "query": "Product seems damaged but not sure",
82
- "days": 2,
83
- "has_proof": False,
84
- "correct_action": "ask_proof"
85
- },
86
- {
87
- "query": "I think I got a defective item",
88
- "days": 3,
89
- "has_proof": False,
90
- "correct_action": "ask_proof"
91
- },
92
- {
93
- "query": "Item not working properly, can you help?",
94
- "days": 4,
95
- "has_proof": False,
96
- "correct_action": "ask_proof"
97
- },
98
- {
99
- "query": "Received product but facing issues",
100
- "days": 5,
101
- "has_proof": False,
102
- "correct_action": "ask_proof"
103
- },
104
- {
105
- "query": "The product quality is not good",
106
- "days": 6,
107
- "has_proof": False,
108
- "correct_action": "ask_proof"
109
- }
110
-
111
  ]
 
1
+
2
+ #EASY TASKS (GENUINE)
3
+
4
+
5
+ easy_cases = [
6
+ {
7
+ "query": "I received a damaged product, want a refund",
8
+ "days": 2,
9
+ "has_proof": True,
10
+ "correct_action": "refund"
11
+ },
12
+ {
13
+ "query": "The item is broken, can I get a replacement?",
14
+ "days": 1,
15
+ "has_proof": True,
16
+ "correct_action": "replace"
17
+ },
18
+ {
19
+ "query": "Wrong item delivered, I ordered something else",
20
+ "days": 3,
21
+ "has_proof": True,
22
+ "correct_action": "replace"
23
+ },
24
+ {
25
+ "query": "Product stopped working within 5 days",
26
+ "days": 5,
27
+ "has_proof": True,
28
+ "correct_action": "refund"
29
+ },
30
+ {
31
+ "query": "I want to return the product, it is defective",
32
+ "days": 6,
33
+ "has_proof": True,
34
+ "correct_action": "refund"
35
+ }
36
+ ]
37
+
38
+
39
+ #MEDIUM TASKS (LYING / POLICY)
40
+
41
+
42
+ medium_cases = [
43
+ {
44
+ "query": "I never received my order but tracking says delivered",
45
+ "days": 4,
46
+ "has_proof": False,
47
+ "correct_action": "reject"
48
+ },
49
+ {
50
+ "query": "Product is damaged (no images attached)",
51
+ "days": 3,
52
+ "has_proof": False,
53
+ "correct_action": "ask_proof"
54
+ },
55
+ {
56
+ "query": "I want refund but I already used the product",
57
+ "days": 5,
58
+ "has_proof": False,
59
+ "correct_action": "reject"
60
+ },
61
+ {
62
+ "query": "Claiming wrong item but order history matches delivery",
63
+ "days": 2,
64
+ "has_proof": False,
65
+ "correct_action": "reject"
66
+ },
67
+ {
68
+ "query": "Requesting refund after clearly using the product",
69
+ "days": 4,
70
+ "has_proof": False,
71
+ "correct_action": "reject"
72
+ }
73
+ ]
74
+
75
+
76
+ # HARD TASKS (SUSPICIOUS)
77
+
78
+
79
+ hard_cases = [
80
+ {
81
+ "query": "Product seems damaged but not sure",
82
+ "days": 2,
83
+ "has_proof": False,
84
+ "correct_action": "ask_proof"
85
+ },
86
+ {
87
+ "query": "I think I got a defective item",
88
+ "days": 3,
89
+ "has_proof": False,
90
+ "correct_action": "ask_proof"
91
+ },
92
+ {
93
+ "query": "Item not working properly, can you help?",
94
+ "days": 4,
95
+ "has_proof": False,
96
+ "correct_action": "ask_proof"
97
+ },
98
+ {
99
+ "query": "Received product but facing issues",
100
+ "days": 5,
101
+ "has_proof": False,
102
+ "correct_action": "ask_proof"
103
+ },
104
+ {
105
+ "query": "The product quality is not good",
106
+ "days": 6,
107
+ "has_proof": False,
108
+ "correct_action": "ask_proof"
109
+ }
 
110
  ]