inference-test-suite / test_suite.json
3morixd's picture
Upload test_suite.json with huggingface_hub
04666ee verified
Raw
History Blame Contribute Delete
1.32 kB
{
"name": "dispatchAI Inference Test Suite",
"version": "1.0",
"tests": [
{
"id": "qa_capital",
"prompt": "What is the capital of France?",
"expected_contains": "paris",
"category": "qa"
},
{
"id": "qa_continent",
"prompt": "How many continents are there?",
"expected_contains": "7",
"category": "qa"
},
{
"id": "math_add",
"prompt": "What is 2+2? Just the number.",
"expected_contains": "4",
"category": "math"
},
{
"id": "math_mult",
"prompt": "What is 3*3? Just the number.",
"expected_contains": "9",
"category": "math"
},
{
"id": "greeting",
"prompt": "Write a one-sentence greeting.",
"expected_type": "string",
"category": "creative"
},
{
"id": "code_func",
"prompt": "Write a function that returns 'hello'",
"expected_contains": "def",
"category": "code"
},
{
"id": "summary",
"prompt": "Summarize in one sentence: The quick brown fox jumps over the lazy dog.",
"expected_type": "string",
"category": "summarization"
},
{
"id": "classify",
"prompt": "Is this spam? 'WINNER! Click here!'",
"expected_contains": "spam",
"category": "classification"
}
]
}