@openpond/evals 0.7.6 → 0.8.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.
Files changed (50) hide show
  1. package/LEARNING.md +30 -0
  2. package/dist/learning/authoring-service.js +1 -1
  3. package/dist/learning/authoring.js +9 -0
  4. package/dist/learning/contracts.js +10 -0
  5. package/dist/learning/index.js +4 -0
  6. package/dist/learning/operations.js +3 -1
  7. package/dist/learning/repository.js +2 -0
  8. package/dist/learning/reward-authoring.js +120 -0
  9. package/dist/learning/reward-check-service.js +31 -0
  10. package/dist/learning/reward-check-worker.js +114 -0
  11. package/dist/learning/reward-checks.js +81 -0
  12. package/dist/learning/reward-fixture-executor.js +29 -0
  13. package/dist/learning/service.js +7 -0
  14. package/dist/rewards.js +3 -0
  15. package/dist/types/learning/admission.d.ts +12 -0
  16. package/dist/types/learning/admission.d.ts.map +1 -1
  17. package/dist/types/learning/authoring-service.d.ts +172 -0
  18. package/dist/types/learning/authoring-service.d.ts.map +1 -1
  19. package/dist/types/learning/authoring.d.ts +121 -0
  20. package/dist/types/learning/authoring.d.ts.map +1 -1
  21. package/dist/types/learning/contracts.d.ts +90 -0
  22. package/dist/types/learning/contracts.d.ts.map +1 -1
  23. package/dist/types/learning/index.d.ts +4 -0
  24. package/dist/types/learning/index.d.ts.map +1 -1
  25. package/dist/types/learning/operations.d.ts +204 -0
  26. package/dist/types/learning/operations.d.ts.map +1 -1
  27. package/dist/types/learning/repository.d.ts +129 -1
  28. package/dist/types/learning/repository.d.ts.map +1 -1
  29. package/dist/types/learning/reward-authoring.d.ts +18 -0
  30. package/dist/types/learning/reward-authoring.d.ts.map +1 -0
  31. package/dist/types/learning/reward-check-service.d.ts +17 -0
  32. package/dist/types/learning/reward-check-service.d.ts.map +1 -0
  33. package/dist/types/learning/reward-check-worker.d.ts +27 -0
  34. package/dist/types/learning/reward-check-worker.d.ts.map +1 -0
  35. package/dist/types/learning/reward-checks.d.ts +177 -0
  36. package/dist/types/learning/reward-checks.d.ts.map +1 -0
  37. package/dist/types/learning/reward-fixture-executor.d.ts +9 -0
  38. package/dist/types/learning/reward-fixture-executor.d.ts.map +1 -0
  39. package/dist/types/learning/service.d.ts.map +1 -1
  40. package/dist/types/learning/transport.d.ts +232 -3
  41. package/dist/types/learning/transport.d.ts.map +1 -1
  42. package/dist/types/rewards.d.ts +24 -0
  43. package/dist/types/rewards.d.ts.map +1 -1
  44. package/package.json +1 -1
  45. package/schemas/learning/v1/command-request.schema.json +443 -248
  46. package/schemas/learning/v1/draft.schema.json +96 -0
  47. package/schemas/learning/v1/read-request.schema.json +1 -0
  48. package/schemas/learning/v1/reward.schema.json +3 -0
  49. package/schemas/learning/v1/reward_check.schema.json +343 -0
  50. package/schemas/learning/v1/source.schema.json +64 -33
@@ -7,6 +7,68 @@
7
7
  },
8
8
  "command": {
9
9
  "anyOf": [
10
+ {
11
+ "type": "object",
12
+ "properties": {
13
+ "operationId": {
14
+ "$ref": "#/$defs/__schema0"
15
+ },
16
+ "action": {
17
+ "type": "string",
18
+ "const": "queue_reward_check"
19
+ },
20
+ "draft": {
21
+ "$ref": "#/$defs/__schema1"
22
+ },
23
+ "timeoutMs": {
24
+ "default": 30000,
25
+ "type": "integer",
26
+ "minimum": 100,
27
+ "maximum": 300000
28
+ },
29
+ "maximumSpendUsd": {
30
+ "default": 0,
31
+ "type": "number",
32
+ "minimum": 0,
33
+ "maximum": 1000
34
+ }
35
+ },
36
+ "required": [
37
+ "operationId",
38
+ "action",
39
+ "draft",
40
+ "timeoutMs",
41
+ "maximumSpendUsd"
42
+ ],
43
+ "additionalProperties": false
44
+ },
45
+ {
46
+ "type": "object",
47
+ "properties": {
48
+ "operationId": {
49
+ "$ref": "#/$defs/__schema0"
50
+ },
51
+ "action": {
52
+ "type": "string",
53
+ "const": "cancel_reward_check"
54
+ },
55
+ "checkId": {
56
+ "$ref": "#/$defs/__schema0"
57
+ },
58
+ "expectedRevision": {
59
+ "type": "integer",
60
+ "exclusiveMinimum": 0,
61
+ "maximum": 9007199254740991
62
+ }
63
+ },
64
+ "required": [
65
+ "operationId",
66
+ "action",
67
+ "checkId",
68
+ "expectedRevision"
69
+ ],
70
+ "additionalProperties": false
71
+ },
10
72
  {
11
73
  "type": "object",
12
74
  "properties": {
@@ -34,7 +96,7 @@
34
96
  "$ref": "#/$defs/__schema0"
35
97
  },
36
98
  "baseRelease": {
37
- "$ref": "#/$defs/__schema1"
99
+ "$ref": "#/$defs/__schema3"
38
100
  },
39
101
  "editorVersion": {
40
102
  "$ref": "#/$defs/__schema4"
@@ -75,7 +137,7 @@
75
137
  }
76
138
  },
77
139
  "recipeRef": {
78
- "$ref": "#/$defs/__schema2"
140
+ "$ref": "#/$defs/__schema1"
79
141
  }
80
142
  },
81
143
  "required": [
@@ -110,7 +172,7 @@
110
172
  "$ref": "#/$defs/__schema0"
111
173
  },
112
174
  "baseRelease": {
113
- "$ref": "#/$defs/__schema1"
175
+ "$ref": "#/$defs/__schema3"
114
176
  },
115
177
  "editorVersion": {
116
178
  "$ref": "#/$defs/__schema4"
@@ -206,6 +268,13 @@
206
268
  },
207
269
  "maximum": {
208
270
  "type": "string"
271
+ },
272
+ "fixtures": {
273
+ "maxItems": 50,
274
+ "type": "array",
275
+ "items": {
276
+ "$ref": "#/$defs/__schema7"
277
+ }
209
278
  }
210
279
  },
211
280
  "required": [
@@ -257,7 +326,7 @@
257
326
  "$ref": "#/$defs/__schema0"
258
327
  },
259
328
  "baseRelease": {
260
- "$ref": "#/$defs/__schema1"
329
+ "$ref": "#/$defs/__schema3"
261
330
  },
262
331
  "editorVersion": {
263
332
  "$ref": "#/$defs/__schema4"
@@ -325,7 +394,7 @@
325
394
  "const": "archive_draft"
326
395
  },
327
396
  "draft": {
328
- "$ref": "#/$defs/__schema2"
397
+ "$ref": "#/$defs/__schema1"
329
398
  }
330
399
  },
331
400
  "required": [
@@ -344,19 +413,19 @@
344
413
  "$ref": "#/$defs/__schema0"
345
414
  },
346
415
  "action": {
347
- "$ref": "#/$defs/__schema7"
416
+ "$ref": "#/$defs/__schema10"
348
417
  },
349
418
  "expectedRevision": {
350
- "$ref": "#/$defs/__schema8"
419
+ "$ref": "#/$defs/__schema11"
351
420
  },
352
421
  "finalizeDraft": {
353
- "$ref": "#/$defs/__schema9"
422
+ "$ref": "#/$defs/__schema12"
354
423
  },
355
424
  "kind": {
356
- "$ref": "#/$defs/__schema11"
425
+ "$ref": "#/$defs/__schema14"
357
426
  },
358
427
  "content": {
359
- "$ref": "#/$defs/__schema12"
428
+ "$ref": "#/$defs/__schema15"
360
429
  }
