Upload test_suite.json with huggingface_hub
Browse files- test_suite.json +54 -0
test_suite.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "dispatchAI Inference Test Suite",
|
| 3 |
+
"version": "1.0",
|
| 4 |
+
"tests": [
|
| 5 |
+
{
|
| 6 |
+
"id": "qa_capital",
|
| 7 |
+
"prompt": "What is the capital of France?",
|
| 8 |
+
"expected_contains": "paris",
|
| 9 |
+
"category": "qa"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"id": "qa_continent",
|
| 13 |
+
"prompt": "How many continents are there?",
|
| 14 |
+
"expected_contains": "7",
|
| 15 |
+
"category": "qa"
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"id": "math_add",
|
| 19 |
+
"prompt": "What is 2+2? Just the number.",
|
| 20 |
+
"expected_contains": "4",
|
| 21 |
+
"category": "math"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"id": "math_mult",
|
| 25 |
+
"prompt": "What is 3*3? Just the number.",
|
| 26 |
+
"expected_contains": "9",
|
| 27 |
+
"category": "math"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"id": "greeting",
|
| 31 |
+
"prompt": "Write a one-sentence greeting.",
|
| 32 |
+
"expected_type": "string",
|
| 33 |
+
"category": "creative"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"id": "code_func",
|
| 37 |
+
"prompt": "Write a function that returns 'hello'",
|
| 38 |
+
"expected_contains": "def",
|
| 39 |
+
"category": "code"
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"id": "summary",
|
| 43 |
+
"prompt": "Summarize in one sentence: The quick brown fox jumps over the lazy dog.",
|
| 44 |
+
"expected_type": "string",
|
| 45 |
+
"category": "summarization"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"id": "classify",
|
| 49 |
+
"prompt": "Is this spam? 'WINNER! Click here!'",
|
| 50 |
+
"expected_contains": "spam",
|
| 51 |
+
"category": "classification"
|
| 52 |
+
}
|
| 53 |
+
]
|
| 54 |
+
}
|