@openpond/evals 0.6.0 → 0.7.1
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.
- package/LEARNING.md +120 -0
- package/README.md +2 -0
- package/dist/graders.js +26 -5
- package/dist/index.js +3 -0
- package/dist/javascript-verifier-contract.js +7 -0
- package/dist/javascript-verifier-node.js +56 -0
- package/dist/javascript-verifier-worker-source.js +1 -0
- package/dist/javascript-verifier-worker.js +6 -0
- package/dist/javascript-verifier.js +64 -0
- package/dist/learning/admission.js +209 -0
- package/dist/learning/assets.js +37 -0
- package/dist/learning/contracts.js +267 -0
- package/dist/learning/errors.js +12 -0
- package/dist/learning/grade-worker.js +99 -0
- package/dist/learning/index.js +9 -0
- package/dist/learning/operations.js +33 -0
- package/dist/learning/repository.js +48 -0
- package/dist/learning/service.js +377 -0
- package/dist/learning/transport.js +35 -0
- package/dist/rewards.js +230 -0
- package/dist/task-schema-meta-validator.js +2 -0
- package/dist/task-schema-validation.js +113 -0
- package/dist/task-schema.js +4 -0
- package/dist/task-value-validator.js +37 -0
- package/dist/tasksets.js +3 -0
- package/dist/telemetry-catalog.js +1 -1
- package/dist/types/builtin-benchmarks/harness-refiner.d.ts +7 -0
- package/dist/types/builtin-benchmarks/harness-refiner.d.ts.map +1 -1
- package/dist/types/conformance.d.ts +14 -0
- package/dist/types/conformance.d.ts.map +1 -1
- package/dist/types/execution-contracts.d.ts +14 -0
- package/dist/types/execution-contracts.d.ts.map +1 -1
- package/dist/types/graders.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/javascript-verifier-contract.d.ts +9 -0
- package/dist/types/javascript-verifier-contract.d.ts.map +1 -0
- package/dist/types/javascript-verifier-node.d.ts +5 -0
- package/dist/types/javascript-verifier-node.d.ts.map +1 -0
- package/dist/types/javascript-verifier-worker-source.d.ts +2 -0
- package/dist/types/javascript-verifier-worker.d.ts +2 -0
- package/dist/types/javascript-verifier-worker.d.ts.map +1 -0
- package/dist/types/javascript-verifier.d.ts +15 -0
- package/dist/types/javascript-verifier.d.ts.map +1 -0
- package/dist/types/learning/admission.d.ts +335 -0
- package/dist/types/learning/admission.d.ts.map +1 -0
- package/dist/types/learning/assets.d.ts +49 -0
- package/dist/types/learning/assets.d.ts.map +1 -0
- package/dist/types/learning/contracts.d.ts +2149 -0
- package/dist/types/learning/contracts.d.ts.map +1 -0
- package/dist/types/learning/errors.d.ts +8 -0
- package/dist/types/learning/errors.d.ts.map +1 -0
- package/dist/types/learning/grade-worker.d.ts +31 -0
- package/dist/types/learning/grade-worker.d.ts.map +1 -0
- package/dist/types/learning/index.d.ts +10 -0
- package/dist/types/learning/index.d.ts.map +1 -0
- package/dist/types/learning/operations.d.ts +2061 -0
- package/dist/types/learning/operations.d.ts.map +1 -0
- package/dist/types/learning/repository.d.ts +1143 -0
- package/dist/types/learning/repository.d.ts.map +1 -0
- package/dist/types/learning/service.d.ts +36 -0
- package/dist/types/learning/service.d.ts.map +1 -0
- package/dist/types/learning/transport.d.ts +2173 -0
- package/dist/types/learning/transport.d.ts.map +1 -0
- package/dist/types/preferences.d.ts +3 -3
- package/dist/types/review-conformance.d.ts +5 -5
- package/dist/types/rewards.d.ts +611 -0
- package/dist/types/rewards.d.ts.map +1 -0
- package/dist/types/task-schema-meta-validator.d.ts +3 -0
- package/dist/types/task-schema-validation.d.ts +18 -0
- package/dist/types/task-schema-validation.d.ts.map +1 -0
- package/dist/types/task-schema.d.ts +3 -0
- package/dist/types/task-schema.d.ts.map +1 -0
- package/dist/types/task-value-validator.d.ts +3 -0
- package/dist/types/task-value-validator.d.ts.map +1 -0
- package/dist/types/tasksets.d.ts +28 -0
- package/dist/types/tasksets.d.ts.map +1 -1
- package/package.json +30 -3
- package/schemas/learning/v1/asset.schema.json +89 -0
- package/schemas/learning/v1/batch.schema.json +132 -0
- package/schemas/learning/v1/binding.schema.json +207 -0
- package/schemas/learning/v1/command-request.schema.json +2414 -0
- package/schemas/learning/v1/decision.schema.json +440 -0
- package/schemas/learning/v1/definition.schema.json +397 -0
- package/schemas/learning/v1/evidence-inspection.schema.json +106 -0
- package/schemas/learning/v1/evidence.schema.json +317 -0
- package/schemas/learning/v1/example-submission.schema.json +253 -0
- package/schemas/learning/v1/feedback-submission.schema.json +114 -0
- package/schemas/learning/v1/feedback.schema.json +233 -0
- package/schemas/learning/v1/grade.schema.json +412 -0
- package/schemas/learning/v1/iteration.schema.json +236 -0
- package/schemas/learning/v1/package.schema.json +776 -0
- package/schemas/learning/v1/policy.schema.json +373 -0
- package/schemas/learning/v1/read-request.schema.json +142 -0
- package/schemas/learning/v1/reward.schema.json +302 -0
- package/schemas/learning/v1/source.schema.json +198 -0
|
@@ -0,0 +1,776 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"schemaVersion": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "openpond.tasksetRelease.v2"
|
|
8
|
+
},
|
|
9
|
+
"id": {
|
|
10
|
+
"$ref": "#/$defs/__schema0"
|
|
11
|
+
},
|
|
12
|
+
"revision": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"exclusiveMinimum": 0,
|
|
15
|
+
"maximum": 9007199254740991
|
|
16
|
+
},
|
|
17
|
+
"policy": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"policyVisibleFields": {
|
|
21
|
+
"default": [],
|
|
22
|
+
"maxItems": 1000,
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"$ref": "#/$defs/__schema0"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"privilegedFields": {
|
|
29
|
+
"default": [],
|
|
30
|
+
"maxItems": 1000,
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": {
|
|
33
|
+
"$ref": "#/$defs/__schema0"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"hiddenGraderRefs": {
|
|
37
|
+
"default": [],
|
|
38
|
+
"maxItems": 1000,
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"$ref": "#/$defs/__schema0"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"connectedAppScopes": {
|
|
45
|
+
"default": [],
|
|
46
|
+
"maxItems": 100,
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"$ref": "#/$defs/__schema0"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"policyVisibleFields",
|
|
55
|
+
"privilegedFields",
|
|
56
|
+
"hiddenGraderRefs",
|
|
57
|
+
"connectedAppScopes"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
"environment": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"protocolVersion": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"const": "openpond.environment.v1"
|
|
67
|
+
},
|
|
68
|
+
"kind": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enum": [
|
|
71
|
+
"text",
|
|
72
|
+
"agent",
|
|
73
|
+
"work",
|
|
74
|
+
"custom_program"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"entrypoint": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"minLength": 1,
|
|
80
|
+
"maxLength": 1000
|
|
81
|
+
},
|
|
82
|
+
"stateful": {
|
|
83
|
+
"type": "boolean"
|
|
84
|
+
},
|
|
85
|
+
"deterministicSeeds": {
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
},
|
|
88
|
+
"lifecycle": {
|
|
89
|
+
"minItems": 5,
|
|
90
|
+
"maxItems": 5,
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"$ref": "#/$defs/__schema1"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"networkPolicy": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"enum": [
|
|
99
|
+
"none",
|
|
100
|
+
"declared_read_only",
|
|
101
|
+
"declared_scoped"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"defaultTimeoutMs": {
|
|
105
|
+
"type": "integer",
|
|
106
|
+
"exclusiveMinimum": 0,
|
|
107
|
+
"maximum": 3600000
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"required": [
|
|
111
|
+
"protocolVersion",
|
|
112
|
+
"kind",
|
|
113
|
+
"entrypoint",
|
|
114
|
+
"stateful",
|
|
115
|
+
"deterministicSeeds",
|
|
116
|
+
"lifecycle",
|
|
117
|
+
"networkPolicy",
|
|
118
|
+
"defaultTimeoutMs"
|
|
119
|
+
],
|
|
120
|
+
"additionalProperties": false
|
|
121
|
+
},
|
|
122
|
+
"environmentRelease": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"id": {
|
|
126
|
+
"$ref": "#/$defs/__schema0"
|
|
127
|
+
},
|
|
128
|
+
"contentHash": {
|
|
129
|
+
"$ref": "#/$defs/__schema2"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": [
|
|
133
|
+
"id",
|
|
134
|
+
"contentHash"
|
|
135
|
+
],
|
|
136
|
+
"additionalProperties": false
|
|
137
|
+
},
|
|
138
|
+
"tools": {
|
|
139
|
+
"maxItems": 200,
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"$ref": "#/$defs/__schema3"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"capabilities": {
|
|
146
|
+
"maxItems": 200,
|
|
147
|
+
"type": "array",
|
|
148
|
+
"items": {
|
|
149
|
+
"$ref": "#/$defs/__schema4"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"tasks": {
|
|
153
|
+
"minItems": 1,
|
|
154
|
+
"maxItems": 1000000,
|
|
155
|
+
"type": "array",
|
|
156
|
+
"items": {
|
|
157
|
+
"$ref": "#/$defs/__schema6"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"graders": {
|
|
161
|
+
"minItems": 1,
|
|
162
|
+
"maxItems": 1000,
|
|
163
|
+
"type": "array",
|
|
164
|
+
"items": {
|
|
165
|
+
"$ref": "#/$defs/__schema10"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"verifierSetRelease": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"id": {
|
|
172
|
+
"$ref": "#/$defs/__schema0"
|
|
173
|
+
},
|
|
174
|
+
"contentHash": {
|
|
175
|
+
"$ref": "#/$defs/__schema2"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"id",
|
|
180
|
+
"contentHash"
|
|
181
|
+
],
|
|
182
|
+
"additionalProperties": false
|
|
183
|
+
},
|
|
184
|
+
"metadata": {
|
|
185
|
+
"$ref": "#/$defs/__schema9"
|
|
186
|
+
},
|
|
187
|
+
"contentHash": {
|
|
188
|
+
"$ref": "#/$defs/__schema2"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"required": [
|
|
192
|
+
"schemaVersion",
|
|
193
|
+
"id",
|
|
194
|
+
"revision",
|
|
195
|
+
"policy",
|
|
196
|
+
"environment",
|
|
197
|
+
"tools",
|
|
198
|
+
"capabilities",
|
|
199
|
+
"tasks",
|
|
200
|
+
"graders",
|
|
201
|
+
"metadata",
|
|
202
|
+
"contentHash"
|
|
203
|
+
],
|
|
204
|
+
"additionalProperties": false,
|
|
205
|
+
"$defs": {
|
|
206
|
+
"__schema0": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"minLength": 1,
|
|
209
|
+
"maxLength": 240
|
|
210
|
+
},
|
|
211
|
+
"__schema1": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"enum": [
|
|
214
|
+
"create",
|
|
215
|
+
"reset",
|
|
216
|
+
"step",
|
|
217
|
+
"collect",
|
|
218
|
+
"destroy"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"__schema2": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
224
|
+
},
|
|
225
|
+
"__schema3": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"name": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"minLength": 1,
|
|
231
|
+
"maxLength": 64,
|
|
232
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$"
|
|
233
|
+
},
|
|
234
|
+
"description": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"minLength": 1,
|
|
237
|
+
"maxLength": 2000
|
|
238
|
+
},
|
|
239
|
+
"inputSchema": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"propertyNames": {
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
"additionalProperties": {}
|
|
245
|
+
},
|
|
246
|
+
"inputSchemaHash": {
|
|
247
|
+
"$ref": "#/$defs/__schema2"
|
|
248
|
+
},
|
|
249
|
+
"sideEffect": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"enum": [
|
|
252
|
+
"read",
|
|
253
|
+
"write"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"timeoutMs": {
|
|
257
|
+
"type": "integer",
|
|
258
|
+
"exclusiveMinimum": 0,
|
|
259
|
+
"maximum": 3600000
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"required": [
|
|
263
|
+
"name",
|
|
264
|
+
"description",
|
|
265
|
+
"inputSchema",
|
|
266
|
+
"inputSchemaHash",
|
|
267
|
+
"sideEffect",
|
|
268
|
+
"timeoutMs"
|
|
269
|
+
],
|
|
270
|
+
"additionalProperties": false
|
|
271
|
+
},
|
|
272
|
+
"__schema4": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"properties": {
|
|
275
|
+
"id": {
|
|
276
|
+
"$ref": "#/$defs/__schema0"
|
|
277
|
+
},
|
|
278
|
+
"required": {
|
|
279
|
+
"type": "boolean"
|
|
280
|
+
},
|
|
281
|
+
"scopes": {
|
|
282
|
+
"default": [],
|
|
283
|
+
"maxItems": 100,
|
|
284
|
+
"type": "array",
|
|
285
|
+
"items": {
|
|
286
|
+
"$ref": "#/$defs/__schema5"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"portability": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"enum": [
|
|
292
|
+
"portable",
|
|
293
|
+
"host_adapter",
|
|
294
|
+
"local_only",
|
|
295
|
+
"hosted_only"
|
|
296
|
+
]
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"required": [
|
|
300
|
+
"id",
|
|
301
|
+
"required",
|
|
302
|
+
"scopes",
|
|
303
|
+
"portability"
|
|
304
|
+
],
|
|
305
|
+
"additionalProperties": false
|
|
306
|
+
},
|
|
307
|
+
"__schema5": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"minLength": 1,
|
|
310
|
+
"maxLength": 500
|
|
311
|
+
},
|
|
312
|
+
"__schema6": {
|
|
313
|
+
"type": "object",
|
|
314
|
+
"properties": {
|
|
315
|
+
"id": {
|
|
316
|
+
"$ref": "#/$defs/__schema0"
|
|
317
|
+
},
|
|
318
|
+
"clusterKey": {
|
|
319
|
+
"$ref": "#/$defs/__schema0"
|
|
320
|
+
},
|
|
321
|
+
"split": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"enum": [
|
|
324
|
+
"train",
|
|
325
|
+
"validation",
|
|
326
|
+
"test",
|
|
327
|
+
"frozen_eval"
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
"input": {
|
|
331
|
+
"type": "object",
|
|
332
|
+
"propertyNames": {
|
|
333
|
+
"type": "string"
|
|
334
|
+
},
|
|
335
|
+
"additionalProperties": {}
|
|
336
|
+
},
|
|
337
|
+
"expectedOutput": {
|
|
338
|
+
"anyOf": [
|
|
339
|
+
{
|
|
340
|
+
"type": "object",
|
|
341
|
+
"propertyNames": {
|
|
342
|
+
"type": "string"
|
|
343
|
+
},
|
|
344
|
+
"additionalProperties": {}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"type": "null"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"policyVisibleContext": {
|
|
352
|
+
"default": {},
|
|
353
|
+
"type": "object",
|
|
354
|
+
"propertyNames": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
},
|
|
357
|
+
"additionalProperties": {}
|
|
358
|
+
},
|
|
359
|
+
"privilegedContextRef": {
|
|
360
|
+
"anyOf": [
|
|
361
|
+
{
|
|
362
|
+
"$ref": "#/$defs/__schema0"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "null"
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
"artifactRefs": {
|
|
370
|
+
"default": [],
|
|
371
|
+
"maxItems": 1000,
|
|
372
|
+
"type": "array",
|
|
373
|
+
"items": {
|
|
374
|
+
"$ref": "#/$defs/__schema7"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"requiredOutputs": {
|
|
378
|
+
"maxItems": 1000,
|
|
379
|
+
"type": "array",
|
|
380
|
+
"items": {
|
|
381
|
+
"$ref": "#/$defs/__schema8"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"tags": {
|
|
385
|
+
"default": [],
|
|
386
|
+
"maxItems": 100,
|
|
387
|
+
"type": "array",
|
|
388
|
+
"items": {
|
|
389
|
+
"$ref": "#/$defs/__schema0"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"required": [
|
|
394
|
+
"id",
|
|
395
|
+
"clusterKey",
|
|
396
|
+
"split",
|
|
397
|
+
"input",
|
|
398
|
+
"expectedOutput",
|
|
399
|
+
"policyVisibleContext",
|
|
400
|
+
"privilegedContextRef",
|
|
401
|
+
"artifactRefs",
|
|
402
|
+
"tags"
|
|
403
|
+
],
|
|
404
|
+
"additionalProperties": false
|
|
405
|
+
},
|
|
406
|
+
"__schema7": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"properties": {
|
|
409
|
+
"id": {
|
|
410
|
+
"$ref": "#/$defs/__schema0"
|
|
411
|
+
},
|
|
412
|
+
"path": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"minLength": 1,
|
|
415
|
+
"maxLength": 2000
|
|
416
|
+
},
|
|
417
|
+
"contentHash": {
|
|
418
|
+
"$ref": "#/$defs/__schema2"
|
|
419
|
+
},
|
|
420
|
+
"sizeBytes": {
|
|
421
|
+
"type": "integer",
|
|
422
|
+
"minimum": 0,
|
|
423
|
+
"maximum": 250000000
|
|
424
|
+
},
|
|
425
|
+
"mediaType": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"minLength": 1,
|
|
428
|
+
"maxLength": 200
|
|
429
|
+
},
|
|
430
|
+
"visibility": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"enum": [
|
|
433
|
+
"policy",
|
|
434
|
+
"verifier",
|
|
435
|
+
"host_private"
|
|
436
|
+
]
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"required": [
|
|
440
|
+
"id",
|
|
441
|
+
"path",
|
|
442
|
+
"contentHash",
|
|
443
|
+
"sizeBytes",
|
|
444
|
+
"mediaType",
|
|
445
|
+
"visibility"
|
|
446
|
+
],
|
|
447
|
+
"additionalProperties": false
|
|
448
|
+
},
|
|
449
|
+
"__schema8": {
|
|
450
|
+
"type": "object",
|
|
451
|
+
"properties": {
|
|
452
|
+
"path": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"minLength": 1,
|
|
455
|
+
"maxLength": 2000
|
|
456
|
+
},
|
|
457
|
+
"mediaType": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"minLength": 1,
|
|
460
|
+
"maxLength": 200
|
|
461
|
+
},
|
|
462
|
+
"schemaRef": {
|
|
463
|
+
"default": null,
|
|
464
|
+
"anyOf": [
|
|
465
|
+
{
|
|
466
|
+
"$ref": "#/$defs/__schema7"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"type": "null"
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
"maxBytes": {
|
|
474
|
+
"default": null,
|
|
475
|
+
"anyOf": [
|
|
476
|
+
{
|
|
477
|
+
"type": "integer",
|
|
478
|
+
"exclusiveMinimum": 0,
|
|
479
|
+
"maximum": 250000000
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"type": "null"
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
},
|
|
486
|
+
"metadata": {
|
|
487
|
+
"$ref": "#/$defs/__schema9"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"required": [
|
|
491
|
+
"path",
|
|
492
|
+
"mediaType",
|
|
493
|
+
"schemaRef",
|
|
494
|
+
"maxBytes",
|
|
495
|
+
"metadata"
|
|
496
|
+
],
|
|
497
|
+
"additionalProperties": false
|
|
498
|
+
},
|
|
499
|
+
"__schema9": {
|
|
500
|
+
"default": {},
|
|
501
|
+
"type": "object",
|
|
502
|
+
"propertyNames": {
|
|
503
|
+
"type": "string"
|
|
504
|
+
},
|
|
505
|
+
"additionalProperties": {}
|
|
506
|
+
},
|
|
507
|
+
"__schema10": {
|
|
508
|
+
"anyOf": [
|
|
509
|
+
{
|
|
510
|
+
"type": "object",
|
|
511
|
+
"properties": {
|
|
512
|
+
"id": {
|
|
513
|
+
"$ref": "#/$defs/__schema0"
|
|
514
|
+
},
|
|
515
|
+
"version": {
|
|
516
|
+
"$ref": "#/$defs/__schema11"
|
|
517
|
+
},
|
|
518
|
+
"weight": {
|
|
519
|
+
"$ref": "#/$defs/__schema12"
|
|
520
|
+
},
|
|
521
|
+
"hardGate": {
|
|
522
|
+
"$ref": "#/$defs/__schema13"
|
|
523
|
+
},
|
|
524
|
+
"rewardEligible": {
|
|
525
|
+
"$ref": "#/$defs/__schema14"
|
|
526
|
+
},
|
|
527
|
+
"privileged": {
|
|
528
|
+
"$ref": "#/$defs/__schema15"
|
|
529
|
+
},
|
|
530
|
+
"kind": {
|
|
531
|
+
"type": "string",
|
|
532
|
+
"enum": [
|
|
533
|
+
"content",
|
|
534
|
+
"schema",
|
|
535
|
+
"artifact",
|
|
536
|
+
"runtime_event",
|
|
537
|
+
"state"
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
"config": {
|
|
541
|
+
"type": "object",
|
|
542
|
+
"propertyNames": {
|
|
543
|
+
"type": "string"
|
|
544
|
+
},
|
|
545
|
+
"additionalProperties": {}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"required": [
|
|
549
|
+
"id",
|
|
550
|
+
"version",
|
|
551
|
+
"weight",
|
|
552
|
+
"hardGate",
|
|
553
|
+
"rewardEligible",
|
|
554
|
+
"privileged",
|
|
555
|
+
"kind",
|
|
556
|
+
"config"
|
|
557
|
+
],
|
|
558
|
+
"additionalProperties": false
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"id": {
|
|
564
|
+
"$ref": "#/$defs/__schema0"
|
|
565
|
+
},
|
|
566
|
+
"version": {
|
|
567
|
+
"$ref": "#/$defs/__schema11"
|
|
568
|
+
},
|
|
569
|
+
"weight": {
|
|
570
|
+
"$ref": "#/$defs/__schema12"
|
|
571
|
+
},
|
|
572
|
+
"hardGate": {
|
|
573
|
+
"$ref": "#/$defs/__schema13"
|
|
574
|
+
},
|
|
575
|
+
"rewardEligible": {
|
|
576
|
+
"$ref": "#/$defs/__schema14"
|
|
577
|
+
},
|
|
578
|
+
"privileged": {
|
|
579
|
+
"$ref": "#/$defs/__schema15"
|
|
580
|
+
},
|
|
581
|
+
"kind": {
|
|
582
|
+
"type": "string",
|
|
583
|
+
"const": "model_judge"
|
|
584
|
+
},
|
|
585
|
+
"rubricRef": {
|
|
586
|
+
"$ref": "#/$defs/__schema7"
|
|
587
|
+
},
|
|
588
|
+
"calibrationStatus": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"enum": [
|
|
591
|
+
"pending",
|
|
592
|
+
"passed",
|
|
593
|
+
"failed"
|
|
594
|
+
]
|
|
595
|
+
},
|
|
596
|
+
"model": {
|
|
597
|
+
"type": "object",
|
|
598
|
+
"properties": {
|
|
599
|
+
"providerId": {
|
|
600
|
+
"$ref": "#/$defs/__schema0"
|
|
601
|
+
},
|
|
602
|
+
"modelId": {
|
|
603
|
+
"$ref": "#/$defs/__schema0"
|
|
604
|
+
},
|
|
605
|
+
"revision": {
|
|
606
|
+
"anyOf": [
|
|
607
|
+
{
|
|
608
|
+
"type": "string",
|
|
609
|
+
"minLength": 1,
|
|
610
|
+
"maxLength": 500
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"type": "null"
|
|
614
|
+
}
|
|
615
|
+
]
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"required": [
|
|
619
|
+
"providerId",
|
|
620
|
+
"modelId",
|
|
621
|
+
"revision"
|
|
622
|
+
],
|
|
623
|
+
"additionalProperties": false
|
|
624
|
+
},
|
|
625
|
+
"temperature": {
|
|
626
|
+
"type": "number",
|
|
627
|
+
"minimum": 0,
|
|
628
|
+
"maximum": 2
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"required": [
|
|
632
|
+
"id",
|
|
633
|
+
"version",
|
|
634
|
+
"weight",
|
|
635
|
+
"hardGate",
|
|
636
|
+
"rewardEligible",
|
|
637
|
+
"privileged",
|
|
638
|
+
"kind",
|
|
639
|
+
"rubricRef",
|
|
640
|
+
"calibrationStatus"
|
|
641
|
+
],
|
|
642
|
+
"additionalProperties": false
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"type": "object",
|
|
646
|
+
"properties": {
|
|
647
|
+
"id": {
|
|
648
|
+
"$ref": "#/$defs/__schema0"
|
|
649
|
+
},
|
|
650
|
+
"version": {
|
|
651
|
+
"$ref": "#/$defs/__schema11"
|
|
652
|
+
},
|
|
653
|
+
"weight": {
|
|
654
|
+
"$ref": "#/$defs/__schema12"
|
|
655
|
+
},
|
|
656
|
+
"hardGate": {
|
|
657
|
+
"$ref": "#/$defs/__schema13"
|
|
658
|
+
},
|
|
659
|
+
"rewardEligible": {
|
|
660
|
+
"$ref": "#/$defs/__schema14"
|
|
661
|
+
},
|
|
662
|
+
"privileged": {
|
|
663
|
+
"$ref": "#/$defs/__schema15"
|
|
664
|
+
},
|
|
665
|
+
"kind": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"const": "custom_verifier"
|
|
668
|
+
},
|
|
669
|
+
"verifierRef": {
|
|
670
|
+
"$ref": "#/$defs/__schema7"
|
|
671
|
+
},
|
|
672
|
+
"exportName": {
|
|
673
|
+
"type": "string",
|
|
674
|
+
"minLength": 1,
|
|
675
|
+
"maxLength": 240
|
|
676
|
+
},
|
|
677
|
+
"timeoutMs": {
|
|
678
|
+
"type": "integer",
|
|
679
|
+
"exclusiveMinimum": 0,
|
|
680
|
+
"maximum": 300000
|
|
681
|
+
},
|
|
682
|
+
"networkPolicy": {
|
|
683
|
+
"type": "string",
|
|
684
|
+
"const": "none"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
"required": [
|
|
688
|
+
"id",
|
|
689
|
+
"version",
|
|
690
|
+
"weight",
|
|
691
|
+
"hardGate",
|
|
692
|
+
"rewardEligible",
|
|
693
|
+
"privileged",
|
|
694
|
+
"kind",
|
|
695
|
+
"verifierRef",
|
|
696
|
+
"timeoutMs",
|
|
697
|
+
"networkPolicy"
|
|
698
|
+
],
|
|
699
|
+
"additionalProperties": false
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"type": "object",
|
|
703
|
+
"properties": {
|
|
704
|
+
"id": {
|
|
705
|
+
"$ref": "#/$defs/__schema0"
|
|
706
|
+
},
|
|
707
|
+
"version": {
|
|
708
|
+
"$ref": "#/$defs/__schema11"
|
|
709
|
+
},
|
|
710
|
+
"weight": {
|
|
711
|
+
"$ref": "#/$defs/__schema12"
|
|
712
|
+
},
|
|
713
|
+
"hardGate": {
|
|
714
|
+
"$ref": "#/$defs/__schema13"
|
|
715
|
+
},
|
|
716
|
+
"rewardEligible": {
|
|
717
|
+
"$ref": "#/$defs/__schema14"
|
|
718
|
+
},
|
|
719
|
+
"privileged": {
|
|
720
|
+
"$ref": "#/$defs/__schema15"
|
|
721
|
+
},
|
|
722
|
+
"kind": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"const": "human"
|
|
725
|
+
},
|
|
726
|
+
"rubricRef": {
|
|
727
|
+
"$ref": "#/$defs/__schema7"
|
|
728
|
+
},
|
|
729
|
+
"reviewerRole": {
|
|
730
|
+
"type": "string",
|
|
731
|
+
"minLength": 1,
|
|
732
|
+
"maxLength": 500
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"required": [
|
|
736
|
+
"id",
|
|
737
|
+
"version",
|
|
738
|
+
"weight",
|
|
739
|
+
"hardGate",
|
|
740
|
+
"rewardEligible",
|
|
741
|
+
"privileged",
|
|
742
|
+
"kind",
|
|
743
|
+
"rubricRef",
|
|
744
|
+
"reviewerRole"
|
|
745
|
+
],
|
|
746
|
+
"additionalProperties": false
|
|
747
|
+
}
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"__schema11": {
|
|
751
|
+
"type": "string",
|
|
752
|
+
"minLength": 1,
|
|
753
|
+
"maxLength": 100
|
|
754
|
+
},
|
|
755
|
+
"__schema12": {
|
|
756
|
+
"default": 1,
|
|
757
|
+
"type": "number",
|
|
758
|
+
"minimum": 0,
|
|
759
|
+
"maximum": 1000
|
|
760
|
+
},
|
|
761
|
+
"__schema13": {
|
|
762
|
+
"default": false,
|
|
763
|
+
"type": "boolean"
|
|
764
|
+
},
|
|
765
|
+
"__schema14": {
|
|
766
|
+
"default": false,
|
|
767
|
+
"type": "boolean"
|
|
768
|
+
},
|
|
769
|
+
"__schema15": {
|
|
770
|
+
"default": false,
|
|
771
|
+
"type": "boolean"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"$id": "urn:openpond:learning:v1:package",
|
|
775
|
+
"$comment": "Generated from @openpond/evals. Cross-resource identity, authorization, idempotency, admission, grading and split constraints are enforced by the shared domain service in addition to this structural schema."
|
|
776
|
+
}
|