361
430
  },
362
431
  "required": [
@@ -375,19 +444,19 @@
375
444
  "$ref": "#/$defs/__schema0"
376
445
  },
377
446
  "action": {
378
- "$ref": "#/$defs/__schema7"
447
+ "$ref": "#/$defs/__schema10"
379
448
  },
380
449
  "expectedRevision": {
381
- "$ref": "#/$defs/__schema8"
450
+ "$ref": "#/$defs/__schema11"
382
451
  },
383
452
  "finalizeDraft": {
384
- "$ref": "#/$defs/__schema9"
453
+ "$ref": "#/$defs/__schema12"
385
454
  },
386
455
  "kind": {
387
- "$ref": "#/$defs/__schema17"
456
+ "$ref": "#/$defs/__schema20"
388
457
  },
389
458
  "content": {
390
- "$ref": "#/$defs/__schema18"
459
+ "$ref": "#/$defs/__schema21"
391
460
  }
392
461
  },
393
462
  "required": [
@@ -406,19 +475,19 @@
406
475
  "$ref": "#/$defs/__schema0"
407
476
  },
408
477
  "action": {
409
- "$ref": "#/$defs/__schema7"
478
+ "$ref": "#/$defs/__schema10"
410
479
  },
411
480
  "expectedRevision": {
412
- "$ref": "#/$defs/__schema8"
481
+ "$ref": "#/$defs/__schema11"
413
482
  },
414
483
  "finalizeDraft": {
415
- "$ref": "#/$defs/__schema9"
484
+ "$ref": "#/$defs/__schema12"
416
485
  },
417
486
  "kind": {
418
- "$ref": "#/$defs/__schema33"
487
+ "$ref": "#/$defs/__schema36"
419
488
  },
420
489
  "content": {
421
- "$ref": "#/$defs/__schema34"
490
+ "$ref": "#/$defs/__schema37"
422
491
  }
423
492
  },
424
493
  "required": [
@@ -437,19 +506,19 @@
437
506
  "$ref": "#/$defs/__schema0"
438
507
  },
439
508
  "action": {
440
- "$ref": "#/$defs/__schema7"
509
+ "$ref": "#/$defs/__schema10"
441
510
  },
442
511
  "expectedRevision": {
443
- "$ref": "#/$defs/__schema8"
512
+ "$ref": "#/$defs/__schema11"
444
513
  },
445
514
  "finalizeDraft": {
446
- "$ref": "#/$defs/__schema9"
515
+ "$ref": "#/$defs/__schema12"
447
516
  },
448
517
  "kind": {
449
- "$ref": "#/$defs/__schema42"
518
+ "$ref": "#/$defs/__schema46"
450
519
  },
451
520
  "content": {
452
- "$ref": "#/$defs/__schema43"
521
+ "$ref": "#/$defs/__schema47"
453
522
  }
454
523
  },
455
524
  "required": [
@@ -468,19 +537,19 @@
468
537
  "$ref": "#/$defs/__schema0"
469
538
  },
470
539
  "action": {
471
- "$ref": "#/$defs/__schema7"
540
+ "$ref": "#/$defs/__schema10"
472
541
  },
473
542
  "expectedRevision": {
474
- "$ref": "#/$defs/__schema8"
543
+ "$ref": "#/$defs/__schema11"
475
544
  },
476
545
  "finalizeDraft": {
477
- "$ref": "#/$defs/__schema9"
546
+ "$ref": "#/$defs/__schema12"
478
547
  },
479
548
  "kind": {
480
- "$ref": "#/$defs/__schema52"
549
+ "$ref": "#/$defs/__schema56"
481
550
  },
482
551
  "content": {
483
- "$ref": "#/$defs/__schema53"
552
+ "$ref": "#/$defs/__schema57"
484
553
  }
485
554
  },
486
555
  "required": [
@@ -499,19 +568,19 @@
499
568
  "$ref": "#/$defs/__schema0"
500
569
  },
501
570
  "action": {
502
- "$ref": "#/$defs/__schema7"
571
+ "$ref": "#/$defs/__schema10"
503
572
  },
504
573
  "expectedRevision": {
505
- "$ref": "#/$defs/__schema8"
574
+ "$ref": "#/$defs/__schema11"
506
575
  },
507
576
  "finalizeDraft": {
508
- "$ref": "#/$defs/__schema9"
577
+ "$ref": "#/$defs/__schema12"
509
578
  },
510
579
  "kind": {
511
- "$ref": "#/$defs/__schema64"
580
+ "$ref": "#/$defs/__schema69"
512
581
  },
513
582
  "content": {
514
- "$ref": "#/$defs/__schema65"
583
+ "$ref": "#/$defs/__schema70"
515
584
  }
516
585
  },
517
586
  "required": [
@@ -536,14 +605,14 @@
536
605
  "const": "publish_resources"
537
606
  },
538
607
  "finalizeDraft": {
539
- "$ref": "#/$defs/__schema10"
608
+ "$ref": "#/$defs/__schema13"
540
609
  },
541
610
  "resources": {
542
611
  "minItems": 1,
543
612
  "maxItems": 20,
544
613
  "type": "array",
545
614
  "items": {
546
- "$ref": "#/$defs/__schema78"
615
+ "$ref": "#/$defs/__schema83"
547
616
  }
548
617
  }
549
618
  },
@@ -578,7 +647,7 @@
578
647
  "$ref": "#/$defs/__schema0"
579
648
  },
580
649
  "taskDefinition": {
581
- "$ref": "#/$defs/__schema2"
650
+ "$ref": "#/$defs/__schema1"
582
651
  },
583
652
  "exampleId": {
584
653
  "$ref": "#/$defs/__schema0"
@@ -587,7 +656,7 @@
587
656
  "$ref": "#/$defs/__schema0"
588
657
  },
589
658
  "occurredAt": {
590
- "$ref": "#/$defs/__schema79"
659
+ "$ref": "#/$defs/__schema84"
591
660
  },
592
661
  "familyKey": {
593
662
  "anyOf": [
@@ -600,15 +669,15 @@
600
669
  ]
601
670
  },
602
671
  "split": {
603
- "$ref": "#/$defs/__schema60"
672
+ "$ref": "#/$defs/__schema64"
604
673
  },
605
674
  "input": {
606
- "$ref": "#/$defs/__schema80"
675
+ "$ref": "#/$defs/__schema85"
607
676
  },
