evalkit-py 0.3.0.dev24__py3-none-any.whl → 0.3.0.dev26__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- evalkit/api/imports.py +1 -1
- evalkit/bundled/contracts/cases-v1.json +610 -0
- evalkit/bundled/contracts/custom-evaluator-api-v1.json +3 -0
- evalkit/bundled/docs/case-schema.md +192 -0
- evalkit/bundled/docs/concepts.md +1 -1
- evalkit/bundled/docs/sdk-runs.md +1 -1
- evalkit/bundled/skills/authoring-eval-cases/SKILL.md +25 -7
- evalkit/bundled/ui/assets/{cssMode-XMOUy-FP.js → cssMode-BAGl0vG0.js} +1 -1
- evalkit/bundled/ui/assets/{editor.api-CqGlEIug.js → editor.api-DSJ1u0sz.js} +1 -1
- evalkit/bundled/ui/assets/{freemarker2-Bo_yCEoD.js → freemarker2-CXx4RGeA.js} +1 -1
- evalkit/bundled/ui/assets/{handlebars-BpMCapVd.js → handlebars-BozGKdtJ.js} +1 -1
- evalkit/bundled/ui/assets/{html-B13fIkYz.js → html-COxvMSyE.js} +1 -1
- evalkit/bundled/ui/assets/{htmlMode-Cbl_BO1j.js → htmlMode-BHER0ZsN.js} +1 -1
- evalkit/bundled/ui/assets/{index-60JeaRwV.js → index-Dx7-ETkl.js} +4 -4
- evalkit/bundled/ui/assets/{javascript-Q9rgIZ2G.js → javascript-CXKXn8tH.js} +1 -1
- evalkit/bundled/ui/assets/{jsonMode-QM09EL_Y.js → jsonMode-C8WZeuNg.js} +1 -1
- evalkit/bundled/ui/assets/{liquid-Drgel723.js → liquid-DHqjiDEe.js} +1 -1
- evalkit/bundled/ui/assets/{lspLanguageFeatures-ATYBGaHK.js → lspLanguageFeatures-fgwvXGZV.js} +1 -1
- evalkit/bundled/ui/assets/{mdx-COu2BJ4F.js → mdx-CIW-_iMY.js} +1 -1
- evalkit/bundled/ui/assets/{monacoEditor-CFOVDnbs.js → monacoEditor-C0N4VVbO.js} +4 -4
- evalkit/bundled/ui/assets/{python-3Hob-dvv.js → python-QWSkAQGy.js} +1 -1
- evalkit/bundled/ui/assets/{razor-9prG6D1o.js → razor-DSTmXb12.js} +1 -1
- evalkit/bundled/ui/assets/{tsMode-DtZYCeul.js → tsMode-D7tM7Y_3.js} +1 -1
- evalkit/bundled/ui/assets/{typescript-BYt6qfpz.js → typescript-CybVUsEb.js} +1 -1
- evalkit/bundled/ui/assets/{workers-CnjNOtaC.js → workers-BwXoNeZX.js} +1 -1
- evalkit/bundled/ui/assets/{xml-D2bb2qVy.js → xml-_1yeGj9C.js} +1 -1
- evalkit/bundled/ui/assets/{yaml-DQmLYxdf.js → yaml-BtRnKnwy.js} +1 -1
- evalkit/bundled/ui/index.html +1 -1
- evalkit/cli/main.py +26 -14
- evalkit/client/summary.py +101 -8
- evalkit/contracts/cases.py +219 -48
- evalkit/contracts/custom_evaluator.py +6 -0
- evalkit/core/importer.py +10 -8
- evalkit/sdk/__init__.py +4 -0
- {evalkit_py-0.3.0.dev24.dist-info → evalkit_py-0.3.0.dev26.dist-info}/METADATA +1 -1
- {evalkit_py-0.3.0.dev24.dist-info → evalkit_py-0.3.0.dev26.dist-info}/RECORD +39 -37
- {evalkit_py-0.3.0.dev24.dist-info → evalkit_py-0.3.0.dev26.dist-info}/WHEEL +0 -0
- {evalkit_py-0.3.0.dev24.dist-info → evalkit_py-0.3.0.dev26.dist-info}/entry_points.txt +0 -0
- {evalkit_py-0.3.0.dev24.dist-info → evalkit_py-0.3.0.dev26.dist-info}/licenses/LICENSE +0 -0
evalkit/api/imports.py
CHANGED
|
@@ -87,7 +87,7 @@ async def lint_endpoint(
|
|
|
87
87
|
) -> dict:
|
|
88
88
|
with tempfile.TemporaryDirectory() as tmp:
|
|
89
89
|
paths = await _save_uploads(files, Path(tmp))
|
|
90
|
-
sourced_cases, overlays, findings = load_files(paths)
|
|
90
|
+
sourced_cases, overlays, findings = load_files(paths, Path(tmp))
|
|
91
91
|
registry = Path(tmp) / REGISTRY_FILENAME
|
|
92
92
|
if registry in paths:
|
|
93
93
|
entries, registry_findings = load_registries([registry])
|
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"AnswerRubrics": {
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"rubrics": {
|
|
7
|
+
"description": "Everything the answer must contain, one sentence each.",
|
|
8
|
+
"items": {
|
|
9
|
+
"$ref": "#/$defs/Rubric"
|
|
10
|
+
},
|
|
11
|
+
"minItems": 1,
|
|
12
|
+
"title": "Rubrics",
|
|
13
|
+
"type": "array"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"rubrics"
|
|
18
|
+
],
|
|
19
|
+
"title": "AnswerRubrics",
|
|
20
|
+
"type": "object"
|
|
21
|
+
},
|
|
22
|
+
"Case": {
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"description": "A single eval case authored in YAML.",
|
|
25
|
+
"properties": {
|
|
26
|
+
"id": {
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"title": "Id",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"tags": {
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"title": "Tags",
|
|
36
|
+
"type": "array"
|
|
37
|
+
},
|
|
38
|
+
"input": {
|
|
39
|
+
"additionalProperties": true,
|
|
40
|
+
"title": "Input",
|
|
41
|
+
"type": "object"
|
|
42
|
+
},
|
|
43
|
+
"fixtures": {
|
|
44
|
+
"items": {
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"title": "Fixtures",
|
|
49
|
+
"type": "array"
|
|
50
|
+
},
|
|
51
|
+
"expected": {
|
|
52
|
+
"anyOf": [
|
|
53
|
+
{
|
|
54
|
+
"additionalProperties": true,
|
|
55
|
+
"type": "object"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "null"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"default": null,
|
|
62
|
+
"title": "Expected"
|
|
63
|
+
},
|
|
64
|
+
"evaluators": {
|
|
65
|
+
"$ref": "#/$defs/CaseEvaluators"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"id"
|
|
70
|
+
],
|
|
71
|
+
"title": "Case",
|
|
72
|
+
"type": "object"
|
|
73
|
+
},
|
|
74
|
+
"CaseEvaluators": {
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "Case's evaluator opt-ins: built-ins split into output and trajectory\nfamilies, plus opaque custom-evaluator blocks keyed by registered name.",
|
|
77
|
+
"properties": {
|
|
78
|
+
"output": {
|
|
79
|
+
"$ref": "#/$defs/OutputEvaluators"
|
|
80
|
+
},
|
|
81
|
+
"trajectory": {
|
|
82
|
+
"$ref": "#/$defs/TrajectoryEvaluators"
|
|
83
|
+
},
|
|
84
|
+
"custom": {
|
|
85
|
+
"additionalProperties": {
|
|
86
|
+
"additionalProperties": true,
|
|
87
|
+
"type": "object"
|
|
88
|
+
},
|
|
89
|
+
"title": "Custom",
|
|
90
|
+
"type": "object"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"title": "CaseEvaluators",
|
|
94
|
+
"type": "object"
|
|
95
|
+
},
|
|
96
|
+
"ExpectedToolCall": {
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"properties": {
|
|
99
|
+
"name": {
|
|
100
|
+
"description": "Tool name, exactly as the trajectory records it.",
|
|
101
|
+
"minLength": 1,
|
|
102
|
+
"title": "Name",
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"args": {
|
|
106
|
+
"additionalProperties": true,
|
|
107
|
+
"title": "Args",
|
|
108
|
+
"type": "object"
|
|
109
|
+
},
|
|
110
|
+
"args_mode": {
|
|
111
|
+
"default": "subset",
|
|
112
|
+
"description": "subset: every expected key present and equal, extras allowed. exact: args equal. ignore: name alone. substring: like subset, but each expected value need only appear, case-insensitively, inside the actual value (lists and dicts compared as JSON text).",
|
|
113
|
+
"enum": [
|
|
114
|
+
"subset",
|
|
115
|
+
"exact",
|
|
116
|
+
"ignore",
|
|
117
|
+
"substring"
|
|
118
|
+
],
|
|
119
|
+
"title": "Args Mode",
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"match_overrides": {
|
|
123
|
+
"additionalProperties": {
|
|
124
|
+
"enum": [
|
|
125
|
+
"equals",
|
|
126
|
+
"substring"
|
|
127
|
+
],
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
"description": "Per-arg mode, overriding the one args_mode implies. Keys must be in args.",
|
|
131
|
+
"title": "Match Overrides",
|
|
132
|
+
"type": "object"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"name"
|
|
137
|
+
],
|
|
138
|
+
"title": "ExpectedToolCall",
|
|
139
|
+
"type": "object"
|
|
140
|
+
},
|
|
141
|
+
"MaxResponseTime": {
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"description": "Wall-clock cap on the agent run.",
|
|
144
|
+
"properties": {
|
|
145
|
+
"max_seconds": {
|
|
146
|
+
"exclusiveMinimum": 0,
|
|
147
|
+
"title": "Max Seconds",
|
|
148
|
+
"type": "number"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"required": [
|
|
152
|
+
"max_seconds"
|
|
153
|
+
],
|
|
154
|
+
"title": "MaxResponseTime",
|
|
155
|
+
"type": "object"
|
|
156
|
+
},
|
|
157
|
+
"OutputEvaluators": {
|
|
158
|
+
"additionalProperties": false,
|
|
159
|
+
"description": "Evaluators that look only at the agent's returned output.",
|
|
160
|
+
"properties": {
|
|
161
|
+
"answer_rubrics": {
|
|
162
|
+
"anyOf": [
|
|
163
|
+
{
|
|
164
|
+
"$ref": "#/$defs/AnswerRubrics"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "null"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"default": null
|
|
171
|
+
},
|
|
172
|
+
"presentation_judge": {
|
|
173
|
+
"anyOf": [
|
|
174
|
+
{
|
|
175
|
+
"$ref": "#/$defs/PresentationJudge"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "null"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"default": null
|
|
182
|
+
},
|
|
183
|
+
"max_response_time": {
|
|
184
|
+
"anyOf": [
|
|
185
|
+
{
|
|
186
|
+
"$ref": "#/$defs/MaxResponseTime"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "null"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"default": null
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"title": "OutputEvaluators",
|
|
196
|
+
"type": "object"
|
|
197
|
+
},
|
|
198
|
+
"Overlay": {
|
|
199
|
+
"additionalProperties": false,
|
|
200
|
+
"description": "Extends a case in another suite by id without touching its ground truth: only\nadditive tags, custom-evaluator config and tool trajectory evaluators are allowed.",
|
|
201
|
+
"properties": {
|
|
202
|
+
"extends": {
|
|
203
|
+
"minLength": 1,
|
|
204
|
+
"title": "Extends",
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"agents": {
|
|
208
|
+
"items": {
|
|
209
|
+
"minLength": 1,
|
|
210
|
+
"pattern": "^[^@]+$",
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
"minItems": 1,
|
|
214
|
+
"title": "Agents",
|
|
215
|
+
"type": "array"
|
|
216
|
+
},
|
|
217
|
+
"tags": {
|
|
218
|
+
"items": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"title": "Tags",
|
|
222
|
+
"type": "array"
|
|
223
|
+
},
|
|
224
|
+
"evaluators": {
|
|
225
|
+
"$ref": "#/$defs/OverlayEvaluators"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"required": [
|
|
229
|
+
"extends",
|
|
230
|
+
"agents",
|
|
231
|
+
"evaluators"
|
|
232
|
+
],
|
|
233
|
+
"title": "Overlay",
|
|
234
|
+
"type": "object"
|
|
235
|
+
},
|
|
236
|
+
"OverlayEvaluators": {
|
|
237
|
+
"additionalProperties": false,
|
|
238
|
+
"properties": {
|
|
239
|
+
"custom": {
|
|
240
|
+
"additionalProperties": {
|
|
241
|
+
"additionalProperties": true,
|
|
242
|
+
"type": "object"
|
|
243
|
+
},
|
|
244
|
+
"title": "Custom",
|
|
245
|
+
"type": "object"
|
|
246
|
+
},
|
|
247
|
+
"trajectory": {
|
|
248
|
+
"$ref": "#/$defs/OverlayTrajectoryEvaluators"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"title": "OverlayEvaluators",
|
|
252
|
+
"type": "object"
|
|
253
|
+
},
|
|
254
|
+
"OverlayTrajectoryEvaluators": {
|
|
255
|
+
"additionalProperties": false,
|
|
256
|
+
"description": "The harness-specific trajectory evaluators an overlay may attach.",
|
|
257
|
+
"properties": {
|
|
258
|
+
"tool_trajectory_match": {
|
|
259
|
+
"anyOf": [
|
|
260
|
+
{
|
|
261
|
+
"$ref": "#/$defs/ToolTrajectoryMatch"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"type": "null"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"default": null
|
|
268
|
+
},
|
|
269
|
+
"required_tools_called": {
|
|
270
|
+
"anyOf": [
|
|
271
|
+
{
|
|
272
|
+
"$ref": "#/$defs/RequiredToolsCalled"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "null"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"default": null
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"title": "OverlayTrajectoryEvaluators",
|
|
282
|
+
"type": "object"
|
|
283
|
+
},
|
|
284
|
+
"PresentationJudge": {
|
|
285
|
+
"additionalProperties": false,
|
|
286
|
+
"description": "Grades HOW the reply presents its information \u2014 units shown, columns\npresent, an artifact relayed rather than restated. Correctness of the\nfigures belongs to answer_rubrics; asserting the same thing in both places\nreweights it rather than making the case stricter.",
|
|
287
|
+
"properties": {
|
|
288
|
+
"rubrics": {
|
|
289
|
+
"description": "The presentation properties this answer must satisfy. At least one must be a positive `rubric`.",
|
|
290
|
+
"items": {
|
|
291
|
+
"$ref": "#/$defs/PresentationRubric"
|
|
292
|
+
},
|
|
293
|
+
"minItems": 1,
|
|
294
|
+
"title": "Rubrics",
|
|
295
|
+
"type": "array"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": [
|
|
299
|
+
"rubrics"
|
|
300
|
+
],
|
|
301
|
+
"title": "PresentationJudge",
|
|
302
|
+
"type": "object"
|
|
303
|
+
},
|
|
304
|
+
"PresentationRubric": {
|
|
305
|
+
"additionalProperties": false,
|
|
306
|
+
"description": "One property of how the reply presents its information.",
|
|
307
|
+
"properties": {
|
|
308
|
+
"rubric": {
|
|
309
|
+
"anyOf": [
|
|
310
|
+
{
|
|
311
|
+
"type": "string"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "null"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"default": null,
|
|
318
|
+
"description": "A presentation property the answer must have. Write the property, not a description of the answer having it.",
|
|
319
|
+
"title": "Rubric"
|
|
320
|
+
},
|
|
321
|
+
"forbid": {
|
|
322
|
+
"anyOf": [
|
|
323
|
+
{
|
|
324
|
+
"type": "string"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"type": "null"
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"default": null,
|
|
331
|
+
"description": "A presentation property the answer must NOT have. Costs its points when violated; it does not zero the case.",
|
|
332
|
+
"title": "Forbid"
|
|
333
|
+
},
|
|
334
|
+
"points": {
|
|
335
|
+
"default": 1,
|
|
336
|
+
"description": "Weight of this rubric, relative within the case.",
|
|
337
|
+
"maximum": 10,
|
|
338
|
+
"minimum": 1,
|
|
339
|
+
"title": "Points",
|
|
340
|
+
"type": "integer"
|
|
341
|
+
},
|
|
342
|
+
"note": {
|
|
343
|
+
"anyOf": [
|
|
344
|
+
{
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "null"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"default": null,
|
|
352
|
+
"description": "Qualification of this rubric written by the case author, shown to the judge.",
|
|
353
|
+
"title": "Note"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"title": "PresentationRubric",
|
|
357
|
+
"type": "object"
|
|
358
|
+
},
|
|
359
|
+
"RequiredToolsCalled": {
|
|
360
|
+
"additionalProperties": false,
|
|
361
|
+
"description": "Tools the agent must call at least once. Scores the fraction called.",
|
|
362
|
+
"properties": {
|
|
363
|
+
"tools": {
|
|
364
|
+
"items": {
|
|
365
|
+
"minLength": 1,
|
|
366
|
+
"type": "string"
|
|
367
|
+
},
|
|
368
|
+
"minItems": 1,
|
|
369
|
+
"title": "Tools",
|
|
370
|
+
"type": "array"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"required": [
|
|
374
|
+
"tools"
|
|
375
|
+
],
|
|
376
|
+
"title": "RequiredToolsCalled",
|
|
377
|
+
"type": "object"
|
|
378
|
+
},
|
|
379
|
+
"Rubric": {
|
|
380
|
+
"additionalProperties": false,
|
|
381
|
+
"description": "One thing a correct answer contains, written as a sentence.",
|
|
382
|
+
"properties": {
|
|
383
|
+
"rubric": {
|
|
384
|
+
"description": "One assertion a correct answer contains, as a single sentence. Carries its own subject, period, unit and expected value \u2014 a figure with no stated band accepts normal roundings of itself; state a band only to tighten or widen that. Never names a tool, skill or data provider, and never refers to another rubric.",
|
|
385
|
+
"minLength": 1,
|
|
386
|
+
"title": "Rubric",
|
|
387
|
+
"type": "string"
|
|
388
|
+
},
|
|
389
|
+
"type": {
|
|
390
|
+
"description": "Which kind of check this is; drives the per-type rates.",
|
|
391
|
+
"enum": [
|
|
392
|
+
"factual_retrieval",
|
|
393
|
+
"derived_computation",
|
|
394
|
+
"analysis_interpretation"
|
|
395
|
+
],
|
|
396
|
+
"title": "Type",
|
|
397
|
+
"type": "string"
|
|
398
|
+
},
|
|
399
|
+
"source": {
|
|
400
|
+
"anyOf": [
|
|
401
|
+
{
|
|
402
|
+
"type": "string"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"type": "null"
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
"default": null,
|
|
409
|
+
"description": "The source the answer must credit this fact to, named at the level of detail the case cares about. Graded on its own citation axis. `factual_retrieval` only.",
|
|
410
|
+
"title": "Source"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"required": [
|
|
414
|
+
"rubric",
|
|
415
|
+
"type"
|
|
416
|
+
],
|
|
417
|
+
"title": "Rubric",
|
|
418
|
+
"type": "object"
|
|
419
|
+
},
|
|
420
|
+
"SuiteDefaults": {
|
|
421
|
+
"additionalProperties": false,
|
|
422
|
+
"properties": {
|
|
423
|
+
"input": {
|
|
424
|
+
"additionalProperties": true,
|
|
425
|
+
"title": "Input",
|
|
426
|
+
"type": "object"
|
|
427
|
+
},
|
|
428
|
+
"tags": {
|
|
429
|
+
"items": {
|
|
430
|
+
"type": "string"
|
|
431
|
+
},
|
|
432
|
+
"title": "Tags",
|
|
433
|
+
"type": "array"
|
|
434
|
+
},
|
|
435
|
+
"max_response_time": {
|
|
436
|
+
"anyOf": [
|
|
437
|
+
{
|
|
438
|
+
"exclusiveMinimum": 0,
|
|
439
|
+
"type": "number"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"$ref": "#/$defs/MaxResponseTime"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"type": "null"
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"default": null,
|
|
449
|
+
"title": "Max Response Time"
|
|
450
|
+
},
|
|
451
|
+
"agents": {
|
|
452
|
+
"anyOf": [
|
|
453
|
+
{
|
|
454
|
+
"items": {
|
|
455
|
+
"minLength": 1,
|
|
456
|
+
"pattern": "^[^@]+$",
|
|
457
|
+
"type": "string"
|
|
458
|
+
},
|
|
459
|
+
"type": "array"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"type": "null"
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
"default": null,
|
|
466
|
+
"title": "Agents"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"title": "SuiteDefaults",
|
|
470
|
+
"type": "object"
|
|
471
|
+
},
|
|
472
|
+
"SuiteFile": {
|
|
473
|
+
"additionalProperties": false,
|
|
474
|
+
"properties": {
|
|
475
|
+
"defaults": {
|
|
476
|
+
"$ref": "#/$defs/SuiteDefaults"
|
|
477
|
+
},
|
|
478
|
+
"cases": {
|
|
479
|
+
"items": {
|
|
480
|
+
"anyOf": [
|
|
481
|
+
{
|
|
482
|
+
"$ref": "#/$defs/Case"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"$ref": "#/$defs/Overlay"
|
|
486
|
+
}
|
|
487
|
+
]
|
|
488
|
+
},
|
|
489
|
+
"title": "Cases",
|
|
490
|
+
"type": "array"
|
|
491
|
+
},
|
|
492
|
+
"overlays": {
|
|
493
|
+
"items": {
|
|
494
|
+
"$ref": "#/$defs/Overlay"
|
|
495
|
+
},
|
|
496
|
+
"title": "Overlays",
|
|
497
|
+
"type": "array"
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"title": "SuiteFile",
|
|
501
|
+
"type": "object"
|
|
502
|
+
},
|
|
503
|
+
"ToolTrajectoryMatch": {
|
|
504
|
+
"additionalProperties": false,
|
|
505
|
+
"description": "Expected tool calls, matched by name and args, each against at most one\nactual call. Scores the fraction found; `ordered` also requires them to\nappear in this order.",
|
|
506
|
+
"properties": {
|
|
507
|
+
"expected": {
|
|
508
|
+
"items": {
|
|
509
|
+
"$ref": "#/$defs/ExpectedToolCall"
|
|
510
|
+
},
|
|
511
|
+
"minItems": 1,
|
|
512
|
+
"title": "Expected",
|
|
513
|
+
"type": "array"
|
|
514
|
+
},
|
|
515
|
+
"ordered": {
|
|
516
|
+
"default": false,
|
|
517
|
+
"title": "Ordered",
|
|
518
|
+
"type": "boolean"
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"required": [
|
|
522
|
+
"expected"
|
|
523
|
+
],
|
|
524
|
+
"title": "ToolTrajectoryMatch",
|
|
525
|
+
"type": "object"
|
|
526
|
+
},
|
|
527
|
+
"TrajectoryEvaluators": {
|
|
528
|
+
"additionalProperties": false,
|
|
529
|
+
"description": "Evaluators that look only at how the agent got to its output.",
|
|
530
|
+
"properties": {
|
|
531
|
+
"trajectory_rubrics": {
|
|
532
|
+
"anyOf": [
|
|
533
|
+
{
|
|
534
|
+
"$ref": "#/$defs/TrajectoryRubrics"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"type": "null"
|
|
538
|
+
}
|
|
539
|
+
],
|
|
540
|
+
"default": null
|
|
541
|
+
},
|
|
542
|
+
"tool_trajectory_match": {
|
|
543
|
+
"anyOf": [
|
|
544
|
+
{
|
|
545
|
+
"$ref": "#/$defs/ToolTrajectoryMatch"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": "null"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"default": null
|
|
552
|
+
},
|
|
553
|
+
"required_tools_called": {
|
|
554
|
+
"anyOf": [
|
|
555
|
+
{
|
|
556
|
+
"$ref": "#/$defs/RequiredToolsCalled"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"type": "null"
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
"default": null
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"title": "TrajectoryEvaluators",
|
|
566
|
+
"type": "object"
|
|
567
|
+
},
|
|
568
|
+
"TrajectoryRubrics": {
|
|
569
|
+
"additionalProperties": false,
|
|
570
|
+
"description": "Checkpoints the recorded trajectory must show, one sentence each: an\nintermediate value the derivation needs (\"Retrieves FY2024 Platform revenue\nas $3,522,776,000\") or a process step in plain language (\"Rounds the final\nfigure to the nearest basis point\"). Order is not graded. By convention a\nrubric never names a tool, skill or MCP server, so the case stays portable\nacross harnesses.",
|
|
571
|
+
"properties": {
|
|
572
|
+
"rubrics": {
|
|
573
|
+
"items": {
|
|
574
|
+
"minLength": 1,
|
|
575
|
+
"type": "string"
|
|
576
|
+
},
|
|
577
|
+
"minItems": 1,
|
|
578
|
+
"title": "Rubrics",
|
|
579
|
+
"type": "array"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"required": [
|
|
583
|
+
"rubrics"
|
|
584
|
+
],
|
|
585
|
+
"title": "TrajectoryRubrics",
|
|
586
|
+
"type": "object"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"anyOf": [
|
|
590
|
+
{
|
|
591
|
+
"$ref": "#/$defs/SuiteFile"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"items": {
|
|
595
|
+
"anyOf": [
|
|
596
|
+
{
|
|
597
|
+
"$ref": "#/$defs/Case"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"$ref": "#/$defs/Overlay"
|
|
601
|
+
}
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
"type": "array"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"$ref": "#/$defs/Case"
|
|
608
|
+
}
|
|
609
|
+
]
|
|
610
|
+
}
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"schemas": {
|
|
44
44
|
"EvalCase": {
|
|
45
45
|
"additionalProperties": true,
|
|
46
|
+
"description": "The case an evaluator scores.",
|
|
46
47
|
"properties": {
|
|
47
48
|
"id": {
|
|
48
49
|
"description": "Case id.",
|
|
@@ -143,6 +144,7 @@
|
|
|
143
144
|
},
|
|
144
145
|
"EvalRun": {
|
|
145
146
|
"additionalProperties": true,
|
|
147
|
+
"description": "The run an evaluator scores.",
|
|
146
148
|
"properties": {
|
|
147
149
|
"answer": {
|
|
148
150
|
"description": "The agent's final answer. When the harness sent only a structured output, this is that output as canonical JSON (sorted keys).",
|
|
@@ -179,6 +181,7 @@
|
|
|
179
181
|
},
|
|
180
182
|
"ScoreItem": {
|
|
181
183
|
"additionalProperties": true,
|
|
184
|
+
"description": "One named score an evaluator returns.",
|
|
182
185
|
"properties": {
|
|
183
186
|
"name": {
|
|
184
187
|
"description": "Score name. Multi-score is first-class: one call may return several named scores.",
|