@openpond/evals 0.12.5 → 0.12.7
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 +5 -0
- package/dist/javascript-isolate-process-source.js +1 -1
- package/dist/javascript-verifier-worker-source.js +1 -1
- package/dist/learning/admission.js +1 -1
- package/dist/learning/contracts.js +12 -0
- package/dist/learning/iteration-dispatch-contracts.js +4 -0
- package/dist/learning/iteration-dispatch-worker.js +4 -0
- package/dist/learning/iteration-eligibility.js +2 -1
- package/dist/learning/iteration-exposure.js +30 -0
- package/dist/learning/iteration-reservation-cancellation.js +12 -3
- package/dist/learning/iteration-reservation-contracts.js +5 -3
- package/dist/learning/iteration-reservation-service.js +10 -2
- package/dist/learning/iteration-training-parent.js +3 -1
- package/dist/learning/reward-authoring.js +4 -2
- package/dist/learning/service.js +2 -0
- package/dist/sql-execution-process-source.js +1 -1
- package/dist/task-schema-validation.js +10 -2
- package/dist/types/learning/batch-service.d.ts +1 -0
- package/dist/types/learning/batch-service.d.ts.map +1 -1
- package/dist/types/learning/contracts.d.ts +42 -0
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/iteration-dispatch-contracts.d.ts +13 -0
- package/dist/types/learning/iteration-dispatch-contracts.d.ts.map +1 -1
- package/dist/types/learning/iteration-dispatch-worker.d.ts.map +1 -1
- package/dist/types/learning/iteration-eligibility.d.ts.map +1 -1
- package/dist/types/learning/iteration-exposure.d.ts +13 -0
- package/dist/types/learning/iteration-exposure.d.ts.map +1 -0
- package/dist/types/learning/iteration-reservation-cancellation.d.ts.map +1 -1
- package/dist/types/learning/iteration-reservation-contracts.d.ts +13 -3
- package/dist/types/learning/iteration-reservation-contracts.d.ts.map +1 -1
- package/dist/types/learning/iteration-reservation-service.d.ts.map +1 -1
- package/dist/types/learning/iteration-training-parent.d.ts.map +1 -1
- package/dist/types/learning/operations.d.ts +38 -0
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +28 -2
- package/dist/types/learning/repository.d.ts.map +1 -1
- package/dist/types/learning/reward-authoring.d.ts.map +1 -1
- package/dist/types/learning/service.d.ts.map +1 -1
- package/dist/types/learning/transport.d.ts +1009 -970
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/dist/types/task-schema-validation.d.ts.map +1 -1
- package/package.json +2 -2
- package/schemas/learning/v1/command-request.schema.json +119 -93
- package/schemas/learning/v1/consumption.schema.json +40 -4
- package/schemas/learning/v1/evidence.schema.json +3 -0
- package/schemas/learning/v1/example-submission.schema.json +3 -0
- package/schemas/learning/v1/source.schema.json +20 -0
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
"$ref": "#/$defs/__schema0"
|
|
11
11
|
},
|
|
12
12
|
"revision": {
|
|
13
|
-
"type": "
|
|
14
|
-
"
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"exclusiveMinimum": 0,
|
|
15
|
+
"maximum": 9007199254740991
|
|
15
16
|
},
|
|
16
17
|
"chainId": {
|
|
17
18
|
"$ref": "#/$defs/__schema0"
|
|
@@ -29,6 +30,38 @@
|
|
|
29
30
|
"type": "string",
|
|
30
31
|
"format": "date-time",
|
|
31
32
|
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
33
|
+
},
|
|
34
|
+
"exposure": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"reserved",
|
|
38
|
+
"trained",
|
|
39
|
+
"exposed",
|
|
40
|
+
"unexposed"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"executionReceipt": {
|
|
44
|
+
"anyOf": [
|
|
45
|
+
{
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"id": {
|
|
49
|
+
"$ref": "#/$defs/__schema0"
|
|
50
|
+
},
|
|
51
|
+
"contentHash": {
|
|
52
|
+
"$ref": "#/$defs/__schema2"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"id",
|
|
57
|
+
"contentHash"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "null"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
32
65
|
}
|
|
33
66
|
},
|
|
34
67
|
"required": [
|
|
@@ -55,8 +88,7 @@
|
|
|
55
88
|
"$ref": "#/$defs/__schema0"
|
|
56
89
|
},
|
|
57
90
|
"contentHash": {
|
|
58
|
-
"
|
|
59
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
91
|
+
"$ref": "#/$defs/__schema2"
|
|
60
92
|
},
|
|
61
93
|
"revision": {
|
|
62
94
|
"type": "integer",
|
|
@@ -70,6 +102,10 @@
|
|
|
70
102
|
"revision"
|
|
71
103
|
],
|
|
72
104
|
"additionalProperties": false
|
|
105
|
+
},
|
|
106
|
+
"__schema2": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
73
109
|
}
|
|
74
110
|
},
|
|
75
111
|
"$id": "urn:openpond:learning:v1:consumption",
|
|
@@ -160,6 +160,26 @@
|
|
|
160
160
|
],
|
|
161
161
|
"additionalProperties": false
|
|
162
162
|
},
|
|
163
|
+
"datasetOrigin": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"receiptId": {
|
|
167
|
+
"$ref": "#/$defs/__schema0"
|
|
168
|
+
},
|
|
169
|
+
"packageHash": {
|
|
170
|
+
"$ref": "#/$defs/__schema2"
|
|
171
|
+
},
|
|
172
|
+
"taskset": {
|
|
173
|
+
"$ref": "#/$defs/__schema1"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"required": [
|
|
177
|
+
"receiptId",
|
|
178
|
+
"packageHash",
|
|
179
|
+
"taskset"
|
|
180
|
+
],
|
|
181
|
+
"additionalProperties": false
|
|
182
|
+
},
|
|
163
183
|
"capturedOrigin": {
|
|
164
184
|
"type": "object",
|
|
165
185
|
"properties": {
|