@openpond/evals 0.11.15 → 0.11.17
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/CONTRACT.md +9 -0
- package/dist/connected-evidence/contracts.js +72 -0
- package/dist/connected-evidence/imports.js +71 -0
- package/dist/connected-evidence/index.js +5 -0
- package/dist/connected-evidence/normalize.js +97 -0
- package/dist/connected-evidence/python-correctness.js +73 -0
- package/dist/connected-evidence/sources/claude-code.js +71 -0
- package/dist/connected-evidence/sources/codex.js +52 -0
- package/dist/connected-evidence/sources/history.js +86 -0
- package/dist/connected-evidence/sources/usage.js +15 -0
- package/dist/connected-evidence/usage-summary.js +52 -0
- package/dist/experiments.js +41 -7
- package/dist/graders.js +9 -6
- package/dist/human-review/comparison.js +161 -0
- package/dist/human-review/contracts.js +110 -0
- package/dist/human-review/execution.js +61 -0
- package/dist/human-review/handoff.js +18 -0
- package/dist/human-review/index.js +9 -0
- package/dist/human-review/local-publication.js +18 -0
- package/dist/human-review/repository.js +1 -0
- package/dist/human-review/results.js +18 -0
- package/dist/human-review/service.js +268 -0
- package/dist/human-review/task-proposals.js +39 -0
- package/dist/index.js +1 -0
- package/dist/javascript-verifier-contract.js +2 -2
- package/dist/learning/authoring.js +2 -1
- package/dist/learning/contracts.js +353 -81
- package/dist/learning/index.js +1 -0
- package/dist/learning/reward-authoring.js +5 -2
- package/dist/learning/training-handoff.js +32 -0
- package/dist/metrics-node.js +2 -0
- package/dist/profile-evaluation-target.js +7 -0
- package/dist/profile-evaluations.js +7 -10
- package/dist/profile-external-evaluation.js +35 -0
- package/dist/profile-source-candidate.js +5 -0
- package/dist/rewards.js +5 -3
- package/dist/taskset-run-contract.js +10 -0
- package/dist/tasksets.js +2 -0
- package/dist/types/builtin-benchmarks/harness-refiner.d.ts +75 -1
- package/dist/types/builtin-benchmarks/harness-refiner.d.ts.map +1 -1
- package/dist/types/conformance.d.ts +150 -2
- package/dist/types/conformance.d.ts.map +1 -1
- package/dist/types/connected-evidence/contracts.d.ts +317 -0
- package/dist/types/connected-evidence/contracts.d.ts.map +1 -0
- package/dist/types/connected-evidence/imports.d.ts +19 -0
- package/dist/types/connected-evidence/imports.d.ts.map +1 -0
- package/dist/types/connected-evidence/index.d.ts +6 -0
- package/dist/types/connected-evidence/index.d.ts.map +1 -0
- package/dist/types/connected-evidence/normalize.d.ts +25 -0
- package/dist/types/connected-evidence/normalize.d.ts.map +1 -0
- package/dist/types/connected-evidence/python-correctness.d.ts +196 -0
- package/dist/types/connected-evidence/python-correctness.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/claude-code.d.ts +74 -0
- package/dist/types/connected-evidence/sources/claude-code.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/codex.d.ts +74 -0
- package/dist/types/connected-evidence/sources/codex.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/history.d.ts +146 -0
- package/dist/types/connected-evidence/sources/history.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/usage.d.ts +3 -0
- package/dist/types/connected-evidence/sources/usage.d.ts.map +1 -0
- package/dist/types/connected-evidence/usage-summary.d.ts +162 -0
- package/dist/types/connected-evidence/usage-summary.d.ts.map +1 -0
- package/dist/types/evidence/conformance.d.ts +28 -28
- package/dist/types/evidence/contracts.d.ts +27 -27
- package/dist/types/execution-contracts.d.ts +159 -5
- package/dist/types/execution-contracts.d.ts.map +1 -1
- package/dist/types/experiments.d.ts +498 -7
- package/dist/types/experiments.d.ts.map +1 -1
- package/dist/types/graders.d.ts +21 -1
- package/dist/types/graders.d.ts.map +1 -1
- package/dist/types/human-review/comparison.d.ts +1959 -0
- package/dist/types/human-review/comparison.d.ts.map +1 -0
- package/dist/types/human-review/contracts.d.ts +2719 -0
- package/dist/types/human-review/contracts.d.ts.map +1 -0
- package/dist/types/human-review/execution.d.ts +298 -0
- package/dist/types/human-review/execution.d.ts.map +1 -0
- package/dist/types/human-review/handoff.d.ts +124 -0
- package/dist/types/human-review/handoff.d.ts.map +1 -0
- package/dist/types/human-review/index.d.ts +10 -0
- package/dist/types/human-review/index.d.ts.map +1 -0
- package/dist/types/human-review/local-publication.d.ts +165 -0
- package/dist/types/human-review/local-publication.d.ts.map +1 -0
- package/dist/types/human-review/repository.d.ts +43 -0
- package/dist/types/human-review/repository.d.ts.map +1 -0
- package/dist/types/human-review/results.d.ts +118 -0
- package/dist/types/human-review/results.d.ts.map +1 -0
- package/dist/types/human-review/service.d.ts +878 -0
- package/dist/types/human-review/service.d.ts.map +1 -0
- package/dist/types/human-review/task-proposals.d.ts +70 -0
- package/dist/types/human-review/task-proposals.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/javascript-environment-contract.d.ts +1 -1
- package/dist/types/javascript-verifier-contract.d.ts +1 -1
- package/dist/types/javascript-verifier-contract.d.ts.map +1 -1
- package/dist/types/learned-preference.d.ts +2 -2
- package/dist/types/learning/acceptance-group.d.ts +13 -13
- package/dist/types/learning/acceptance-plan.d.ts +1 -1
- package/dist/types/learning/admission.d.ts +78 -1
- package/dist/types/learning/admission.d.ts.map +1 -1
- package/dist/types/learning/authoring-service.d.ts +2 -0
- package/dist/types/learning/authoring-service.d.ts.map +1 -1
- package/dist/types/learning/authoring.d.ts +20 -0
- package/dist/types/learning/authoring.d.ts.map +1 -1
- package/dist/types/learning/batch-service.d.ts +76 -2
- package/dist/types/learning/batch-service.d.ts.map +1 -1
- package/dist/types/learning/contracts.d.ts +759 -24
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/index.d.ts +1 -0
- package/dist/types/learning/index.d.ts.map +1 -1
- package/dist/types/learning/iteration-candidate-decision.d.ts +2 -2
- package/dist/types/learning/iteration-dispatch-contracts.d.ts +2 -2
- package/dist/types/learning/operations.d.ts +1118 -8
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +402 -15
- 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/reward-calibration.d.ts +74 -0
- package/dist/types/learning/reward-calibration.d.ts.map +1 -1
- package/dist/types/learning/reward-checks.d.ts +14 -2
- package/dist/types/learning/reward-checks.d.ts.map +1 -1
- package/dist/types/learning/training-handoff.d.ts +201 -0
- package/dist/types/learning/training-handoff.d.ts.map +1 -0
- package/dist/types/learning/transport.d.ts +963 -21
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/dist/types/metrics-node.d.ts +3 -1
- package/dist/types/metrics-node.d.ts.map +1 -1
- package/dist/types/model-improvement-qualification.d.ts +3 -3
- package/dist/types/native-harness-experiment-attempt.d.ts +2 -2
- package/dist/types/profile-evaluation-comparisons.d.ts +230 -0
- package/dist/types/profile-evaluation-comparisons.d.ts.map +1 -1
- package/dist/types/profile-evaluation-target.d.ts +14 -0
- package/dist/types/profile-evaluation-target.d.ts.map +1 -0
- package/dist/types/profile-evaluations.d.ts +117 -14
- package/dist/types/profile-evaluations.d.ts.map +1 -1
- package/dist/types/profile-external-evaluation.d.ts +404 -0
- package/dist/types/profile-external-evaluation.d.ts.map +1 -0
- package/dist/types/profile-source-candidate.d.ts +15 -0
- package/dist/types/profile-source-candidate.d.ts.map +1 -0
- package/dist/types/review-conformance.d.ts +7 -7
- package/dist/types/rewards.d.ts +253 -0
- package/dist/types/rewards.d.ts.map +1 -1
- package/dist/types/rollouts.d.ts +3 -3
- package/dist/types/taskset-run-contract.d.ts +230 -0
- package/dist/types/taskset-run-contract.d.ts.map +1 -1
- package/dist/types/tasksets.d.ts +311 -3
- package/dist/types/tasksets.d.ts.map +1 -1
- package/dist/types/telemetry-analysis.d.ts +2 -2
- package/dist/types/telemetry-bundle.d.ts +6 -6
- package/dist/types/telemetry.d.ts +3 -3
- package/package.json +9 -1
- package/schemas/learning/v1/command-request.schema.json +1745 -409
- package/schemas/learning/v1/decision.schema.json +11 -0
- package/schemas/learning/v1/draft.schema.json +11 -0
- package/schemas/learning/v1/grade.schema.json +11 -0
- package/schemas/learning/v1/package.schema.json +532 -12
- package/schemas/learning/v1/policy.schema.json +836 -28
- package/schemas/learning/v1/reward.schema.json +520 -0
- package/schemas/learning/v1/reward_check.schema.json +9 -0
|
@@ -172,12 +172,17 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
172
172
|
code: z.ZodString;
|
|
173
173
|
exportName: z.ZodString;
|
|
174
174
|
timeout: z.ZodString;
|
|
175
|
+
verifierRuntime: z.ZodOptional<z.ZodEnum<{
|
|
176
|
+
isolated_javascript: "isolated_javascript";
|
|
177
|
+
sandbox_process: "sandbox_process";
|
|
178
|
+
}>>;
|
|
175
179
|
rubric: z.ZodString;
|
|
176
180
|
providerId: z.ZodString;
|
|
177
181
|
modelId: z.ZodString;
|
|
178
182
|
modelRevision: z.ZodString;
|
|
179
183
|
temperature: z.ZodString;
|
|
180
184
|
reviewerRole: z.ZodString;
|
|
185
|
+
humanForm: z.ZodOptional<z.ZodString>;
|
|
181
186
|
learnedId: z.ZodString;
|
|
182
187
|
learnedHash: z.ZodString;
|
|
183
188
|
inputContract: z.ZodString;
|
|
@@ -399,9 +404,9 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
399
404
|
stateful: z.ZodBoolean;
|
|
400
405
|
deterministicSeeds: z.ZodBoolean;
|
|
401
406
|
lifecycle: z.ZodArray<z.ZodEnum<{
|
|
407
|
+
step: "step";
|
|
402
408
|
create: "create";
|
|
403
409
|
reset: "reset";
|
|
404
|
-
step: "step";
|
|
405
410
|
collect: "collect";
|
|
406
411
|
destroy: "destroy";
|
|
407
412
|
}>>;
|
|
@@ -530,6 +535,83 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
530
535
|
}, z.core.$strict>;
|
|
531
536
|
}, z.core.$strict>, z.ZodObject<{
|
|
532
537
|
kind: z.ZodLiteral<"human">;
|
|
538
|
+
form: z.ZodOptional<z.ZodObject<{
|
|
539
|
+
schemaVersion: z.ZodLiteral<"openpond.humanForm.v1">;
|
|
540
|
+
mode: z.ZodEnum<{
|
|
541
|
+
individual: "individual";
|
|
542
|
+
pairwise: "pairwise";
|
|
543
|
+
}>;
|
|
544
|
+
instructions: z.ZodString;
|
|
545
|
+
criteria: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
546
|
+
id: z.ZodString;
|
|
547
|
+
label: z.ZodString;
|
|
548
|
+
instructions: z.ZodString;
|
|
549
|
+
required: z.ZodBoolean;
|
|
550
|
+
allowAbstain: z.ZodBoolean;
|
|
551
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
553
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
554
|
+
description: z.ZodString;
|
|
555
|
+
}, z.core.$strict>>>;
|
|
556
|
+
kind: z.ZodLiteral<"score">;
|
|
557
|
+
minimum: z.ZodNumber;
|
|
558
|
+
maximum: z.ZodNumber;
|
|
559
|
+
step: z.ZodNumber;
|
|
560
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
561
|
+
id: z.ZodString;
|
|
562
|
+
label: z.ZodString;
|
|
563
|
+
instructions: z.ZodString;
|
|
564
|
+
required: z.ZodBoolean;
|
|
565
|
+
allowAbstain: z.ZodBoolean;
|
|
566
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
567
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
568
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
569
|
+
description: z.ZodString;
|
|
570
|
+
}, z.core.$strict>>>;
|
|
571
|
+
kind: z.ZodLiteral<"category">;
|
|
572
|
+
options: z.ZodArray<z.ZodString>;
|
|
573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
574
|
+
id: z.ZodString;
|
|
575
|
+
label: z.ZodString;
|
|
576
|
+
instructions: z.ZodString;
|
|
577
|
+
required: z.ZodBoolean;
|
|
578
|
+
allowAbstain: z.ZodBoolean;
|
|
579
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
580
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
581
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
582
|
+
description: z.ZodString;
|
|
583
|
+
}, z.core.$strict>>>;
|
|
584
|
+
kind: z.ZodLiteral<"boolean">;
|
|
585
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
586
|
+
id: z.ZodString;
|
|
587
|
+
label: z.ZodString;
|
|
588
|
+
instructions: z.ZodString;
|
|
589
|
+
required: z.ZodBoolean;
|
|
590
|
+
allowAbstain: z.ZodBoolean;
|
|
591
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
593
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
594
|
+
description: z.ZodString;
|
|
595
|
+
}, z.core.$strict>>>;
|
|
596
|
+
kind: z.ZodLiteral<"text">;
|
|
597
|
+
minimumLength: z.ZodOptional<z.ZodNumber>;
|
|
598
|
+
maximumLength: z.ZodNumber;
|
|
599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
600
|
+
id: z.ZodString;
|
|
601
|
+
label: z.ZodString;
|
|
602
|
+
instructions: z.ZodString;
|
|
603
|
+
required: z.ZodBoolean;
|
|
604
|
+
allowAbstain: z.ZodBoolean;
|
|
605
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
606
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
607
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
608
|
+
description: z.ZodString;
|
|
609
|
+
}, z.core.$strict>>>;
|
|
610
|
+
kind: z.ZodLiteral<"preference">;
|
|
611
|
+
requireStrength: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
allowTie: z.ZodBoolean;
|
|
613
|
+
}, z.core.$strict>], "kind">>;
|
|
614
|
+
}, z.core.$strict>>;
|
|
533
615
|
rubricRef: z.ZodObject<{
|
|
534
616
|
id: z.ZodString;
|
|
535
617
|
path: z.ZodString;
|
|
@@ -770,6 +852,204 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
770
852
|
}, z.core.$strict>>;
|
|
771
853
|
kind: z.ZodLiteral<"policy">;
|
|
772
854
|
content: z.ZodObject<{
|
|
855
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
856
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingHandoffOrigin.v1">;
|
|
857
|
+
teamId: z.ZodString;
|
|
858
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
859
|
+
configurationId: z.ZodString;
|
|
860
|
+
source: z.ZodObject<{
|
|
861
|
+
executionId: z.ZodString;
|
|
862
|
+
passId: z.ZodNullable<z.ZodString>;
|
|
863
|
+
manifestHash: z.ZodString;
|
|
864
|
+
resultHash: z.ZodString;
|
|
865
|
+
}, z.core.$strict>;
|
|
866
|
+
dataset: z.ZodObject<{
|
|
867
|
+
id: z.ZodString;
|
|
868
|
+
revision: z.ZodNumber;
|
|
869
|
+
contentHash: z.ZodString;
|
|
870
|
+
}, z.core.$strict>;
|
|
871
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
872
|
+
kind: z.ZodLiteral<"model">;
|
|
873
|
+
modelId: z.ZodString;
|
|
874
|
+
configurationHash: z.ZodString;
|
|
875
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
876
|
+
kind: z.ZodLiteral<"harness">;
|
|
877
|
+
source: z.ZodObject<{
|
|
878
|
+
profileId: z.ZodString;
|
|
879
|
+
sourceRevision: z.ZodString;
|
|
880
|
+
harnessRelease: z.ZodObject<{
|
|
881
|
+
id: z.ZodString;
|
|
882
|
+
contentHash: z.ZodString;
|
|
883
|
+
}, z.core.$strict>;
|
|
884
|
+
catalogHash: z.ZodString;
|
|
885
|
+
definitionId: z.ZodString;
|
|
886
|
+
definitionHash: z.ZodString;
|
|
887
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
888
|
+
kind: z.ZodLiteral<"profile">;
|
|
889
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
890
|
+
kind: z.ZodLiteral<"workflow">;
|
|
891
|
+
workflowId: z.ZodString;
|
|
892
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
893
|
+
kind: z.ZodLiteral<"skill">;
|
|
894
|
+
skillPath: z.ZodString;
|
|
895
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
896
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
897
|
+
actionId: z.ZodString;
|
|
898
|
+
}, z.core.$strict>], "kind">;
|
|
899
|
+
environmentHash: z.ZodString;
|
|
900
|
+
externalDatasetBinding: z.ZodOptional<z.ZodObject<{
|
|
901
|
+
schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
|
|
902
|
+
dataset: z.ZodObject<{
|
|
903
|
+
id: z.ZodString;
|
|
904
|
+
contentHash: z.ZodString;
|
|
905
|
+
revision: z.ZodNumber;
|
|
906
|
+
}, z.core.$strict>;
|
|
907
|
+
packageHash: z.ZodString;
|
|
908
|
+
profileId: z.ZodString;
|
|
909
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
910
|
+
kind: z.ZodLiteral<"profile">;
|
|
911
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
912
|
+
kind: z.ZodLiteral<"workflow">;
|
|
913
|
+
workflowId: z.ZodString;
|
|
914
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
915
|
+
kind: z.ZodLiteral<"skill">;
|
|
916
|
+
skillPath: z.ZodString;
|
|
917
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
918
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
919
|
+
actionId: z.ZodString;
|
|
920
|
+
}, z.core.$strict>], "kind">;
|
|
921
|
+
declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
|
|
922
|
+
protectedProfileClosureHash: z.ZodString;
|
|
923
|
+
recordedOrigin: z.ZodOptional<z.ZodObject<{
|
|
924
|
+
execution: z.ZodObject<{
|
|
925
|
+
id: z.ZodString;
|
|
926
|
+
contentHash: z.ZodString;
|
|
927
|
+
}, z.core.$strict>;
|
|
928
|
+
originalEvidence: z.ZodObject<{
|
|
929
|
+
id: z.ZodString;
|
|
930
|
+
contentHash: z.ZodString;
|
|
931
|
+
}, z.core.$strict>;
|
|
932
|
+
members: z.ZodArray<z.ZodObject<{
|
|
933
|
+
caseId: z.ZodString;
|
|
934
|
+
seed: z.ZodString;
|
|
935
|
+
fixtureId: z.ZodString;
|
|
936
|
+
sourceId: z.ZodString;
|
|
937
|
+
snapshotHash: z.ZodString;
|
|
938
|
+
boundaryRevisionHash: z.ZodString;
|
|
939
|
+
}, z.core.$strict>>;
|
|
940
|
+
}, z.core.$strict>>;
|
|
941
|
+
gradingSource: z.ZodOptional<z.ZodObject<{
|
|
942
|
+
pass: z.ZodObject<{
|
|
943
|
+
id: z.ZodString;
|
|
944
|
+
contentHash: z.ZodString;
|
|
945
|
+
}, z.core.$strict>;
|
|
946
|
+
evidence: z.ZodObject<{
|
|
947
|
+
id: z.ZodString;
|
|
948
|
+
contentHash: z.ZodString;
|
|
949
|
+
}, z.core.$strict>;
|
|
950
|
+
}, z.core.$strict>>;
|
|
951
|
+
split: z.ZodEnum<{
|
|
952
|
+
train: "train";
|
|
953
|
+
validation: "validation";
|
|
954
|
+
test: "test";
|
|
955
|
+
frozen_eval: "frozen_eval";
|
|
956
|
+
}>;
|
|
957
|
+
population: z.ZodArray<z.ZodObject<{
|
|
958
|
+
taskId: z.ZodString;
|
|
959
|
+
seed: z.ZodString;
|
|
960
|
+
fixtureId: z.ZodNullable<z.ZodString>;
|
|
961
|
+
}, z.core.$strict>>;
|
|
962
|
+
evaluators: z.ZodArray<z.ZodObject<{
|
|
963
|
+
release: z.ZodObject<{
|
|
964
|
+
id: z.ZodString;
|
|
965
|
+
contentHash: z.ZodString;
|
|
966
|
+
revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
967
|
+
}, z.core.$strict>;
|
|
968
|
+
feedbackKey: z.ZodString;
|
|
969
|
+
configurationHash: z.ZodString;
|
|
970
|
+
output: z.ZodEnum<{
|
|
971
|
+
boolean: "boolean";
|
|
972
|
+
score: "score";
|
|
973
|
+
category: "category";
|
|
974
|
+
}>;
|
|
975
|
+
categories: z.ZodArray<z.ZodString>;
|
|
976
|
+
}, z.core.$strict>>;
|
|
977
|
+
fieldMappingsHash: z.ZodString;
|
|
978
|
+
fieldMappings: z.ZodArray<z.ZodObject<{
|
|
979
|
+
graderId: z.ZodString;
|
|
980
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
981
|
+
destination: z.ZodEnum<{
|
|
982
|
+
output: "output";
|
|
983
|
+
input: "input";
|
|
984
|
+
expectedOutput: "expectedOutput";
|
|
985
|
+
evaluatorContext: "evaluatorContext";
|
|
986
|
+
}>;
|
|
987
|
+
path: z.ZodArray<z.ZodString>;
|
|
988
|
+
source: z.ZodEnum<{
|
|
989
|
+
output: "output";
|
|
990
|
+
input: "input";
|
|
991
|
+
expectedOutput: "expectedOutput";
|
|
992
|
+
evaluatorContext: "evaluatorContext";
|
|
993
|
+
}>;
|
|
994
|
+
sourcePath: z.ZodArray<z.ZodString>;
|
|
995
|
+
}, z.core.$strict>>;
|
|
996
|
+
}, z.core.$strict>>;
|
|
997
|
+
environmentHash: z.ZodString;
|
|
998
|
+
privateDatasetClosureHash: z.ZodString;
|
|
999
|
+
criterion: z.ZodObject<{
|
|
1000
|
+
minimumPassRate: z.ZodNumber;
|
|
1001
|
+
requireComplete: z.ZodBoolean;
|
|
1002
|
+
}, z.core.$strict>;
|
|
1003
|
+
contentHash: z.ZodString;
|
|
1004
|
+
}, z.core.$strict>>;
|
|
1005
|
+
sourceCandidate: z.ZodOptional<z.ZodObject<{
|
|
1006
|
+
candidateId: z.ZodString;
|
|
1007
|
+
frozenRevision: z.ZodNumber;
|
|
1008
|
+
frozenHash: z.ZodString;
|
|
1009
|
+
harnessRelease: z.ZodObject<{
|
|
1010
|
+
id: z.ZodString;
|
|
1011
|
+
contentHash: z.ZodString;
|
|
1012
|
+
}, z.core.$strict>;
|
|
1013
|
+
protectedClosureHash: z.ZodString;
|
|
1014
|
+
}, z.core.$strict>>;
|
|
1015
|
+
}, z.core.$strict>;
|
|
1016
|
+
model: z.ZodObject<{
|
|
1017
|
+
modelId: z.ZodString;
|
|
1018
|
+
configurationHash: z.ZodString;
|
|
1019
|
+
}, z.core.$strict>;
|
|
1020
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1021
|
+
kind: z.ZodLiteral<"agent">;
|
|
1022
|
+
source: z.ZodObject<{
|
|
1023
|
+
harnessRelease: z.ZodObject<{
|
|
1024
|
+
id: z.ZodString;
|
|
1025
|
+
contentHash: z.ZodString;
|
|
1026
|
+
}, z.core.$strict>;
|
|
1027
|
+
agentSnapshot: z.ZodObject<{
|
|
1028
|
+
id: z.ZodString;
|
|
1029
|
+
contentHash: z.ZodString;
|
|
1030
|
+
}, z.core.$strict>;
|
|
1031
|
+
sourcePackageHash: z.ZodString;
|
|
1032
|
+
}, z.core.$strict>;
|
|
1033
|
+
model: z.ZodObject<{
|
|
1034
|
+
modelId: z.ZodString;
|
|
1035
|
+
configurationHash: z.ZodString;
|
|
1036
|
+
}, z.core.$strict>;
|
|
1037
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1038
|
+
kind: z.ZodLiteral<"fixture">;
|
|
1039
|
+
configurationHash: z.ZodString;
|
|
1040
|
+
}, z.core.$strict>], "kind">;
|
|
1041
|
+
graders: z.ZodArray<z.ZodObject<{
|
|
1042
|
+
feedbackKey: z.ZodString;
|
|
1043
|
+
evaluator: z.ZodObject<{
|
|
1044
|
+
id: z.ZodString;
|
|
1045
|
+
contentHash: z.ZodString;
|
|
1046
|
+
}, z.core.$strict>;
|
|
1047
|
+
expectedCount: z.ZodNumber;
|
|
1048
|
+
scoredCount: z.ZodNumber;
|
|
1049
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
1050
|
+
}, z.core.$strict>>;
|
|
1051
|
+
contentHash: z.ZodString;
|
|
1052
|
+
}, z.core.$strict>>;
|
|
773
1053
|
schemaVersion: z.ZodLiteral<"openpond.learningPolicy.v1">;
|
|
774
1054
|
id: z.ZodString;
|
|
775
1055
|
revision: z.ZodNumber;
|
|
@@ -962,9 +1242,9 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
962
1242
|
stateful: z.ZodBoolean;
|
|
963
1243
|
deterministicSeeds: z.ZodBoolean;
|
|
964
1244
|
lifecycle: z.ZodArray<z.ZodEnum<{
|
|
1245
|
+
step: "step";
|
|
965
1246
|
create: "create";
|
|
966
1247
|
reset: "reset";
|
|
967
|
-
step: "step";
|
|
968
1248
|
collect: "collect";
|
|
969
1249
|
destroy: "destroy";
|
|
970
1250
|
}>>;
|
|
@@ -1095,6 +1375,83 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
1095
1375
|
}, z.core.$strict>;
|
|
1096
1376
|
}, z.core.$strict>, z.ZodObject<{
|
|
1097
1377
|
kind: z.ZodLiteral<"human">;
|
|
1378
|
+
form: z.ZodOptional<z.ZodObject<{
|
|
1379
|
+
schemaVersion: z.ZodLiteral<"openpond.humanForm.v1">;
|
|
1380
|
+
mode: z.ZodEnum<{
|
|
1381
|
+
individual: "individual";
|
|
1382
|
+
pairwise: "pairwise";
|
|
1383
|
+
}>;
|
|
1384
|
+
instructions: z.ZodString;
|
|
1385
|
+
criteria: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1386
|
+
id: z.ZodString;
|
|
1387
|
+
label: z.ZodString;
|
|
1388
|
+
instructions: z.ZodString;
|
|
1389
|
+
required: z.ZodBoolean;
|
|
1390
|
+
allowAbstain: z.ZodBoolean;
|
|
1391
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
1392
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1393
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
1394
|
+
description: z.ZodString;
|
|
1395
|
+
}, z.core.$strict>>>;
|
|
1396
|
+
kind: z.ZodLiteral<"score">;
|
|
1397
|
+
minimum: z.ZodNumber;
|
|
1398
|
+
maximum: z.ZodNumber;
|
|
1399
|
+
step: z.ZodNumber;
|
|
1400
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1401
|
+
id: z.ZodString;
|
|
1402
|
+
label: z.ZodString;
|
|
1403
|
+
instructions: z.ZodString;
|
|
1404
|
+
required: z.ZodBoolean;
|
|
1405
|
+
allowAbstain: z.ZodBoolean;
|
|
1406
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
1407
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1408
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
1409
|
+
description: z.ZodString;
|
|
1410
|
+
}, z.core.$strict>>>;
|
|
1411
|
+
kind: z.ZodLiteral<"category">;
|
|
1412
|
+
options: z.ZodArray<z.ZodString>;
|
|
1413
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1414
|
+
id: z.ZodString;
|
|
1415
|
+
label: z.ZodString;
|
|
1416
|
+
instructions: z.ZodString;
|
|
1417
|
+
required: z.ZodBoolean;
|
|
1418
|
+
allowAbstain: z.ZodBoolean;
|
|
1419
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
1420
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1421
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
1422
|
+
description: z.ZodString;
|
|
1423
|
+
}, z.core.$strict>>>;
|
|
1424
|
+
kind: z.ZodLiteral<"boolean">;
|
|
1425
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1426
|
+
id: z.ZodString;
|
|
1427
|
+
label: z.ZodString;
|
|
1428
|
+
instructions: z.ZodString;
|
|
1429
|
+
required: z.ZodBoolean;
|
|
1430
|
+
allowAbstain: z.ZodBoolean;
|
|
1431
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
1432
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1433
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
1434
|
+
description: z.ZodString;
|
|
1435
|
+
}, z.core.$strict>>>;
|
|
1436
|
+
kind: z.ZodLiteral<"text">;
|
|
1437
|
+
minimumLength: z.ZodOptional<z.ZodNumber>;
|
|
1438
|
+
maximumLength: z.ZodNumber;
|
|
1439
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1440
|
+
id: z.ZodString;
|
|
1441
|
+
label: z.ZodString;
|
|
1442
|
+
instructions: z.ZodString;
|
|
1443
|
+
required: z.ZodBoolean;
|
|
1444
|
+
allowAbstain: z.ZodBoolean;
|
|
1445
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
1446
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1447
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
1448
|
+
description: z.ZodString;
|
|
1449
|
+
}, z.core.$strict>>>;
|
|
1450
|
+
kind: z.ZodLiteral<"preference">;
|
|
1451
|
+
requireStrength: z.ZodOptional<z.ZodBoolean>;
|
|
1452
|
+
allowTie: z.ZodBoolean;
|
|
1453
|
+
}, z.core.$strict>], "kind">>;
|
|
1454
|
+
}, z.core.$strict>>;
|
|
1098
1455
|
rubricRef: z.ZodObject<{
|
|
1099
1456
|
id: z.ZodString;
|
|
1100
1457
|
path: z.ZodString;
|
|
@@ -1278,6 +1635,204 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
1278
1635
|
}, z.core.$strict> | z.ZodObject<{
|
|
1279
1636
|
kind: z.ZodLiteral<"policy">;
|
|
1280
1637
|
content: z.ZodObject<{
|
|
1638
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
1639
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingHandoffOrigin.v1">;
|
|
1640
|
+
teamId: z.ZodString;
|
|
1641
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
1642
|
+
configurationId: z.ZodString;
|
|
1643
|
+
source: z.ZodObject<{
|
|
1644
|
+
executionId: z.ZodString;
|
|
1645
|
+
passId: z.ZodNullable<z.ZodString>;
|
|
1646
|
+
manifestHash: z.ZodString;
|
|
1647
|
+
resultHash: z.ZodString;
|
|
1648
|
+
}, z.core.$strict>;
|
|
1649
|
+
dataset: z.ZodObject<{
|
|
1650
|
+
id: z.ZodString;
|
|
1651
|
+
revision: z.ZodNumber;
|
|
1652
|
+
contentHash: z.ZodString;
|
|
1653
|
+
}, z.core.$strict>;
|
|
1654
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1655
|
+
kind: z.ZodLiteral<"model">;
|
|
1656
|
+
modelId: z.ZodString;
|
|
1657
|
+
configurationHash: z.ZodString;
|
|
1658
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1659
|
+
kind: z.ZodLiteral<"harness">;
|
|
1660
|
+
source: z.ZodObject<{
|
|
1661
|
+
profileId: z.ZodString;
|
|
1662
|
+
sourceRevision: z.ZodString;
|
|
1663
|
+
harnessRelease: z.ZodObject<{
|
|
1664
|
+
id: z.ZodString;
|
|
1665
|
+
contentHash: z.ZodString;
|
|
1666
|
+
}, z.core.$strict>;
|
|
1667
|
+
catalogHash: z.ZodString;
|
|
1668
|
+
definitionId: z.ZodString;
|
|
1669
|
+
definitionHash: z.ZodString;
|
|
1670
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1671
|
+
kind: z.ZodLiteral<"profile">;
|
|
1672
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1673
|
+
kind: z.ZodLiteral<"workflow">;
|
|
1674
|
+
workflowId: z.ZodString;
|
|
1675
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1676
|
+
kind: z.ZodLiteral<"skill">;
|
|
1677
|
+
skillPath: z.ZodString;
|
|
1678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1679
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
1680
|
+
actionId: z.ZodString;
|
|
1681
|
+
}, z.core.$strict>], "kind">;
|
|
1682
|
+
environmentHash: z.ZodString;
|
|
1683
|
+
externalDatasetBinding: z.ZodOptional<z.ZodObject<{
|
|
1684
|
+
schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
|
|
1685
|
+
dataset: z.ZodObject<{
|
|
1686
|
+
id: z.ZodString;
|
|
1687
|
+
contentHash: z.ZodString;
|
|
1688
|
+
revision: z.ZodNumber;
|
|
1689
|
+
}, z.core.$strict>;
|
|
1690
|
+
packageHash: z.ZodString;
|
|
1691
|
+
profileId: z.ZodString;
|
|
1692
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1693
|
+
kind: z.ZodLiteral<"profile">;
|
|
1694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1695
|
+
kind: z.ZodLiteral<"workflow">;
|
|
1696
|
+
workflowId: z.ZodString;
|
|
1697
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1698
|
+
kind: z.ZodLiteral<"skill">;
|
|
1699
|
+
skillPath: z.ZodString;
|
|
1700
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1701
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
1702
|
+
actionId: z.ZodString;
|
|
1703
|
+
}, z.core.$strict>], "kind">;
|
|
1704
|
+
declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
|
|
1705
|
+
protectedProfileClosureHash: z.ZodString;
|
|
1706
|
+
recordedOrigin: z.ZodOptional<z.ZodObject<{
|
|
1707
|
+
execution: z.ZodObject<{
|
|
1708
|
+
id: z.ZodString;
|
|
1709
|
+
contentHash: z.ZodString;
|
|
1710
|
+
}, z.core.$strict>;
|
|
1711
|
+
originalEvidence: z.ZodObject<{
|
|
1712
|
+
id: z.ZodString;
|
|
1713
|
+
contentHash: z.ZodString;
|
|
1714
|
+
}, z.core.$strict>;
|
|
1715
|
+
members: z.ZodArray<z.ZodObject<{
|
|
1716
|
+
caseId: z.ZodString;
|
|
1717
|
+
seed: z.ZodString;
|
|
1718
|
+
fixtureId: z.ZodString;
|
|
1719
|
+
sourceId: z.ZodString;
|
|
1720
|
+
snapshotHash: z.ZodString;
|
|
1721
|
+
boundaryRevisionHash: z.ZodString;
|
|
1722
|
+
}, z.core.$strict>>;
|
|
1723
|
+
}, z.core.$strict>>;
|
|
1724
|
+
gradingSource: z.ZodOptional<z.ZodObject<{
|
|
1725
|
+
pass: z.ZodObject<{
|
|
1726
|
+
id: z.ZodString;
|
|
1727
|
+
contentHash: z.ZodString;
|
|
1728
|
+
}, z.core.$strict>;
|
|
1729
|
+
evidence: z.ZodObject<{
|
|
1730
|
+
id: z.ZodString;
|
|
1731
|
+
contentHash: z.ZodString;
|
|
1732
|
+
}, z.core.$strict>;
|
|
1733
|
+
}, z.core.$strict>>;
|
|
1734
|
+
split: z.ZodEnum<{
|
|
1735
|
+
train: "train";
|
|
1736
|
+
validation: "validation";
|
|
1737
|
+
test: "test";
|
|
1738
|
+
frozen_eval: "frozen_eval";
|
|
1739
|
+
}>;
|
|
1740
|
+
population: z.ZodArray<z.ZodObject<{
|
|
1741
|
+
taskId: z.ZodString;
|
|
1742
|
+
seed: z.ZodString;
|
|
1743
|
+
fixtureId: z.ZodNullable<z.ZodString>;
|
|
1744
|
+
}, z.core.$strict>>;
|
|
1745
|
+
evaluators: z.ZodArray<z.ZodObject<{
|
|
1746
|
+
release: z.ZodObject<{
|
|
1747
|
+
id: z.ZodString;
|
|
1748
|
+
contentHash: z.ZodString;
|
|
1749
|
+
revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1750
|
+
}, z.core.$strict>;
|
|
1751
|
+
feedbackKey: z.ZodString;
|
|
1752
|
+
configurationHash: z.ZodString;
|
|
1753
|
+
output: z.ZodEnum<{
|
|
1754
|
+
boolean: "boolean";
|
|
1755
|
+
score: "score";
|
|
1756
|
+
category: "category";
|
|
1757
|
+
}>;
|
|
1758
|
+
categories: z.ZodArray<z.ZodString>;
|
|
1759
|
+
}, z.core.$strict>>;
|
|
1760
|
+
fieldMappingsHash: z.ZodString;
|
|
1761
|
+
fieldMappings: z.ZodArray<z.ZodObject<{
|
|
1762
|
+
graderId: z.ZodString;
|
|
1763
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
1764
|
+
destination: z.ZodEnum<{
|
|
1765
|
+
output: "output";
|
|
1766
|
+
input: "input";
|
|
1767
|
+
expectedOutput: "expectedOutput";
|
|
1768
|
+
evaluatorContext: "evaluatorContext";
|
|
1769
|
+
}>;
|
|
1770
|
+
path: z.ZodArray<z.ZodString>;
|
|
1771
|
+
source: z.ZodEnum<{
|
|
1772
|
+
output: "output";
|
|
1773
|
+
input: "input";
|
|
1774
|
+
expectedOutput: "expectedOutput";
|
|
1775
|
+
evaluatorContext: "evaluatorContext";
|
|
1776
|
+
}>;
|
|
1777
|
+
sourcePath: z.ZodArray<z.ZodString>;
|
|
1778
|
+
}, z.core.$strict>>;
|
|
1779
|
+
}, z.core.$strict>>;
|
|
1780
|
+
environmentHash: z.ZodString;
|
|
1781
|
+
privateDatasetClosureHash: z.ZodString;
|
|
1782
|
+
criterion: z.ZodObject<{
|
|
1783
|
+
minimumPassRate: z.ZodNumber;
|
|
1784
|
+
requireComplete: z.ZodBoolean;
|
|
1785
|
+
}, z.core.$strict>;
|
|
1786
|
+
contentHash: z.ZodString;
|
|
1787
|
+
}, z.core.$strict>>;
|
|
1788
|
+
sourceCandidate: z.ZodOptional<z.ZodObject<{
|
|
1789
|
+
candidateId: z.ZodString;
|
|
1790
|
+
frozenRevision: z.ZodNumber;
|
|
1791
|
+
frozenHash: z.ZodString;
|
|
1792
|
+
harnessRelease: z.ZodObject<{
|
|
1793
|
+
id: z.ZodString;
|
|
1794
|
+
contentHash: z.ZodString;
|
|
1795
|
+
}, z.core.$strict>;
|
|
1796
|
+
protectedClosureHash: z.ZodString;
|
|
1797
|
+
}, z.core.$strict>>;
|
|
1798
|
+
}, z.core.$strict>;
|
|
1799
|
+
model: z.ZodObject<{
|
|
1800
|
+
modelId: z.ZodString;
|
|
1801
|
+
configurationHash: z.ZodString;
|
|
1802
|
+
}, z.core.$strict>;
|
|
1803
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1804
|
+
kind: z.ZodLiteral<"agent">;
|
|
1805
|
+
source: z.ZodObject<{
|
|
1806
|
+
harnessRelease: z.ZodObject<{
|
|
1807
|
+
id: z.ZodString;
|
|
1808
|
+
contentHash: z.ZodString;
|
|
1809
|
+
}, z.core.$strict>;
|
|
1810
|
+
agentSnapshot: z.ZodObject<{
|
|
1811
|
+
id: z.ZodString;
|
|
1812
|
+
contentHash: z.ZodString;
|
|
1813
|
+
}, z.core.$strict>;
|
|
1814
|
+
sourcePackageHash: z.ZodString;
|
|
1815
|
+
}, z.core.$strict>;
|
|
1816
|
+
model: z.ZodObject<{
|
|
1817
|
+
modelId: z.ZodString;
|
|
1818
|
+
configurationHash: z.ZodString;
|
|
1819
|
+
}, z.core.$strict>;
|
|
1820
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1821
|
+
kind: z.ZodLiteral<"fixture">;
|
|
1822
|
+
configurationHash: z.ZodString;
|
|
1823
|
+
}, z.core.$strict>], "kind">;
|
|
1824
|
+
graders: z.ZodArray<z.ZodObject<{
|
|
1825
|
+
feedbackKey: z.ZodString;
|
|
1826
|
+
evaluator: z.ZodObject<{
|
|
1827
|
+
id: z.ZodString;
|
|
1828
|
+
contentHash: z.ZodString;
|
|
1829
|
+
}, z.core.$strict>;
|
|
1830
|
+
expectedCount: z.ZodNumber;
|
|
1831
|
+
scoredCount: z.ZodNumber;
|
|
1832
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
1833
|
+
}, z.core.$strict>>;
|
|
1834
|
+
contentHash: z.ZodString;
|
|
1835
|
+
}, z.core.$strict>>;
|
|
1281
1836
|
schemaVersion: z.ZodLiteral<"openpond.learningPolicy.v1">;
|
|
1282
1837
|
id: z.ZodString;
|
|
1283
1838
|
revision: z.ZodNumber;
|
|
@@ -1518,13 +2073,13 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
1518
2073
|
}, z.core.$strict>;
|
|
1519
2074
|
expectedRevision: z.ZodNumber;
|
|
1520
2075
|
disposition: z.ZodEnum<{
|
|
1521
|
-
pending: "pending";
|
|
1522
2076
|
rejected: "rejected";
|
|
2077
|
+
pending: "pending";
|
|
1523
2078
|
approved: "approved";
|
|
1524
2079
|
}>;
|
|
1525
2080
|
targetApproval: z.ZodEnum<{
|
|
1526
|
-
pending: "pending";
|
|
1527
2081
|
rejected: "rejected";
|
|
2082
|
+
pending: "pending";
|
|
1528
2083
|
approved: "approved";
|
|
1529
2084
|
not_required: "not_required";
|
|
1530
2085
|
}>;
|
|
@@ -1588,15 +2143,15 @@ export declare const LearningReadRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1588
2143
|
scope: z.ZodString;
|
|
1589
2144
|
kind: z.ZodEnum<{
|
|
1590
2145
|
policy: "policy";
|
|
2146
|
+
evidence: "evidence";
|
|
2147
|
+
grade: "grade";
|
|
1591
2148
|
feedback: "feedback";
|
|
1592
2149
|
reward: "reward";
|
|
1593
|
-
evidence: "evidence";
|
|
1594
2150
|
source: "source";
|
|
1595
2151
|
asset: "asset";
|
|
1596
2152
|
binding: "binding";
|
|
1597
2153
|
definition: "definition";
|
|
1598
2154
|
decision: "decision";
|
|
1599
|
-
grade: "grade";
|
|
1600
2155
|
dispatch: "dispatch";
|
|
1601
2156
|
batch: "batch";
|
|
1602
2157
|
schedule: "schedule";
|
|
@@ -1616,15 +2171,15 @@ export declare const LearningReadRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1616
2171
|
scope: z.ZodString;
|
|
1617
2172
|
kind: z.ZodEnum<{
|
|
1618
2173
|
policy: "policy";
|
|
2174
|
+
evidence: "evidence";
|
|
2175
|
+
grade: "grade";
|
|
1619
2176
|
feedback: "feedback";
|
|
1620
2177
|
reward: "reward";
|
|
1621
|
-
evidence: "evidence";
|
|
1622
2178
|
source: "source";
|
|
1623
2179
|
asset: "asset";
|
|
1624
2180
|
binding: "binding";
|
|
1625
2181
|
definition: "definition";
|
|
1626
2182
|
decision: "decision";
|
|
1627
|
-
grade: "grade";
|
|
1628
2183
|
dispatch: "dispatch";
|
|
1629
2184
|
batch: "batch";
|
|
1630
2185
|
schedule: "schedule";
|
|
@@ -1696,9 +2251,9 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
1696
2251
|
stateful: z.ZodBoolean;
|
|
1697
2252
|
deterministicSeeds: z.ZodBoolean;
|
|
1698
2253
|
lifecycle: z.ZodArray<z.ZodEnum<{
|
|
2254
|
+
step: "step";
|
|
1699
2255
|
create: "create";
|
|
1700
2256
|
reset: "reset";
|
|
1701
|
-
step: "step";
|
|
1702
2257
|
collect: "collect";
|
|
1703
2258
|
destroy: "destroy";
|
|
1704
2259
|
}>>;
|
|
@@ -1874,6 +2429,83 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
1874
2429
|
}>;
|
|
1875
2430
|
}, z.core.$strict>;
|
|
1876
2431
|
reviewerRole: z.ZodString;
|
|
2432
|
+
form: z.ZodOptional<z.ZodObject<{
|
|
2433
|
+
schemaVersion: z.ZodLiteral<"openpond.humanForm.v1">;
|
|
2434
|
+
mode: z.ZodEnum<{
|
|
2435
|
+
individual: "individual";
|
|
2436
|
+
pairwise: "pairwise";
|
|
2437
|
+
}>;
|
|
2438
|
+
instructions: z.ZodString;
|
|
2439
|
+
criteria: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2440
|
+
id: z.ZodString;
|
|
2441
|
+
label: z.ZodString;
|
|
2442
|
+
instructions: z.ZodString;
|
|
2443
|
+
required: z.ZodBoolean;
|
|
2444
|
+
allowAbstain: z.ZodBoolean;
|
|
2445
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2446
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2447
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2448
|
+
description: z.ZodString;
|
|
2449
|
+
}, z.core.$strict>>>;
|
|
2450
|
+
kind: z.ZodLiteral<"score">;
|
|
2451
|
+
minimum: z.ZodNumber;
|
|
2452
|
+
maximum: z.ZodNumber;
|
|
2453
|
+
step: z.ZodNumber;
|
|
2454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2455
|
+
id: z.ZodString;
|
|
2456
|
+
label: z.ZodString;
|
|
2457
|
+
instructions: z.ZodString;
|
|
2458
|
+
required: z.ZodBoolean;
|
|
2459
|
+
allowAbstain: z.ZodBoolean;
|
|
2460
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2461
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2462
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2463
|
+
description: z.ZodString;
|
|
2464
|
+
}, z.core.$strict>>>;
|
|
2465
|
+
kind: z.ZodLiteral<"category">;
|
|
2466
|
+
options: z.ZodArray<z.ZodString>;
|
|
2467
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2468
|
+
id: z.ZodString;
|
|
2469
|
+
label: z.ZodString;
|
|
2470
|
+
instructions: z.ZodString;
|
|
2471
|
+
required: z.ZodBoolean;
|
|
2472
|
+
allowAbstain: z.ZodBoolean;
|
|
2473
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2474
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2475
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2476
|
+
description: z.ZodString;
|
|
2477
|
+
}, z.core.$strict>>>;
|
|
2478
|
+
kind: z.ZodLiteral<"boolean">;
|
|
2479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2480
|
+
id: z.ZodString;
|
|
2481
|
+
label: z.ZodString;
|
|
2482
|
+
instructions: z.ZodString;
|
|
2483
|
+
required: z.ZodBoolean;
|
|
2484
|
+
allowAbstain: z.ZodBoolean;
|
|
2485
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2486
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2487
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2488
|
+
description: z.ZodString;
|
|
2489
|
+
}, z.core.$strict>>>;
|
|
2490
|
+
kind: z.ZodLiteral<"text">;
|
|
2491
|
+
minimumLength: z.ZodOptional<z.ZodNumber>;
|
|
2492
|
+
maximumLength: z.ZodNumber;
|
|
2493
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2494
|
+
id: z.ZodString;
|
|
2495
|
+
label: z.ZodString;
|
|
2496
|
+
instructions: z.ZodString;
|
|
2497
|
+
required: z.ZodBoolean;
|
|
2498
|
+
allowAbstain: z.ZodBoolean;
|
|
2499
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2500
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2501
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2502
|
+
description: z.ZodString;
|
|
2503
|
+
}, z.core.$strict>>>;
|
|
2504
|
+
kind: z.ZodLiteral<"preference">;
|
|
2505
|
+
requireStrength: z.ZodOptional<z.ZodBoolean>;
|
|
2506
|
+
allowTie: z.ZodBoolean;
|
|
2507
|
+
}, z.core.$strict>], "kind">>;
|
|
2508
|
+
}, z.core.$strict>>;
|
|
1877
2509
|
}, z.core.$strict>]>>;
|
|
1878
2510
|
verifierSetRelease: z.ZodOptional<z.ZodObject<{
|
|
1879
2511
|
id: z.ZodString;
|
|
@@ -1985,6 +2617,83 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
1985
2617
|
}, z.core.$strict>;
|
|
1986
2618
|
}, z.core.$strict>, z.ZodObject<{
|
|
1987
2619
|
kind: z.ZodLiteral<"human">;
|
|
2620
|
+
form: z.ZodOptional<z.ZodObject<{
|
|
2621
|
+
schemaVersion: z.ZodLiteral<"openpond.humanForm.v1">;
|
|
2622
|
+
mode: z.ZodEnum<{
|
|
2623
|
+
individual: "individual";
|
|
2624
|
+
pairwise: "pairwise";
|
|
2625
|
+
}>;
|
|
2626
|
+
instructions: z.ZodString;
|
|
2627
|
+
criteria: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2628
|
+
id: z.ZodString;
|
|
2629
|
+
label: z.ZodString;
|
|
2630
|
+
instructions: z.ZodString;
|
|
2631
|
+
required: z.ZodBoolean;
|
|
2632
|
+
allowAbstain: z.ZodBoolean;
|
|
2633
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2634
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2635
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2636
|
+
description: z.ZodString;
|
|
2637
|
+
}, z.core.$strict>>>;
|
|
2638
|
+
kind: z.ZodLiteral<"score">;
|
|
2639
|
+
minimum: z.ZodNumber;
|
|
2640
|
+
maximum: z.ZodNumber;
|
|
2641
|
+
step: z.ZodNumber;
|
|
2642
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2643
|
+
id: z.ZodString;
|
|
2644
|
+
label: z.ZodString;
|
|
2645
|
+
instructions: z.ZodString;
|
|
2646
|
+
required: z.ZodBoolean;
|
|
2647
|
+
allowAbstain: z.ZodBoolean;
|
|
2648
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2649
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2650
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2651
|
+
description: z.ZodString;
|
|
2652
|
+
}, z.core.$strict>>>;
|
|
2653
|
+
kind: z.ZodLiteral<"category">;
|
|
2654
|
+
options: z.ZodArray<z.ZodString>;
|
|
2655
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2656
|
+
id: z.ZodString;
|
|
2657
|
+
label: z.ZodString;
|
|
2658
|
+
instructions: z.ZodString;
|
|
2659
|
+
required: z.ZodBoolean;
|
|
2660
|
+
allowAbstain: z.ZodBoolean;
|
|
2661
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2662
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2663
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2664
|
+
description: z.ZodString;
|
|
2665
|
+
}, z.core.$strict>>>;
|
|
2666
|
+
kind: z.ZodLiteral<"boolean">;
|
|
2667
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2668
|
+
id: z.ZodString;
|
|
2669
|
+
label: z.ZodString;
|
|
2670
|
+
instructions: z.ZodString;
|
|
2671
|
+
required: z.ZodBoolean;
|
|
2672
|
+
allowAbstain: z.ZodBoolean;
|
|
2673
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2674
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2675
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2676
|
+
description: z.ZodString;
|
|
2677
|
+
}, z.core.$strict>>>;
|
|
2678
|
+
kind: z.ZodLiteral<"text">;
|
|
2679
|
+
minimumLength: z.ZodOptional<z.ZodNumber>;
|
|
2680
|
+
maximumLength: z.ZodNumber;
|
|
2681
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2682
|
+
id: z.ZodString;
|
|
2683
|
+
label: z.ZodString;
|
|
2684
|
+
instructions: z.ZodString;
|
|
2685
|
+
required: z.ZodBoolean;
|
|
2686
|
+
allowAbstain: z.ZodBoolean;
|
|
2687
|
+
requireRationale: z.ZodOptional<z.ZodBoolean>;
|
|
2688
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2689
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
|
|
2690
|
+
description: z.ZodString;
|
|
2691
|
+
}, z.core.$strict>>>;
|
|
2692
|
+
kind: z.ZodLiteral<"preference">;
|
|
2693
|
+
requireStrength: z.ZodOptional<z.ZodBoolean>;
|
|
2694
|
+
allowTie: z.ZodBoolean;
|
|
2695
|
+
}, z.core.$strict>], "kind">>;
|
|
2696
|
+
}, z.core.$strict>>;
|
|
1988
2697
|
rubricRef: z.ZodObject<{
|
|
1989
2698
|
id: z.ZodString;
|
|
1990
2699
|
path: z.ZodString;
|
|
@@ -2160,9 +2869,9 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2160
2869
|
stateful: z.ZodBoolean;
|
|
2161
2870
|
deterministicSeeds: z.ZodBoolean;
|
|
2162
2871
|
lifecycle: z.ZodArray<z.ZodEnum<{
|
|
2872
|
+
step: "step";
|
|
2163
2873
|
create: "create";
|
|
2164
2874
|
reset: "reset";
|
|
2165
|
-
step: "step";
|
|
2166
2875
|
collect: "collect";
|
|
2167
2876
|
destroy: "destroy";
|
|
2168
2877
|
}>>;
|
|
@@ -2380,8 +3089,8 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2380
3089
|
submittedBy: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2381
3090
|
id: z.ZodString;
|
|
2382
3091
|
role: z.ZodEnum<{
|
|
2383
|
-
source: "source";
|
|
2384
3092
|
reviewer: "reviewer";
|
|
3093
|
+
source: "source";
|
|
2385
3094
|
editor: "editor";
|
|
2386
3095
|
}>;
|
|
2387
3096
|
sourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -2428,8 +3137,8 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2428
3137
|
invalid: "invalid";
|
|
2429
3138
|
}>;
|
|
2430
3139
|
taskAdmissibility: z.ZodEnum<{
|
|
2431
|
-
pending: "pending";
|
|
2432
3140
|
rejected: "rejected";
|
|
3141
|
+
pending: "pending";
|
|
2433
3142
|
approved: "approved";
|
|
2434
3143
|
}>;
|
|
2435
3144
|
observedQuality: z.ZodEnum<{
|
|
@@ -2439,8 +3148,8 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2439
3148
|
unscored: "unscored";
|
|
2440
3149
|
}>;
|
|
2441
3150
|
targetApproval: z.ZodEnum<{
|
|
2442
|
-
pending: "pending";
|
|
2443
3151
|
rejected: "rejected";
|
|
3152
|
+
pending: "pending";
|
|
2444
3153
|
approved: "approved";
|
|
2445
3154
|
not_required: "not_required";
|
|
2446
3155
|
}>;
|
|
@@ -2479,6 +3188,12 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2479
3188
|
schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
|
|
2480
3189
|
graderId: z.ZodString;
|
|
2481
3190
|
graderVersion: z.ZodString;
|
|
3191
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3192
|
+
pending: "pending";
|
|
3193
|
+
failed: "failed";
|
|
3194
|
+
scored: "scored";
|
|
3195
|
+
unavailable: "unavailable";
|
|
3196
|
+
}>>;
|
|
2482
3197
|
score: z.ZodNullable<z.ZodNumber>;
|
|
2483
3198
|
passed: z.ZodBoolean;
|
|
2484
3199
|
rewardEligible: z.ZodBoolean;
|
|
@@ -2511,6 +3226,7 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2511
3226
|
}, z.core.$strict>>;
|
|
2512
3227
|
training: z.ZodObject<{
|
|
2513
3228
|
status: z.ZodEnum<{
|
|
3229
|
+
pending: "pending";
|
|
2514
3230
|
scored: "scored";
|
|
2515
3231
|
unscorable: "unscorable";
|
|
2516
3232
|
not_configured: "not_configured";
|
|
@@ -2520,6 +3236,7 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2520
3236
|
}, z.core.$strict>;
|
|
2521
3237
|
evaluation: z.ZodObject<{
|
|
2522
3238
|
status: z.ZodEnum<{
|
|
3239
|
+
pending: "pending";
|
|
2523
3240
|
scored: "scored";
|
|
2524
3241
|
unscorable: "unscorable";
|
|
2525
3242
|
not_configured: "not_configured";
|
|
@@ -2563,6 +3280,12 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2563
3280
|
schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
|
|
2564
3281
|
graderId: z.ZodString;
|
|
2565
3282
|
graderVersion: z.ZodString;
|
|
3283
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3284
|
+
pending: "pending";
|
|
3285
|
+
failed: "failed";
|
|
3286
|
+
scored: "scored";
|
|
3287
|
+
unavailable: "unavailable";
|
|
3288
|
+
}>>;
|
|
2566
3289
|
score: z.ZodNullable<z.ZodNumber>;
|
|
2567
3290
|
passed: z.ZodBoolean;
|
|
2568
3291
|
rewardEligible: z.ZodBoolean;
|
|
@@ -2595,6 +3318,7 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2595
3318
|
}, z.core.$strict>>;
|
|
2596
3319
|
training: z.ZodObject<{
|
|
2597
3320
|
status: z.ZodEnum<{
|
|
3321
|
+
pending: "pending";
|
|
2598
3322
|
scored: "scored";
|
|
2599
3323
|
unscorable: "unscorable";
|
|
2600
3324
|
not_configured: "not_configured";
|
|
@@ -2604,6 +3328,7 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2604
3328
|
}, z.core.$strict>;
|
|
2605
3329
|
evaluation: z.ZodObject<{
|
|
2606
3330
|
status: z.ZodEnum<{
|
|
3331
|
+
pending: "pending";
|
|
2607
3332
|
scored: "scored";
|
|
2608
3333
|
unscorable: "unscorable";
|
|
2609
3334
|
not_configured: "not_configured";
|
|
@@ -2659,6 +3384,204 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2659
3384
|
sealedBy: z.ZodString;
|
|
2660
3385
|
contentHash: z.ZodString;
|
|
2661
3386
|
}, z.core.$strict> | z.ZodObject<{
|
|
3387
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
3388
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingHandoffOrigin.v1">;
|
|
3389
|
+
teamId: z.ZodString;
|
|
3390
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
3391
|
+
configurationId: z.ZodString;
|
|
3392
|
+
source: z.ZodObject<{
|
|
3393
|
+
executionId: z.ZodString;
|
|
3394
|
+
passId: z.ZodNullable<z.ZodString>;
|
|
3395
|
+
manifestHash: z.ZodString;
|
|
3396
|
+
resultHash: z.ZodString;
|
|
3397
|
+
}, z.core.$strict>;
|
|
3398
|
+
dataset: z.ZodObject<{
|
|
3399
|
+
id: z.ZodString;
|
|
3400
|
+
revision: z.ZodNumber;
|
|
3401
|
+
contentHash: z.ZodString;
|
|
3402
|
+
}, z.core.$strict>;
|
|
3403
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3404
|
+
kind: z.ZodLiteral<"model">;
|
|
3405
|
+
modelId: z.ZodString;
|
|
3406
|
+
configurationHash: z.ZodString;
|
|
3407
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3408
|
+
kind: z.ZodLiteral<"harness">;
|
|
3409
|
+
source: z.ZodObject<{
|
|
3410
|
+
profileId: z.ZodString;
|
|
3411
|
+
sourceRevision: z.ZodString;
|
|
3412
|
+
harnessRelease: z.ZodObject<{
|
|
3413
|
+
id: z.ZodString;
|
|
3414
|
+
contentHash: z.ZodString;
|
|
3415
|
+
}, z.core.$strict>;
|
|
3416
|
+
catalogHash: z.ZodString;
|
|
3417
|
+
definitionId: z.ZodString;
|
|
3418
|
+
definitionHash: z.ZodString;
|
|
3419
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3420
|
+
kind: z.ZodLiteral<"profile">;
|
|
3421
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3422
|
+
kind: z.ZodLiteral<"workflow">;
|
|
3423
|
+
workflowId: z.ZodString;
|
|
3424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3425
|
+
kind: z.ZodLiteral<"skill">;
|
|
3426
|
+
skillPath: z.ZodString;
|
|
3427
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3428
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
3429
|
+
actionId: z.ZodString;
|
|
3430
|
+
}, z.core.$strict>], "kind">;
|
|
3431
|
+
environmentHash: z.ZodString;
|
|
3432
|
+
externalDatasetBinding: z.ZodOptional<z.ZodObject<{
|
|
3433
|
+
schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
|
|
3434
|
+
dataset: z.ZodObject<{
|
|
3435
|
+
id: z.ZodString;
|
|
3436
|
+
contentHash: z.ZodString;
|
|
3437
|
+
revision: z.ZodNumber;
|
|
3438
|
+
}, z.core.$strict>;
|
|
3439
|
+
packageHash: z.ZodString;
|
|
3440
|
+
profileId: z.ZodString;
|
|
3441
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3442
|
+
kind: z.ZodLiteral<"profile">;
|
|
3443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3444
|
+
kind: z.ZodLiteral<"workflow">;
|
|
3445
|
+
workflowId: z.ZodString;
|
|
3446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3447
|
+
kind: z.ZodLiteral<"skill">;
|
|
3448
|
+
skillPath: z.ZodString;
|
|
3449
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3450
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
3451
|
+
actionId: z.ZodString;
|
|
3452
|
+
}, z.core.$strict>], "kind">;
|
|
3453
|
+
declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
|
|
3454
|
+
protectedProfileClosureHash: z.ZodString;
|
|
3455
|
+
recordedOrigin: z.ZodOptional<z.ZodObject<{
|
|
3456
|
+
execution: z.ZodObject<{
|
|
3457
|
+
id: z.ZodString;
|
|
3458
|
+
contentHash: z.ZodString;
|
|
3459
|
+
}, z.core.$strict>;
|
|
3460
|
+
originalEvidence: z.ZodObject<{
|
|
3461
|
+
id: z.ZodString;
|
|
3462
|
+
contentHash: z.ZodString;
|
|
3463
|
+
}, z.core.$strict>;
|
|
3464
|
+
members: z.ZodArray<z.ZodObject<{
|
|
3465
|
+
caseId: z.ZodString;
|
|
3466
|
+
seed: z.ZodString;
|
|
3467
|
+
fixtureId: z.ZodString;
|
|
3468
|
+
sourceId: z.ZodString;
|
|
3469
|
+
snapshotHash: z.ZodString;
|
|
3470
|
+
boundaryRevisionHash: z.ZodString;
|
|
3471
|
+
}, z.core.$strict>>;
|
|
3472
|
+
}, z.core.$strict>>;
|
|
3473
|
+
gradingSource: z.ZodOptional<z.ZodObject<{
|
|
3474
|
+
pass: z.ZodObject<{
|
|
3475
|
+
id: z.ZodString;
|
|
3476
|
+
contentHash: z.ZodString;
|
|
3477
|
+
}, z.core.$strict>;
|
|
3478
|
+
evidence: z.ZodObject<{
|
|
3479
|
+
id: z.ZodString;
|
|
3480
|
+
contentHash: z.ZodString;
|
|
3481
|
+
}, z.core.$strict>;
|
|
3482
|
+
}, z.core.$strict>>;
|
|
3483
|
+
split: z.ZodEnum<{
|
|
3484
|
+
train: "train";
|
|
3485
|
+
validation: "validation";
|
|
3486
|
+
test: "test";
|
|
3487
|
+
frozen_eval: "frozen_eval";
|
|
3488
|
+
}>;
|
|
3489
|
+
population: z.ZodArray<z.ZodObject<{
|
|
3490
|
+
taskId: z.ZodString;
|
|
3491
|
+
seed: z.ZodString;
|
|
3492
|
+
fixtureId: z.ZodNullable<z.ZodString>;
|
|
3493
|
+
}, z.core.$strict>>;
|
|
3494
|
+
evaluators: z.ZodArray<z.ZodObject<{
|
|
3495
|
+
release: z.ZodObject<{
|
|
3496
|
+
id: z.ZodString;
|
|
3497
|
+
contentHash: z.ZodString;
|
|
3498
|
+
revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
3499
|
+
}, z.core.$strict>;
|
|
3500
|
+
feedbackKey: z.ZodString;
|
|
3501
|
+
configurationHash: z.ZodString;
|
|
3502
|
+
output: z.ZodEnum<{
|
|
3503
|
+
boolean: "boolean";
|
|
3504
|
+
score: "score";
|
|
3505
|
+
category: "category";
|
|
3506
|
+
}>;
|
|
3507
|
+
categories: z.ZodArray<z.ZodString>;
|
|
3508
|
+
}, z.core.$strict>>;
|
|
3509
|
+
fieldMappingsHash: z.ZodString;
|
|
3510
|
+
fieldMappings: z.ZodArray<z.ZodObject<{
|
|
3511
|
+
graderId: z.ZodString;
|
|
3512
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3513
|
+
destination: z.ZodEnum<{
|
|
3514
|
+
output: "output";
|
|
3515
|
+
input: "input";
|
|
3516
|
+
expectedOutput: "expectedOutput";
|
|
3517
|
+
evaluatorContext: "evaluatorContext";
|
|
3518
|
+
}>;
|
|
3519
|
+
path: z.ZodArray<z.ZodString>;
|
|
3520
|
+
source: z.ZodEnum<{
|
|
3521
|
+
output: "output";
|
|
3522
|
+
input: "input";
|
|
3523
|
+
expectedOutput: "expectedOutput";
|
|
3524
|
+
evaluatorContext: "evaluatorContext";
|
|
3525
|
+
}>;
|
|
3526
|
+
sourcePath: z.ZodArray<z.ZodString>;
|
|
3527
|
+
}, z.core.$strict>>;
|
|
3528
|
+
}, z.core.$strict>>;
|
|
3529
|
+
environmentHash: z.ZodString;
|
|
3530
|
+
privateDatasetClosureHash: z.ZodString;
|
|
3531
|
+
criterion: z.ZodObject<{
|
|
3532
|
+
minimumPassRate: z.ZodNumber;
|
|
3533
|
+
requireComplete: z.ZodBoolean;
|
|
3534
|
+
}, z.core.$strict>;
|
|
3535
|
+
contentHash: z.ZodString;
|
|
3536
|
+
}, z.core.$strict>>;
|
|
3537
|
+
sourceCandidate: z.ZodOptional<z.ZodObject<{
|
|
3538
|
+
candidateId: z.ZodString;
|
|
3539
|
+
frozenRevision: z.ZodNumber;
|
|
3540
|
+
frozenHash: z.ZodString;
|
|
3541
|
+
harnessRelease: z.ZodObject<{
|
|
3542
|
+
id: z.ZodString;
|
|
3543
|
+
contentHash: z.ZodString;
|
|
3544
|
+
}, z.core.$strict>;
|
|
3545
|
+
protectedClosureHash: z.ZodString;
|
|
3546
|
+
}, z.core.$strict>>;
|
|
3547
|
+
}, z.core.$strict>;
|
|
3548
|
+
model: z.ZodObject<{
|
|
3549
|
+
modelId: z.ZodString;
|
|
3550
|
+
configurationHash: z.ZodString;
|
|
3551
|
+
}, z.core.$strict>;
|
|
3552
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3553
|
+
kind: z.ZodLiteral<"agent">;
|
|
3554
|
+
source: z.ZodObject<{
|
|
3555
|
+
harnessRelease: z.ZodObject<{
|
|
3556
|
+
id: z.ZodString;
|
|
3557
|
+
contentHash: z.ZodString;
|
|
3558
|
+
}, z.core.$strict>;
|
|
3559
|
+
agentSnapshot: z.ZodObject<{
|
|
3560
|
+
id: z.ZodString;
|
|
3561
|
+
contentHash: z.ZodString;
|
|
3562
|
+
}, z.core.$strict>;
|
|
3563
|
+
sourcePackageHash: z.ZodString;
|
|
3564
|
+
}, z.core.$strict>;
|
|
3565
|
+
model: z.ZodObject<{
|
|
3566
|
+
modelId: z.ZodString;
|
|
3567
|
+
configurationHash: z.ZodString;
|
|
3568
|
+
}, z.core.$strict>;
|
|
3569
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3570
|
+
kind: z.ZodLiteral<"fixture">;
|
|
3571
|
+
configurationHash: z.ZodString;
|
|
3572
|
+
}, z.core.$strict>], "kind">;
|
|
3573
|
+
graders: z.ZodArray<z.ZodObject<{
|
|
3574
|
+
feedbackKey: z.ZodString;
|
|
3575
|
+
evaluator: z.ZodObject<{
|
|
3576
|
+
id: z.ZodString;
|
|
3577
|
+
contentHash: z.ZodString;
|
|
3578
|
+
}, z.core.$strict>;
|
|
3579
|
+
expectedCount: z.ZodNumber;
|
|
3580
|
+
scoredCount: z.ZodNumber;
|
|
3581
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
3582
|
+
}, z.core.$strict>>;
|
|
3583
|
+
contentHash: z.ZodString;
|
|
3584
|
+
}, z.core.$strict>>;
|
|
2662
3585
|
schemaVersion: z.ZodLiteral<"openpond.learningPolicy.v1">;
|
|
2663
3586
|
id: z.ZodString;
|
|
2664
3587
|
revision: z.ZodNumber;
|
|
@@ -2775,11 +3698,11 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2775
3698
|
revision: z.ZodNumber;
|
|
2776
3699
|
}, z.core.$strict>;
|
|
2777
3700
|
status: z.ZodEnum<{
|
|
2778
|
-
|
|
2779
|
-
cancelled: "cancelled";
|
|
3701
|
+
accepted: "accepted";
|
|
2780
3702
|
rejected: "rejected";
|
|
3703
|
+
cancelled: "cancelled";
|
|
3704
|
+
failed: "failed";
|
|
2781
3705
|
training: "training";
|
|
2782
|
-
accepted: "accepted";
|
|
2783
3706
|
waiting_for_data: "waiting_for_data";
|
|
2784
3707
|
waiting_for_review: "waiting_for_review";
|
|
2785
3708
|
ready: "ready";
|
|
@@ -2870,12 +3793,12 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2870
3793
|
}>;
|
|
2871
3794
|
output: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2872
3795
|
status: z.ZodEnum<{
|
|
3796
|
+
queued: "queued";
|
|
3797
|
+
cancelled: "cancelled";
|
|
2873
3798
|
failed: "failed";
|
|
2874
3799
|
completed: "completed";
|
|
2875
|
-
cancelled: "cancelled";
|
|
2876
3800
|
running: "running";
|
|
2877
3801
|
cancelling: "cancelling";
|
|
2878
|
-
queued: "queued";
|
|
2879
3802
|
}>;
|
|
2880
3803
|
composition: z.ZodNullable<z.ZodObject<{
|
|
2881
3804
|
schemaVersion: z.ZodLiteral<"openpond.rewardComposition.v1">;
|
|
@@ -2911,6 +3834,12 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2911
3834
|
schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
|
|
2912
3835
|
graderId: z.ZodString;
|
|
2913
3836
|
graderVersion: z.ZodString;
|
|
3837
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3838
|
+
pending: "pending";
|
|
3839
|
+
failed: "failed";
|
|
3840
|
+
scored: "scored";
|
|
3841
|
+
unavailable: "unavailable";
|
|
3842
|
+
}>>;
|
|
2914
3843
|
score: z.ZodNullable<z.ZodNumber>;
|
|
2915
3844
|
passed: z.ZodBoolean;
|
|
2916
3845
|
rewardEligible: z.ZodBoolean;
|
|
@@ -2943,6 +3872,7 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2943
3872
|
}, z.core.$strict>>;
|
|
2944
3873
|
training: z.ZodObject<{
|
|
2945
3874
|
status: z.ZodEnum<{
|
|
3875
|
+
pending: "pending";
|
|
2946
3876
|
scored: "scored";
|
|
2947
3877
|
unscorable: "unscorable";
|
|
2948
3878
|
not_configured: "not_configured";
|
|
@@ -2952,6 +3882,7 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2952
3882
|
}, z.core.$strict>;
|
|
2953
3883
|
evaluation: z.ZodObject<{
|
|
2954
3884
|
status: z.ZodEnum<{
|
|
3885
|
+
pending: "pending";
|
|
2955
3886
|
scored: "scored";
|
|
2956
3887
|
unscorable: "unscorable";
|
|
2957
3888
|
not_configured: "not_configured";
|
|
@@ -3174,12 +4105,17 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
3174
4105
|
code: z.ZodString;
|
|
3175
4106
|
exportName: z.ZodString;
|
|
3176
4107
|
timeout: z.ZodString;
|
|
4108
|
+
verifierRuntime: z.ZodOptional<z.ZodEnum<{
|
|
4109
|
+
isolated_javascript: "isolated_javascript";
|
|
4110
|
+
sandbox_process: "sandbox_process";
|
|
4111
|
+
}>>;
|
|
3177
4112
|
rubric: z.ZodString;
|
|
3178
4113
|
providerId: z.ZodString;
|
|
3179
4114
|
modelId: z.ZodString;
|
|
3180
4115
|
modelRevision: z.ZodString;
|
|
3181
4116
|
temperature: z.ZodString;
|
|
3182
4117
|
reviewerRole: z.ZodString;
|
|
4118
|
+
humanForm: z.ZodOptional<z.ZodString>;
|
|
3183
4119
|
learnedId: z.ZodString;
|
|
3184
4120
|
learnedHash: z.ZodString;
|
|
3185
4121
|
inputContract: z.ZodString;
|
|
@@ -3313,11 +4249,11 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
3313
4249
|
revision: z.ZodNumber;
|
|
3314
4250
|
}, z.core.$strict>;
|
|
3315
4251
|
state: z.ZodEnum<{
|
|
4252
|
+
submitted: "submitted";
|
|
3316
4253
|
blocked: "blocked";
|
|
3317
4254
|
settled: "settled";
|
|
3318
4255
|
preparing: "preparing";
|
|
3319
4256
|
prepared: "prepared";
|
|
3320
|
-
submitted: "submitted";
|
|
3321
4257
|
}>;
|
|
3322
4258
|
submission: z.ZodNullable<z.ZodObject<{
|
|
3323
4259
|
provider: z.ZodString;
|
|
@@ -3428,12 +4364,12 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
3428
4364
|
contentHash: z.ZodString;
|
|
3429
4365
|
}, z.core.$strict>>;
|
|
3430
4366
|
status: z.ZodEnum<{
|
|
4367
|
+
queued: "queued";
|
|
4368
|
+
cancelled: "cancelled";
|
|
3431
4369
|
failed: "failed";
|
|
3432
4370
|
completed: "completed";
|
|
3433
|
-
cancelled: "cancelled";
|
|
3434
4371
|
running: "running";
|
|
3435
4372
|
cancelling: "cancelling";
|
|
3436
|
-
queued: "queued";
|
|
3437
4373
|
}>;
|
|
3438
4374
|
runtime: z.ZodNullable<z.ZodObject<{
|
|
3439
4375
|
id: z.ZodString;
|
|
@@ -3470,6 +4406,12 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
3470
4406
|
schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
|
|
3471
4407
|
graderId: z.ZodString;
|
|
3472
4408
|
graderVersion: z.ZodString;
|
|
4409
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
4410
|
+
pending: "pending";
|
|
4411
|
+
failed: "failed";
|
|
4412
|
+
scored: "scored";
|
|
4413
|
+
unavailable: "unavailable";
|
|
4414
|
+
}>>;
|
|
3473
4415
|
score: z.ZodNullable<z.ZodNumber>;
|
|
3474
4416
|
passed: z.ZodBoolean;
|
|
3475
4417
|
rewardEligible: z.ZodBoolean;
|