openpond-sdk 0.12.22 → 0.12.24
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/TRAINING_WORKFLOWS.md +17 -0
- package/dist/{chunk-LEVXD73U.js → chunk-KEG5QS7W.js} +8 -1
- package/dist/chunk-KEG5QS7W.js.map +1 -0
- package/dist/training-bundle.js +1 -1
- package/dist/training.js +113 -18
- package/dist/training.js.map +1 -1
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts +102 -8
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-neuron-training-executions.d.ts +242 -21
- package/dist/types/packages/sdk/src/managed-neuron-training-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/neuron-training-artifact.d.ts +42 -3
- package/dist/types/packages/sdk/src/neuron-training-artifact.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/neuron-training-experiment-draft.d.ts +16 -1
- package/dist/types/packages/sdk/src/neuron-training-experiment-draft.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/neuron-training-model-serving.d.ts +168 -16
- package/dist/types/packages/sdk/src/neuron-training-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/neuron-training-result.d.ts +42 -3
- package/dist/types/packages/sdk/src/neuron-training-result.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/neuron-training.d.ts +23 -2
- package/dist/types/packages/sdk/src/neuron-training.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/steering-model-serving.d.ts +42 -4
- package/dist/types/packages/sdk/src/steering-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/steering-profile-publication.d.ts +84 -8
- package/dist/types/packages/sdk/src/steering-profile-publication.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts +45 -2
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-preparations.d.ts +1770 -485
- package/dist/types/packages/sdk/src/training-preparations.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-usage-funding.d.ts +23 -0
- package/dist/types/packages/sdk/src/training-usage-funding.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training.d.ts +792 -74
- package/dist/types/packages/sdk/src/training.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-experiment-authoring.d.ts +5 -2
- package/dist/types/packages/sdk/src/weight-experiment-authoring.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-model-versions.d.ts +168 -16
- package/dist/types/packages/sdk/src/weight-model-versions.d.ts.map +1 -1
- package/fixtures/python-foundation/schemas.json +8701 -8344
- package/package.json +1 -1
- package/dist/chunk-LEVXD73U.js.map +0 -1
|
@@ -794,6 +794,11 @@ export declare const TrainingPreparationPlanContentSchema: z.ZodObject<{
|
|
|
794
794
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
795
795
|
maximumWallSeconds: z.ZodNumber;
|
|
796
796
|
retentionDays: z.ZodNumber;
|
|
797
|
+
qualification: z.ZodOptional<z.ZodObject<{
|
|
798
|
+
authorizationId: z.ZodUUID;
|
|
799
|
+
operationId: z.ZodString;
|
|
800
|
+
authorizationSha256: z.ZodString;
|
|
801
|
+
}, z.core.$strict>>;
|
|
797
802
|
gpu: z.ZodObject<{
|
|
798
803
|
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
799
804
|
version: z.ZodString;
|
|
@@ -1385,6 +1390,11 @@ export declare const TrainingPreparationPlanSchema: z.ZodObject<{
|
|
|
1385
1390
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
1386
1391
|
maximumWallSeconds: z.ZodNumber;
|
|
1387
1392
|
retentionDays: z.ZodNumber;
|
|
1393
|
+
qualification: z.ZodOptional<z.ZodObject<{
|
|
1394
|
+
authorizationId: z.ZodUUID;
|
|
1395
|
+
operationId: z.ZodString;
|
|
1396
|
+
authorizationSha256: z.ZodString;
|
|
1397
|
+
}, z.core.$strict>>;
|
|
1388
1398
|
gpu: z.ZodObject<{
|
|
1389
1399
|
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
1390
1400
|
version: z.ZodString;
|
|
@@ -1979,6 +1989,11 @@ export declare const TrainingPreparationReceiptSchema: z.ZodObject<{
|
|
|
1979
1989
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
1980
1990
|
maximumWallSeconds: z.ZodNumber;
|
|
1981
1991
|
retentionDays: z.ZodNumber;
|
|
1992
|
+
qualification: z.ZodOptional<z.ZodObject<{
|
|
1993
|
+
authorizationId: z.ZodUUID;
|
|
1994
|
+
operationId: z.ZodString;
|
|
1995
|
+
authorizationSha256: z.ZodString;
|
|
1996
|
+
}, z.core.$strict>>;
|
|
1982
1997
|
gpu: z.ZodObject<{
|
|
1983
1998
|
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
1984
1999
|
version: z.ZodString;
|
|
@@ -2608,6 +2623,11 @@ export declare const TrainingPreparationPageSchema: z.ZodObject<{
|
|
|
2608
2623
|
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
2609
2624
|
maximumWallSeconds: z.ZodNumber;
|
|
2610
2625
|
retentionDays: z.ZodNumber;
|
|
2626
|
+
qualification: z.ZodOptional<z.ZodObject<{
|
|
2627
|
+
authorizationId: z.ZodUUID;
|
|
2628
|
+
operationId: z.ZodString;
|
|
2629
|
+
authorizationSha256: z.ZodString;
|
|
2630
|
+
}, z.core.$strict>>;
|
|
2611
2631
|
gpu: z.ZodObject<{
|
|
2612
2632
|
schemaVersion: z.ZodLiteral<"openpond.computeAppliedPrice.v1">;
|
|
2613
2633
|
version: z.ZodString;
|
|
@@ -2698,301 +2718,1515 @@ export type TrainingPreparationReceipt = z.infer<typeof TrainingPreparationRecei
|
|
|
2698
2718
|
export type TrainingPreparationControl = z.infer<typeof TrainingPreparationControlSchema>;
|
|
2699
2719
|
export type TrainingPreparationListQuery = z.input<typeof TrainingPreparationListQuerySchema>;
|
|
2700
2720
|
export type TrainingPreparationPage = z.infer<typeof TrainingPreparationPageSchema>;
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
}
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2721
|
+
/** Imports an unchanged authored SFT artifact into the existing preparation
|
|
2722
|
+
* owner. The reference is a lookup/binding, never permission to run an
|
|
2723
|
+
* unqualified image. Only an exact live server-owned staging grant may admit it. */
|
|
2724
|
+
export declare const TrainingSftQualificationPreparationImportSchema: z.ZodObject<{
|
|
2725
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingSftQualificationPreparationImport.v1">;
|
|
2726
|
+
preparationId: z.ZodString;
|
|
2727
|
+
qualification: z.ZodObject<{
|
|
2728
|
+
authorizationId: z.ZodUUID;
|
|
2729
|
+
operationId: z.ZodString;
|
|
2730
|
+
authorizationSha256: z.ZodString;
|
|
2731
|
+
}, z.core.$strict>;
|
|
2732
|
+
request: z.ZodObject<{
|
|
2733
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingPreparationRequest.v1">;
|
|
2734
|
+
teamId: z.ZodString;
|
|
2735
|
+
operationId: z.ZodString;
|
|
2736
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
2737
|
+
configuration: z.ZodObject<{
|
|
2738
|
+
id: z.ZodString;
|
|
2739
|
+
expectedRevision: z.ZodNumber;
|
|
2740
|
+
expectedEtag: z.ZodString;
|
|
2741
|
+
}, z.core.$strict>;
|
|
2742
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
2743
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingHandoffOrigin.v1">;
|
|
2744
|
+
teamId: z.ZodString;
|
|
2745
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
2746
|
+
configurationId: z.ZodString;
|
|
2747
|
+
source: z.ZodObject<{
|
|
2748
|
+
executionId: z.ZodString;
|
|
2749
|
+
passId: z.ZodNullable<z.ZodString>;
|
|
2750
|
+
manifestHash: z.ZodString;
|
|
2751
|
+
resultHash: z.ZodString;
|
|
2752
|
+
}, z.core.$strict>;
|
|
2753
|
+
dataset: z.ZodObject<{
|
|
2754
|
+
id: z.ZodString;
|
|
2755
|
+
revision: z.ZodNumber;
|
|
2756
|
+
contentHash: z.ZodString;
|
|
2757
|
+
}, z.core.$strict>;
|
|
2758
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2759
|
+
kind: z.ZodLiteral<"model">;
|
|
2760
|
+
modelId: z.ZodString;
|
|
2761
|
+
configurationHash: z.ZodString;
|
|
2762
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2763
|
+
kind: z.ZodLiteral<"harness">;
|
|
2764
|
+
source: z.ZodObject<{
|
|
2765
|
+
profileId: z.ZodString;
|
|
2766
|
+
sourceRevision: z.ZodString;
|
|
2767
|
+
harnessRelease: z.ZodObject<{
|
|
2768
|
+
id: z.ZodString;
|
|
2769
|
+
contentHash: z.ZodString;
|
|
2770
|
+
}, z.core.$strict>;
|
|
2771
|
+
catalogHash: z.ZodString;
|
|
2772
|
+
definitionId: z.ZodString;
|
|
2773
|
+
definitionHash: z.ZodString;
|
|
2774
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2775
|
+
kind: z.ZodLiteral<"profile">;
|
|
2776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2777
|
+
kind: z.ZodLiteral<"workflow">;
|
|
2778
|
+
workflowId: z.ZodString;
|
|
2779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2780
|
+
kind: z.ZodLiteral<"skill">;
|
|
2781
|
+
skillPath: z.ZodString;
|
|
2782
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2783
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
2784
|
+
actionId: z.ZodString;
|
|
2785
|
+
}, z.core.$strict>], "kind">;
|
|
2786
|
+
environmentHash: z.ZodString;
|
|
2787
|
+
externalDatasetBinding: z.ZodOptional<z.ZodObject<{
|
|
2788
|
+
schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
|
|
2789
|
+
dataset: z.ZodObject<{
|
|
2790
|
+
id: z.ZodString;
|
|
2791
|
+
contentHash: z.ZodString;
|
|
2792
|
+
revision: z.ZodNumber;
|
|
2793
|
+
}, z.core.$strict>;
|
|
2794
|
+
packageHash: z.ZodString;
|
|
2795
|
+
profileId: z.ZodString;
|
|
2796
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2797
|
+
kind: z.ZodLiteral<"profile">;
|
|
2798
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2799
|
+
kind: z.ZodLiteral<"workflow">;
|
|
2800
|
+
workflowId: z.ZodString;
|
|
2801
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2802
|
+
kind: z.ZodLiteral<"skill">;
|
|
2803
|
+
skillPath: z.ZodString;
|
|
2804
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2805
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
2806
|
+
actionId: z.ZodString;
|
|
2807
|
+
}, z.core.$strict>], "kind">;
|
|
2808
|
+
declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
|
|
2809
|
+
protectedProfileClosureHash: z.ZodString;
|
|
2810
|
+
recordedOrigin: z.ZodOptional<z.ZodObject<{
|
|
2811
|
+
execution: z.ZodObject<{
|
|
2812
|
+
id: z.ZodString;
|
|
2813
|
+
contentHash: z.ZodString;
|
|
2814
|
+
}, z.core.$strict>;
|
|
2815
|
+
originalEvidence: z.ZodObject<{
|
|
2816
|
+
id: z.ZodString;
|
|
2817
|
+
contentHash: z.ZodString;
|
|
2818
|
+
}, z.core.$strict>;
|
|
2819
|
+
members: z.ZodArray<z.ZodObject<{
|
|
2820
|
+
caseId: z.ZodString;
|
|
2821
|
+
seed: z.ZodString;
|
|
2822
|
+
fixtureId: z.ZodString;
|
|
2823
|
+
sourceId: z.ZodString;
|
|
2824
|
+
snapshotHash: z.ZodString;
|
|
2825
|
+
boundaryRevisionHash: z.ZodString;
|
|
2826
|
+
}, z.core.$strict>>;
|
|
2827
|
+
}, z.core.$strict>>;
|
|
2828
|
+
gradingSource: z.ZodOptional<z.ZodObject<{
|
|
2829
|
+
pass: z.ZodObject<{
|
|
2830
|
+
id: z.ZodString;
|
|
2831
|
+
contentHash: z.ZodString;
|
|
2832
|
+
}, z.core.$strict>;
|
|
2833
|
+
evidence: z.ZodObject<{
|
|
2834
|
+
id: z.ZodString;
|
|
2835
|
+
contentHash: z.ZodString;
|
|
2836
|
+
}, z.core.$strict>;
|
|
2837
|
+
}, z.core.$strict>>;
|
|
2838
|
+
split: z.ZodEnum<{
|
|
2839
|
+
frozen_eval: "frozen_eval";
|
|
2840
|
+
test: "test";
|
|
2841
|
+
train: "train";
|
|
2842
|
+
validation: "validation";
|
|
2843
|
+
}>;
|
|
2844
|
+
population: z.ZodArray<z.ZodObject<{
|
|
2845
|
+
taskId: z.ZodString;
|
|
2846
|
+
seed: z.ZodString;
|
|
2847
|
+
fixtureId: z.ZodNullable<z.ZodString>;
|
|
2848
|
+
}, z.core.$strict>>;
|
|
2849
|
+
evaluators: z.ZodArray<z.ZodObject<{
|
|
2850
|
+
release: z.ZodObject<{
|
|
2851
|
+
id: z.ZodString;
|
|
2852
|
+
contentHash: z.ZodString;
|
|
2853
|
+
revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2854
|
+
}, z.core.$strict>;
|
|
2855
|
+
feedbackKey: z.ZodString;
|
|
2856
|
+
configurationHash: z.ZodString;
|
|
2857
|
+
output: z.ZodEnum<{
|
|
2858
|
+
boolean: "boolean";
|
|
2859
|
+
category: "category";
|
|
2860
|
+
score: "score";
|
|
2861
|
+
}>;
|
|
2862
|
+
categories: z.ZodArray<z.ZodString>;
|
|
2863
|
+
}, z.core.$strict>>;
|
|
2864
|
+
fieldMappingsHash: z.ZodString;
|
|
2865
|
+
fieldMappings: z.ZodArray<z.ZodObject<{
|
|
2866
|
+
graderId: z.ZodString;
|
|
2867
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
2868
|
+
destination: z.ZodEnum<{
|
|
2869
|
+
evaluatorContext: "evaluatorContext";
|
|
2870
|
+
expectedOutput: "expectedOutput";
|
|
2871
|
+
input: "input";
|
|
2872
|
+
output: "output";
|
|
2873
|
+
}>;
|
|
2874
|
+
path: z.ZodArray<z.ZodString>;
|
|
2875
|
+
source: z.ZodEnum<{
|
|
2876
|
+
evaluatorContext: "evaluatorContext";
|
|
2877
|
+
expectedOutput: "expectedOutput";
|
|
2878
|
+
input: "input";
|
|
2879
|
+
output: "output";
|
|
2880
|
+
}>;
|
|
2881
|
+
sourcePath: z.ZodArray<z.ZodString>;
|
|
2882
|
+
}, z.core.$strict>>;
|
|
2883
|
+
}, z.core.$strict>>;
|
|
2884
|
+
environmentHash: z.ZodString;
|
|
2885
|
+
privateDatasetClosureHash: z.ZodString;
|
|
2886
|
+
criterion: z.ZodObject<{
|
|
2887
|
+
minimumPassRate: z.ZodNumber;
|
|
2888
|
+
requireComplete: z.ZodBoolean;
|
|
2889
|
+
}, z.core.$strict>;
|
|
2890
|
+
contentHash: z.ZodString;
|
|
2891
|
+
}, z.core.$strict>>;
|
|
2892
|
+
sourceCandidate: z.ZodOptional<z.ZodObject<{
|
|
2893
|
+
candidateId: z.ZodString;
|
|
2894
|
+
frozenRevision: z.ZodNumber;
|
|
2895
|
+
frozenHash: z.ZodString;
|
|
2896
|
+
harnessRelease: z.ZodObject<{
|
|
2897
|
+
id: z.ZodString;
|
|
2898
|
+
contentHash: z.ZodString;
|
|
2899
|
+
}, z.core.$strict>;
|
|
2900
|
+
protectedClosureHash: z.ZodString;
|
|
2901
|
+
}, z.core.$strict>>;
|
|
2902
|
+
}, z.core.$strict>;
|
|
2903
|
+
model: z.ZodObject<{
|
|
2904
|
+
modelId: z.ZodString;
|
|
2905
|
+
configurationHash: z.ZodString;
|
|
2906
|
+
}, z.core.$strict>;
|
|
2907
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2908
|
+
kind: z.ZodLiteral<"agent">;
|
|
2909
|
+
source: z.ZodObject<{
|
|
2910
|
+
harnessRelease: z.ZodObject<{
|
|
2911
|
+
id: z.ZodString;
|
|
2912
|
+
contentHash: z.ZodString;
|
|
2913
|
+
}, z.core.$strict>;
|
|
2914
|
+
agentSnapshot: z.ZodObject<{
|
|
2915
|
+
id: z.ZodString;
|
|
2916
|
+
contentHash: z.ZodString;
|
|
2917
|
+
}, z.core.$strict>;
|
|
2918
|
+
sourcePackageHash: z.ZodString;
|
|
2919
|
+
}, z.core.$strict>;
|
|
2920
|
+
model: z.ZodObject<{
|
|
2921
|
+
modelId: z.ZodString;
|
|
2922
|
+
configurationHash: z.ZodString;
|
|
2923
|
+
}, z.core.$strict>;
|
|
2924
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2925
|
+
kind: z.ZodLiteral<"fixture">;
|
|
2926
|
+
configurationHash: z.ZodString;
|
|
2927
|
+
}, z.core.$strict>], "kind">;
|
|
2928
|
+
graders: z.ZodArray<z.ZodObject<{
|
|
2929
|
+
feedbackKey: z.ZodString;
|
|
2930
|
+
evaluator: z.ZodObject<{
|
|
2931
|
+
id: z.ZodString;
|
|
2932
|
+
contentHash: z.ZodString;
|
|
2933
|
+
}, z.core.$strict>;
|
|
2934
|
+
expectedCount: z.ZodNumber;
|
|
2935
|
+
scoredCount: z.ZodNumber;
|
|
2936
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
2937
|
+
}, z.core.$strict>>;
|
|
2938
|
+
contentHash: z.ZodString;
|
|
2939
|
+
}, z.core.$strict>>;
|
|
2940
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
2941
|
+
jobId: z.ZodString;
|
|
2942
|
+
artifact: z.ZodObject<{
|
|
2943
|
+
id: z.ZodString;
|
|
2944
|
+
contentHash: z.ZodString;
|
|
2945
|
+
}, z.core.$strict>;
|
|
2946
|
+
checkpointId: z.ZodString;
|
|
2947
|
+
adapterMode: z.ZodEnum<{
|
|
2948
|
+
residual_append: "residual_append";
|
|
2949
|
+
sequential_merge: "sequential_merge";
|
|
2950
|
+
shared: "shared";
|
|
2951
|
+
}>;
|
|
2952
|
+
}, z.core.$strict>>;
|
|
2953
|
+
batch: z.ZodObject<{
|
|
2954
|
+
id: z.ZodString;
|
|
2955
|
+
contentHash: z.ZodString;
|
|
2956
|
+
revision: z.ZodNumber;
|
|
2957
|
+
}, z.core.$strict>;
|
|
2958
|
+
name: z.ZodString;
|
|
2959
|
+
maximumSpendUsd: z.ZodNumber;
|
|
2960
|
+
usageFunding: z.ZodOptional<z.ZodObject<{
|
|
2961
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingUsageFundingRequest.v1">;
|
|
2962
|
+
billingMode: z.ZodLiteral<"actual_usage">;
|
|
2963
|
+
customerCapUsd: z.ZodNullable<z.ZodString>;
|
|
2964
|
+
}, z.core.$strict>>;
|
|
2965
|
+
gpuSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2966
|
+
mode: z.ZodLiteral<"automatic">;
|
|
2967
|
+
objective: z.ZodEnum<{
|
|
2968
|
+
balanced: "balanced";
|
|
2969
|
+
economical: "economical";
|
|
2970
|
+
fast: "fast";
|
|
2971
|
+
}>;
|
|
2972
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2974
|
+
mode: z.ZodLiteral<"manual">;
|
|
2975
|
+
availabilityId: z.ZodString;
|
|
2976
|
+
gpuType: z.ZodString;
|
|
2977
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
2978
|
+
}, z.core.$strict>], "mode">>;
|
|
2979
|
+
physicalPlacement: z.ZodOptional<z.ZodObject<{
|
|
2980
|
+
mode: z.ZodLiteral<"reuse_only">;
|
|
2981
|
+
physicalWorkerId: z.ZodString;
|
|
2982
|
+
providerPodId: z.ZodString;
|
|
2983
|
+
workerImageDigest: z.ZodString;
|
|
2984
|
+
baseProfileSha256: z.ZodString;
|
|
2985
|
+
gpuType: z.ZodString;
|
|
2986
|
+
sourceJobId: z.ZodString;
|
|
2987
|
+
sourceInputManifestSha256: z.ZodString;
|
|
2988
|
+
ownerTeamId: z.ZodString;
|
|
2989
|
+
deadlineAt: z.ZodString;
|
|
2990
|
+
}, z.core.$strict>>;
|
|
2991
|
+
}, z.core.$strict>;
|
|
2992
|
+
submission: z.ZodObject<{
|
|
2993
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingJobSubmission.v2">;
|
|
2994
|
+
idempotencyKey: z.ZodString;
|
|
2995
|
+
name: z.ZodString;
|
|
2996
|
+
source: z.ZodObject<{
|
|
2997
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
2998
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingHandoffOrigin.v1">;
|
|
2999
|
+
teamId: z.ZodString;
|
|
3000
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
3001
|
+
configurationId: z.ZodString;
|
|
3002
|
+
source: z.ZodObject<{
|
|
3003
|
+
executionId: z.ZodString;
|
|
3004
|
+
passId: z.ZodNullable<z.ZodString>;
|
|
3005
|
+
manifestHash: z.ZodString;
|
|
3006
|
+
resultHash: z.ZodString;
|
|
3007
|
+
}, z.core.$strict>;
|
|
3008
|
+
dataset: z.ZodObject<{
|
|
3009
|
+
id: z.ZodString;
|
|
3010
|
+
revision: z.ZodNumber;
|
|
3011
|
+
contentHash: z.ZodString;
|
|
3012
|
+
}, z.core.$strict>;
|
|
3013
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3014
|
+
kind: z.ZodLiteral<"model">;
|
|
3015
|
+
modelId: z.ZodString;
|
|
3016
|
+
configurationHash: z.ZodString;
|
|
3017
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3018
|
+
kind: z.ZodLiteral<"harness">;
|
|
3019
|
+
source: z.ZodObject<{
|
|
3020
|
+
profileId: z.ZodString;
|
|
3021
|
+
sourceRevision: z.ZodString;
|
|
3022
|
+
harnessRelease: z.ZodObject<{
|
|
3023
|
+
id: z.ZodString;
|
|
3024
|
+
contentHash: z.ZodString;
|
|
3025
|
+
}, z.core.$strict>;
|
|
3026
|
+
catalogHash: z.ZodString;
|
|
3027
|
+
definitionId: z.ZodString;
|
|
3028
|
+
definitionHash: z.ZodString;
|
|
3029
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3030
|
+
kind: z.ZodLiteral<"profile">;
|
|
3031
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3032
|
+
kind: z.ZodLiteral<"workflow">;
|
|
3033
|
+
workflowId: z.ZodString;
|
|
3034
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3035
|
+
kind: z.ZodLiteral<"skill">;
|
|
3036
|
+
skillPath: z.ZodString;
|
|
3037
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3038
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
3039
|
+
actionId: z.ZodString;
|
|
3040
|
+
}, z.core.$strict>], "kind">;
|
|
3041
|
+
environmentHash: z.ZodString;
|
|
3042
|
+
externalDatasetBinding: z.ZodOptional<z.ZodObject<{
|
|
3043
|
+
schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
|
|
3044
|
+
dataset: z.ZodObject<{
|
|
3045
|
+
id: z.ZodString;
|
|
3046
|
+
contentHash: z.ZodString;
|
|
3047
|
+
revision: z.ZodNumber;
|
|
3048
|
+
}, z.core.$strict>;
|
|
3049
|
+
packageHash: z.ZodString;
|
|
3050
|
+
profileId: z.ZodString;
|
|
3051
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3052
|
+
kind: z.ZodLiteral<"profile">;
|
|
3053
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3054
|
+
kind: z.ZodLiteral<"workflow">;
|
|
3055
|
+
workflowId: z.ZodString;
|
|
3056
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3057
|
+
kind: z.ZodLiteral<"skill">;
|
|
3058
|
+
skillPath: z.ZodString;
|
|
3059
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3060
|
+
kind: z.ZodLiteral<"agent_action">;
|
|
3061
|
+
actionId: z.ZodString;
|
|
3062
|
+
}, z.core.$strict>], "kind">;
|
|
3063
|
+
declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
|
|
3064
|
+
protectedProfileClosureHash: z.ZodString;
|
|
3065
|
+
recordedOrigin: z.ZodOptional<z.ZodObject<{
|
|
3066
|
+
execution: z.ZodObject<{
|
|
3067
|
+
id: z.ZodString;
|
|
3068
|
+
contentHash: z.ZodString;
|
|
3069
|
+
}, z.core.$strict>;
|
|
3070
|
+
originalEvidence: z.ZodObject<{
|
|
3071
|
+
id: z.ZodString;
|
|
3072
|
+
contentHash: z.ZodString;
|
|
3073
|
+
}, z.core.$strict>;
|
|
3074
|
+
members: z.ZodArray<z.ZodObject<{
|
|
3075
|
+
caseId: z.ZodString;
|
|
3076
|
+
seed: z.ZodString;
|
|
3077
|
+
fixtureId: z.ZodString;
|
|
3078
|
+
sourceId: z.ZodString;
|
|
3079
|
+
snapshotHash: z.ZodString;
|
|
3080
|
+
boundaryRevisionHash: z.ZodString;
|
|
3081
|
+
}, z.core.$strict>>;
|
|
3082
|
+
}, z.core.$strict>>;
|
|
3083
|
+
gradingSource: z.ZodOptional<z.ZodObject<{
|
|
3084
|
+
pass: z.ZodObject<{
|
|
3085
|
+
id: z.ZodString;
|
|
3086
|
+
contentHash: z.ZodString;
|
|
3087
|
+
}, z.core.$strict>;
|
|
3088
|
+
evidence: z.ZodObject<{
|
|
3089
|
+
id: z.ZodString;
|
|
3090
|
+
contentHash: z.ZodString;
|
|
3091
|
+
}, z.core.$strict>;
|
|
3092
|
+
}, z.core.$strict>>;
|
|
3093
|
+
split: z.ZodEnum<{
|
|
3094
|
+
frozen_eval: "frozen_eval";
|
|
3095
|
+
test: "test";
|
|
3096
|
+
train: "train";
|
|
3097
|
+
validation: "validation";
|
|
3098
|
+
}>;
|
|
3099
|
+
population: z.ZodArray<z.ZodObject<{
|
|
3100
|
+
taskId: z.ZodString;
|
|
3101
|
+
seed: z.ZodString;
|
|
3102
|
+
fixtureId: z.ZodNullable<z.ZodString>;
|
|
3103
|
+
}, z.core.$strict>>;
|
|
3104
|
+
evaluators: z.ZodArray<z.ZodObject<{
|
|
3105
|
+
release: z.ZodObject<{
|
|
3106
|
+
id: z.ZodString;
|
|
3107
|
+
contentHash: z.ZodString;
|
|
3108
|
+
revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
3109
|
+
}, z.core.$strict>;
|
|
3110
|
+
feedbackKey: z.ZodString;
|
|
3111
|
+
configurationHash: z.ZodString;
|
|
3112
|
+
output: z.ZodEnum<{
|
|
3113
|
+
boolean: "boolean";
|
|
3114
|
+
category: "category";
|
|
3115
|
+
score: "score";
|
|
3116
|
+
}>;
|
|
3117
|
+
categories: z.ZodArray<z.ZodString>;
|
|
3118
|
+
}, z.core.$strict>>;
|
|
3119
|
+
fieldMappingsHash: z.ZodString;
|
|
3120
|
+
fieldMappings: z.ZodArray<z.ZodObject<{
|
|
3121
|
+
graderId: z.ZodString;
|
|
3122
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3123
|
+
destination: z.ZodEnum<{
|
|
3124
|
+
evaluatorContext: "evaluatorContext";
|
|
3125
|
+
expectedOutput: "expectedOutput";
|
|
3126
|
+
input: "input";
|
|
3127
|
+
output: "output";
|
|
3128
|
+
}>;
|
|
3129
|
+
path: z.ZodArray<z.ZodString>;
|
|
3130
|
+
source: z.ZodEnum<{
|
|
3131
|
+
evaluatorContext: "evaluatorContext";
|
|
3132
|
+
expectedOutput: "expectedOutput";
|
|
3133
|
+
input: "input";
|
|
3134
|
+
output: "output";
|
|
3135
|
+
}>;
|
|
3136
|
+
sourcePath: z.ZodArray<z.ZodString>;
|
|
3137
|
+
}, z.core.$strict>>;
|
|
3138
|
+
}, z.core.$strict>>;
|
|
3139
|
+
environmentHash: z.ZodString;
|
|
3140
|
+
privateDatasetClosureHash: z.ZodString;
|
|
3141
|
+
criterion: z.ZodObject<{
|
|
3142
|
+
minimumPassRate: z.ZodNumber;
|
|
3143
|
+
requireComplete: z.ZodBoolean;
|
|
3144
|
+
}, z.core.$strict>;
|
|
3145
|
+
contentHash: z.ZodString;
|
|
3146
|
+
}, z.core.$strict>>;
|
|
3147
|
+
sourceCandidate: z.ZodOptional<z.ZodObject<{
|
|
3148
|
+
candidateId: z.ZodString;
|
|
3149
|
+
frozenRevision: z.ZodNumber;
|
|
3150
|
+
frozenHash: z.ZodString;
|
|
3151
|
+
harnessRelease: z.ZodObject<{
|
|
3152
|
+
id: z.ZodString;
|
|
3153
|
+
contentHash: z.ZodString;
|
|
3154
|
+
}, z.core.$strict>;
|
|
3155
|
+
protectedClosureHash: z.ZodString;
|
|
3156
|
+
}, z.core.$strict>>;
|
|
3157
|
+
}, z.core.$strict>;
|
|
3158
|
+
model: z.ZodObject<{
|
|
3159
|
+
modelId: z.ZodString;
|
|
3160
|
+
configurationHash: z.ZodString;
|
|
3161
|
+
}, z.core.$strict>;
|
|
3162
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3163
|
+
kind: z.ZodLiteral<"agent">;
|
|
3164
|
+
source: z.ZodObject<{
|
|
3165
|
+
harnessRelease: z.ZodObject<{
|
|
3166
|
+
id: z.ZodString;
|
|
3167
|
+
contentHash: z.ZodString;
|
|
3168
|
+
}, z.core.$strict>;
|
|
3169
|
+
agentSnapshot: z.ZodObject<{
|
|
3170
|
+
id: z.ZodString;
|
|
3171
|
+
contentHash: z.ZodString;
|
|
3172
|
+
}, z.core.$strict>;
|
|
3173
|
+
sourcePackageHash: z.ZodString;
|
|
3174
|
+
}, z.core.$strict>;
|
|
3175
|
+
model: z.ZodObject<{
|
|
3176
|
+
modelId: z.ZodString;
|
|
3177
|
+
configurationHash: z.ZodString;
|
|
3178
|
+
}, z.core.$strict>;
|
|
3179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3180
|
+
kind: z.ZodLiteral<"fixture">;
|
|
3181
|
+
configurationHash: z.ZodString;
|
|
3182
|
+
}, z.core.$strict>], "kind">;
|
|
3183
|
+
graders: z.ZodArray<z.ZodObject<{
|
|
3184
|
+
feedbackKey: z.ZodString;
|
|
3185
|
+
evaluator: z.ZodObject<{
|
|
3186
|
+
id: z.ZodString;
|
|
3187
|
+
contentHash: z.ZodString;
|
|
3188
|
+
}, z.core.$strict>;
|
|
3189
|
+
expectedCount: z.ZodNumber;
|
|
3190
|
+
scoredCount: z.ZodNumber;
|
|
3191
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
3192
|
+
}, z.core.$strict>>;
|
|
3193
|
+
contentHash: z.ZodString;
|
|
3194
|
+
}, z.core.$strict>>;
|
|
3195
|
+
modelProject: z.ZodObject<{
|
|
3196
|
+
id: z.ZodString;
|
|
3197
|
+
portableProjectId: z.ZodString;
|
|
3198
|
+
revision: z.ZodNumber;
|
|
3199
|
+
contentHash: z.ZodString;
|
|
3200
|
+
}, z.core.$strict>;
|
|
3201
|
+
harnessRunManifest: z.ZodObject<{
|
|
3202
|
+
id: z.ZodString;
|
|
3203
|
+
contentHash: z.ZodString;
|
|
3204
|
+
}, z.core.$strict>;
|
|
3205
|
+
harnessRelease: z.ZodObject<{
|
|
3206
|
+
id: z.ZodString;
|
|
3207
|
+
contentHash: z.ZodString;
|
|
3208
|
+
}, z.core.$strict>;
|
|
3209
|
+
taskset: z.ZodObject<{
|
|
3210
|
+
id: z.ZodString;
|
|
3211
|
+
contentHash: z.ZodString;
|
|
3212
|
+
revision: z.ZodNumber;
|
|
3213
|
+
}, z.core.$strict>;
|
|
3214
|
+
tasksetRelease: z.ZodObject<{
|
|
3215
|
+
id: z.ZodString;
|
|
3216
|
+
contentHash: z.ZodString;
|
|
3217
|
+
}, z.core.$strict>;
|
|
3218
|
+
evaluation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3219
|
+
taskset: z.ZodObject<{
|
|
3220
|
+
id: z.ZodString;
|
|
3221
|
+
contentHash: z.ZodString;
|
|
3222
|
+
revision: z.ZodNumber;
|
|
3223
|
+
}, z.core.$strict>;
|
|
3224
|
+
dataset: z.ZodObject<{
|
|
3225
|
+
id: z.ZodString;
|
|
3226
|
+
contentHash: z.ZodString;
|
|
3227
|
+
}, z.core.$strict>;
|
|
3228
|
+
}, z.core.$strict>>>;
|
|
3229
|
+
dataset: z.ZodObject<{
|
|
3230
|
+
id: z.ZodString;
|
|
3231
|
+
contentHash: z.ZodString;
|
|
3232
|
+
}, z.core.$strict>;
|
|
3233
|
+
evidenceSets: z.ZodArray<z.ZodObject<{
|
|
3234
|
+
id: z.ZodString;
|
|
3235
|
+
contentHash: z.ZodString;
|
|
3236
|
+
}, z.core.$strict>>;
|
|
3237
|
+
}, z.core.$strict>;
|
|
3238
|
+
job: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3239
|
+
kind: z.ZodLiteral<"reward_model_train">;
|
|
3240
|
+
baseModel: z.ZodObject<{
|
|
3241
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
3242
|
+
modelId: z.ZodString;
|
|
3243
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
3244
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
3245
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
3246
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
3247
|
+
source: z.ZodEnum<{
|
|
3248
|
+
builtin: "builtin";
|
|
3249
|
+
local: "local";
|
|
3250
|
+
managed: "managed";
|
|
3251
|
+
}>;
|
|
3252
|
+
}, z.core.$strict>;
|
|
3253
|
+
preferenceDatasetRelease: z.ZodObject<{
|
|
3254
|
+
id: z.ZodString;
|
|
3255
|
+
contentHash: z.ZodString;
|
|
3256
|
+
}, z.core.$strict>;
|
|
3257
|
+
processorRelease: z.ZodObject<{
|
|
3258
|
+
id: z.ZodString;
|
|
3259
|
+
contentHash: z.ZodString;
|
|
3260
|
+
}, z.core.$strict>;
|
|
3261
|
+
recipe: z.ZodObject<{
|
|
3262
|
+
schemaVersion: z.ZodLiteral<"openpond.rewardModelRecipe.v1">;
|
|
3263
|
+
method: z.ZodLiteral<"reward_model">;
|
|
3264
|
+
parameterization: z.ZodLiteral<"lora_with_scalar_head">;
|
|
3265
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
3266
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3267
|
+
kind: z.ZodLiteral<"policy_optimize">;
|
|
3268
|
+
executionMode: z.ZodOptional<z.ZodLiteral<"qualification">>;
|
|
3269
|
+
baseModel: z.ZodObject<{
|
|
3270
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
3271
|
+
modelId: z.ZodString;
|
|
3272
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
3273
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
3274
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
3275
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
3276
|
+
source: z.ZodEnum<{
|
|
3277
|
+
builtin: "builtin";
|
|
3278
|
+
local: "local";
|
|
3279
|
+
managed: "managed";
|
|
3280
|
+
}>;
|
|
3281
|
+
}, z.core.$strict>;
|
|
3282
|
+
recipe: z.ZodObject<{
|
|
3283
|
+
schemaVersion: z.ZodString;
|
|
3284
|
+
method: z.ZodEnum<{
|
|
3285
|
+
dpo: "dpo";
|
|
3286
|
+
grpo: "grpo";
|
|
3287
|
+
opd: "opd";
|
|
3288
|
+
opsd: "opsd";
|
|
3289
|
+
ppo: "ppo";
|
|
3290
|
+
sdft: "sdft";
|
|
3291
|
+
sdpo: "sdpo";
|
|
3292
|
+
sft: "sft";
|
|
3293
|
+
}>;
|
|
3294
|
+
parameterization: z.ZodEnum<{
|
|
3295
|
+
full: "full";
|
|
3296
|
+
lora: "lora";
|
|
3297
|
+
}>;
|
|
3298
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
3299
|
+
rewardSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3300
|
+
kind: z.ZodLiteral<"deterministic">;
|
|
3301
|
+
grader: z.ZodObject<{
|
|
3302
|
+
id: z.ZodString;
|
|
3303
|
+
contentHash: z.ZodString;
|
|
3304
|
+
}, z.core.$strict>;
|
|
3305
|
+
composer: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3306
|
+
id: z.ZodString;
|
|
3307
|
+
contentHash: z.ZodString;
|
|
3308
|
+
}, z.core.$strict>>>;
|
|
3309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3310
|
+
kind: z.ZodLiteral<"learned_reward">;
|
|
3311
|
+
rewardModelVersion: z.ZodObject<{
|
|
3312
|
+
id: z.ZodString;
|
|
3313
|
+
contentHash: z.ZodString;
|
|
3314
|
+
}, z.core.$strict>;
|
|
3315
|
+
qualificationReport: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3316
|
+
id: z.ZodString;
|
|
3317
|
+
contentHash: z.ZodString;
|
|
3318
|
+
}, z.core.$strict>>>;
|
|
3319
|
+
evaluationReferences: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3320
|
+
id: z.ZodString;
|
|
3321
|
+
contentHash: z.ZodString;
|
|
3322
|
+
}, z.core.$strict>>>;
|
|
3323
|
+
scorerArtifact: z.ZodObject<{
|
|
3324
|
+
artifactRef: z.ZodString;
|
|
3325
|
+
contentHash: z.ZodString;
|
|
3326
|
+
executionReceipt: z.ZodObject<{
|
|
3327
|
+
id: z.ZodString;
|
|
3328
|
+
contentHash: z.ZodString;
|
|
3329
|
+
}, z.core.$strict>;
|
|
3330
|
+
}, z.core.$strict>;
|
|
3331
|
+
processorRelease: z.ZodObject<{
|
|
3332
|
+
id: z.ZodString;
|
|
3333
|
+
contentHash: z.ZodString;
|
|
3334
|
+
}, z.core.$strict>;
|
|
3335
|
+
rewardComposerRelease: z.ZodObject<{
|
|
3336
|
+
id: z.ZodString;
|
|
3337
|
+
contentHash: z.ZodString;
|
|
3338
|
+
}, z.core.$strict>;
|
|
3339
|
+
}, z.core.$strict>], "kind">;
|
|
3340
|
+
resumeFrom: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3341
|
+
id: z.ZodString;
|
|
3342
|
+
contentHash: z.ZodString;
|
|
3343
|
+
}, z.core.$strict>>>;
|
|
3344
|
+
}, z.core.$strict>], "kind">;
|
|
3345
|
+
requestedCapabilities: z.ZodArray<z.ZodObject<{
|
|
3346
|
+
id: z.ZodString;
|
|
3347
|
+
version: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3348
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3349
|
+
}, z.core.$strict>>;
|
|
3350
|
+
placementObjective: z.ZodEnum<{
|
|
3351
|
+
balanced: "balanced";
|
|
3352
|
+
economical: "economical";
|
|
3353
|
+
fast: "fast";
|
|
3354
|
+
}>;
|
|
3355
|
+
gpuSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3356
|
+
mode: z.ZodLiteral<"automatic">;
|
|
3357
|
+
objective: z.ZodEnum<{
|
|
3358
|
+
balanced: "balanced";
|
|
3359
|
+
economical: "economical";
|
|
3360
|
+
fast: "fast";
|
|
3361
|
+
}>;
|
|
3362
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3364
|
+
mode: z.ZodLiteral<"manual">;
|
|
3365
|
+
availabilityId: z.ZodString;
|
|
3366
|
+
gpuType: z.ZodString;
|
|
3367
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3368
|
+
}, z.core.$strict>], "mode">>;
|
|
3369
|
+
physicalPlacement: z.ZodOptional<z.ZodObject<{
|
|
3370
|
+
mode: z.ZodLiteral<"reuse_only">;
|
|
3371
|
+
physicalWorkerId: z.ZodString;
|
|
3372
|
+
providerPodId: z.ZodString;
|
|
3373
|
+
workerImageDigest: z.ZodString;
|
|
3374
|
+
baseProfileSha256: z.ZodString;
|
|
3375
|
+
gpuType: z.ZodString;
|
|
3376
|
+
sourceJobId: z.ZodString;
|
|
3377
|
+
sourceInputManifestSha256: z.ZodString;
|
|
3378
|
+
ownerTeamId: z.ZodString;
|
|
3379
|
+
deadlineAt: z.ZodString;
|
|
3380
|
+
}, z.core.$strict>>;
|
|
3381
|
+
budget: z.ZodObject<{
|
|
3382
|
+
maximumSpendUsd: z.ZodNumber;
|
|
3383
|
+
maximumWallSeconds: z.ZodNumber;
|
|
3384
|
+
}, z.core.$strict>;
|
|
3385
|
+
approval: z.ZodObject<{
|
|
3386
|
+
approvalHash: z.ZodString;
|
|
3387
|
+
approvedAt: z.ZodString;
|
|
3388
|
+
exportApproved: z.ZodBoolean;
|
|
3389
|
+
maximumSpendUsd: z.ZodNumber;
|
|
3390
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
3391
|
+
region: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3392
|
+
}, z.core.$strict>;
|
|
3393
|
+
contentHash: z.ZodString;
|
|
3394
|
+
}, z.core.$strict>;
|
|
3395
|
+
}, z.core.$strict>;
|
|
3396
|
+
export type TrainingSftQualificationPreparationImport = z.infer<typeof TrainingSftQualificationPreparationImportSchema>;
|
|
3397
|
+
export declare function parseAndVerifyTrainingPreparationReceipt(value: unknown): Promise<{
|
|
3398
|
+
schemaVersion: "openpond.trainingPreparationReceipt.v1";
|
|
3399
|
+
plan: {
|
|
3400
|
+
schemaVersion: "openpond.trainingPreparationPlan.v1";
|
|
3401
|
+
id: string;
|
|
3402
|
+
creatorUserId: string;
|
|
3403
|
+
request: {
|
|
3404
|
+
schemaVersion: "openpond.trainingPreparationRequest.v1";
|
|
3405
|
+
teamId: string;
|
|
3406
|
+
operationId: string;
|
|
3407
|
+
projectId: string | null;
|
|
3408
|
+
configuration: {
|
|
3409
|
+
id: string;
|
|
3410
|
+
expectedRevision: number;
|
|
3411
|
+
expectedEtag: string;
|
|
3412
|
+
};
|
|
3413
|
+
origin?: {
|
|
3414
|
+
schemaVersion: "openpond.trainingHandoffOrigin.v1";
|
|
3415
|
+
teamId: string;
|
|
3416
|
+
projectId: string | null;
|
|
3417
|
+
configurationId: string;
|
|
3418
|
+
source: {
|
|
3419
|
+
executionId: string;
|
|
3420
|
+
passId: string | null;
|
|
3421
|
+
manifestHash: string;
|
|
3422
|
+
resultHash: string;
|
|
3423
|
+
};
|
|
3424
|
+
dataset: {
|
|
3425
|
+
id: string;
|
|
3426
|
+
revision: number;
|
|
3427
|
+
contentHash: string;
|
|
3428
|
+
};
|
|
3429
|
+
target: {
|
|
3430
|
+
kind: "model";
|
|
3431
|
+
modelId: string;
|
|
3432
|
+
configurationHash: string;
|
|
3433
|
+
} | {
|
|
3434
|
+
kind: "harness";
|
|
3435
|
+
source: {
|
|
3436
|
+
profileId: string;
|
|
3437
|
+
sourceRevision: string;
|
|
3438
|
+
harnessRelease: {
|
|
3439
|
+
id: string;
|
|
3440
|
+
contentHash: string;
|
|
3441
|
+
};
|
|
3442
|
+
catalogHash: string;
|
|
3443
|
+
definitionId: string;
|
|
3444
|
+
definitionHash: string;
|
|
3445
|
+
target: {
|
|
3446
|
+
kind: "profile";
|
|
3447
|
+
} | {
|
|
3448
|
+
kind: "workflow";
|
|
3449
|
+
workflowId: string;
|
|
3450
|
+
} | {
|
|
3451
|
+
kind: "skill";
|
|
3452
|
+
skillPath: string;
|
|
3453
|
+
} | {
|
|
3454
|
+
kind: "agent_action";
|
|
3455
|
+
actionId: string;
|
|
3456
|
+
};
|
|
3457
|
+
environmentHash: string;
|
|
3458
|
+
externalDatasetBinding?: {
|
|
3459
|
+
schemaVersion: "openpond.profileExternalDatasetBinding.v1";
|
|
3460
|
+
dataset: {
|
|
3461
|
+
id: string;
|
|
3462
|
+
contentHash: string;
|
|
3463
|
+
revision: number;
|
|
3464
|
+
};
|
|
3465
|
+
packageHash: string;
|
|
3466
|
+
profileId: string;
|
|
3467
|
+
target: {
|
|
3468
|
+
kind: "profile";
|
|
3469
|
+
} | {
|
|
3470
|
+
kind: "workflow";
|
|
3471
|
+
workflowId: string;
|
|
3472
|
+
} | {
|
|
3473
|
+
kind: "skill";
|
|
3474
|
+
skillPath: string;
|
|
3475
|
+
} | {
|
|
3476
|
+
kind: "agent_action";
|
|
3477
|
+
actionId: string;
|
|
3478
|
+
};
|
|
3479
|
+
declaredProfileCatalogHash: string | null;
|
|
3480
|
+
protectedProfileClosureHash: string;
|
|
3481
|
+
recordedOrigin?: {
|
|
3482
|
+
execution: {
|
|
3483
|
+
id: string;
|
|
3484
|
+
contentHash: string;
|
|
3485
|
+
};
|
|
3486
|
+
originalEvidence: {
|
|
3487
|
+
id: string;
|
|
3488
|
+
contentHash: string;
|
|
3489
|
+
};
|
|
3490
|
+
members: {
|
|
3491
|
+
caseId: string;
|
|
3492
|
+
seed: string;
|
|
3493
|
+
fixtureId: string;
|
|
3494
|
+
sourceId: string;
|
|
3495
|
+
snapshotHash: string;
|
|
3496
|
+
boundaryRevisionHash: string;
|
|
3497
|
+
}[];
|
|
3498
|
+
} | undefined;
|
|
3499
|
+
gradingSource?: {
|
|
3500
|
+
pass: {
|
|
3501
|
+
id: string;
|
|
3502
|
+
contentHash: string;
|
|
3503
|
+
};
|
|
3504
|
+
evidence: {
|
|
3505
|
+
id: string;
|
|
3506
|
+
contentHash: string;
|
|
3507
|
+
};
|
|
3508
|
+
} | undefined;
|
|
3509
|
+
split: "frozen_eval" | "test" | "train" | "validation";
|
|
3510
|
+
population: {
|
|
3511
|
+
taskId: string;
|
|
3512
|
+
seed: string;
|
|
3513
|
+
fixtureId: string | null;
|
|
3514
|
+
}[];
|
|
3515
|
+
evaluators: {
|
|
3516
|
+
release: {
|
|
3517
|
+
id: string;
|
|
3518
|
+
contentHash: string;
|
|
3519
|
+
revision: string | number;
|
|
3520
|
+
};
|
|
3521
|
+
feedbackKey: string;
|
|
3522
|
+
configurationHash: string;
|
|
3523
|
+
output: "boolean" | "category" | "score";
|
|
3524
|
+
categories: string[];
|
|
3525
|
+
}[];
|
|
3526
|
+
fieldMappingsHash: string;
|
|
3527
|
+
fieldMappings: {
|
|
3528
|
+
graderId: string;
|
|
3529
|
+
fields: {
|
|
3530
|
+
destination: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
3531
|
+
path: string[];
|
|
3532
|
+
source: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
3533
|
+
sourcePath: string[];
|
|
3534
|
+
}[];
|
|
3535
|
+
}[];
|
|
3536
|
+
environmentHash: string;
|
|
3537
|
+
privateDatasetClosureHash: string;
|
|
3538
|
+
criterion: {
|
|
3539
|
+
minimumPassRate: number;
|
|
3540
|
+
requireComplete: boolean;
|
|
3541
|
+
};
|
|
3542
|
+
contentHash: string;
|
|
3543
|
+
} | undefined;
|
|
3544
|
+
sourceCandidate?: {
|
|
3545
|
+
candidateId: string;
|
|
3546
|
+
frozenRevision: number;
|
|
3547
|
+
frozenHash: string;
|
|
3548
|
+
harnessRelease: {
|
|
3549
|
+
id: string;
|
|
3550
|
+
contentHash: string;
|
|
3551
|
+
};
|
|
3552
|
+
protectedClosureHash: string;
|
|
3553
|
+
} | undefined;
|
|
3554
|
+
};
|
|
3555
|
+
model: {
|
|
3556
|
+
modelId: string;
|
|
3557
|
+
configurationHash: string;
|
|
3558
|
+
};
|
|
3559
|
+
} | {
|
|
3560
|
+
kind: "agent";
|
|
3561
|
+
source: {
|
|
3562
|
+
harnessRelease: {
|
|
3563
|
+
id: string;
|
|
3564
|
+
contentHash: string;
|
|
3565
|
+
};
|
|
3566
|
+
agentSnapshot: {
|
|
3567
|
+
id: string;
|
|
3568
|
+
contentHash: string;
|
|
3569
|
+
};
|
|
3570
|
+
sourcePackageHash: string;
|
|
3571
|
+
};
|
|
3572
|
+
model: {
|
|
3573
|
+
modelId: string;
|
|
3574
|
+
configurationHash: string;
|
|
3575
|
+
};
|
|
3576
|
+
} | {
|
|
3577
|
+
kind: "fixture";
|
|
3578
|
+
configurationHash: string;
|
|
3579
|
+
};
|
|
3580
|
+
graders: {
|
|
3581
|
+
feedbackKey: string;
|
|
3582
|
+
evaluator: {
|
|
3583
|
+
id: string;
|
|
3584
|
+
contentHash: string;
|
|
3585
|
+
};
|
|
3586
|
+
expectedCount: number;
|
|
3587
|
+
scoredCount: number;
|
|
3588
|
+
score: number | null;
|
|
3589
|
+
}[];
|
|
3590
|
+
contentHash: string;
|
|
3591
|
+
} | undefined;
|
|
3592
|
+
parent?: {
|
|
3593
|
+
jobId: string;
|
|
3594
|
+
artifact: {
|
|
3595
|
+
id: string;
|
|
3596
|
+
contentHash: string;
|
|
3597
|
+
};
|
|
3598
|
+
checkpointId: string;
|
|
3599
|
+
adapterMode: "residual_append" | "sequential_merge" | "shared";
|
|
3600
|
+
} | undefined;
|
|
3601
|
+
batch: {
|
|
3602
|
+
id: string;
|
|
3603
|
+
contentHash: string;
|
|
3604
|
+
revision: number;
|
|
3605
|
+
};
|
|
3606
|
+
name: string;
|
|
3607
|
+
maximumSpendUsd: number;
|
|
3608
|
+
usageFunding?: {
|
|
3609
|
+
schemaVersion: "openpond.trainingUsageFundingRequest.v1";
|
|
3610
|
+
billingMode: "actual_usage";
|
|
3611
|
+
customerCapUsd: string | null;
|
|
3612
|
+
} | undefined;
|
|
3613
|
+
gpuSelection?: {
|
|
3614
|
+
mode: "automatic";
|
|
3615
|
+
objective: "balanced" | "economical" | "fast";
|
|
3616
|
+
gpuCount?: 1 | 2 | undefined;
|
|
3617
|
+
} | {
|
|
3618
|
+
mode: "manual";
|
|
3619
|
+
availabilityId: string;
|
|
3620
|
+
gpuType: string;
|
|
3621
|
+
gpuCount?: 1 | 2 | undefined;
|
|
3622
|
+
} | undefined;
|
|
3623
|
+
physicalPlacement?: {
|
|
3624
|
+
mode: "reuse_only";
|
|
3625
|
+
physicalWorkerId: string;
|
|
3626
|
+
providerPodId: string;
|
|
3627
|
+
workerImageDigest: string;
|
|
3628
|
+
baseProfileSha256: string;
|
|
3629
|
+
gpuType: string;
|
|
3630
|
+
sourceJobId: string;
|
|
3631
|
+
sourceInputManifestSha256: string;
|
|
3632
|
+
ownerTeamId: string;
|
|
3633
|
+
deadlineAt: string;
|
|
3634
|
+
} | undefined;
|
|
3635
|
+
};
|
|
3636
|
+
requestHash: string;
|
|
3637
|
+
source: {
|
|
3638
|
+
origin?: {
|
|
3639
|
+
schemaVersion: "openpond.trainingHandoffOrigin.v1";
|
|
3640
|
+
teamId: string;
|
|
3641
|
+
projectId: string | null;
|
|
3642
|
+
configurationId: string;
|
|
3643
|
+
source: {
|
|
3644
|
+
executionId: string;
|
|
3645
|
+
passId: string | null;
|
|
2950
3646
|
manifestHash: string;
|
|
2951
3647
|
resultHash: string;
|
|
2952
3648
|
};
|
|
2953
|
-
dataset: {
|
|
3649
|
+
dataset: {
|
|
3650
|
+
id: string;
|
|
3651
|
+
revision: number;
|
|
3652
|
+
contentHash: string;
|
|
3653
|
+
};
|
|
3654
|
+
target: {
|
|
3655
|
+
kind: "model";
|
|
3656
|
+
modelId: string;
|
|
3657
|
+
configurationHash: string;
|
|
3658
|
+
} | {
|
|
3659
|
+
kind: "harness";
|
|
3660
|
+
source: {
|
|
3661
|
+
profileId: string;
|
|
3662
|
+
sourceRevision: string;
|
|
3663
|
+
harnessRelease: {
|
|
3664
|
+
id: string;
|
|
3665
|
+
contentHash: string;
|
|
3666
|
+
};
|
|
3667
|
+
catalogHash: string;
|
|
3668
|
+
definitionId: string;
|
|
3669
|
+
definitionHash: string;
|
|
3670
|
+
target: {
|
|
3671
|
+
kind: "profile";
|
|
3672
|
+
} | {
|
|
3673
|
+
kind: "workflow";
|
|
3674
|
+
workflowId: string;
|
|
3675
|
+
} | {
|
|
3676
|
+
kind: "skill";
|
|
3677
|
+
skillPath: string;
|
|
3678
|
+
} | {
|
|
3679
|
+
kind: "agent_action";
|
|
3680
|
+
actionId: string;
|
|
3681
|
+
};
|
|
3682
|
+
environmentHash: string;
|
|
3683
|
+
externalDatasetBinding?: {
|
|
3684
|
+
schemaVersion: "openpond.profileExternalDatasetBinding.v1";
|
|
3685
|
+
dataset: {
|
|
3686
|
+
id: string;
|
|
3687
|
+
contentHash: string;
|
|
3688
|
+
revision: number;
|
|
3689
|
+
};
|
|
3690
|
+
packageHash: string;
|
|
3691
|
+
profileId: string;
|
|
3692
|
+
target: {
|
|
3693
|
+
kind: "profile";
|
|
3694
|
+
} | {
|
|
3695
|
+
kind: "workflow";
|
|
3696
|
+
workflowId: string;
|
|
3697
|
+
} | {
|
|
3698
|
+
kind: "skill";
|
|
3699
|
+
skillPath: string;
|
|
3700
|
+
} | {
|
|
3701
|
+
kind: "agent_action";
|
|
3702
|
+
actionId: string;
|
|
3703
|
+
};
|
|
3704
|
+
declaredProfileCatalogHash: string | null;
|
|
3705
|
+
protectedProfileClosureHash: string;
|
|
3706
|
+
recordedOrigin?: {
|
|
3707
|
+
execution: {
|
|
3708
|
+
id: string;
|
|
3709
|
+
contentHash: string;
|
|
3710
|
+
};
|
|
3711
|
+
originalEvidence: {
|
|
3712
|
+
id: string;
|
|
3713
|
+
contentHash: string;
|
|
3714
|
+
};
|
|
3715
|
+
members: {
|
|
3716
|
+
caseId: string;
|
|
3717
|
+
seed: string;
|
|
3718
|
+
fixtureId: string;
|
|
3719
|
+
sourceId: string;
|
|
3720
|
+
snapshotHash: string;
|
|
3721
|
+
boundaryRevisionHash: string;
|
|
3722
|
+
}[];
|
|
3723
|
+
} | undefined;
|
|
3724
|
+
gradingSource?: {
|
|
3725
|
+
pass: {
|
|
3726
|
+
id: string;
|
|
3727
|
+
contentHash: string;
|
|
3728
|
+
};
|
|
3729
|
+
evidence: {
|
|
3730
|
+
id: string;
|
|
3731
|
+
contentHash: string;
|
|
3732
|
+
};
|
|
3733
|
+
} | undefined;
|
|
3734
|
+
split: "frozen_eval" | "test" | "train" | "validation";
|
|
3735
|
+
population: {
|
|
3736
|
+
taskId: string;
|
|
3737
|
+
seed: string;
|
|
3738
|
+
fixtureId: string | null;
|
|
3739
|
+
}[];
|
|
3740
|
+
evaluators: {
|
|
3741
|
+
release: {
|
|
3742
|
+
id: string;
|
|
3743
|
+
contentHash: string;
|
|
3744
|
+
revision: string | number;
|
|
3745
|
+
};
|
|
3746
|
+
feedbackKey: string;
|
|
3747
|
+
configurationHash: string;
|
|
3748
|
+
output: "boolean" | "category" | "score";
|
|
3749
|
+
categories: string[];
|
|
3750
|
+
}[];
|
|
3751
|
+
fieldMappingsHash: string;
|
|
3752
|
+
fieldMappings: {
|
|
3753
|
+
graderId: string;
|
|
3754
|
+
fields: {
|
|
3755
|
+
destination: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
3756
|
+
path: string[];
|
|
3757
|
+
source: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
3758
|
+
sourcePath: string[];
|
|
3759
|
+
}[];
|
|
3760
|
+
}[];
|
|
3761
|
+
environmentHash: string;
|
|
3762
|
+
privateDatasetClosureHash: string;
|
|
3763
|
+
criterion: {
|
|
3764
|
+
minimumPassRate: number;
|
|
3765
|
+
requireComplete: boolean;
|
|
3766
|
+
};
|
|
3767
|
+
contentHash: string;
|
|
3768
|
+
} | undefined;
|
|
3769
|
+
sourceCandidate?: {
|
|
3770
|
+
candidateId: string;
|
|
3771
|
+
frozenRevision: number;
|
|
3772
|
+
frozenHash: string;
|
|
3773
|
+
harnessRelease: {
|
|
3774
|
+
id: string;
|
|
3775
|
+
contentHash: string;
|
|
3776
|
+
};
|
|
3777
|
+
protectedClosureHash: string;
|
|
3778
|
+
} | undefined;
|
|
3779
|
+
};
|
|
3780
|
+
model: {
|
|
3781
|
+
modelId: string;
|
|
3782
|
+
configurationHash: string;
|
|
3783
|
+
};
|
|
3784
|
+
} | {
|
|
3785
|
+
kind: "agent";
|
|
3786
|
+
source: {
|
|
3787
|
+
harnessRelease: {
|
|
3788
|
+
id: string;
|
|
3789
|
+
contentHash: string;
|
|
3790
|
+
};
|
|
3791
|
+
agentSnapshot: {
|
|
3792
|
+
id: string;
|
|
3793
|
+
contentHash: string;
|
|
3794
|
+
};
|
|
3795
|
+
sourcePackageHash: string;
|
|
3796
|
+
};
|
|
3797
|
+
model: {
|
|
3798
|
+
modelId: string;
|
|
3799
|
+
configurationHash: string;
|
|
3800
|
+
};
|
|
3801
|
+
} | {
|
|
3802
|
+
kind: "fixture";
|
|
3803
|
+
configurationHash: string;
|
|
3804
|
+
};
|
|
3805
|
+
graders: {
|
|
3806
|
+
feedbackKey: string;
|
|
3807
|
+
evaluator: {
|
|
3808
|
+
id: string;
|
|
3809
|
+
contentHash: string;
|
|
3810
|
+
};
|
|
3811
|
+
expectedCount: number;
|
|
3812
|
+
scoredCount: number;
|
|
3813
|
+
score: number | null;
|
|
3814
|
+
}[];
|
|
3815
|
+
contentHash: string;
|
|
3816
|
+
} | undefined;
|
|
3817
|
+
modelProject: {
|
|
3818
|
+
id: string;
|
|
3819
|
+
portableProjectId: string;
|
|
3820
|
+
revision: number;
|
|
3821
|
+
contentHash: string;
|
|
3822
|
+
};
|
|
3823
|
+
harnessRunManifest: {
|
|
3824
|
+
id: string;
|
|
3825
|
+
contentHash: string;
|
|
3826
|
+
};
|
|
3827
|
+
harnessRelease: {
|
|
3828
|
+
id: string;
|
|
3829
|
+
contentHash: string;
|
|
3830
|
+
};
|
|
3831
|
+
taskset: {
|
|
3832
|
+
id: string;
|
|
3833
|
+
contentHash: string;
|
|
3834
|
+
revision: number;
|
|
3835
|
+
};
|
|
3836
|
+
tasksetRelease: {
|
|
3837
|
+
id: string;
|
|
3838
|
+
contentHash: string;
|
|
3839
|
+
};
|
|
3840
|
+
evaluation?: {
|
|
3841
|
+
taskset: {
|
|
3842
|
+
id: string;
|
|
3843
|
+
contentHash: string;
|
|
3844
|
+
revision: number;
|
|
3845
|
+
};
|
|
3846
|
+
dataset: {
|
|
3847
|
+
id: string;
|
|
3848
|
+
contentHash: string;
|
|
3849
|
+
};
|
|
3850
|
+
} | null | undefined;
|
|
3851
|
+
dataset: {
|
|
3852
|
+
id: string;
|
|
3853
|
+
contentHash: string;
|
|
3854
|
+
};
|
|
3855
|
+
evidenceSets: {
|
|
3856
|
+
id: string;
|
|
3857
|
+
contentHash: string;
|
|
3858
|
+
}[];
|
|
3859
|
+
};
|
|
3860
|
+
submissionHash: string;
|
|
3861
|
+
usageQuote?: {
|
|
3862
|
+
schemaVersion: "openpond.trainingUsageQuote.v1";
|
|
3863
|
+
teamId: string;
|
|
3864
|
+
actorUserId: string;
|
|
3865
|
+
preparationId: string;
|
|
3866
|
+
submissionHash: string;
|
|
3867
|
+
workerImageDigest: string;
|
|
3868
|
+
customerCapUsd: string | null;
|
|
3869
|
+
maximumWallSeconds: number;
|
|
3870
|
+
retentionDays: number;
|
|
3871
|
+
qualification?: {
|
|
3872
|
+
authorizationId: string;
|
|
3873
|
+
operationId: string;
|
|
3874
|
+
authorizationSha256: string;
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
gpu: {
|
|
3877
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3878
|
+
version: string;
|
|
3879
|
+
profileHash: string;
|
|
3880
|
+
currency: "USD";
|
|
3881
|
+
unit: "resource_hour";
|
|
3882
|
+
hourlyUsd: string;
|
|
3883
|
+
service: "managed_rl";
|
|
3884
|
+
};
|
|
3885
|
+
guests: {
|
|
3886
|
+
profileHash: string;
|
|
3887
|
+
price: {
|
|
3888
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3889
|
+
version: string;
|
|
3890
|
+
profileHash: string;
|
|
3891
|
+
currency: "USD";
|
|
3892
|
+
unit: "resource_hour";
|
|
3893
|
+
hourlyUsd: string;
|
|
3894
|
+
service: "managed_rl";
|
|
3895
|
+
};
|
|
3896
|
+
resources: {
|
|
3897
|
+
cpu: number;
|
|
3898
|
+
memoryGb: number;
|
|
3899
|
+
diskGb: number;
|
|
3900
|
+
};
|
|
3901
|
+
}[];
|
|
3902
|
+
judges: {
|
|
3903
|
+
billing: "existing_retail_child_captures";
|
|
3904
|
+
acceptedPricingHashes: string[];
|
|
3905
|
+
prices: {
|
|
3906
|
+
modelId: string;
|
|
3907
|
+
displayName: string;
|
|
3908
|
+
acceptedPricingHash: string;
|
|
3909
|
+
inputUsdPerMillionTokens: string;
|
|
3910
|
+
cachedInputUsdPerMillionTokens: string;
|
|
3911
|
+
outputUsdPerMillionTokens: string;
|
|
3912
|
+
cacheWriteUsdPerMillionTokens: string | null;
|
|
3913
|
+
cacheWriteOneHourUsdPerMillionTokens: string | null;
|
|
3914
|
+
longContextThresholdTokens: number | null;
|
|
3915
|
+
longContext: {
|
|
3916
|
+
inputUsdPerMillionTokens: string;
|
|
3917
|
+
cachedInputUsdPerMillionTokens: string;
|
|
3918
|
+
outputUsdPerMillionTokens: string;
|
|
3919
|
+
cacheWriteUsdPerMillionTokens: string | null;
|
|
3920
|
+
} | null;
|
|
3921
|
+
}[];
|
|
3922
|
+
};
|
|
3923
|
+
storage: {
|
|
3924
|
+
price: {
|
|
3925
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3926
|
+
version: string;
|
|
3927
|
+
profileHash: string;
|
|
3928
|
+
currency: "USD";
|
|
3929
|
+
unit: "resource_hour";
|
|
3930
|
+
hourlyUsd: string;
|
|
3931
|
+
service: "managed_rl";
|
|
3932
|
+
};
|
|
3933
|
+
storageClass: "STANDARD";
|
|
3934
|
+
quantityBasis: "gib_milliseconds";
|
|
3935
|
+
onCreditExhaustion: "retain_objects_and_stop_new_storage";
|
|
3936
|
+
};
|
|
3937
|
+
gpuBillingBoundary: "active_allocation_until_verified_cleanup";
|
|
3938
|
+
storageBillingBoundary: "accepted_retention_window";
|
|
3939
|
+
startupBillable: true;
|
|
3940
|
+
postCompletionIdleBillable: false;
|
|
3941
|
+
minimumBillableSeconds: 0;
|
|
3942
|
+
issuedAt: string;
|
|
3943
|
+
expiresAt: string;
|
|
3944
|
+
contentHash: string;
|
|
3945
|
+
signature: string;
|
|
3946
|
+
} | undefined;
|
|
3947
|
+
createdAt: string;
|
|
3948
|
+
contentHash: string;
|
|
3949
|
+
};
|
|
3950
|
+
revision: number;
|
|
3951
|
+
state: "cancelled" | "prepared" | "submitted";
|
|
3952
|
+
jobId: string | null;
|
|
3953
|
+
}>;
|
|
3954
|
+
export declare function createTrainingPreparationClient(request: (path: string, init?: RequestInit) => Promise<unknown>): {
|
|
3955
|
+
/** Preparation only: retains the original source and accepted usage quote;
|
|
3956
|
+
* starting paid compute still requires startPreparation separately. */
|
|
3957
|
+
importSftQualificationPreparation(input: TrainingSftQualificationPreparationImport): Promise<{
|
|
3958
|
+
schemaVersion: "openpond.trainingPreparationReceipt.v1";
|
|
3959
|
+
plan: {
|
|
3960
|
+
schemaVersion: "openpond.trainingPreparationPlan.v1";
|
|
3961
|
+
id: string;
|
|
3962
|
+
creatorUserId: string;
|
|
3963
|
+
request: {
|
|
3964
|
+
schemaVersion: "openpond.trainingPreparationRequest.v1";
|
|
3965
|
+
teamId: string;
|
|
3966
|
+
operationId: string;
|
|
3967
|
+
projectId: string | null;
|
|
3968
|
+
configuration: {
|
|
3969
|
+
id: string;
|
|
3970
|
+
expectedRevision: number;
|
|
3971
|
+
expectedEtag: string;
|
|
3972
|
+
};
|
|
3973
|
+
origin?: {
|
|
3974
|
+
schemaVersion: "openpond.trainingHandoffOrigin.v1";
|
|
3975
|
+
teamId: string;
|
|
3976
|
+
projectId: string | null;
|
|
3977
|
+
configurationId: string;
|
|
3978
|
+
source: {
|
|
3979
|
+
executionId: string;
|
|
3980
|
+
passId: string | null;
|
|
3981
|
+
manifestHash: string;
|
|
3982
|
+
resultHash: string;
|
|
3983
|
+
};
|
|
3984
|
+
dataset: {
|
|
3985
|
+
id: string;
|
|
3986
|
+
revision: number;
|
|
3987
|
+
contentHash: string;
|
|
3988
|
+
};
|
|
3989
|
+
target: {
|
|
3990
|
+
kind: "model";
|
|
3991
|
+
modelId: string;
|
|
3992
|
+
configurationHash: string;
|
|
3993
|
+
} | {
|
|
3994
|
+
kind: "harness";
|
|
3995
|
+
source: {
|
|
3996
|
+
profileId: string;
|
|
3997
|
+
sourceRevision: string;
|
|
3998
|
+
harnessRelease: {
|
|
3999
|
+
id: string;
|
|
4000
|
+
contentHash: string;
|
|
4001
|
+
};
|
|
4002
|
+
catalogHash: string;
|
|
4003
|
+
definitionId: string;
|
|
4004
|
+
definitionHash: string;
|
|
4005
|
+
target: {
|
|
4006
|
+
kind: "profile";
|
|
4007
|
+
} | {
|
|
4008
|
+
kind: "workflow";
|
|
4009
|
+
workflowId: string;
|
|
4010
|
+
} | {
|
|
4011
|
+
kind: "skill";
|
|
4012
|
+
skillPath: string;
|
|
4013
|
+
} | {
|
|
4014
|
+
kind: "agent_action";
|
|
4015
|
+
actionId: string;
|
|
4016
|
+
};
|
|
4017
|
+
environmentHash: string;
|
|
4018
|
+
externalDatasetBinding?: {
|
|
4019
|
+
schemaVersion: "openpond.profileExternalDatasetBinding.v1";
|
|
4020
|
+
dataset: {
|
|
4021
|
+
id: string;
|
|
4022
|
+
contentHash: string;
|
|
4023
|
+
revision: number;
|
|
4024
|
+
};
|
|
4025
|
+
packageHash: string;
|
|
4026
|
+
profileId: string;
|
|
4027
|
+
target: {
|
|
4028
|
+
kind: "profile";
|
|
4029
|
+
} | {
|
|
4030
|
+
kind: "workflow";
|
|
4031
|
+
workflowId: string;
|
|
4032
|
+
} | {
|
|
4033
|
+
kind: "skill";
|
|
4034
|
+
skillPath: string;
|
|
4035
|
+
} | {
|
|
4036
|
+
kind: "agent_action";
|
|
4037
|
+
actionId: string;
|
|
4038
|
+
};
|
|
4039
|
+
declaredProfileCatalogHash: string | null;
|
|
4040
|
+
protectedProfileClosureHash: string;
|
|
4041
|
+
recordedOrigin?: {
|
|
4042
|
+
execution: {
|
|
4043
|
+
id: string;
|
|
4044
|
+
contentHash: string;
|
|
4045
|
+
};
|
|
4046
|
+
originalEvidence: {
|
|
4047
|
+
id: string;
|
|
4048
|
+
contentHash: string;
|
|
4049
|
+
};
|
|
4050
|
+
members: {
|
|
4051
|
+
caseId: string;
|
|
4052
|
+
seed: string;
|
|
4053
|
+
fixtureId: string;
|
|
4054
|
+
sourceId: string;
|
|
4055
|
+
snapshotHash: string;
|
|
4056
|
+
boundaryRevisionHash: string;
|
|
4057
|
+
}[];
|
|
4058
|
+
} | undefined;
|
|
4059
|
+
gradingSource?: {
|
|
4060
|
+
pass: {
|
|
4061
|
+
id: string;
|
|
4062
|
+
contentHash: string;
|
|
4063
|
+
};
|
|
4064
|
+
evidence: {
|
|
4065
|
+
id: string;
|
|
4066
|
+
contentHash: string;
|
|
4067
|
+
};
|
|
4068
|
+
} | undefined;
|
|
4069
|
+
split: "frozen_eval" | "test" | "train" | "validation";
|
|
4070
|
+
population: {
|
|
4071
|
+
taskId: string;
|
|
4072
|
+
seed: string;
|
|
4073
|
+
fixtureId: string | null;
|
|
4074
|
+
}[];
|
|
4075
|
+
evaluators: {
|
|
4076
|
+
release: {
|
|
4077
|
+
id: string;
|
|
4078
|
+
contentHash: string;
|
|
4079
|
+
revision: string | number;
|
|
4080
|
+
};
|
|
4081
|
+
feedbackKey: string;
|
|
4082
|
+
configurationHash: string;
|
|
4083
|
+
output: "boolean" | "category" | "score";
|
|
4084
|
+
categories: string[];
|
|
4085
|
+
}[];
|
|
4086
|
+
fieldMappingsHash: string;
|
|
4087
|
+
fieldMappings: {
|
|
4088
|
+
graderId: string;
|
|
4089
|
+
fields: {
|
|
4090
|
+
destination: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
4091
|
+
path: string[];
|
|
4092
|
+
source: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
4093
|
+
sourcePath: string[];
|
|
4094
|
+
}[];
|
|
4095
|
+
}[];
|
|
4096
|
+
environmentHash: string;
|
|
4097
|
+
privateDatasetClosureHash: string;
|
|
4098
|
+
criterion: {
|
|
4099
|
+
minimumPassRate: number;
|
|
4100
|
+
requireComplete: boolean;
|
|
4101
|
+
};
|
|
4102
|
+
contentHash: string;
|
|
4103
|
+
} | undefined;
|
|
4104
|
+
sourceCandidate?: {
|
|
4105
|
+
candidateId: string;
|
|
4106
|
+
frozenRevision: number;
|
|
4107
|
+
frozenHash: string;
|
|
4108
|
+
harnessRelease: {
|
|
4109
|
+
id: string;
|
|
4110
|
+
contentHash: string;
|
|
4111
|
+
};
|
|
4112
|
+
protectedClosureHash: string;
|
|
4113
|
+
} | undefined;
|
|
4114
|
+
};
|
|
4115
|
+
model: {
|
|
4116
|
+
modelId: string;
|
|
4117
|
+
configurationHash: string;
|
|
4118
|
+
};
|
|
4119
|
+
} | {
|
|
4120
|
+
kind: "agent";
|
|
4121
|
+
source: {
|
|
4122
|
+
harnessRelease: {
|
|
4123
|
+
id: string;
|
|
4124
|
+
contentHash: string;
|
|
4125
|
+
};
|
|
4126
|
+
agentSnapshot: {
|
|
4127
|
+
id: string;
|
|
4128
|
+
contentHash: string;
|
|
4129
|
+
};
|
|
4130
|
+
sourcePackageHash: string;
|
|
4131
|
+
};
|
|
4132
|
+
model: {
|
|
4133
|
+
modelId: string;
|
|
4134
|
+
configurationHash: string;
|
|
4135
|
+
};
|
|
4136
|
+
} | {
|
|
4137
|
+
kind: "fixture";
|
|
4138
|
+
configurationHash: string;
|
|
4139
|
+
};
|
|
4140
|
+
graders: {
|
|
4141
|
+
feedbackKey: string;
|
|
4142
|
+
evaluator: {
|
|
4143
|
+
id: string;
|
|
4144
|
+
contentHash: string;
|
|
4145
|
+
};
|
|
4146
|
+
expectedCount: number;
|
|
4147
|
+
scoredCount: number;
|
|
4148
|
+
score: number | null;
|
|
4149
|
+
}[];
|
|
4150
|
+
contentHash: string;
|
|
4151
|
+
} | undefined;
|
|
4152
|
+
parent?: {
|
|
4153
|
+
jobId: string;
|
|
4154
|
+
artifact: {
|
|
4155
|
+
id: string;
|
|
4156
|
+
contentHash: string;
|
|
4157
|
+
};
|
|
4158
|
+
checkpointId: string;
|
|
4159
|
+
adapterMode: "residual_append" | "sequential_merge" | "shared";
|
|
4160
|
+
} | undefined;
|
|
4161
|
+
batch: {
|
|
2954
4162
|
id: string;
|
|
2955
|
-
revision: number;
|
|
2956
4163
|
contentHash: string;
|
|
4164
|
+
revision: number;
|
|
2957
4165
|
};
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
4166
|
+
name: string;
|
|
4167
|
+
maximumSpendUsd: number;
|
|
4168
|
+
usageFunding?: {
|
|
4169
|
+
schemaVersion: "openpond.trainingUsageFundingRequest.v1";
|
|
4170
|
+
billingMode: "actual_usage";
|
|
4171
|
+
customerCapUsd: string | null;
|
|
4172
|
+
} | undefined;
|
|
4173
|
+
gpuSelection?: {
|
|
4174
|
+
mode: "automatic";
|
|
4175
|
+
objective: "balanced" | "economical" | "fast";
|
|
4176
|
+
gpuCount?: 1 | 2 | undefined;
|
|
2962
4177
|
} | {
|
|
2963
|
-
|
|
4178
|
+
mode: "manual";
|
|
4179
|
+
availabilityId: string;
|
|
4180
|
+
gpuType: string;
|
|
4181
|
+
gpuCount?: 1 | 2 | undefined;
|
|
4182
|
+
} | undefined;
|
|
4183
|
+
physicalPlacement?: {
|
|
4184
|
+
mode: "reuse_only";
|
|
4185
|
+
physicalWorkerId: string;
|
|
4186
|
+
providerPodId: string;
|
|
4187
|
+
workerImageDigest: string;
|
|
4188
|
+
baseProfileSha256: string;
|
|
4189
|
+
gpuType: string;
|
|
4190
|
+
sourceJobId: string;
|
|
4191
|
+
sourceInputManifestSha256: string;
|
|
4192
|
+
ownerTeamId: string;
|
|
4193
|
+
deadlineAt: string;
|
|
4194
|
+
} | undefined;
|
|
4195
|
+
};
|
|
4196
|
+
requestHash: string;
|
|
4197
|
+
source: {
|
|
4198
|
+
origin?: {
|
|
4199
|
+
schemaVersion: "openpond.trainingHandoffOrigin.v1";
|
|
4200
|
+
teamId: string;
|
|
4201
|
+
projectId: string | null;
|
|
4202
|
+
configurationId: string;
|
|
2964
4203
|
source: {
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
};
|
|
2986
|
-
environmentHash: string;
|
|
2987
|
-
externalDatasetBinding?: {
|
|
2988
|
-
schemaVersion: "openpond.profileExternalDatasetBinding.v1";
|
|
2989
|
-
dataset: {
|
|
4204
|
+
executionId: string;
|
|
4205
|
+
passId: string | null;
|
|
4206
|
+
manifestHash: string;
|
|
4207
|
+
resultHash: string;
|
|
4208
|
+
};
|
|
4209
|
+
dataset: {
|
|
4210
|
+
id: string;
|
|
4211
|
+
revision: number;
|
|
4212
|
+
contentHash: string;
|
|
4213
|
+
};
|
|
4214
|
+
target: {
|
|
4215
|
+
kind: "model";
|
|
4216
|
+
modelId: string;
|
|
4217
|
+
configurationHash: string;
|
|
4218
|
+
} | {
|
|
4219
|
+
kind: "harness";
|
|
4220
|
+
source: {
|
|
4221
|
+
profileId: string;
|
|
4222
|
+
sourceRevision: string;
|
|
4223
|
+
harnessRelease: {
|
|
2990
4224
|
id: string;
|
|
2991
4225
|
contentHash: string;
|
|
2992
|
-
revision: number;
|
|
2993
4226
|
};
|
|
2994
|
-
|
|
2995
|
-
|
|
4227
|
+
catalogHash: string;
|
|
4228
|
+
definitionId: string;
|
|
4229
|
+
definitionHash: string;
|
|
2996
4230
|
target: {
|
|
2997
4231
|
kind: "profile";
|
|
2998
4232
|
} | {
|
|
@@ -3005,185 +4239,201 @@ export declare function parseAndVerifyTrainingPreparationReceipt(value: unknown)
|
|
|
3005
4239
|
kind: "agent_action";
|
|
3006
4240
|
actionId: string;
|
|
3007
4241
|
};
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
4242
|
+
environmentHash: string;
|
|
4243
|
+
externalDatasetBinding?: {
|
|
4244
|
+
schemaVersion: "openpond.profileExternalDatasetBinding.v1";
|
|
4245
|
+
dataset: {
|
|
3012
4246
|
id: string;
|
|
3013
4247
|
contentHash: string;
|
|
4248
|
+
revision: number;
|
|
3014
4249
|
};
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
4250
|
+
packageHash: string;
|
|
4251
|
+
profileId: string;
|
|
4252
|
+
target: {
|
|
4253
|
+
kind: "profile";
|
|
4254
|
+
} | {
|
|
4255
|
+
kind: "workflow";
|
|
4256
|
+
workflowId: string;
|
|
4257
|
+
} | {
|
|
4258
|
+
kind: "skill";
|
|
4259
|
+
skillPath: string;
|
|
4260
|
+
} | {
|
|
4261
|
+
kind: "agent_action";
|
|
4262
|
+
actionId: string;
|
|
3018
4263
|
};
|
|
3019
|
-
|
|
3020
|
-
|
|
4264
|
+
declaredProfileCatalogHash: string | null;
|
|
4265
|
+
protectedProfileClosureHash: string;
|
|
4266
|
+
recordedOrigin?: {
|
|
4267
|
+
execution: {
|
|
4268
|
+
id: string;
|
|
4269
|
+
contentHash: string;
|
|
4270
|
+
};
|
|
4271
|
+
originalEvidence: {
|
|
4272
|
+
id: string;
|
|
4273
|
+
contentHash: string;
|
|
4274
|
+
};
|
|
4275
|
+
members: {
|
|
4276
|
+
caseId: string;
|
|
4277
|
+
seed: string;
|
|
4278
|
+
fixtureId: string;
|
|
4279
|
+
sourceId: string;
|
|
4280
|
+
snapshotHash: string;
|
|
4281
|
+
boundaryRevisionHash: string;
|
|
4282
|
+
}[];
|
|
4283
|
+
} | undefined;
|
|
4284
|
+
gradingSource?: {
|
|
4285
|
+
pass: {
|
|
4286
|
+
id: string;
|
|
4287
|
+
contentHash: string;
|
|
4288
|
+
};
|
|
4289
|
+
evidence: {
|
|
4290
|
+
id: string;
|
|
4291
|
+
contentHash: string;
|
|
4292
|
+
};
|
|
4293
|
+
} | undefined;
|
|
4294
|
+
split: "frozen_eval" | "test" | "train" | "validation";
|
|
4295
|
+
population: {
|
|
4296
|
+
taskId: string;
|
|
3021
4297
|
seed: string;
|
|
3022
|
-
fixtureId: string;
|
|
3023
|
-
sourceId: string;
|
|
3024
|
-
snapshotHash: string;
|
|
3025
|
-
boundaryRevisionHash: string;
|
|
4298
|
+
fixtureId: string | null;
|
|
3026
4299
|
}[];
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
4300
|
+
evaluators: {
|
|
4301
|
+
release: {
|
|
4302
|
+
id: string;
|
|
4303
|
+
contentHash: string;
|
|
4304
|
+
revision: string | number;
|
|
4305
|
+
};
|
|
4306
|
+
feedbackKey: string;
|
|
4307
|
+
configurationHash: string;
|
|
4308
|
+
output: "boolean" | "category" | "score";
|
|
4309
|
+
categories: string[];
|
|
4310
|
+
}[];
|
|
4311
|
+
fieldMappingsHash: string;
|
|
4312
|
+
fieldMappings: {
|
|
4313
|
+
graderId: string;
|
|
4314
|
+
fields: {
|
|
4315
|
+
destination: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
4316
|
+
path: string[];
|
|
4317
|
+
source: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
4318
|
+
sourcePath: string[];
|
|
4319
|
+
}[];
|
|
4320
|
+
}[];
|
|
4321
|
+
environmentHash: string;
|
|
4322
|
+
privateDatasetClosureHash: string;
|
|
4323
|
+
criterion: {
|
|
4324
|
+
minimumPassRate: number;
|
|
4325
|
+
requireComplete: boolean;
|
|
3036
4326
|
};
|
|
4327
|
+
contentHash: string;
|
|
3037
4328
|
} | undefined;
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
}[];
|
|
3044
|
-
evaluators: {
|
|
3045
|
-
release: {
|
|
4329
|
+
sourceCandidate?: {
|
|
4330
|
+
candidateId: string;
|
|
4331
|
+
frozenRevision: number;
|
|
4332
|
+
frozenHash: string;
|
|
4333
|
+
harnessRelease: {
|
|
3046
4334
|
id: string;
|
|
3047
4335
|
contentHash: string;
|
|
3048
|
-
revision: string | number;
|
|
3049
4336
|
};
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
path: string[];
|
|
3061
|
-
source: "evaluatorContext" | "expectedOutput" | "input" | "output";
|
|
3062
|
-
sourcePath: string[];
|
|
3063
|
-
}[];
|
|
3064
|
-
}[];
|
|
3065
|
-
environmentHash: string;
|
|
3066
|
-
privateDatasetClosureHash: string;
|
|
3067
|
-
criterion: {
|
|
3068
|
-
minimumPassRate: number;
|
|
3069
|
-
requireComplete: boolean;
|
|
3070
|
-
};
|
|
3071
|
-
contentHash: string;
|
|
3072
|
-
} | undefined;
|
|
3073
|
-
sourceCandidate?: {
|
|
3074
|
-
candidateId: string;
|
|
3075
|
-
frozenRevision: number;
|
|
3076
|
-
frozenHash: string;
|
|
4337
|
+
protectedClosureHash: string;
|
|
4338
|
+
} | undefined;
|
|
4339
|
+
};
|
|
4340
|
+
model: {
|
|
4341
|
+
modelId: string;
|
|
4342
|
+
configurationHash: string;
|
|
4343
|
+
};
|
|
4344
|
+
} | {
|
|
4345
|
+
kind: "agent";
|
|
4346
|
+
source: {
|
|
3077
4347
|
harnessRelease: {
|
|
3078
4348
|
id: string;
|
|
3079
4349
|
contentHash: string;
|
|
3080
4350
|
};
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
configurationHash: string;
|
|
3087
|
-
};
|
|
3088
|
-
} | {
|
|
3089
|
-
kind: "agent";
|
|
3090
|
-
source: {
|
|
3091
|
-
harnessRelease: {
|
|
3092
|
-
id: string;
|
|
3093
|
-
contentHash: string;
|
|
4351
|
+
agentSnapshot: {
|
|
4352
|
+
id: string;
|
|
4353
|
+
contentHash: string;
|
|
4354
|
+
};
|
|
4355
|
+
sourcePackageHash: string;
|
|
3094
4356
|
};
|
|
3095
|
-
|
|
4357
|
+
model: {
|
|
4358
|
+
modelId: string;
|
|
4359
|
+
configurationHash: string;
|
|
4360
|
+
};
|
|
4361
|
+
} | {
|
|
4362
|
+
kind: "fixture";
|
|
4363
|
+
configurationHash: string;
|
|
4364
|
+
};
|
|
4365
|
+
graders: {
|
|
4366
|
+
feedbackKey: string;
|
|
4367
|
+
evaluator: {
|
|
3096
4368
|
id: string;
|
|
3097
4369
|
contentHash: string;
|
|
3098
4370
|
};
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
4371
|
+
expectedCount: number;
|
|
4372
|
+
scoredCount: number;
|
|
4373
|
+
score: number | null;
|
|
4374
|
+
}[];
|
|
4375
|
+
contentHash: string;
|
|
4376
|
+
} | undefined;
|
|
4377
|
+
modelProject: {
|
|
4378
|
+
id: string;
|
|
4379
|
+
portableProjectId: string;
|
|
4380
|
+
revision: number;
|
|
4381
|
+
contentHash: string;
|
|
4382
|
+
};
|
|
4383
|
+
harnessRunManifest: {
|
|
4384
|
+
id: string;
|
|
4385
|
+
contentHash: string;
|
|
4386
|
+
};
|
|
4387
|
+
harnessRelease: {
|
|
4388
|
+
id: string;
|
|
4389
|
+
contentHash: string;
|
|
3108
4390
|
};
|
|
3109
|
-
graders: {
|
|
3110
|
-
feedbackKey: string;
|
|
3111
|
-
evaluator: {
|
|
3112
|
-
id: string;
|
|
3113
|
-
contentHash: string;
|
|
3114
|
-
};
|
|
3115
|
-
expectedCount: number;
|
|
3116
|
-
scoredCount: number;
|
|
3117
|
-
score: number | null;
|
|
3118
|
-
}[];
|
|
3119
|
-
contentHash: string;
|
|
3120
|
-
} | undefined;
|
|
3121
|
-
modelProject: {
|
|
3122
|
-
id: string;
|
|
3123
|
-
portableProjectId: string;
|
|
3124
|
-
revision: number;
|
|
3125
|
-
contentHash: string;
|
|
3126
|
-
};
|
|
3127
|
-
harnessRunManifest: {
|
|
3128
|
-
id: string;
|
|
3129
|
-
contentHash: string;
|
|
3130
|
-
};
|
|
3131
|
-
harnessRelease: {
|
|
3132
|
-
id: string;
|
|
3133
|
-
contentHash: string;
|
|
3134
|
-
};
|
|
3135
|
-
taskset: {
|
|
3136
|
-
id: string;
|
|
3137
|
-
contentHash: string;
|
|
3138
|
-
revision: number;
|
|
3139
|
-
};
|
|
3140
|
-
tasksetRelease: {
|
|
3141
|
-
id: string;
|
|
3142
|
-
contentHash: string;
|
|
3143
|
-
};
|
|
3144
|
-
evaluation?: {
|
|
3145
4391
|
taskset: {
|
|
3146
4392
|
id: string;
|
|
3147
4393
|
contentHash: string;
|
|
3148
4394
|
revision: number;
|
|
3149
4395
|
};
|
|
4396
|
+
tasksetRelease: {
|
|
4397
|
+
id: string;
|
|
4398
|
+
contentHash: string;
|
|
4399
|
+
};
|
|
4400
|
+
evaluation?: {
|
|
4401
|
+
taskset: {
|
|
4402
|
+
id: string;
|
|
4403
|
+
contentHash: string;
|
|
4404
|
+
revision: number;
|
|
4405
|
+
};
|
|
4406
|
+
dataset: {
|
|
4407
|
+
id: string;
|
|
4408
|
+
contentHash: string;
|
|
4409
|
+
};
|
|
4410
|
+
} | null | undefined;
|
|
3150
4411
|
dataset: {
|
|
3151
4412
|
id: string;
|
|
3152
4413
|
contentHash: string;
|
|
3153
4414
|
};
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
4415
|
+
evidenceSets: {
|
|
4416
|
+
id: string;
|
|
4417
|
+
contentHash: string;
|
|
4418
|
+
}[];
|
|
3158
4419
|
};
|
|
3159
|
-
evidenceSets: {
|
|
3160
|
-
id: string;
|
|
3161
|
-
contentHash: string;
|
|
3162
|
-
}[];
|
|
3163
|
-
};
|
|
3164
|
-
submissionHash: string;
|
|
3165
|
-
usageQuote?: {
|
|
3166
|
-
schemaVersion: "openpond.trainingUsageQuote.v1";
|
|
3167
|
-
teamId: string;
|
|
3168
|
-
actorUserId: string;
|
|
3169
|
-
preparationId: string;
|
|
3170
4420
|
submissionHash: string;
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
4421
|
+
usageQuote?: {
|
|
4422
|
+
schemaVersion: "openpond.trainingUsageQuote.v1";
|
|
4423
|
+
teamId: string;
|
|
4424
|
+
actorUserId: string;
|
|
4425
|
+
preparationId: string;
|
|
4426
|
+
submissionHash: string;
|
|
4427
|
+
workerImageDigest: string;
|
|
4428
|
+
customerCapUsd: string | null;
|
|
4429
|
+
maximumWallSeconds: number;
|
|
4430
|
+
retentionDays: number;
|
|
4431
|
+
qualification?: {
|
|
4432
|
+
authorizationId: string;
|
|
4433
|
+
operationId: string;
|
|
4434
|
+
authorizationSha256: string;
|
|
4435
|
+
} | undefined;
|
|
4436
|
+
gpu: {
|
|
3187
4437
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3188
4438
|
version: string;
|
|
3189
4439
|
profileHash: string;
|
|
@@ -3192,65 +4442,75 @@ export declare function parseAndVerifyTrainingPreparationReceipt(value: unknown)
|
|
|
3192
4442
|
hourlyUsd: string;
|
|
3193
4443
|
service: "managed_rl";
|
|
3194
4444
|
};
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
4445
|
+
guests: {
|
|
4446
|
+
profileHash: string;
|
|
4447
|
+
price: {
|
|
4448
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
4449
|
+
version: string;
|
|
4450
|
+
profileHash: string;
|
|
4451
|
+
currency: "USD";
|
|
4452
|
+
unit: "resource_hour";
|
|
4453
|
+
hourlyUsd: string;
|
|
4454
|
+
service: "managed_rl";
|
|
4455
|
+
};
|
|
4456
|
+
resources: {
|
|
4457
|
+
cpu: number;
|
|
4458
|
+
memoryGb: number;
|
|
4459
|
+
diskGb: number;
|
|
4460
|
+
};
|
|
4461
|
+
}[];
|
|
4462
|
+
judges: {
|
|
4463
|
+
billing: "existing_retail_child_captures";
|
|
4464
|
+
acceptedPricingHashes: string[];
|
|
4465
|
+
prices: {
|
|
4466
|
+
modelId: string;
|
|
4467
|
+
displayName: string;
|
|
4468
|
+
acceptedPricingHash: string;
|
|
3215
4469
|
inputUsdPerMillionTokens: string;
|
|
3216
4470
|
cachedInputUsdPerMillionTokens: string;
|
|
3217
4471
|
outputUsdPerMillionTokens: string;
|
|
3218
4472
|
cacheWriteUsdPerMillionTokens: string | null;
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
unit: "resource_hour";
|
|
3229
|
-
hourlyUsd: string;
|
|
3230
|
-
service: "managed_rl";
|
|
4473
|
+
cacheWriteOneHourUsdPerMillionTokens: string | null;
|
|
4474
|
+
longContextThresholdTokens: number | null;
|
|
4475
|
+
longContext: {
|
|
4476
|
+
inputUsdPerMillionTokens: string;
|
|
4477
|
+
cachedInputUsdPerMillionTokens: string;
|
|
4478
|
+
outputUsdPerMillionTokens: string;
|
|
4479
|
+
cacheWriteUsdPerMillionTokens: string | null;
|
|
4480
|
+
} | null;
|
|
4481
|
+
}[];
|
|
3231
4482
|
};
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
4483
|
+
storage: {
|
|
4484
|
+
price: {
|
|
4485
|
+
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
4486
|
+
version: string;
|
|
4487
|
+
profileHash: string;
|
|
4488
|
+
currency: "USD";
|
|
4489
|
+
unit: "resource_hour";
|
|
4490
|
+
hourlyUsd: string;
|
|
4491
|
+
service: "managed_rl";
|
|
4492
|
+
};
|
|
4493
|
+
storageClass: "STANDARD";
|
|
4494
|
+
quantityBasis: "gib_milliseconds";
|
|
4495
|
+
onCreditExhaustion: "retain_objects_and_stop_new_storage";
|
|
4496
|
+
};
|
|
4497
|
+
gpuBillingBoundary: "active_allocation_until_verified_cleanup";
|
|
4498
|
+
storageBillingBoundary: "accepted_retention_window";
|
|
4499
|
+
startupBillable: true;
|
|
4500
|
+
postCompletionIdleBillable: false;
|
|
4501
|
+
minimumBillableSeconds: 0;
|
|
4502
|
+
issuedAt: string;
|
|
4503
|
+
expiresAt: string;
|
|
4504
|
+
contentHash: string;
|
|
4505
|
+
signature: string;
|
|
4506
|
+
} | undefined;
|
|
4507
|
+
createdAt: string;
|
|
3243
4508
|
contentHash: string;
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
}
|
|
3249
|
-
revision: number;
|
|
3250
|
-
state: "cancelled" | "prepared" | "submitted";
|
|
3251
|
-
jobId: string | null;
|
|
3252
|
-
}>;
|
|
3253
|
-
export declare function createTrainingPreparationClient(request: (path: string, init?: RequestInit) => Promise<unknown>): {
|
|
4509
|
+
};
|
|
4510
|
+
revision: number;
|
|
4511
|
+
state: "cancelled" | "prepared" | "submitted";
|
|
4512
|
+
jobId: string | null;
|
|
4513
|
+
}>;
|
|
3254
4514
|
/** Discover the authenticated user's retained preparations without creating jobs. */
|
|
3255
4515
|
listPreparations(teamId: string, input?: TrainingPreparationListQuery): Promise<{
|
|
3256
4516
|
schemaVersion: "openpond.trainingPreparationPage.v1";
|
|
@@ -3730,6 +4990,11 @@ export declare function createTrainingPreparationClient(request: (path: string,
|
|
|
3730
4990
|
customerCapUsd: string | null;
|
|
3731
4991
|
maximumWallSeconds: number;
|
|
3732
4992
|
retentionDays: number;
|
|
4993
|
+
qualification?: {
|
|
4994
|
+
authorizationId: string;
|
|
4995
|
+
operationId: string;
|
|
4996
|
+
authorizationSha256: string;
|
|
4997
|
+
} | undefined;
|
|
3733
4998
|
gpu: {
|
|
3734
4999
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
3735
5000
|
version: string;
|
|
@@ -4283,6 +5548,11 @@ export declare function createTrainingPreparationClient(request: (path: string,
|
|
|
4283
5548
|
customerCapUsd: string | null;
|
|
4284
5549
|
maximumWallSeconds: number;
|
|
4285
5550
|
retentionDays: number;
|
|
5551
|
+
qualification?: {
|
|
5552
|
+
authorizationId: string;
|
|
5553
|
+
operationId: string;
|
|
5554
|
+
authorizationSha256: string;
|
|
5555
|
+
} | undefined;
|
|
4286
5556
|
gpu: {
|
|
4287
5557
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
4288
5558
|
version: string;
|
|
@@ -4835,6 +6105,11 @@ export declare function createTrainingPreparationClient(request: (path: string,
|
|
|
4835
6105
|
customerCapUsd: string | null;
|
|
4836
6106
|
maximumWallSeconds: number;
|
|
4837
6107
|
retentionDays: number;
|
|
6108
|
+
qualification?: {
|
|
6109
|
+
authorizationId: string;
|
|
6110
|
+
operationId: string;
|
|
6111
|
+
authorizationSha256: string;
|
|
6112
|
+
} | undefined;
|
|
4838
6113
|
gpu: {
|
|
4839
6114
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
4840
6115
|
version: string;
|
|
@@ -5387,6 +6662,11 @@ export declare function createTrainingPreparationClient(request: (path: string,
|
|
|
5387
6662
|
customerCapUsd: string | null;
|
|
5388
6663
|
maximumWallSeconds: number;
|
|
5389
6664
|
retentionDays: number;
|
|
6665
|
+
qualification?: {
|
|
6666
|
+
authorizationId: string;
|
|
6667
|
+
operationId: string;
|
|
6668
|
+
authorizationSha256: string;
|
|
6669
|
+
} | undefined;
|
|
5390
6670
|
gpu: {
|
|
5391
6671
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
5392
6672
|
version: string;
|
|
@@ -5939,6 +7219,11 @@ export declare function createTrainingPreparationClient(request: (path: string,
|
|
|
5939
7219
|
customerCapUsd: string | null;
|
|
5940
7220
|
maximumWallSeconds: number;
|
|
5941
7221
|
retentionDays: number;
|
|
7222
|
+
qualification?: {
|
|
7223
|
+
authorizationId: string;
|
|
7224
|
+
operationId: string;
|
|
7225
|
+
authorizationSha256: string;
|
|
7226
|
+
} | undefined;
|
|
5942
7227
|
gpu: {
|
|
5943
7228
|
schemaVersion: "openpond.computeAppliedPrice.v1";
|
|
5944
7229
|
version: string;
|