Download validation_cases.py from maxffarrell/d3-lite-CoreAI: direct link, hf CLI and curl.
- Browser
- Download file 1.7 kB
-
https://huggingface.co/maxffarrell/d3-lite-CoreAI/resolve/main/validation_cases.py
- Command line
-
hf download hf://maxffarrell/d3-lite-CoreAI/validation_cases.py
-
curl -L -o validation_cases.py https://huggingface.co/maxffarrell/d3-lite-CoreAI/resolve/main/validation_cases.py
1.7 kB
| """Small smoke fixtures; this is not a quality benchmark.""" | |
| CASES = [ | |
| ( | |
| "charged twice", | |
| { | |
| "type": "choice", | |
| "instructions": "Which team?", | |
| "criteria": { | |
| "billing": "Payments", | |
| "shipping": "Delivery", | |
| "account": "Login", | |
| }, | |
| }, | |
| ), | |
| ( | |
| "The customer has a receipt.", | |
| {"type": "noul", "instructions": "Does the customer have a receipt?"}, | |
| ), | |
| ( | |
| "The service is down for all users.", | |
| { | |
| "type": "score", | |
| "instructions": "How severe is the outage?", | |
| "criteria": ["None", "Minor", "Major", "Complete"], | |
| }, | |
| ), | |
| ( | |
| "El usuario no puede iniciar sesión.", | |
| { | |
| "type": "choice", | |
| "instructions": "¿Qué equipo?", | |
| "criteria": { | |
| "cuenta": "Acceso a cuenta", | |
| "pago": "Pagos", | |
| "envío": "Entregas", | |
| }, | |
| }, | |
| ), | |
| ( | |
| "refund promised yesterday", | |
| { | |
| "type": "choice", | |
| "instructions": "What topic?", | |
| "criteria": { | |
| str(i): x | |
| for i, x in enumerate( | |
| [ | |
| "Billing", | |
| "Delivery", | |
| "Refund", | |
| "Password", | |
| "Support", | |
| "Address", | |
| "Fraud", | |
| "Warranty", | |
| "Subscription", | |
| "Other", | |
| ] | |
| ) | |
| }, | |
| }, | |
| ), | |
| ] | |