sc-likes-to-code/openenv-customer-support-env
0
1def load_task(level):2 if level == "easy":3 return {4 "tickets": [5 {"id": 1, "text": "I was charged twice for my subscription."}6 ],7 "expected": {8 "classification": "billing",9 "priority": "high"10 }11 }12 13 elif level == "medium":14 return {15 "tickets": [16 {"id": 1, "text": "App crashes when I open settings. This is very frustrating."}17 ],18 "expected": {19 "classification": "technical",20 "sentiment": "angry",21 "policy": "troubleshoot"22 }23 }24 25 elif level == "hard":26 return {27 "tickets": [28 {"id": 1, "text": "Payment deducted but no confirmation received."}29 ],30 "expected": {31 "classification": "billing",32 "needs_info": True,33 "decision": "resolve",34 "final_keywords": ["refund", "transaction", "confirm"]35 }36 }