608
677
  "observedOutput": {
609
678
  "anyOf": [
610
679
  {
611
- "$ref": "#/$defs/__schema80"
680
+ "$ref": "#/$defs/__schema85"
612
681
  },
613
682
  {
614
683
  "type": "null"
@@ -618,7 +687,7 @@
618
687
  "expected": {
619
688
  "anyOf": [
620
689
  {
621
- "$ref": "#/$defs/__schema80"
690
+ "$ref": "#/$defs/__schema85"
622
691
  },
623
692
  {
624
693
  "type": "null"
@@ -628,7 +697,7 @@
628
697
  "evaluatorContext": {
629
698
  "anyOf": [
630
699
  {
631
- "$ref": "#/$defs/__schema80"
700
+ "$ref": "#/$defs/__schema85"
632
701
  },
633
702
  {
634
703
  "type": "null"
@@ -639,7 +708,7 @@
639
708
  "maxItems": 1000,
640
709
  "type": "array",
641
710
  "items": {
642
- "$ref": "#/$defs/__schema15"
711
+ "$ref": "#/$defs/__schema18"
643
712
  }
644
713
  },
645
714
  "provenance": {
@@ -659,7 +728,7 @@
659
728
  "mappingHash": {
660
729
  "anyOf": [
661
730
  {
662
- "$ref": "#/$defs/__schema3"
731
+ "$ref": "#/$defs/__schema2"
663
732
  },
664
733
  {
665
734
  "type": "null"
@@ -733,7 +802,7 @@
733
802
  "expectedEvidenceHash": {
734
803
  "anyOf": [
735
804
  {
736
- "$ref": "#/$defs/__schema3"
805
+ "$ref": "#/$defs/__schema2"
737
806
  },
738
807
  {
739
808
  "type": "null"
@@ -741,7 +810,7 @@
741
810
  ]
742
811
  },
743
812
  "occurredAt": {
744
- "$ref": "#/$defs/__schema79"
813
+ "$ref": "#/$defs/__schema84"
745
814
  },
746
815
  "kind": {
747
816
  "type": "string",
@@ -754,7 +823,7 @@
754
823
  ]
755
824
  },
756
825
  "value": {
757
- "$ref": "#/$defs/__schema80"
826
+ "$ref": "#/$defs/__schema85"
758
827
  },
759
828
  "note": {
760
829
  "type": "string",
@@ -797,7 +866,7 @@
797
866
  "$ref": "#/$defs/__schema0"
798
867
  },
799
868
  "evidence": {
800
- "$ref": "#/$defs/__schema2"
869
+ "$ref": "#/$defs/__schema1"
801
870
  }
802
871
  },
803
872
  "required": [
@@ -837,7 +906,7 @@
837
906
  "decision": {
838
907
  "anyOf": [
839
908
  {
840
- "$ref": "#/$defs/__schema2"
909
+ "$ref": "#/$defs/__schema1"
841
910
  },
842
911
  {
843
912
  "type": "null"
@@ -871,7 +940,7 @@
871
940
  "const": "queue_grade"
872
941
  },
873
942
  "evidence": {
874
- "$ref": "#/$defs/__schema2"
943
+ "$ref": "#/$defs/__schema1"
875
944
  },
876
945
  "target": {
877
946
  "type": "string",
@@ -883,7 +952,7 @@
883
952
  "proposedTarget": {
884
953
  "anyOf": [
885
954
  {
886
- "$ref": "#/$defs/__schema80"
955
+ "$ref": "#/$defs/__schema85"
887
956
  },
888
957
  {
889
958
  "type": "null"
@@ -925,7 +994,7 @@
925
994
  "const": "review"
926
995
  },
927
996
  "evidence": {
928
- "$ref": "#/$defs/__schema2"
997
+ "$ref": "#/$defs/__schema1"
929
998
  },
930
999
  "expectedRevision": {
931
1000
  "type": "integer",
@@ -952,7 +1021,7 @@
952
1021
  "approvedTarget": {
953
1022
  "anyOf": [
954
1023
  {
955
- "$ref": "#/$defs/__schema80"
1024
+ "$ref": "#/$defs/__schema85"
956
1025
  },
957
1026
  {
958
1027
  "type": "null"
@@ -1012,7 +1081,7 @@
1012
1081
  "$ref": "#/$defs/__schema0"
1013
1082
  },
1014
1083
  "taskDefinition": {
1015
- "$ref": "#/$defs/__schema2"
1084
+ "$ref": "#/$defs/__schema1"
1016
1085
  },
1017
1086
  "purpose": {
1018
1087
  "type": "string",
@@ -1027,7 +1096,7 @@
1027
1096
  "maxItems": 10000,
1028
1097
  "type": "array",
1029
1098
  "items": {
1030
- "$ref": "#/$defs/__schema2"
1099
+ "$ref": "#/$defs/__schema1"
1031
1100
  }
1032
1101
  },
1033
1102
  "decisions": {
@@ -1035,7 +1104,7 @@
1035
1104
  "maxItems": 10000,
1036
1105
  "type": "array",
1037
1106
  "items": {
1038
- "$ref": "#/$defs/__schema2"
1107
+ "$ref": "#/$defs/__schema1"
1039
1108
  }
1040
1109
  }
1041
1110
  },
@@ -1092,23 +1161,13 @@
1092
1161
  "maxLength": 240
1093
1162
  },
1094
1163
  "__schema1": {
1095
- "anyOf": [
1096
- {
1097
- "$ref": "#/$defs/__schema2"
1098
- },
1099
- {
1100
- "type": "null"
1101
- }
1102
- ]
1103
- },
1104
- "__schema2": {
1105
1164
  "type": "object",
1106
1165
  "properties": {
1107
1166
  "id": {
1108
1167
  "$ref": "#/$defs/__schema0"
1109
1168
  },
1110
1169
  "contentHash": {
1111
- "$ref": "#/$defs/__schema3"
1170
+ "$ref": "#/$defs/__schema2"
1112
1171
  },
1113
1172
  "revision": {
1114
1173
  "type": "integer",
@@ -1123,10 +1182,20 @@
1123
1182
  ],
1124
1183
  "additionalProperties": false
1125
1184
  },
1126
- "__schema3": {
1185
+ "__schema2": {
1127
1186
  "type": "string",
1128
1187
  "pattern": "^[a-f0-9]{64}$"
1129
1188
  },
1189
+ "__schema3": {
1190
+ "anyOf": [
1191
+ {
1192
+ "$ref": "#/$defs/__schema1"
1193
+ },
1194
+ {
1195
+ "type": "null"
1196
+ }
1197
+ ]
1198
+ },
1130
1199
  "__schema4": {
1131
1200
  "type": "string",
1132
1201
  "const": "openpond.modelsEditor.v1"
@@ -1138,7 +1207,7 @@
1138
1207
  "$ref": "#/$defs/__schema0"
1139
1208
  },
1140
1209
  "reward": {
1141
- "$ref": "#/$defs/__schema2"
1210
+ "$ref": "#/$defs/__schema1"
1142
1211
  },
1143
1212
  "role": {
1144
1213
  "type": "string",
@@ -1235,7 +1304,7 @@
1235
1304
  "$ref": "#/$defs/__schema0"
1236
1305
  },
1237
1306
  "contentHash": {
1238
- "$ref": "#/$defs/__schema3"
1307
+ "$ref": "#/$defs/__schema2"
1239
1308
  }
1240
1309
  },
1241
1310
  "required": [
@@ -1245,22 +1314,111 @@
1245
1314
  "additionalProperties": false
1246
1315
  },
1247
1316
  "__schema7": {
1317
+ "type": "object",
1318
+ "properties": {
1319
+ "id": {
1320
+ "$ref": "#/$defs/__schema0"
1321
+ },
1322
+ "name": {
1323
+ "type": "string",
1324
+ "maxLength": 500
1325
+ },
1326
+ "input": {
1327
+ "type": "string"
1328
+ },
1329
+ "output": {
1330
+ "type": "string"
1331
+ },
1332
+ "expectedOutput": {
1333
+ "type": "string"
1334
+ },
1335
+ "evaluatorContext": {
1336
+ "type": "string"
1337
+ },
1338
+ "artifactRefs": {
1339
+ "maxItems": 100,
1340
+ "type": "array",
1341
+ "items": {
1342
+ "$ref": "#/$defs/__schema8"
1343
+ }
1344
+ },
1345
+ "runtimeEventRefs": {
1346
+ "maxItems": 100,
1347
+ "type": "array",
1348
+ "items": {
1349
+ "$ref": "#/$defs/__schema9"
1350
+ }
1351
+ },
1352
+ "infrastructureError": {
1353
+ "type": "string",
1354
+ "maxLength": 20000
1355
+ },
1356
+ "expectedStatus": {
1357
+ "type": "string",
1358
+ "enum": [
1359
+ "scored",
1360
+ "pending",
1361
+ "unavailable",
1362
+ "failed"
1363
+ ]
1364
+ },
1365
+ "minimumScore": {
1366
+ "type": "string"
1367
+ },
1368
+ "maximumScore": {
1369
+ "type": "string"
1370
+ },
1371
+ "expectedPassed": {
1372
+ "type": "string",
1373
+ "enum": [
1374
+ "true",
1375
+ "false",
1376
+ "any"
1377
+ ]
1378
+ }
1379
+ },
1380
+ "required": [
1381
+ "id",
1382
+ "name",
1383
+ "input",
1384
+ "output",
1385
+ "expectedOutput",
1386
+ "evaluatorContext",
1387
+ "artifactRefs",
1388
+ "runtimeEventRefs",
1389
+ "infrastructureError",
1390
+ "expectedStatus",
1391
+ "minimumScore",
1392
+ "maximumScore",
1393
+ "expectedPassed"
1394
+ ],
1395
+ "additionalProperties": false
1396
+ },
1397
+ "__schema8": {
1398
+ "type": "string",
1399
+ "maxLength": 500
1400
+ },
1401
+ "__schema9": {
1402
+ "type": "string",
1403
+ "maxLength": 500
1404
+ },
1405
+ "__schema10": {
1248
1406
  "type": "string",
1249
1407
  "const": "publish"
1250
1408
  },
1251
- "__schema8": {
1409
+ "__schema11": {
1252
1410
  "type": "integer",
1253
1411
  "minimum": 0,
1254
1412
  "maximum": 9007199254740991
1255
1413
  },
1256
- "__schema9": {
1257
- "$ref": "#/$defs/__schema10"
1414
+ "__schema12": {
1415
+ "$ref": "#/$defs/__schema13"
1258
1416
  },
1259
- "__schema10": {
1417
+ "__schema13": {
1260
1418
  "type": "object",
1261
1419
  "properties": {
1262
1420
  "draft": {
1263
- "$ref": "#/$defs/__schema2"
1421
+ "$ref": "#/$defs/__schema1"
1264
1422
  },
1265
1423
  "targetKind": {
1266
1424
  "type": "string",
@@ -1271,7 +1429,7 @@
1271
1429
  ]
1272
1430
  },
1273
1431
  "release": {
1274
- "$ref": "#/$defs/__schema2"
1432
+ "$ref": "#/$defs/__schema1"
1275
1433
  }
1276
1434
  },
1277
1435
  "required": [
@@ -1281,27 +1439,27 @@
1281
1439
  ],
1282
1440
  "additionalProperties": false
1283
1441
  },
1284
- "__schema11": {
1442
+ "__schema14": {
1285
1443
  "type": "string",
1286
1444
  "const": "asset"
1287
1445
  },
1288
- "__schema12": {
1446
+ "__schema15": {
1289
1447
  "type": "object",
1290
1448
  "properties": {
1291
1449
  "schemaVersion": {
1292
- "$ref": "#/$defs/__schema13"
1450
+ "$ref": "#/$defs/__schema16"
1293
1451
  },
1294
1452
  "id": {
1295
1453
  "$ref": "#/$defs/__schema0"
1296
1454
  },
1297
1455
  "revision": {
1298
- "$ref": "#/$defs/__schema14"
1456
+ "$ref": "#/$defs/__schema17"
1299
1457
  },
1300
1458
  "asset": {
1301
- "$ref": "#/$defs/__schema15"
1459
+ "$ref": "#/$defs/__schema18"
1302
1460
  },
1303
1461
  "text": {
1304
- "$ref": "#/$defs/__schema16"
1462
+ "$ref": "#/$defs/__schema19"
1305
1463
  }
1306
1464
  },
1307
1465
  "required": [
@@ -1313,15 +1471,15 @@
1313
1471
  ],
1314
1472
  "additionalProperties": false
1315
1473
  },
1316
- "__schema13": {
1474
+ "__schema16": {
1317
1475
  "type": "string",
1318
1476
  "const": "openpond.learningTextAsset.v1"
1319
1477
  },
1320
- "__schema14": {
1478
+ "__schema17": {
1321
1479
  "type": "number",
1322
1480
  "const": 1
1323
1481
  },
1324
- "__schema15": {
1482
+ "__schema18": {
1325
1483
  "type": "object",
1326
1484
  "properties": {
1327
1485
  "id": {
@@ -1333,7 +1491,7 @@
1333
1491
  "maxLength": 2000
1334
1492
  },
1335
1493
  "contentHash": {
1336
- "$ref": "#/$defs/__schema3"
1494
+ "$ref": "#/$defs/__schema2"
1337
1495
  },
1338
1496
  "sizeBytes": {
1339
1497
  "type": "integer",
@@ -1364,55 +1522,55 @@
1364
1522
  ],
1365
1523
  "additionalProperties": false
1366
1524
  },
1367
- "__schema16": {
1525
+ "__schema19": {
1368
1526
  "type": "string",
1369
1527
  "maxLength": 524288
1370
1528
  },
1371
- "__schema17": {
1529
+ "__schema20": {
1372
1530
  "type": "string",
1373
1531
  "const": "definition"
1374
1532
  },
1375
- "__schema18": {
1533
+ "__schema21": {
1376
1534
  "type": "object",
1377
1535
  "properties": {
1378
1536
  "schemaVersion": {
1379
- "$ref": "#/$defs/__schema19"
1537
+ "$ref": "#/$defs/__schema22"
1380
1538
  },
1381
1539
  "id": {
1382
1540
  "$ref": "#/$defs/__schema0"
1383
1541
  },
1384
1542
  "revision": {
1385
- "$ref": "#/$defs/__schema20"
1543
+ "$ref": "#/$defs/__schema23"
1386
1544
  },
1387
1545
  "name": {
1388
- "$ref": "#/$defs/__schema21"
1546
+ "$ref": "#/$defs/__schema24"
1389
1547
  },
1390
1548
  "description": {
1391
- "$ref": "#/$defs/__schema22"
1549
+ "$ref": "#/$defs/__schema25"
1392
1550
  },
1393
1551
  "instructions": {
1394
- "$ref": "#/$defs/__schema23"
1552
+ "$ref": "#/$defs/__schema26"
1395
1553
  },
1396
1554
  "category": {
1397
- "$ref": "#/$defs/__schema24"
1555
+ "$ref": "#/$defs/__schema27"
1398
1556
  },
1399
1557
  "familyNamespace": {
1400
1558
  "$ref": "#/$defs/__schema0"
1401
1559
  },
1402
1560
  "inputSchema": {
1403
- "$ref": "#/$defs/__schema25"
1561
+ "$ref": "#/$defs/__schema28"
1404
1562
  },
1405
1563
  "outputSchema": {
1406
- "$ref": "#/$defs/__schema26"
1564
+ "$ref": "#/$defs/__schema29"
1407
1565
  },
1408
1566
  "rewardBinding": {
1409
- "$ref": "#/$defs/__schema2"
1567
+ "$ref": "#/$defs/__schema1"
1410
1568
  },
1411
1569
  "harness": {
1412
- "$ref": "#/$defs/__schema27"
1570
+ "$ref": "#/$defs/__schema30"
1413
1571
  },
1414
1572
  "execution": {
1415
- "$ref": "#/$defs/__schema28"
1573
+ "$ref": "#/$defs/__schema31"
1416
1574
  }
1417
1575
  },
1418
1576
  "required": [
@@ -1432,30 +1590,30 @@
1432
1590
  ],
1433
1591
  "additionalProperties": false
1434
1592
  },
1435
- "__schema19": {
1593
+ "__schema22": {
1436
1594
  "type": "string",
1437
1595
  "const": "openpond.taskDefinition.v1"
1438
1596
  },
1439
- "__schema20": {
1597
+ "__schema23": {
1440
1598
  "type": "integer",
1441
1599
  "exclusiveMinimum": 0,
1442
1600
  "maximum": 9007199254740991
1443
1601
  },
1444
- "__schema21": {
1602
+ "__schema24": {
1445
1603
  "type": "string",
1446
1604
  "minLength": 1,
1447
1605
  "maxLength": 500
1448
1606
  },
1449
- "__schema22": {
1607
+ "__schema25": {
1450
1608
  "type": "string",
1451
1609
  "maxLength": 10000
1452
1610
  },
1453
- "__schema23": {
1611
+ "__schema26": {
1454
1612
  "type": "string",
1455
1613
  "minLength": 1,
1456
1614
  "maxLength": 20000
1457
1615
  },
1458
- "__schema24": {
1616
+ "__schema27": {
1459
1617
  "type": "string",
1460
1618
  "enum": [
1461
1619
  "structured",
@@ -1465,21 +1623,21 @@
1465
1623
  "custom"
1466
1624
  ]
1467
1625
  },
1468
- "__schema25": {
1626
+ "__schema28": {
1469
1627
  "type": "object",
1470
1628
  "propertyNames": {
1471
1629
  "type": "string"
1472
1630
  },
1473
1631
  "additionalProperties": {}
1474
1632
  },
1475
- "__schema26": {
1633
+ "__schema29": {
1476
1634
  "type": "object",
1477
1635
  "propertyNames": {
1478
1636
  "type": "string"
1479
1637
  },
1480
1638
  "additionalProperties": {}
1481
1639
  },
1482
- "__schema27": {
1640
+ "__schema30": {
1483
1641
  "anyOf": [
1484
1642
  {
1485
1643
  "$ref": "#/$defs/__schema6"
@@ -1489,7 +1647,7 @@
1489
1647
  }
1490
1648
  ]
1491
1649
  },
1492
- "__schema28": {
1650
+ "__schema31": {
1493
1651
  "type": "object",
1494
1652
  "properties": {
1495
1653
  "policy": {
@@ -1568,7 +1726,7 @@
1568
1726
  "maxItems": 5,
1569
1727
  "type": "array",
1570
1728
  "items": {
1571
- "$ref": "#/$defs/__schema29"
1729
+ "$ref": "#/$defs/__schema32"
1572
1730
  }
1573
1731
  },
1574
1732
  "networkPolicy": {
@@ -1604,7 +1762,7 @@
1604
1762
  "$ref": "#/$defs/__schema0"
1605
1763
  },
1606
1764
  "contentHash": {
1607
- "$ref": "#/$defs/__schema3"
1765
+ "$ref": "#/$defs/__schema2"
1608
1766
  }
1609
1767
  },
1610
1768
  "required": [
@@ -1617,14 +1775,14 @@
1617
1775
  "maxItems": 200,
1618
1776
  "type": "array",
1619
1777
  "items": {
1620
- "$ref": "#/$defs/__schema30"
1778
+ "$ref": "#/$defs/__schema33"
1621
1779
  }
1622
1780
  },
1623
1781
  "capabilities": {
1624
1782
  "maxItems": 200,
1625
1783
  "type": "array",
1626
1784
  "items": {
1627
- "$ref": "#/$defs/__schema31"
1785
+ "$ref": "#/$defs/__schema34"
1628
1786
  }
1629
1787
  },
1630
1788
  "verifierSetRelease": {
@@ -1634,7 +1792,7 @@
1634
1792
  "$ref": "#/$defs/__schema0"
1635
1793
  },
1636
1794
  "contentHash": {
1637
- "$ref": "#/$defs/__schema3"
1795
+ "$ref": "#/$defs/__schema2"
1638
1796
  }
1639
1797
  },
1640
1798
  "required": [
@@ -1652,7 +1810,7 @@
1652
1810
  ],
1653
1811
  "additionalProperties": false
1654
1812
  },
1655
- "__schema29": {
1813
+ "__schema32": {
1656
1814
  "type": "string",
1657
1815
  "enum": [
1658
1816
  "create",
@@ -1662,7 +1820,7 @@
1662
1820
  "destroy"
1663
1821
  ]
1664
1822
  },
1665
- "__schema30": {
1823
+ "__schema33": {
1666
1824
  "type": "object",
1667
1825
  "properties": {
1668
1826
  "name": {
@@ -1684,7 +1842,7 @@
1684
1842
  "additionalProperties": {}
1685
1843
  },
1686
1844
  "inputSchemaHash": {
1687
- "$ref": "#/$defs/__schema3"
1845
+ "$ref": "#/$defs/__schema2"
1688
1846
  },
1689
1847
  "sideEffect": {
1690
1848
  "type": "string",
@@ -1709,7 +1867,7 @@
1709
1867
  ],
1710
1868
  "additionalProperties": false
1711
1869
  },
1712
- "__schema31": {
1870
+ "__schema34": {
1713
1871
  "type": "object",
1714
1872
  "properties": {
1715
1873
  "id": {
@@ -1723,7 +1881,7 @@
1723
1881
  "maxItems": 100,
1724
1882
  "type": "array",
1725
1883
  "items": {
1726
- "$ref": "#/$defs/__schema32"
1884
+ "$ref": "#/$defs/__schema35"
1727
1885
  }
1728
1886
  },
1729
1887
  "portability": {
@@ -1744,41 +1902,44 @@
1744
1902
  ],
1745
1903
  "additionalProperties": false
1746
1904
  },
1747
- "__schema32": {
1905
+ "__schema35": {
1748
1906
  "type": "string",
1749
1907
  "minLength": 1,
1750
1908
  "maxLength": 500
1751
1909
  },
1752
- "__schema33": {
1910
+ "__schema36": {
1753
1911
  "type": "string",
1754
1912
  "const": "reward"
1755
1913
  },
1756
- "__schema34": {
1914
+ "__schema37": {
1757
1915
  "type": "object",
1758
1916
  "properties": {
1759
1917
  "schemaVersion": {
1760
- "$ref": "#/$defs/__schema35"
1918
+ "$ref": "#/$defs/__schema38"
1761
1919
  },
1762
1920
  "id": {
1763
1921
  "$ref": "#/$defs/__schema0"
1764
1922
  },
1765
1923
  "revision": {
1766
- "$ref": "#/$defs/__schema36"
1924
+ "$ref": "#/$defs/__schema39"
1767
1925
  },
1768
1926
  "name": {
1769
- "$ref": "#/$defs/__schema37"
1927
+ "$ref": "#/$defs/__schema40"
1770
1928
  },
1771
1929
  "description": {
1772
- "$ref": "#/$defs/__schema38"
1930
+ "$ref": "#/$defs/__schema41"
1773
1931
  },
1774
1932
  "implementation": {
1775
- "$ref": "#/$defs/__schema39"
1933
+ "$ref": "#/$defs/__schema42"
1776
1934
  },
1777
1935
  "rawScore": {
1778
- "$ref": "#/$defs/__schema40"
1936
+ "$ref": "#/$defs/__schema43"
1779
1937
  },
1780
1938
  "assets": {
1781
- "$ref": "#/$defs/__schema41"
1939
+ "$ref": "#/$defs/__schema44"
1940
+ },
1941
+ "fixtureSetRef": {
1942
+ "$ref": "#/$defs/__schema45"
1782
1943
  }
1783
1944
  },
1784
1945
  "required": [
@@ -1793,25 +1954,25 @@
1793
1954
  ],
1794
1955
  "additionalProperties": false
1795
1956
  },
1796
- "__schema35": {
1957
+ "__schema38": {
1797
1958
  "type": "string",
1798
1959
  "const": "openpond.rewardRelease.v1"
1799
1960
  },
1800
- "__schema36": {
1961
+ "__schema39": {
1801
1962
  "type": "integer",
1802
1963
  "exclusiveMinimum": 0,
1803
1964
  "maximum": 9007199254740991
1804
1965
  },
1805
- "__schema37": {
1966
+ "__schema40": {
1806
1967
  "type": "string",
1807
1968
  "minLength": 1,
1808
1969
  "maxLength": 500
1809
1970
  },
1810
- "__schema38": {
1971
+ "__schema41": {
1811
1972
  "type": "string",
1812
1973
  "maxLength": 10000
1813
1974
  },
1814
- "__schema39": {
1975
+ "__schema42": {
1815
1976
  "anyOf": [
1816
1977
  {
1817
1978
  "type": "object",
@@ -1848,7 +2009,7 @@
1848
2009
  "const": "model_judge"
1849
2010
  },
1850
2011
  "rubricRef": {
1851
- "$ref": "#/$defs/__schema15"
2012
+ "$ref": "#/$defs/__schema18"
1852
2013
  },
1853
2014
  "calibrationStatus": {
1854
2015
  "type": "string",
@@ -1908,7 +2069,7 @@
1908
2069
  "const": "custom_verifier"
1909
2070
  },
1910
2071
  "verifierRef": {
1911
- "$ref": "#/$defs/__schema15"
2072
+ "$ref": "#/$defs/__schema18"
1912
2073
  },
1913
2074
  "exportName": {
1914
2075
  "type": "string",
@@ -1941,7 +2102,7 @@
1941
2102
  "const": "human"
1942
2103
  },
1943
2104
  "rubricRef": {
1944
- "$ref": "#/$defs/__schema15"
2105
+ "$ref": "#/$defs/__schema18"
1945
2106
  },
1946
2107
  "reviewerRole": {
1947
2108
  "type": "string",
@@ -1967,7 +2128,7 @@
1967
2128
  "$ref": "#/$defs/__schema6"
1968
2129
  },
1969
2130
  "inputContract": {
1970
- "$ref": "#/$defs/__schema15"
2131
+ "$ref": "#/$defs/__schema18"
1971
2132
  }
1972
2133
  },
1973
2134
  "required": [
@@ -1979,7 +2140,7 @@
1979
2140
  }
1980
2141
  ]
1981
2142
  },
1982
- "__schema40": {
2143
+ "__schema43": {
1983
2144
  "type": "object",
1984
2145
  "properties": {
1985
2146
  "minimum": {
@@ -1995,46 +2156,49 @@
1995
2156
  ],
1996
2157
  "additionalProperties": false
1997
2158
  },
1998
- "__schema41": {
2159
+ "__schema44": {
1999
2160
  "maxItems": 1000,
2000
2161
  "type": "array",
2001
2162
  "items": {
2002
- "$ref": "#/$defs/__schema15"
2163
+ "$ref": "#/$defs/__schema18"
2003
2164
  }
2004
2165
  },
2005
- "__schema42": {
2166
+ "__schema45": {
2167
+ "$ref": "#/$defs/__schema18"
2168
+ },
2169
+ "__schema46": {
2006
2170
  "type": "string",
2007
2171
  "const": "binding"
2008
2172
  },
2009
- "__schema43": {
2173
+ "__schema47": {
2010
2174
  "type": "object",
2011
2175
  "properties": {
2012
2176
  "schemaVersion": {
2013
- "$ref": "#/$defs/__schema44"
2177
+ "$ref": "#/$defs/__schema48"
2014
2178
  },
2015
2179
  "id": {
2016
2180
  "$ref": "#/$defs/__schema0"
2017
2181
  },
2018
2182
  "revision": {
2019
- "$ref": "#/$defs/__schema45"
2183
+ "$ref": "#/$defs/__schema49"
2020
2184
  },
2021
2185
  "name": {
2022
- "$ref": "#/$defs/__schema46"
2186
+ "$ref": "#/$defs/__schema50"
2023
2187
  },
2024
2188
  "description": {
2025
- "$ref": "#/$defs/__schema47"
2189
+ "$ref": "#/$defs/__schema51"
2026
2190
  },
2027
2191
  "recipeRef": {
2028
- "$ref": "#/$defs/__schema48"
2192
+ "$ref": "#/$defs/__schema52"
2029
2193
  },
2030
2194
  "sources": {
2031
- "$ref": "#/$defs/__schema49"
2195
+ "$ref": "#/$defs/__schema53"
2032
2196
  },
2033
2197
  "aggregation": {
2034
- "$ref": "#/$defs/__schema50"
2198
+ "$ref": "#/$defs/__schema54"
2035
2199
  },
2036
2200
  "unscorable": {
2037
- "$ref": "#/$defs/__schema51"
2201
+ "$ref": "#/$defs/__schema55"
2038
2202
  }
2039
2203
  },
2040
2204
  "required": [
@@ -2047,28 +2211,28 @@
2047
2211
  ],
2048
2212
  "additionalProperties": false
2049
2213
  },
2050
- "__schema44": {
2214
+ "__schema48": {
2051
2215
  "type": "string",
2052
2216
  "const": "openpond.rewardBinding.v1"
2053
2217
  },
2054
- "__schema45": {
2218
+ "__schema49": {
2055
2219
  "type": "integer",
2056
2220
  "exclusiveMinimum": 0,
2057
2221
  "maximum": 9007199254740991
2058
2222
  },
2059
- "__schema46": {
2223
+ "__schema50": {
2060
2224
  "type": "string",
2061
2225
  "minLength": 1,
2062
2226
  "maxLength": 500
2063
2227
  },
2064
- "__schema47": {
2228
+ "__schema51": {
2065
2229
  "type": "string",
2066
2230
  "maxLength": 10000
2067
2231
  },
2068
- "__schema48": {
2069
- "$ref": "#/$defs/__schema2"
2232
+ "__schema52": {
2233
+ "$ref": "#/$defs/__schema1"
2070
2234
  },
2071
- "__schema49": {
2235
+ "__schema53": {
2072
2236
  "minItems": 1,
2073
2237
  "maxItems": 100,
2074
2238
  "type": "array",
@@ -2076,50 +2240,53 @@
2076
2240
  "$ref": "#/$defs/__schema5"
2077
2241
  }
2078
2242
  },
2079
- "__schema50": {
2243
+ "__schema54": {
2080
2244
  "type": "string",
2081
2245
  "const": "weighted_mean"
2082
2246
  },
2083
- "__schema51": {
2247
+ "__schema55": {
2084
2248
  "type": "string",
2085
2249
  "const": "exclude_optional_require_all_required"
2086
2250
  },
2087
- "__schema52": {
2251
+ "__schema56": {
2088
2252
  "type": "string",
2089
2253
  "const": "source"
2090
2254
  },
2091
- "__schema53": {
2255
+ "__schema57": {
2092
2256
  "type": "object",
2093
2257
  "properties": {
2094
2258
  "schemaVersion": {
2095
- "$ref": "#/$defs/__schema54"
2259
+ "$ref": "#/$defs/__schema58"
2096
2260
  },
2097
2261
  "id": {
2098
2262
  "$ref": "#/$defs/__schema0"
2099
2263
  },
2100
2264
  "revision": {
2101
- "$ref": "#/$defs/__schema55"
2265
+ "$ref": "#/$defs/__schema59"
2102
2266
  },
2103
2267
  "name": {
2104
- "$ref": "#/$defs/__schema56"
2268
+ "$ref": "#/$defs/__schema60"
2105
2269
  },
2106
2270
  "kind": {
2107
- "$ref": "#/$defs/__schema57"
2271
+ "$ref": "#/$defs/__schema61"
2108
2272
  },
2109
2273
  "taskDefinition": {
2110
- "$ref": "#/$defs/__schema2"
2274
+ "$ref": "#/$defs/__schema1"
2111
2275
  },
2112
2276
  "enabled": {
2113
- "$ref": "#/$defs/__schema58"
2277
+ "$ref": "#/$defs/__schema62"
2114
2278
  },
2115
2279
  "allowedSplits": {
2116
- "$ref": "#/$defs/__schema59"
2280
+ "$ref": "#/$defs/__schema63"
2117
2281
  },
2118
2282
  "mapping": {
2119
- "$ref": "#/$defs/__schema61"
2283
+ "$ref": "#/$defs/__schema65"
2120
2284
  },
2121
2285
  "adapterVersion": {
2122
- "$ref": "#/$defs/__schema63"
2286
+ "$ref": "#/$defs/__schema67"
2287
+ },
2288
+ "reviewOrigin": {
2289
+ "$ref": "#/$defs/__schema68"
2123
2290
  }
2124
2291
  },
2125
2292
  "required": [
@@ -2136,21 +2303,21 @@
2136
2303
  ],
2137
2304
  "additionalProperties": false
2138
2305
  },
2139
- "__schema54": {
2306
+ "__schema58": {
2140
2307
  "type": "string",
2141
2308
  "const": "openpond.learningSource.v1"
2142
2309
  },
2143
- "__schema55": {
2310
+ "__schema59": {
2144
2311
  "type": "integer",
2145
2312
  "exclusiveMinimum": 0,
2146
2313
  "maximum": 9007199254740991
2147
2314
  },
2148
- "__schema56": {
2315
+ "__schema60": {
2149
2316
  "type": "string",
2150
2317
  "minLength": 1,
2151
2318
  "maxLength": 500
2152
2319
  },
2153
- "__schema57": {
2320
+ "__schema61": {
2154
2321
  "type": "string",
2155
2322
  "enum": [
2156
2323
  "direct",
@@ -2160,18 +2327,18 @@
2160
2327
  "provider"
2161
2328
  ]
2162
2329
  },
2163
- "__schema58": {
2330
+ "__schema62": {
2164
2331
  "type": "boolean"
2165
2332
  },
2166
- "__schema59": {
2333
+ "__schema63": {
2167
2334
  "minItems": 1,
2168
2335
  "maxItems": 4,
2169
2336
  "type": "array",
2170
2337
  "items": {
2171
- "$ref": "#/$defs/__schema60"
2338
+ "$ref": "#/$defs/__schema64"
2172
2339
  }
2173
2340
  },
2174
- "__schema60": {
2341
+ "__schema64": {
2175
2342
  "type": "string",
2176
2343
  "enum": [
2177
2344
  "train",
@@ -2180,7 +2347,7 @@
2180
2347
  "frozen_eval"
2181
2348
  ]
2182
2349
  },
2183
- "__schema61": {
2350
+ "__schema65": {
2184
2351
  "anyOf": [
2185
2352
  {
2186
2353
  "type": "object",
@@ -2190,21 +2357,21 @@
2190
2357
  "const": "openpond.taskSourceMapping.v1"
2191
2358
  },
2192
2359
  "exampleId": {
2193
- "$ref": "#/$defs/__schema62"
2360
+ "$ref": "#/$defs/__schema66"
2194
2361
  },
2195
2362
  "attemptId": {
2196
- "$ref": "#/$defs/__schema62"
2363
+ "$ref": "#/$defs/__schema66"
2197
2364
  },
2198
2365
  "occurredAt": {
2199
- "$ref": "#/$defs/__schema62"
2366
+ "$ref": "#/$defs/__schema66"
2200
2367
  },
2201
2368
  "input": {
2202
- "$ref": "#/$defs/__schema62"
2369
+ "$ref": "#/$defs/__schema66"
2203
2370
  },
2204
2371
  "observedOutput": {
2205
2372
  "anyOf": [
2206
2373
  {
2207
- "$ref": "#/$defs/__schema62"
2374
+ "$ref": "#/$defs/__schema66"
2208
2375
  },
2209
2376
  {
2210
2377
  "type": "null"
@@ -2214,7 +2381,7 @@
2214
2381
  "expected": {
2215
2382
  "anyOf": [
2216
2383
  {
2217
- "$ref": "#/$defs/__schema62"
2384
+ "$ref": "#/$defs/__schema66"
2218
2385
  },
2219
2386
  {
2220
2387
  "type": "null"
@@ -2224,7 +2391,7 @@
2224
2391
  "evaluatorContext": {
2225
2392
  "anyOf": [
2226
2393
  {
2227
- "$ref": "#/$defs/__schema62"
2394
+ "$ref": "#/$defs/__schema66"
2228
2395
  },
2229
2396
  {
2230
2397
  "type": "null"
@@ -2232,10 +2399,10 @@
2232
2399
  ]
2233
2400
  },
2234
2401
  "familyKey": {
2235
- "$ref": "#/$defs/__schema62"
2402
+ "$ref": "#/$defs/__schema66"
2236
2403
  },
2237
2404
  "split": {
2238
- "$ref": "#/$defs/__schema60"
2405
+ "$ref": "#/$defs/__schema64"
2239
2406
  }
2240
2407
  },
2241
2408
  "required": [
@@ -2257,11 +2424,11 @@
2257
2424
  }
2258
2425
  ]
2259
2426
  },
2260
- "__schema62": {
2427
+ "__schema66": {
2261
2428
  "type": "string",
2262
2429
  "maxLength": 2000
2263
2430
  },
2264
- "__schema63": {
2431
+ "__schema67": {
2265
2432
  "anyOf": [
2266
2433
  {
2267
2434
  "type": "string",
@@ -2273,63 +2440,91 @@
2273
2440
  }
2274
2441
  ]
2275
2442
  },
2276
- "__schema64": {
2443
+ "__schema68": {
2444
+ "type": "object",
2445
+ "properties": {
2446
+ "modelId": {
2447
+ "$ref": "#/$defs/__schema0"
2448
+ },
2449
+ "packageHash": {
2450
+ "$ref": "#/$defs/__schema2"
2451
+ },
2452
+ "taskset": {
2453
+ "$ref": "#/$defs/__schema1"
2454
+ },
2455
+ "batch": {
2456
+ "$ref": "#/$defs/__schema1"
2457
+ },
2458
+ "rewardBinding": {
2459
+ "$ref": "#/$defs/__schema1"
2460
+ }
2461
+ },
2462
+ "required": [
2463
+ "modelId",
2464
+ "packageHash",
2465
+ "taskset",
2466
+ "batch",
2467
+ "rewardBinding"
2468
+ ],
2469
+ "additionalProperties": false
2470
+ },
2471
+ "__schema69": {
2277
2472
  "type": "string",
2278
2473
  "const": "policy"
2279
2474
  },
2280
- "__schema65": {
2475
+ "__schema70": {
2281
2476
  "type": "object",
2282
2477
  "properties": {
2283
2478
  "schemaVersion": {
2284
- "$ref": "#/$defs/__schema66"
2479
+ "$ref": "#/$defs/__schema71"
2285
2480
  },
2286
2481
  "id": {
2287
2482
  "$ref": "#/$defs/__schema0"
2288
2483
  },
2289
2484
  "revision": {
2290
- "$ref": "#/$defs/__schema67"
2485
+ "$ref": "#/$defs/__schema72"
2291
2486
  },
2292
2487
  "modelProjectId": {
2293
2488
  "$ref": "#/$defs/__schema0"
2294
2489
  },
2295
2490
  "executionOwner": {
2296
- "$ref": "#/$defs/__schema68"
2491
+ "$ref": "#/$defs/__schema73"
2297
2492
  },
2298
2493
  "enabled": {
2299
- "$ref": "#/$defs/__schema69"
2494
+ "$ref": "#/$defs/__schema74"
2300
2495
  },
2301
2496
  "sources": {
2302
- "$ref": "#/$defs/__schema70"
2497
+ "$ref": "#/$defs/__schema75"
2303
2498
  },
2304
2499
  "taskDefinition": {
2305
- "$ref": "#/$defs/__schema2"
2500
+ "$ref": "#/$defs/__schema1"
2306
2501
  },
2307
2502
  "rewardBinding": {
2308
- "$ref": "#/$defs/__schema2"
2503
+ "$ref": "#/$defs/__schema1"
2309
2504
  },
2310
2505
  "admission": {
2311
- "$ref": "#/$defs/__schema71"
2506
+ "$ref": "#/$defs/__schema76"
2312
2507
  },
2313
2508
  "trigger": {
2314
- "$ref": "#/$defs/__schema72"
2509
+ "$ref": "#/$defs/__schema77"
2315
2510
  },
2316
2511
  "trainingParent": {
2317
2512
  "$ref": "#/$defs/__schema6"
2318
2513
  },
2319
2514
  "teacher": {
2320
- "$ref": "#/$defs/__schema73"
2515
+ "$ref": "#/$defs/__schema78"
2321
2516
  },
2322
2517
  "training": {
2323
- "$ref": "#/$defs/__schema74"
2518
+ "$ref": "#/$defs/__schema79"
2324
2519
  },
2325
2520
  "limits": {
2326
- "$ref": "#/$defs/__schema75"
2521
+ "$ref": "#/$defs/__schema80"
2327
2522
  },
2328
2523
  "automation": {
2329
- "$ref": "#/$defs/__schema76"
2524
+ "$ref": "#/$defs/__schema81"
2330
2525
  },
2331
2526
  "acceptance": {
2332
- "$ref": "#/$defs/__schema77"
2527
+ "$ref": "#/$defs/__schema82"
2333
2528
  }
2334
2529
  },
2335
2530
  "required": [
@@ -2353,34 +2548,34 @@
2353
2548
  ],
2354
2549
  "additionalProperties": false
2355
2550
  },
2356
- "__schema66": {
2551
+ "__schema71": {
2357
2552
  "type": "string",
2358
2553
  "const": "openpond.learningPolicy.v1"
2359
2554
  },
2360
- "__schema67": {
2555
+ "__schema72": {
2361
2556
  "type": "integer",
2362
2557
  "exclusiveMinimum": 0,
2363
2558
  "maximum": 9007199254740991
2364
2559
  },
2365
- "__schema68": {
2560
+ "__schema73": {
2366
2561
  "type": "string",
2367
2562
  "enum": [
2368
2563
  "local",
2369
2564
  "hosted"
2370
2565
  ]
2371
2566
  },
2372
- "__schema69": {
2567
+ "__schema74": {
2373
2568
  "type": "boolean"
2374
2569
  },
2375
- "__schema70": {
2570
+ "__schema75": {
2376
2571
  "minItems": 1,
2377
2572
  "maxItems": 100,
2378
2573
  "type": "array",
2379
2574
  "items": {
2380
- "$ref": "#/$defs/__schema2"
2575
+ "$ref": "#/$defs/__schema1"
2381
2576
  }
2382
2577
  },
2383
- "__schema71": {
2578
+ "__schema76": {
2384
2579
  "type": "object",
2385
2580
  "properties": {
2386
2581
  "mode": {
@@ -2413,7 +2608,7 @@
2413
2608
  ],
2414
2609
  "additionalProperties": false
2415
2610
  },
2416
- "__schema72": {
2611
+ "__schema77": {
2417
2612
  "oneOf": [
2418
2613
  {
2419
2614
  "type": "object",
@@ -2479,7 +2674,7 @@
2479
2674
  }
2480
2675
  ]
2481
2676
  },
2482
- "__schema73": {
2677
+ "__schema78": {
2483
2678
  "anyOf": [
2484
2679
  {
2485
2680
  "$ref": "#/$defs/__schema6"
@@ -2489,7 +2684,7 @@
2489
2684
  }
2490
2685
  ]
2491
2686
  },
2492
- "__schema74": {
2687
+ "__schema79": {
2493
2688
  "type": "object",
2494
2689
  "properties": {
2495
2690
  "method": {
@@ -2527,7 +2722,7 @@
2527
2722
  ],
2528
2723
  "additionalProperties": false
2529
2724
  },
2530
- "__schema75": {
2725
+ "__schema80": {
2531
2726
  "type": "object",
2532
2727
  "properties": {
2533
2728
  "maxIterationSpendUsd": {
@@ -2571,7 +2766,7 @@
2571
2766
  ],
2572
2767
  "additionalProperties": false
2573
2768
  },
2574
- "__schema76": {
2769
+ "__schema81": {
2575
2770
  "type": "object",
2576
2771
  "properties": {
2577
2772
  "collect": {
@@ -2595,7 +2790,7 @@
2595
2790
  ],
2596
2791
  "additionalProperties": false
2597
2792
  },
2598
- "__schema77": {
2793
+ "__schema82": {
2599
2794
  "type": "object",
2600
2795
  "properties": {
2601
2796
  "minimumScore": {
@@ -2630,19 +2825,19 @@
2630
2825
  ],
2631
2826
  "additionalProperties": false
2632
2827
  },
2633
- "__schema78": {
2828
+ "__schema83": {
2634
2829
  "anyOf": [
2635
2830
  {
2636
2831
  "type": "object",
2637
2832
  "properties": {
2638
2833
  "expectedRevision": {
2639
- "$ref": "#/$defs/__schema8"
2834
+ "$ref": "#/$defs/__schema11"
2640
2835
  },
2641
2836
  "kind": {
2642
- "$ref": "#/$defs/__schema11"
2837
+ "$ref": "#/$defs/__schema14"
2643
2838
  },
2644
2839
  "content": {
2645
- "$ref": "#/$defs/__schema12"
2840
+ "$ref": "#/$defs/__schema15"
2646
2841
  }
2647
2842
  },
2648
2843
  "required": [
@@ -2656,13 +2851,13 @@
2656
2851
  "type": "object",
2657
2852
  "properties": {
2658
2853
  "expectedRevision": {
2659
- "$ref": "#/$defs/__schema8"
2854
+ "$ref": "#/$defs/__schema11"
2660
2855
  },
2661
2856
  "kind": {
2662
- "$ref": "#/$defs/__schema17"
2857
+ "$ref": "#/$defs/__schema20"
2663
2858
  },
2664
2859
  "content": {
2665
- "$ref": "#/$defs/__schema18"
2860
+ "$ref": "#/$defs/__schema21"
2666
2861
  }
2667
2862
  },
2668
2863
  "required": [
@@ -2676,13 +2871,13 @@
2676
2871
  "type": "object",
2677
2872
  "properties": {
2678
2873
  "expectedRevision": {
2679
- "$ref": "#/$defs/__schema8"
2874
+ "$ref": "#/$defs/__schema11"
2680
2875
  },
2681
2876
  "kind": {
2682
- "$ref": "#/$defs/__schema33"
2877
+ "$ref": "#/$defs/__schema36"
2683
2878
  },
2684
2879
  "content": {
2685
- "$ref": "#/$defs/__schema34"
2880
+ "$ref": "#/$defs/__schema37"
2686
2881
  }
2687
2882
  },
2688
2883
  "required": [
@@ -2696,13 +2891,13 @@
2696
2891
  "type": "object",
2697
2892
  "properties": {
2698
2893
  "expectedRevision": {
2699
- "$ref": "#/$defs/__schema8"
2894
+ "$ref": "#/$defs/__schema11"
2700
2895
  },
2701
2896
  "kind": {
2702
- "$ref": "#/$defs/__schema42"
2897
+ "$ref": "#/$defs/__schema46"
2703
2898
  },
2704
2899
  "content": {
2705
- "$ref": "#/$defs/__schema43"
2900
+ "$ref": "#/$defs/__schema47"
2706
2901
  }
2707
2902
  },
2708
2903
  "required": [
@@ -2716,13 +2911,13 @@
2716
2911
  "type": "object",
2717
2912
  "properties": {
2718
2913
  "expectedRevision": {
2719
- "$ref": "#/$defs/__schema8"
2914
+ "$ref": "#/$defs/__schema11"
2720
2915
  },
2721
2916
  "kind": {
2722
- "$ref": "#/$defs/__schema52"
2917
+ "$ref": "#/$defs/__schema56"
2723
2918
  },
2724
2919
  "content": {
2725
- "$ref": "#/$defs/__schema53"
2920
+ "$ref": "#/$defs/__schema57"
2726
2921
  }
2727
2922
  },
2728
2923
  "required": [
@@ -2736,13 +2931,13 @@
2736
2931
  "type": "object",
2737
2932
  "properties": {
2738
2933
  "expectedRevision": {
2739
- "$ref": "#/$defs/__schema8"
2934
+ "$ref": "#/$defs/__schema11"
2740
2935
  },
2741
2936
  "kind": {
2742
- "$ref": "#/$defs/__schema64"
2937
+ "$ref": "#/$defs/__schema69"
2743
2938
  },
2744
2939
  "content": {
2745
- "$ref": "#/$defs/__schema65"
2940
+ "$ref": "#/$defs/__schema70"
2746
2941
  }
2747
2942
  },
2748
2943
  "required": [
@@ -2754,21 +2949,21 @@
2754
2949
  }
2755
2950
  ]
2756
2951
  },
2757
- "__schema79": {
2952
+ "__schema84": {
2758
2953
  "type": "string",
2759
2954
  "format": "date-time",
2760
2955
  "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)))$"
2761
2956
  },
2762
- "__schema80": {
2957
+ "__schema85": {
2763
2958
  "type": "object",
2764
2959
  "propertyNames": {
2765
2960
  "type": "string"
2766
2961
  },
2767
2962
  "additionalProperties": {
2768
- "$ref": "#/$defs/__schema81"
2963
+ "$ref": "#/$defs/__schema86"
2769
2964
  }
2770
2965
  },
2771
- "__schema81": {
2966
+ "__schema86": {
2772
2967
  "anyOf": [
2773
2968
  {
2774
2969
  "type": "string"
@@ -2785,7 +2980,7 @@
2785
2980
  {
2786
2981
  "type": "array",
2787
2982
  "items": {
2788
- "$ref": "#/$defs/__schema81"
2983
+ "$ref": "#/$defs/__schema86"
2789
2984
  }
2790
2985
  },
2791
2986
  {
@@ -2794,7 +2989,7 @@
2794
2989
  "type": "string"
2795
2990
  },
2796
2991
  "additionalProperties": {
2797
- "$ref": "#/$defs/__schema81"
2992
+ "$ref": "#/$defs/__schema86"
2798
2993
  }
2799
2994
  }
2800
2995
  ]