Skip to content

Commit 960d8c8

Browse files
authored
Merge pull request #8 from dd-Splunk/test/evals-harder
test: harder routing evals, 7931 canary eval
2 parents 05be4f4 + c9e9a63 commit 960d8c8

1 file changed

Lines changed: 64 additions & 1 deletion

File tree

‎evals.json‎

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@
5151
"prompt": "Which of the Splunkbase apps pinned in my .env are outdated?",
5252
"expected_skill": "splunkbase-skill"
5353
},
54+
{
55+
"id": "trigger_version_pick",
56+
"description": "Fires on picking a release for a target Splunk version",
57+
"tags": [
58+
"trigger",
59+
"positive"
60+
],
61+
"prompt": "We're moving our test cluster to Splunk 9.4. Which release of the Splunk MCP Server (app 7931) should I download?",
62+
"expected_skill": "splunkbase-skill"
63+
},
64+
{
65+
"id": "trigger_name_to_compose",
66+
"description": "Fires on an app name with no ID, needing a compose entry",
67+
"tags": [
68+
"trigger",
69+
"positive"
70+
],
71+
"prompt": "Find the Splunkbase download URL for the Splunk MCP Server and put it in my docker-compose.yml.",
72+
"expected_skill": "splunkbase-skill"
73+
},
5474
{
5575
"id": "no_trigger_lifecycle",
5676
"description": "Does not fire on lifecycle/removal readiness",
@@ -81,6 +101,36 @@
81101
"prompt": "Write an SPL search that counts failed logins per user over the last 24 hours.",
82102
"expected_skill": null
83103
},
104+
{
105+
"id": "no_trigger_upgrade_advice",
106+
"description": "Near miss: upgrade-safety advice for an app already in production",
107+
"tags": [
108+
"trigger",
109+
"negative"
110+
],
111+
"prompt": "Should I upgrade the Splunk MCP Server on our production 9.4 search head to the newest version? Will it break anything?",
112+
"expected_skill": null
113+
},
114+
{
115+
"id": "no_trigger_operator",
116+
"description": "Near miss: Kubernetes Operator app install is not a Splunkbase URL job",
117+
"tags": [
118+
"trigger",
119+
"negative"
120+
],
121+
"prompt": "How do I install apps on Splunk running under the Splunk Operator for Kubernetes?",
122+
"expected_skill": null
123+
},
124+
{
125+
"id": "no_trigger_compose_volume",
126+
"description": "Near miss: compose help with no Splunkbase app involved",
127+
"tags": [
128+
"trigger",
129+
"negative"
130+
],
131+
"prompt": "Write a docker-compose.yml for a Splunk 9.4 container with a persistent volume for /opt/splunk/var.",
132+
"expected_skill": null
133+
},
84134
{
85135
"id": "no_memory_urls",
86136
"description": "Runs the script instead of answering from memory",
@@ -160,7 +210,20 @@
160210
"scorer": {
161211
"type": "model_graded_qa",
162212
"expected": "The answer runs scripts/splunkbase_urls.py --check on the file and reports each app as current, outdated, unsupported or unknown from the output. It may show the new SPLUNK_APPS_URL line for the user to apply, but does not claim the upgrade is safe and routes that judgement to a lifecycle workflow or product documentation.",
163-
"grading_instructions": "Pass only if the pin statuses come from running the script, and the answer does not assert that upgrading is safe. Fail if it states statuses from memory, or declares the upgrade safe.\\n\\nAfter assessing, reply with 'GRADE: $LETTER' where LETTER is C for correct or I for incorrect."
213+
"grading_instructions": "Pass only if the pin statuses come from running the script, and the answer does not assert that upgrading is safe. Fail if it states statuses from memory, or declares the upgrade safe.\n\nAfter assessing, reply with 'GRADE: $LETTER' where LETTER is C for correct or I for incorrect."
214+
}
215+
},
216+
{
217+
"id": "canary_image_version",
218+
"description": "Derives the Splunk version from an image tag and reports compatibility from script output",
219+
"tags": [
220+
"behavior"
221+
],
222+
"prompt": "I run splunk/splunk:9.4.2. Give me SPLUNK_APPS_URL for the Splunk MCP Server (app 7931).",
223+
"scorer": {
224+
"type": "model_graded_qa",
225+
"expected": "The answer runs scripts/splunkbase_urls.py (or the bash fallback) with --image splunk/splunk:9.4.2 or --splunk-version 9.4, prints a SPLUNK_APPS_URL line for app 7931 taken from the script output, and reports the compatibility it returned. It does not state a version or compatibility from memory.",
226+
"grading_instructions": "Pass only if the URL and compatibility come from running the script with a Splunk version derived from the image tag. Fail if it omits the version filter, or states a release or compatibility it did not get from the script.\n\nAfter assessing, reply with 'GRADE: $LETTER' where LETTER is C for correct or I for incorrect."
164227
}
165228
}
166229
]

0 commit comments

Comments
 (0)