@openpond/evals 0.12.6 → 0.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/LEARNING.md +5 -0
  2. package/RELEASING.md +6 -0
  3. package/dist/javascript-isolate-process-source.js +1 -1
  4. package/dist/javascript-verifier-worker-source.js +1 -1
  5. package/dist/learning/iteration-dispatch-contracts.js +4 -0
  6. package/dist/learning/iteration-dispatch-worker.js +4 -0
  7. package/dist/learning/iteration-eligibility.js +2 -1
  8. package/dist/learning/iteration-exposure.js +30 -0
  9. package/dist/learning/iteration-reservation-cancellation.js +12 -3
  10. package/dist/learning/iteration-reservation-contracts.js +5 -3
  11. package/dist/learning/iteration-reservation-service.js +10 -2
  12. package/dist/learning/iteration-training-parent.js +3 -1
  13. package/dist/learning/reward-authoring.js +10 -4
  14. package/dist/learning/service.js +2 -0
  15. package/dist/sql-execution-process-source.js +1 -1
  16. package/dist/task-schema-validation.js +10 -2
  17. package/dist/types/learning/iteration-dispatch-contracts.d.ts +13 -0
  18. package/dist/types/learning/iteration-dispatch-contracts.d.ts.map +1 -1
  19. package/dist/types/learning/iteration-dispatch-worker.d.ts.map +1 -1
  20. package/dist/types/learning/iteration-eligibility.d.ts.map +1 -1
  21. package/dist/types/learning/iteration-exposure.d.ts +13 -0
  22. package/dist/types/learning/iteration-exposure.d.ts.map +1 -0
  23. package/dist/types/learning/iteration-reservation-cancellation.d.ts.map +1 -1
  24. package/dist/types/learning/iteration-reservation-contracts.d.ts +13 -3
  25. package/dist/types/learning/iteration-reservation-contracts.d.ts.map +1 -1
  26. package/dist/types/learning/iteration-reservation-service.d.ts.map +1 -1
  27. package/dist/types/learning/iteration-training-parent.d.ts.map +1 -1
  28. package/dist/types/learning/repository.d.ts +18 -2
  29. package/dist/types/learning/repository.d.ts.map +1 -1
  30. package/dist/types/learning/reward-authoring.d.ts.map +1 -1
  31. package/dist/types/learning/service.d.ts.map +1 -1
  32. package/dist/types/learning/transport.d.ts +1004 -994
  33. package/dist/types/learning/transport.d.ts.map +1 -1
  34. package/dist/types/task-schema-validation.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/schemas/learning/v1/consumption.schema.json +40 -4
@@ -2535,163 +2535,24 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
2535
2535
  updatedAt: z.ZodString;
2536
2536
  contentHash: z.ZodString;
2537
2537
  }, z.core.$strict>], "targetKind"> | z.ZodObject<{
2538
- schemaVersion: z.ZodLiteral<"openpond.taskFeedbackRecord.v1">;
2539
- id: z.ZodString;
2540
- submission: z.ZodObject<{
2541
- schemaVersion: z.ZodLiteral<"openpond.taskFeedback.v1">;
2542
- sourceId: z.ZodString;
2543
- idempotencyKey: z.ZodString;
2544
- exampleId: z.ZodString;
2545
- attemptId: z.ZodString;
2546
- expectedEvidenceHash: z.ZodNullable<z.ZodString>;
2547
- occurredAt: z.ZodString;
2548
- kind: z.ZodEnum<{
2549
- family_resolution: "family_resolution";
2550
- ground_truth_correction: "ground_truth_correction";
2551
- input_correction: "input_correction";
2552
- outcome: "outcome";
2553
- target_correction: "target_correction";
2554
- }>;
2555
- value: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2556
- note: z.ZodString;
2557
- }, z.core.$strict>;
2558
- status: z.ZodEnum<{
2559
- applied: "applied";
2560
- pending_example: "pending_example";
2561
- pending_review: "pending_review";
2562
- rejected: "rejected";
2563
- superseded: "superseded";
2564
- }>;
2565
- evidence: z.ZodNullable<z.ZodObject<{
2566
- id: z.ZodString;
2567
- contentHash: z.ZodString;
2568
- revision: z.ZodNumber;
2569
- }, z.core.$strict>>;
2570
- createdAt: z.ZodString;
2571
- revision: z.ZodNumber;
2572
- submittedBy: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2573
- id: z.ZodString;
2574
- role: z.ZodEnum<{
2575
- editor: "editor";
2576
- reviewer: "reviewer";
2577
- source: "source";
2578
- }>;
2579
- sourceId: z.ZodNullable<z.ZodString>;
2580
- }, z.core.$strict>>>;
2581
- review: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2582
- actorId: z.ZodString;
2583
- decision: z.ZodNullable<z.ZodObject<{
2584
- id: z.ZodString;
2585
- contentHash: z.ZodString;
2586
- revision: z.ZodNumber;
2587
- }, z.core.$strict>>;
2588
- note: z.ZodString;
2589
- resolvedAt: z.ZodString;
2590
- }, z.core.$strict>>>;
2591
- }, z.core.$strict> | z.ZodObject<{
2592
- schemaVersion: z.ZodLiteral<"openpond.learningIteration.v1">;
2538
+ schemaVersion: z.ZodLiteral<"openpond.rewardCheckRun.v1">;
2593
2539
  id: z.ZodString;
2594
2540
  revision: z.ZodNumber;
2595
- policy: z.ZodObject<{
2541
+ draft: z.ZodObject<{
2596
2542
  id: z.ZodString;
2597
2543
  contentHash: z.ZodString;
2598
2544
  revision: z.ZodNumber;
2599
2545
  }, z.core.$strict>;
2600
- status: z.ZodEnum<{
2601
- accepted: "accepted";
2602
- cancelled: "cancelled";
2603
- cancelling: "cancelling";
2604
- candidate_ready: "candidate_ready";
2605
- completed_without_candidate: "completed_without_candidate";
2606
- dispatching: "dispatching";
2607
- evaluating: "evaluating";
2608
- failed: "failed";
2609
- paused: "paused";
2610
- ready: "ready";
2611
- rejected: "rejected";
2612
- training: "training";
2613
- waiting_for_data: "waiting_for_data";
2614
- waiting_for_review: "waiting_for_review";
2615
- }>;
2616
- triggerIdentity: z.ZodString;
2617
- batch: z.ZodNullable<z.ZodObject<{
2546
+ reward: z.ZodObject<{
2618
2547
  id: z.ZodString;
2619
2548
  contentHash: z.ZodString;
2620
2549
  revision: z.ZodNumber;
2621
- }, z.core.$strict>>;
2622
- sourceWatermarks: z.ZodRecord<z.ZodString, z.ZodNumber>;
2623
- trainingParent: z.ZodObject<{
2624
- id: z.ZodString;
2625
- contentHash: z.ZodString;
2626
2550
  }, z.core.$strict>;
2627
- trainingParentSelection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2628
- iterationId: z.ZodString;
2629
- iterationRevision: z.ZodNumber;
2630
- candidate: z.ZodObject<{
2631
- id: z.ZodString;
2632
- contentHash: z.ZodString;
2633
- }, z.core.$strict>;
2634
- decision: z.ZodObject<{
2635
- id: z.ZodString;
2636
- contentHash: z.ZodString;
2637
- revision: z.ZodNumber;
2638
- }, z.core.$strict>;
2639
- decidedAt: z.ZodString;
2640
- }, z.core.$strict>>>;
2641
- teacher: z.ZodNullable<z.ZodObject<{
2642
- id: z.ZodString;
2643
- contentHash: z.ZodString;
2644
- }, z.core.$strict>>;
2645
- upstreamEvent: z.ZodNullable<z.ZodObject<{
2646
- id: z.ZodString;
2647
- contentHash: z.ZodString;
2648
- }, z.core.$strict>>;
2649
- trainingJob: z.ZodNullable<z.ZodObject<{
2650
- id: z.ZodString;
2651
- contentHash: z.ZodString;
2652
- }, z.core.$strict>>;
2653
- evaluationJob: z.ZodNullable<z.ZodObject<{
2654
- id: z.ZodString;
2655
- contentHash: z.ZodString;
2656
- }, z.core.$strict>>;
2657
- candidateVersion: z.ZodNullable<z.ZodObject<{
2658
- id: z.ZodString;
2659
- contentHash: z.ZodString;
2660
- }, z.core.$strict>>;
2661
- candidateDecision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2551
+ snapshotHash: z.ZodString;
2552
+ fixtureRefs: z.ZodArray<z.ZodObject<{
2662
2553
  id: z.ZodString;
2663
2554
  contentHash: z.ZodString;
2664
- revision: z.ZodNumber;
2665
- }, z.core.$strict>>>;
2666
- candidateDecisionAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2667
- dispatchId: z.ZodString;
2668
- retryCount: z.ZodNumber;
2669
- spendUsd: z.ZodNumber;
2670
- failure: z.ZodNullable<z.ZodObject<{
2671
- code: z.ZodString;
2672
- message: z.ZodString;
2673
2555
  }, z.core.$strict>>;
2674
- createdAt: z.ZodString;
2675
- updatedAt: z.ZodString;
2676
- }, z.core.$strict> | z.ZodObject<{
2677
- schemaVersion: z.ZodLiteral<"openpond.taskGradeRun.v1">;
2678
- id: z.ZodString;
2679
- revision: z.ZodNumber;
2680
- evidence: z.ZodObject<{
2681
- id: z.ZodString;
2682
- contentHash: z.ZodString;
2683
- revision: z.ZodNumber;
2684
- }, z.core.$strict>;
2685
- binding: z.ZodObject<{
2686
- id: z.ZodString;
2687
- contentHash: z.ZodString;
2688
- revision: z.ZodNumber;
2689
- }, z.core.$strict>;
2690
- target: z.ZodEnum<{
2691
- observed: "observed";
2692
- proposed_target: "proposed_target";
2693
- }>;
2694
- output: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2695
2556
  status: z.ZodEnum<{
2696
2557
  cancelled: "cancelled";
2697
2558
  cancelling: "cancelling";
@@ -2700,17 +2561,17 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
2700
2561
  queued: "queued";
2701
2562
  running: "running";
2702
2563
  }>;
2703
- composition: z.ZodNullable<z.ZodObject<{
2704
- schemaVersion: z.ZodLiteral<"openpond.rewardComposition.v1">;
2705
- binding: z.ZodObject<{
2564
+ runtime: z.ZodNullable<z.ZodObject<{
2565
+ id: z.ZodString;
2566
+ packageVersion: z.ZodString;
2567
+ engine: z.ZodString;
2568
+ }, z.core.$strict>>;
2569
+ results: z.ZodArray<z.ZodObject<{
2570
+ fixture: z.ZodObject<{
2706
2571
  id: z.ZodString;
2707
2572
  contentHash: z.ZodString;
2708
- revision: z.ZodNumber;
2709
2573
  }, z.core.$strict>;
2710
- taskHash: z.ZodString;
2711
- taskId: z.ZodOptional<z.ZodString>;
2712
- outputHash: z.ZodString;
2713
- results: z.ZodArray<z.ZodObject<{
2574
+ result: z.ZodObject<{
2714
2575
  graderId: z.ZodString;
2715
2576
  reward: z.ZodObject<{
2716
2577
  id: z.ZodString;
@@ -2787,32 +2648,11 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
2787
2648
  contentHash: z.ZodString;
2788
2649
  }, z.core.$strict>>;
2789
2650
  message: z.ZodNullable<z.ZodString>;
2790
- }, z.core.$strict>>;
2791
- training: z.ZodObject<{
2792
- status: z.ZodEnum<{
2793
- not_configured: "not_configured";
2794
- pending: "pending";
2795
- scored: "scored";
2796
- unscorable: "unscorable";
2797
- }>;
2798
- score: z.ZodNullable<z.ZodNumber>;
2799
- passed: z.ZodNullable<z.ZodBoolean>;
2800
- }, z.core.$strict>;
2801
- evaluation: z.ZodObject<{
2802
- status: z.ZodEnum<{
2803
- not_configured: "not_configured";
2804
- pending: "pending";
2805
- scored: "scored";
2806
- unscorable: "unscorable";
2807
- }>;
2808
- score: z.ZodNullable<z.ZodNumber>;
2809
- passed: z.ZodNullable<z.ZodBoolean>;
2810
2651
  }, z.core.$strict>;
2811
- contentHash: z.ZodString;
2652
+ matchesExpectation: z.ZodBoolean;
2812
2653
  }, z.core.$strict>>;
2813
- leaseOwner: z.ZodNullable<z.ZodString>;
2814
- leaseExpiresAt: z.ZodNullable<z.ZodString>;
2815
- attemptCount: z.ZodNumber;
2654
+ matchesExpectations: z.ZodNullable<z.ZodBoolean>;
2655
+ failure: z.ZodNullable<z.ZodString>;
2816
2656
  timeoutMs: z.ZodNumber;
2817
2657
  maximumSpendUsd: z.ZodNumber;
2818
2658
  judgeCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2838,158 +2678,65 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
2838
2678
  }, z.core.$strict>>;
2839
2679
  }, z.core.$strict>>>;
2840
2680
  requestedBy: z.ZodOptional<z.ZodString>;
2841
- failure: z.ZodNullable<z.ZodString>;
2681
+ leaseOwner: z.ZodNullable<z.ZodString>;
2682
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
2683
+ attemptCount: z.ZodNumber;
2842
2684
  createdAt: z.ZodString;
2843
2685
  updatedAt: z.ZodString;
2844
2686
  }, z.core.$strict> | z.ZodObject<{
2845
- schemaVersion: z.ZodLiteral<"openpond.rewardCheckRun.v1">;
2687
+ schemaVersion: z.ZodLiteral<"openpond.taskFeedbackRecord.v1">;
2846
2688
  id: z.ZodString;
2847
- revision: z.ZodNumber;
2848
- draft: z.ZodObject<{
2849
- id: z.ZodString;
2850
- contentHash: z.ZodString;
2851
- revision: z.ZodNumber;
2689
+ submission: z.ZodObject<{
2690
+ schemaVersion: z.ZodLiteral<"openpond.taskFeedback.v1">;
2691
+ sourceId: z.ZodString;
2692
+ idempotencyKey: z.ZodString;
2693
+ exampleId: z.ZodString;
2694
+ attemptId: z.ZodString;
2695
+ expectedEvidenceHash: z.ZodNullable<z.ZodString>;
2696
+ occurredAt: z.ZodString;
2697
+ kind: z.ZodEnum<{
2698
+ family_resolution: "family_resolution";
2699
+ ground_truth_correction: "ground_truth_correction";
2700
+ input_correction: "input_correction";
2701
+ outcome: "outcome";
2702
+ target_correction: "target_correction";
2703
+ }>;
2704
+ value: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2705
+ note: z.ZodString;
2852
2706
  }, z.core.$strict>;
2853
- reward: z.ZodObject<{
2707
+ status: z.ZodEnum<{
2708
+ applied: "applied";
2709
+ pending_example: "pending_example";
2710
+ pending_review: "pending_review";
2711
+ rejected: "rejected";
2712
+ superseded: "superseded";
2713
+ }>;
2714
+ evidence: z.ZodNullable<z.ZodObject<{
2854
2715
  id: z.ZodString;
2855
2716
  contentHash: z.ZodString;
2856
2717
  revision: z.ZodNumber;
2857
- }, z.core.$strict>;
2858
- snapshotHash: z.ZodString;
2859
- fixtureRefs: z.ZodArray<z.ZodObject<{
2860
- id: z.ZodString;
2861
- contentHash: z.ZodString;
2862
2718
  }, z.core.$strict>>;
2863
- status: z.ZodEnum<{
2864
- cancelled: "cancelled";
2865
- cancelling: "cancelling";
2866
- completed: "completed";
2867
- failed: "failed";
2868
- queued: "queued";
2869
- running: "running";
2870
- }>;
2871
- runtime: z.ZodNullable<z.ZodObject<{
2719
+ createdAt: z.ZodString;
2720
+ revision: z.ZodNumber;
2721
+ submittedBy: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2872
2722
  id: z.ZodString;
2873
- packageVersion: z.ZodString;
2874
- engine: z.ZodString;
2875
- }, z.core.$strict>>;
2876
- results: z.ZodArray<z.ZodObject<{
2877
- fixture: z.ZodObject<{
2878
- id: z.ZodString;
2879
- contentHash: z.ZodString;
2880
- }, z.core.$strict>;
2881
- result: z.ZodObject<{
2882
- graderId: z.ZodString;
2883
- reward: z.ZodObject<{
2884
- id: z.ZodString;
2885
- contentHash: z.ZodString;
2886
- revision: z.ZodNumber;
2887
- }, z.core.$strict>;
2888
- role: z.ZodEnum<{
2889
- evaluation: "evaluation";
2890
- training: "training";
2891
- }>;
2892
- status: z.ZodEnum<{
2893
- failed: "failed";
2894
- not_applicable: "not_applicable";
2895
- pending: "pending";
2896
- scored: "scored";
2897
- unavailable: "unavailable";
2898
- }>;
2899
- rawScore: z.ZodNullable<z.ZodNumber>;
2900
- normalizedScore: z.ZodNullable<z.ZodNumber>;
2901
- passed: z.ZodNullable<z.ZodBoolean>;
2902
- evidenceHashes: z.ZodArray<z.ZodString>;
2903
- graderEvidence: z.ZodOptional<z.ZodObject<{
2904
- schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
2905
- graderId: z.ZodString;
2906
- graderVersion: z.ZodString;
2907
- status: z.ZodOptional<z.ZodEnum<{
2908
- failed: "failed";
2909
- pending: "pending";
2910
- scored: "scored";
2911
- unavailable: "unavailable";
2912
- }>>;
2913
- score: z.ZodNullable<z.ZodNumber>;
2914
- passed: z.ZodBoolean;
2915
- rewardEligible: z.ZodBoolean;
2916
- failureClass: z.ZodNullable<z.ZodEnum<{
2917
- cancelled: "cancelled";
2918
- environment_failure: "environment_failure";
2919
- grader_failure: "grader_failure";
2920
- infrastructure_failure: "infrastructure_failure";
2921
- policy_failure: "policy_failure";
2922
- timeout: "timeout";
2923
- }>>;
2924
- feedback: z.ZodArray<z.ZodString>;
2925
- visibleEvidenceRefs: z.ZodArray<z.ZodString>;
2926
- privilegedEvidenceRefs: z.ZodArray<z.ZodString>;
2927
- modelJudgeReceipt: z.ZodOptional<z.ZodObject<{
2928
- schemaVersion: z.ZodLiteral<"openpond.modelJudgeReceipt.v1">;
2929
- providerId: z.ZodString;
2930
- modelId: z.ZodString;
2931
- modelRevision: z.ZodNullable<z.ZodString>;
2932
- responseId: z.ZodNullable<z.ZodString>;
2933
- requestHash: z.ZodString;
2934
- responseHash: z.ZodString;
2935
- inputTokens: z.ZodNullable<z.ZodNumber>;
2936
- outputTokens: z.ZodNullable<z.ZodNumber>;
2937
- costUsd: z.ZodNullable<z.ZodNumber>;
2938
- transportPolicy: z.ZodOptional<z.ZodObject<{
2939
- schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
2940
- responseFormat: z.ZodLiteral<"judgment_json_schema">;
2941
- reasoningEffort: z.ZodEnum<{
2942
- high: "high";
2943
- low: "low";
2944
- max: "max";
2945
- medium: "medium";
2946
- off: "off";
2947
- xhigh: "xhigh";
2948
- }>;
2949
- maximumOutputTokens: z.ZodNumber;
2950
- }, z.core.$strict>>;
2951
- effectiveRequestHash: z.ZodOptional<z.ZodString>;
2952
- finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2953
- reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2954
- }, z.core.$strict>>;
2955
- contentHash: z.ZodString;
2956
- }, z.core.$strict>>;
2957
- message: z.ZodNullable<z.ZodString>;
2958
- }, z.core.$strict>;
2959
- matchesExpectation: z.ZodBoolean;
2960
- }, z.core.$strict>>;
2961
- matchesExpectations: z.ZodNullable<z.ZodBoolean>;
2962
- failure: z.ZodNullable<z.ZodString>;
2963
- timeoutMs: z.ZodNumber;
2964
- maximumSpendUsd: z.ZodNumber;
2965
- judgeCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
2966
- id: z.ZodString;
2967
- requestHash: z.ZodString;
2968
- reservedUsd: z.ZodNumber;
2969
- status: z.ZodEnum<{
2970
- not_dispatched: "not_dispatched";
2971
- reserved: "reserved";
2972
- settled: "settled";
2723
+ role: z.ZodEnum<{
2724
+ editor: "editor";
2725
+ reviewer: "reviewer";
2726
+ source: "source";
2973
2727
  }>;
2974
- response: z.ZodNullable<z.ZodObject<{
2975
- text: z.ZodString;
2976
- modelId: z.ZodString;
2977
- modelRevision: z.ZodNullable<z.ZodString>;
2978
- responseId: z.ZodNullable<z.ZodString>;
2979
- inputTokens: z.ZodNullable<z.ZodNumber>;
2980
- outputTokens: z.ZodNullable<z.ZodNumber>;
2981
- costUsd: z.ZodNullable<z.ZodNumber>;
2982
- effectiveRequestHash: z.ZodOptional<z.ZodString>;
2983
- finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2984
- reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2728
+ sourceId: z.ZodNullable<z.ZodString>;
2729
+ }, z.core.$strict>>>;
2730
+ review: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2731
+ actorId: z.ZodString;
2732
+ decision: z.ZodNullable<z.ZodObject<{
2733
+ id: z.ZodString;
2734
+ contentHash: z.ZodString;
2735
+ revision: z.ZodNumber;
2985
2736
  }, z.core.$strict>>;
2737
+ note: z.ZodString;
2738
+ resolvedAt: z.ZodString;
2986
2739
  }, z.core.$strict>>>;
2987
- requestedBy: z.ZodOptional<z.ZodString>;
2988
- leaseOwner: z.ZodNullable<z.ZodString>;
2989
- leaseExpiresAt: z.ZodNullable<z.ZodString>;
2990
- attemptCount: z.ZodNumber;
2991
- createdAt: z.ZodString;
2992
- updatedAt: z.ZodString;
2993
2740
  }, z.core.$strict> | z.ZodObject<{
2994
2741
  schemaVersion: z.ZodLiteral<"openpond.learningChain.v1">;
2995
2742
  id: z.ZodString;
@@ -3016,7 +2763,7 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3016
2763
  }, z.core.$strict> | z.ZodObject<{
3017
2764
  schemaVersion: z.ZodLiteral<"openpond.learningConsumption.v1">;
3018
2765
  id: z.ZodString;
3019
- revision: z.ZodLiteral<1>;
2766
+ revision: z.ZodNumber;
3020
2767
  chainId: z.ZodString;
3021
2768
  iterationId: z.ZodString;
3022
2769
  evidence: z.ZodObject<{
@@ -3030,6 +2777,16 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3030
2777
  revision: z.ZodNumber;
3031
2778
  }, z.core.$strict>;
3032
2779
  reservedAt: z.ZodString;
2780
+ exposure: z.ZodOptional<z.ZodEnum<{
2781
+ exposed: "exposed";
2782
+ reserved: "reserved";
2783
+ trained: "trained";
2784
+ unexposed: "unexposed";
2785
+ }>>;
2786
+ executionReceipt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2787
+ id: z.ZodString;
2788
+ contentHash: z.ZodString;
2789
+ }, z.core.$strict>>>;
3033
2790
  }, z.core.$strict> | z.ZodObject<{
3034
2791
  schemaVersion: z.ZodLiteral<"openpond.learningIterationReservation.v1">;
3035
2792
  id: z.ZodString;
@@ -3204,95 +2961,348 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3204
2961
  createdAt: z.ZodString;
3205
2962
  contentHash: z.ZodString;
3206
2963
  }, z.core.$strict> | z.ZodObject<{
3207
- schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">;
2964
+ schemaVersion: z.ZodLiteral<"openpond.learningIteration.v1">;
3208
2965
  id: z.ZodString;
3209
2966
  revision: z.ZodNumber;
3210
2967
  policy: z.ZodObject<{
3211
- policyVisibleFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
3212
- privilegedFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
3213
- hiddenGraderRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
3214
- connectedAppScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
2968
+ id: z.ZodString;
2969
+ contentHash: z.ZodString;
2970
+ revision: z.ZodNumber;
3215
2971
  }, z.core.$strict>;
3216
- environment: z.ZodObject<{
3217
- protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
3218
- kind: z.ZodEnum<{
3219
- agent: "agent";
3220
- custom_program: "custom_program";
3221
- text: "text";
3222
- work: "work";
3223
- }>;
3224
- entrypoint: z.ZodString;
3225
- stateful: z.ZodBoolean;
3226
- deterministicSeeds: z.ZodBoolean;
3227
- lifecycle: z.ZodArray<z.ZodEnum<{
3228
- collect: "collect";
3229
- create: "create";
3230
- destroy: "destroy";
3231
- reset: "reset";
3232
- step: "step";
3233
- }>>;
3234
- networkPolicy: z.ZodEnum<{
3235
- declared_read_only: "declared_read_only";
3236
- declared_scoped: "declared_scoped";
3237
- none: "none";
3238
- }>;
3239
- defaultTimeoutMs: z.ZodNumber;
2972
+ status: z.ZodEnum<{
2973
+ accepted: "accepted";
2974
+ cancelled: "cancelled";
2975
+ cancelling: "cancelling";
2976
+ candidate_ready: "candidate_ready";
2977
+ completed_without_candidate: "completed_without_candidate";
2978
+ dispatching: "dispatching";
2979
+ evaluating: "evaluating";
2980
+ failed: "failed";
2981
+ paused: "paused";
2982
+ ready: "ready";
2983
+ rejected: "rejected";
2984
+ training: "training";
2985
+ waiting_for_data: "waiting_for_data";
2986
+ waiting_for_review: "waiting_for_review";
2987
+ }>;
2988
+ triggerIdentity: z.ZodString;
2989
+ batch: z.ZodNullable<z.ZodObject<{
2990
+ id: z.ZodString;
2991
+ contentHash: z.ZodString;
2992
+ revision: z.ZodNumber;
2993
+ }, z.core.$strict>>;
2994
+ sourceWatermarks: z.ZodRecord<z.ZodString, z.ZodNumber>;
2995
+ trainingParent: z.ZodObject<{
2996
+ id: z.ZodString;
2997
+ contentHash: z.ZodString;
3240
2998
  }, z.core.$strict>;
3241
- environmentRelease: z.ZodOptional<z.ZodObject<{
2999
+ trainingParentSelection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3000
+ iterationId: z.ZodString;
3001
+ iterationRevision: z.ZodNumber;
3002
+ candidate: z.ZodObject<{
3003
+ id: z.ZodString;
3004
+ contentHash: z.ZodString;
3005
+ }, z.core.$strict>;
3006
+ decision: z.ZodObject<{
3007
+ id: z.ZodString;
3008
+ contentHash: z.ZodString;
3009
+ revision: z.ZodNumber;
3010
+ }, z.core.$strict>;
3011
+ decidedAt: z.ZodString;
3012
+ }, z.core.$strict>>>;
3013
+ teacher: z.ZodNullable<z.ZodObject<{
3242
3014
  id: z.ZodString;
3243
3015
  contentHash: z.ZodString;
3244
3016
  }, z.core.$strict>>;
3245
- tools: z.ZodArray<z.ZodObject<{
3246
- name: z.ZodString;
3247
- description: z.ZodString;
3248
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3249
- inputSchemaHash: z.ZodString;
3250
- sideEffect: z.ZodEnum<{
3251
- read: "read";
3252
- write: "write";
3253
- }>;
3254
- timeoutMs: z.ZodNumber;
3017
+ upstreamEvent: z.ZodNullable<z.ZodObject<{
3018
+ id: z.ZodString;
3019
+ contentHash: z.ZodString;
3255
3020
  }, z.core.$strict>>;
3256
- capabilities: z.ZodArray<z.ZodObject<{
3021
+ trainingJob: z.ZodNullable<z.ZodObject<{
3257
3022
  id: z.ZodString;
3258
- required: z.ZodBoolean;
3259
- scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3260
- portability: z.ZodEnum<{
3261
- host_adapter: "host_adapter";
3262
- hosted_only: "hosted_only";
3263
- local_only: "local_only";
3264
- portable: "portable";
3265
- }>;
3023
+ contentHash: z.ZodString;
3266
3024
  }, z.core.$strict>>;
3267
- tasks: z.ZodArray<z.ZodObject<{
3025
+ evaluationJob: z.ZodNullable<z.ZodObject<{
3268
3026
  id: z.ZodString;
3269
- clusterKey: z.ZodString;
3270
- split: z.ZodEnum<{
3271
- frozen_eval: "frozen_eval";
3272
- test: "test";
3273
- train: "train";
3274
- validation: "validation";
3275
- }>;
3276
- input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3277
- expectedOutput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3278
- policyVisibleContext: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3279
- privilegedContextRef: z.ZodNullable<z.ZodString>;
3280
- artifactRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
3281
- id: z.ZodString;
3282
- path: z.ZodString;
3283
- contentHash: z.ZodString;
3284
- sizeBytes: z.ZodNumber;
3285
- mediaType: z.ZodString;
3286
- visibility: z.ZodEnum<{
3287
- host_private: "host_private";
3288
- policy: "policy";
3289
- verifier: "verifier";
3290
- }>;
3291
- }, z.core.$strict>>>;
3292
- requiredOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3293
- path: z.ZodString;
3294
- mediaType: z.ZodString;
3295
- schemaRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3027
+ contentHash: z.ZodString;
3028
+ }, z.core.$strict>>;
3029
+ candidateVersion: z.ZodNullable<z.ZodObject<{
3030
+ id: z.ZodString;
3031
+ contentHash: z.ZodString;
3032
+ }, z.core.$strict>>;
3033
+ candidateDecision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3034
+ id: z.ZodString;
3035
+ contentHash: z.ZodString;
3036
+ revision: z.ZodNumber;
3037
+ }, z.core.$strict>>>;
3038
+ candidateDecisionAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3039
+ dispatchId: z.ZodString;
3040
+ retryCount: z.ZodNumber;
3041
+ spendUsd: z.ZodNumber;
3042
+ failure: z.ZodNullable<z.ZodObject<{
3043
+ code: z.ZodString;
3044
+ message: z.ZodString;
3045
+ }, z.core.$strict>>;
3046
+ createdAt: z.ZodString;
3047
+ updatedAt: z.ZodString;
3048
+ }, z.core.$strict> | z.ZodObject<{
3049
+ schemaVersion: z.ZodLiteral<"openpond.taskGradeRun.v1">;
3050
+ id: z.ZodString;
3051
+ revision: z.ZodNumber;
3052
+ evidence: z.ZodObject<{
3053
+ id: z.ZodString;
3054
+ contentHash: z.ZodString;
3055
+ revision: z.ZodNumber;
3056
+ }, z.core.$strict>;
3057
+ binding: z.ZodObject<{
3058
+ id: z.ZodString;
3059
+ contentHash: z.ZodString;
3060
+ revision: z.ZodNumber;
3061
+ }, z.core.$strict>;
3062
+ target: z.ZodEnum<{
3063
+ observed: "observed";
3064
+ proposed_target: "proposed_target";
3065
+ }>;
3066
+ output: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
3067
+ status: z.ZodEnum<{
3068
+ cancelled: "cancelled";
3069
+ cancelling: "cancelling";
3070
+ completed: "completed";
3071
+ failed: "failed";
3072
+ queued: "queued";
3073
+ running: "running";
3074
+ }>;
3075
+ composition: z.ZodNullable<z.ZodObject<{
3076
+ schemaVersion: z.ZodLiteral<"openpond.rewardComposition.v1">;
3077
+ binding: z.ZodObject<{
3078
+ id: z.ZodString;
3079
+ contentHash: z.ZodString;
3080
+ revision: z.ZodNumber;
3081
+ }, z.core.$strict>;
3082
+ taskHash: z.ZodString;
3083
+ taskId: z.ZodOptional<z.ZodString>;
3084
+ outputHash: z.ZodString;
3085
+ results: z.ZodArray<z.ZodObject<{
3086
+ graderId: z.ZodString;
3087
+ reward: z.ZodObject<{
3088
+ id: z.ZodString;
3089
+ contentHash: z.ZodString;
3090
+ revision: z.ZodNumber;
3091
+ }, z.core.$strict>;
3092
+ role: z.ZodEnum<{
3093
+ evaluation: "evaluation";
3094
+ training: "training";
3095
+ }>;
3096
+ status: z.ZodEnum<{
3097
+ failed: "failed";
3098
+ not_applicable: "not_applicable";
3099
+ pending: "pending";
3100
+ scored: "scored";
3101
+ unavailable: "unavailable";
3102
+ }>;
3103
+ rawScore: z.ZodNullable<z.ZodNumber>;
3104
+ normalizedScore: z.ZodNullable<z.ZodNumber>;
3105
+ passed: z.ZodNullable<z.ZodBoolean>;
3106
+ evidenceHashes: z.ZodArray<z.ZodString>;
3107
+ graderEvidence: z.ZodOptional<z.ZodObject<{
3108
+ schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
3109
+ graderId: z.ZodString;
3110
+ graderVersion: z.ZodString;
3111
+ status: z.ZodOptional<z.ZodEnum<{
3112
+ failed: "failed";
3113
+ pending: "pending";
3114
+ scored: "scored";
3115
+ unavailable: "unavailable";
3116
+ }>>;
3117
+ score: z.ZodNullable<z.ZodNumber>;
3118
+ passed: z.ZodBoolean;
3119
+ rewardEligible: z.ZodBoolean;
3120
+ failureClass: z.ZodNullable<z.ZodEnum<{
3121
+ cancelled: "cancelled";
3122
+ environment_failure: "environment_failure";
3123
+ grader_failure: "grader_failure";
3124
+ infrastructure_failure: "infrastructure_failure";
3125
+ policy_failure: "policy_failure";
3126
+ timeout: "timeout";
3127
+ }>>;
3128
+ feedback: z.ZodArray<z.ZodString>;
3129
+ visibleEvidenceRefs: z.ZodArray<z.ZodString>;
3130
+ privilegedEvidenceRefs: z.ZodArray<z.ZodString>;
3131
+ modelJudgeReceipt: z.ZodOptional<z.ZodObject<{
3132
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeReceipt.v1">;
3133
+ providerId: z.ZodString;
3134
+ modelId: z.ZodString;
3135
+ modelRevision: z.ZodNullable<z.ZodString>;
3136
+ responseId: z.ZodNullable<z.ZodString>;
3137
+ requestHash: z.ZodString;
3138
+ responseHash: z.ZodString;
3139
+ inputTokens: z.ZodNullable<z.ZodNumber>;
3140
+ outputTokens: z.ZodNullable<z.ZodNumber>;
3141
+ costUsd: z.ZodNullable<z.ZodNumber>;
3142
+ transportPolicy: z.ZodOptional<z.ZodObject<{
3143
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
3144
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
3145
+ reasoningEffort: z.ZodEnum<{
3146
+ high: "high";
3147
+ low: "low";
3148
+ max: "max";
3149
+ medium: "medium";
3150
+ off: "off";
3151
+ xhigh: "xhigh";
3152
+ }>;
3153
+ maximumOutputTokens: z.ZodNumber;
3154
+ }, z.core.$strict>>;
3155
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
3156
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3157
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3158
+ }, z.core.$strict>>;
3159
+ contentHash: z.ZodString;
3160
+ }, z.core.$strict>>;
3161
+ message: z.ZodNullable<z.ZodString>;
3162
+ }, z.core.$strict>>;
3163
+ training: z.ZodObject<{
3164
+ status: z.ZodEnum<{
3165
+ not_configured: "not_configured";
3166
+ pending: "pending";
3167
+ scored: "scored";
3168
+ unscorable: "unscorable";
3169
+ }>;
3170
+ score: z.ZodNullable<z.ZodNumber>;
3171
+ passed: z.ZodNullable<z.ZodBoolean>;
3172
+ }, z.core.$strict>;
3173
+ evaluation: z.ZodObject<{
3174
+ status: z.ZodEnum<{
3175
+ not_configured: "not_configured";
3176
+ pending: "pending";
3177
+ scored: "scored";
3178
+ unscorable: "unscorable";
3179
+ }>;
3180
+ score: z.ZodNullable<z.ZodNumber>;
3181
+ passed: z.ZodNullable<z.ZodBoolean>;
3182
+ }, z.core.$strict>;
3183
+ contentHash: z.ZodString;
3184
+ }, z.core.$strict>>;
3185
+ leaseOwner: z.ZodNullable<z.ZodString>;
3186
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
3187
+ attemptCount: z.ZodNumber;
3188
+ timeoutMs: z.ZodNumber;
3189
+ maximumSpendUsd: z.ZodNumber;
3190
+ judgeCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
3191
+ id: z.ZodString;
3192
+ requestHash: z.ZodString;
3193
+ reservedUsd: z.ZodNumber;
3194
+ status: z.ZodEnum<{
3195
+ not_dispatched: "not_dispatched";
3196
+ reserved: "reserved";
3197
+ settled: "settled";
3198
+ }>;
3199
+ response: z.ZodNullable<z.ZodObject<{
3200
+ text: z.ZodString;
3201
+ modelId: z.ZodString;
3202
+ modelRevision: z.ZodNullable<z.ZodString>;
3203
+ responseId: z.ZodNullable<z.ZodString>;
3204
+ inputTokens: z.ZodNullable<z.ZodNumber>;
3205
+ outputTokens: z.ZodNullable<z.ZodNumber>;
3206
+ costUsd: z.ZodNullable<z.ZodNumber>;
3207
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
3208
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3209
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3210
+ }, z.core.$strict>>;
3211
+ }, z.core.$strict>>>;
3212
+ requestedBy: z.ZodOptional<z.ZodString>;
3213
+ failure: z.ZodNullable<z.ZodString>;
3214
+ createdAt: z.ZodString;
3215
+ updatedAt: z.ZodString;
3216
+ }, z.core.$strict> | z.ZodObject<{
3217
+ schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">;
3218
+ id: z.ZodString;
3219
+ revision: z.ZodNumber;
3220
+ policy: z.ZodObject<{
3221
+ policyVisibleFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
3222
+ privilegedFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
3223
+ hiddenGraderRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
3224
+ connectedAppScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3225
+ }, z.core.$strict>;
3226
+ environment: z.ZodObject<{
3227
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
3228
+ kind: z.ZodEnum<{
3229
+ agent: "agent";
3230
+ custom_program: "custom_program";
3231
+ text: "text";
3232
+ work: "work";
3233
+ }>;
3234
+ entrypoint: z.ZodString;
3235
+ stateful: z.ZodBoolean;
3236
+ deterministicSeeds: z.ZodBoolean;
3237
+ lifecycle: z.ZodArray<z.ZodEnum<{
3238
+ collect: "collect";
3239
+ create: "create";
3240
+ destroy: "destroy";
3241
+ reset: "reset";
3242
+ step: "step";
3243
+ }>>;
3244
+ networkPolicy: z.ZodEnum<{
3245
+ declared_read_only: "declared_read_only";
3246
+ declared_scoped: "declared_scoped";
3247
+ none: "none";
3248
+ }>;
3249
+ defaultTimeoutMs: z.ZodNumber;
3250
+ }, z.core.$strict>;
3251
+ environmentRelease: z.ZodOptional<z.ZodObject<{
3252
+ id: z.ZodString;
3253
+ contentHash: z.ZodString;
3254
+ }, z.core.$strict>>;
3255
+ tools: z.ZodArray<z.ZodObject<{
3256
+ name: z.ZodString;
3257
+ description: z.ZodString;
3258
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3259
+ inputSchemaHash: z.ZodString;
3260
+ sideEffect: z.ZodEnum<{
3261
+ read: "read";
3262
+ write: "write";
3263
+ }>;
3264
+ timeoutMs: z.ZodNumber;
3265
+ }, z.core.$strict>>;
3266
+ capabilities: z.ZodArray<z.ZodObject<{
3267
+ id: z.ZodString;
3268
+ required: z.ZodBoolean;
3269
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3270
+ portability: z.ZodEnum<{
3271
+ host_adapter: "host_adapter";
3272
+ hosted_only: "hosted_only";
3273
+ local_only: "local_only";
3274
+ portable: "portable";
3275
+ }>;
3276
+ }, z.core.$strict>>;
3277
+ tasks: z.ZodArray<z.ZodObject<{
3278
+ id: z.ZodString;
3279
+ clusterKey: z.ZodString;
3280
+ split: z.ZodEnum<{
3281
+ frozen_eval: "frozen_eval";
3282
+ test: "test";
3283
+ train: "train";
3284
+ validation: "validation";
3285
+ }>;
3286
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3287
+ expectedOutput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3288
+ policyVisibleContext: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3289
+ privilegedContextRef: z.ZodNullable<z.ZodString>;
3290
+ artifactRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
3291
+ id: z.ZodString;
3292
+ path: z.ZodString;
3293
+ contentHash: z.ZodString;
3294
+ sizeBytes: z.ZodNumber;
3295
+ mediaType: z.ZodString;
3296
+ visibility: z.ZodEnum<{
3297
+ host_private: "host_private";
3298
+ policy: "policy";
3299
+ verifier: "verifier";
3300
+ }>;
3301
+ }, z.core.$strict>>>;
3302
+ requiredOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3303
+ path: z.ZodString;
3304
+ mediaType: z.ZodString;
3305
+ schemaRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3296
3306
  id: z.ZodString;
3297
3307
  path: z.ZodString;
3298
3308
  contentHash: z.ZodString;
@@ -3514,6 +3524,101 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3514
3524
  }, z.core.$strict>>;
3515
3525
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3516
3526
  contentHash: z.ZodString;
3527
+ }, z.core.$strict> | z.ZodObject<{
3528
+ schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">;
3529
+ id: z.ZodString;
3530
+ revision: z.ZodLiteral<1>;
3531
+ asset: z.ZodObject<{
3532
+ id: z.ZodString;
3533
+ path: z.ZodString;
3534
+ contentHash: z.ZodString;
3535
+ sizeBytes: z.ZodNumber;
3536
+ mediaType: z.ZodString;
3537
+ visibility: z.ZodEnum<{
3538
+ host_private: "host_private";
3539
+ policy: "policy";
3540
+ verifier: "verifier";
3541
+ }>;
3542
+ }, z.core.$strict>;
3543
+ text: z.ZodString;
3544
+ contentHash: z.ZodString;
3545
+ }, z.core.$strict> | z.ZodObject<{
3546
+ schemaVersion: z.ZodLiteral<"openpond.taskEvidence.v1">;
3547
+ id: z.ZodString;
3548
+ revision: z.ZodNumber;
3549
+ source: z.ZodObject<{
3550
+ id: z.ZodString;
3551
+ contentHash: z.ZodString;
3552
+ revision: z.ZodNumber;
3553
+ }, z.core.$strict>;
3554
+ submission: z.ZodObject<{
3555
+ schemaVersion: z.ZodLiteral<"openpond.taskExample.v1">;
3556
+ sourceId: z.ZodString;
3557
+ idempotencyKey: z.ZodString;
3558
+ taskDefinition: z.ZodObject<{
3559
+ id: z.ZodString;
3560
+ contentHash: z.ZodString;
3561
+ revision: z.ZodNumber;
3562
+ }, z.core.$strict>;
3563
+ exampleId: z.ZodString;
3564
+ attemptId: z.ZodString;
3565
+ occurredAt: z.ZodString;
3566
+ familyKey: z.ZodNullable<z.ZodString>;
3567
+ split: z.ZodEnum<{
3568
+ frozen_eval: "frozen_eval";
3569
+ test: "test";
3570
+ train: "train";
3571
+ validation: "validation";
3572
+ }>;
3573
+ input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
3574
+ policyVisibleContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3575
+ observedOutput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3576
+ expected: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3577
+ evaluatorContext: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3578
+ assets: z.ZodArray<z.ZodObject<{
3579
+ id: z.ZodString;
3580
+ path: z.ZodString;
3581
+ contentHash: z.ZodString;
3582
+ sizeBytes: z.ZodNumber;
3583
+ mediaType: z.ZodString;
3584
+ visibility: z.ZodEnum<{
3585
+ host_private: "host_private";
3586
+ policy: "policy";
3587
+ verifier: "verifier";
3588
+ }>;
3589
+ }, z.core.$strict>>;
3590
+ requiredOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3591
+ path: z.ZodString;
3592
+ mediaType: z.ZodString;
3593
+ schemaRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3594
+ id: z.ZodString;
3595
+ path: z.ZodString;
3596
+ contentHash: z.ZodString;
3597
+ sizeBytes: z.ZodNumber;
3598
+ mediaType: z.ZodString;
3599
+ visibility: z.ZodEnum<{
3600
+ host_private: "host_private";
3601
+ policy: "policy";
3602
+ verifier: "verifier";
3603
+ }>;
3604
+ }, z.core.$strict>>>;
3605
+ submissionMode: z.ZodOptional<z.ZodLiteral<"structured_json">>;
3606
+ maxBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3607
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3608
+ }, z.core.$strict>>>;
3609
+ provenance: z.ZodObject<{
3610
+ sourceRecordRef: z.ZodNullable<z.ZodString>;
3611
+ mappingHash: z.ZodNullable<z.ZodString>;
3612
+ }, z.core.$strict>;
3613
+ }, z.core.$strict>;
3614
+ supersedes: z.ZodNullable<z.ZodObject<{
3615
+ id: z.ZodString;
3616
+ contentHash: z.ZodString;
3617
+ revision: z.ZodNumber;
3618
+ }, z.core.$strict>>;
3619
+ correctionFeedbackId: z.ZodNullable<z.ZodString>;
3620
+ receivedAt: z.ZodString;
3621
+ contentHash: z.ZodString;
3517
3622
  }, z.core.$strict> | z.ZodObject<{
3518
3623
  schemaVersion: z.ZodLiteral<"openpond.taskDefinition.v1">;
3519
3624
  id: z.ZodString;
@@ -3690,98 +3795,21 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3690
3795
  packageHash: z.ZodString;
3691
3796
  taskset: z.ZodObject<{
3692
3797
  id: z.ZodString;
3693
- contentHash: z.ZodString;
3694
- revision: z.ZodNumber;
3695
- }, z.core.$strict>;
3696
- }, z.core.$strict>>;
3697
- capturedOrigin: z.ZodOptional<z.ZodObject<{
3698
- receiptId: z.ZodString;
3699
- ownerUserId: z.ZodString;
3700
- modelId: z.ZodString;
3701
- packageHash: z.ZodString;
3702
- taskset: z.ZodObject<{
3703
- id: z.ZodString;
3704
- contentHash: z.ZodString;
3705
- revision: z.ZodNumber;
3706
- }, z.core.$strict>;
3707
- }, z.core.$strict>>;
3708
- contentHash: z.ZodString;
3709
- }, z.core.$strict> | z.ZodObject<{
3710
- schemaVersion: z.ZodLiteral<"openpond.taskEvidence.v1">;
3711
- id: z.ZodString;
3712
- revision: z.ZodNumber;
3713
- source: z.ZodObject<{
3714
- id: z.ZodString;
3715
- contentHash: z.ZodString;
3716
- revision: z.ZodNumber;
3717
- }, z.core.$strict>;
3718
- submission: z.ZodObject<{
3719
- schemaVersion: z.ZodLiteral<"openpond.taskExample.v1">;
3720
- sourceId: z.ZodString;
3721
- idempotencyKey: z.ZodString;
3722
- taskDefinition: z.ZodObject<{
3723
- id: z.ZodString;
3724
- contentHash: z.ZodString;
3725
- revision: z.ZodNumber;
3726
- }, z.core.$strict>;
3727
- exampleId: z.ZodString;
3728
- attemptId: z.ZodString;
3729
- occurredAt: z.ZodString;
3730
- familyKey: z.ZodNullable<z.ZodString>;
3731
- split: z.ZodEnum<{
3732
- frozen_eval: "frozen_eval";
3733
- test: "test";
3734
- train: "train";
3735
- validation: "validation";
3736
- }>;
3737
- input: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
3738
- policyVisibleContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3739
- observedOutput: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3740
- expected: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3741
- evaluatorContext: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3742
- assets: z.ZodArray<z.ZodObject<{
3743
- id: z.ZodString;
3744
- path: z.ZodString;
3745
- contentHash: z.ZodString;
3746
- sizeBytes: z.ZodNumber;
3747
- mediaType: z.ZodString;
3748
- visibility: z.ZodEnum<{
3749
- host_private: "host_private";
3750
- policy: "policy";
3751
- verifier: "verifier";
3752
- }>;
3753
- }, z.core.$strict>>;
3754
- requiredOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3755
- path: z.ZodString;
3756
- mediaType: z.ZodString;
3757
- schemaRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3758
- id: z.ZodString;
3759
- path: z.ZodString;
3760
- contentHash: z.ZodString;
3761
- sizeBytes: z.ZodNumber;
3762
- mediaType: z.ZodString;
3763
- visibility: z.ZodEnum<{
3764
- host_private: "host_private";
3765
- policy: "policy";
3766
- verifier: "verifier";
3767
- }>;
3768
- }, z.core.$strict>>>;
3769
- submissionMode: z.ZodOptional<z.ZodLiteral<"structured_json">>;
3770
- maxBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3771
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3772
- }, z.core.$strict>>>;
3773
- provenance: z.ZodObject<{
3774
- sourceRecordRef: z.ZodNullable<z.ZodString>;
3775
- mappingHash: z.ZodNullable<z.ZodString>;
3798
+ contentHash: z.ZodString;
3799
+ revision: z.ZodNumber;
3800
+ }, z.core.$strict>;
3801
+ }, z.core.$strict>>;
3802
+ capturedOrigin: z.ZodOptional<z.ZodObject<{
3803
+ receiptId: z.ZodString;
3804
+ ownerUserId: z.ZodString;
3805
+ modelId: z.ZodString;
3806
+ packageHash: z.ZodString;
3807
+ taskset: z.ZodObject<{
3808
+ id: z.ZodString;
3809
+ contentHash: z.ZodString;
3810
+ revision: z.ZodNumber;
3776
3811
  }, z.core.$strict>;
3777
- }, z.core.$strict>;
3778
- supersedes: z.ZodNullable<z.ZodObject<{
3779
- id: z.ZodString;
3780
- contentHash: z.ZodString;
3781
- revision: z.ZodNumber;
3782
3812
  }, z.core.$strict>>;
3783
- correctionFeedbackId: z.ZodNullable<z.ZodString>;
3784
- receivedAt: z.ZodString;
3785
3813
  contentHash: z.ZodString;
3786
3814
  }, z.core.$strict> | z.ZodObject<{
3787
3815
  schemaVersion: z.ZodLiteral<"openpond.taskAdmissionDecision.v1">;
@@ -3981,335 +4009,84 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3981
4009
  status: z.ZodOptional<z.ZodEnum<{
3982
4010
  failed: "failed";
3983
4011
  pending: "pending";
3984
- scored: "scored";
3985
- unavailable: "unavailable";
3986
- }>>;
3987
- score: z.ZodNullable<z.ZodNumber>;
3988
- passed: z.ZodBoolean;
3989
- rewardEligible: z.ZodBoolean;
3990
- failureClass: z.ZodNullable<z.ZodEnum<{
3991
- cancelled: "cancelled";
3992
- environment_failure: "environment_failure";
3993
- grader_failure: "grader_failure";
3994
- infrastructure_failure: "infrastructure_failure";
3995
- policy_failure: "policy_failure";
3996
- timeout: "timeout";
3997
- }>>;
3998
- feedback: z.ZodArray<z.ZodString>;
3999
- visibleEvidenceRefs: z.ZodArray<z.ZodString>;
4000
- privilegedEvidenceRefs: z.ZodArray<z.ZodString>;
4001
- modelJudgeReceipt: z.ZodOptional<z.ZodObject<{
4002
- schemaVersion: z.ZodLiteral<"openpond.modelJudgeReceipt.v1">;
4003
- providerId: z.ZodString;
4004
- modelId: z.ZodString;
4005
- modelRevision: z.ZodNullable<z.ZodString>;
4006
- responseId: z.ZodNullable<z.ZodString>;
4007
- requestHash: z.ZodString;
4008
- responseHash: z.ZodString;
4009
- inputTokens: z.ZodNullable<z.ZodNumber>;
4010
- outputTokens: z.ZodNullable<z.ZodNumber>;
4011
- costUsd: z.ZodNullable<z.ZodNumber>;
4012
- transportPolicy: z.ZodOptional<z.ZodObject<{
4013
- schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
4014
- responseFormat: z.ZodLiteral<"judgment_json_schema">;
4015
- reasoningEffort: z.ZodEnum<{
4016
- high: "high";
4017
- low: "low";
4018
- max: "max";
4019
- medium: "medium";
4020
- off: "off";
4021
- xhigh: "xhigh";
4022
- }>;
4023
- maximumOutputTokens: z.ZodNumber;
4024
- }, z.core.$strict>>;
4025
- effectiveRequestHash: z.ZodOptional<z.ZodString>;
4026
- finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4027
- reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4028
- }, z.core.$strict>>;
4029
- contentHash: z.ZodString;
4030
- }, z.core.$strict>>;
4031
- message: z.ZodNullable<z.ZodString>;
4032
- }, z.core.$strict>>;
4033
- training: z.ZodObject<{
4034
- status: z.ZodEnum<{
4035
- not_configured: "not_configured";
4036
- pending: "pending";
4037
- scored: "scored";
4038
- unscorable: "unscorable";
4039
- }>;
4040
- score: z.ZodNullable<z.ZodNumber>;
4041
- passed: z.ZodNullable<z.ZodBoolean>;
4042
- }, z.core.$strict>;
4043
- evaluation: z.ZodObject<{
4044
- status: z.ZodEnum<{
4045
- not_configured: "not_configured";
4046
- pending: "pending";
4047
- scored: "scored";
4048
- unscorable: "unscorable";
4049
- }>;
4050
- score: z.ZodNullable<z.ZodNumber>;
4051
- passed: z.ZodNullable<z.ZodBoolean>;
4052
- }, z.core.$strict>;
4053
- contentHash: z.ZodString;
4054
- }, z.core.$strict>>;
4055
- note: z.ZodString;
4056
- decidedAt: z.ZodString;
4057
- contentHash: z.ZodString;
4058
- }, z.core.$strict> | z.ZodObject<{
4059
- schemaVersion: z.ZodLiteral<"openpond.taskBatch.v1">;
4060
- id: z.ZodString;
4061
- revision: z.ZodLiteral<1>;
4062
- taskDefinition: z.ZodObject<{
4063
- id: z.ZodString;
4064
- contentHash: z.ZodString;
4065
- revision: z.ZodNumber;
4066
- }, z.core.$strict>;
4067
- rewardBinding: z.ZodObject<{
4068
- id: z.ZodString;
4069
- contentHash: z.ZodString;
4070
- revision: z.ZodNumber;
4071
- }, z.core.$strict>;
4072
- purpose: z.ZodEnum<{
4073
- evaluation: "evaluation";
4074
- reward_training: "reward_training";
4075
- supervised_training: "supervised_training";
4076
- }>;
4077
- examples: z.ZodArray<z.ZodObject<{
4078
- evidence: z.ZodObject<{
4079
- id: z.ZodString;
4080
- contentHash: z.ZodString;
4081
- revision: z.ZodNumber;
4082
- }, z.core.$strict>;
4083
- decision: z.ZodObject<{
4084
- id: z.ZodString;
4085
- contentHash: z.ZodString;
4086
- revision: z.ZodNumber;
4087
- }, z.core.$strict>;
4088
- familyKey: z.ZodString;
4089
- inputHash: z.ZodString;
4090
- split: z.ZodEnum<{
4091
- frozen_eval: "frozen_eval";
4092
- test: "test";
4093
- train: "train";
4094
- validation: "validation";
4095
- }>;
4096
- }, z.core.$strict>>;
4097
- sealedAt: z.ZodString;
4098
- sealedBy: z.ZodString;
4099
- contentHash: z.ZodString;
4100
- }, z.core.$strict> | z.ZodObject<{
4101
- origin: z.ZodOptional<z.ZodObject<{
4102
- schemaVersion: z.ZodLiteral<"openpond.trainingHandoffOrigin.v1">;
4103
- teamId: z.ZodString;
4104
- projectId: z.ZodNullable<z.ZodString>;
4105
- configurationId: z.ZodString;
4106
- source: z.ZodObject<{
4107
- executionId: z.ZodString;
4108
- passId: z.ZodNullable<z.ZodString>;
4109
- manifestHash: z.ZodString;
4110
- resultHash: z.ZodString;
4111
- }, z.core.$strict>;
4112
- dataset: z.ZodObject<{
4113
- id: z.ZodString;
4114
- revision: z.ZodNumber;
4115
- contentHash: z.ZodString;
4116
- }, z.core.$strict>;
4117
- target: z.ZodDiscriminatedUnion<[z.ZodObject<{
4118
- kind: z.ZodLiteral<"model">;
4119
- modelId: z.ZodString;
4120
- configurationHash: z.ZodString;
4121
- }, z.core.$strict>, z.ZodObject<{
4122
- kind: z.ZodLiteral<"harness">;
4123
- source: z.ZodObject<{
4124
- profileId: z.ZodString;
4125
- sourceRevision: z.ZodString;
4126
- harnessRelease: z.ZodObject<{
4127
- id: z.ZodString;
4128
- contentHash: z.ZodString;
4129
- }, z.core.$strict>;
4130
- catalogHash: z.ZodString;
4131
- definitionId: z.ZodString;
4132
- definitionHash: z.ZodString;
4133
- target: z.ZodDiscriminatedUnion<[z.ZodObject<{
4134
- kind: z.ZodLiteral<"profile">;
4135
- }, z.core.$strict>, z.ZodObject<{
4136
- kind: z.ZodLiteral<"workflow">;
4137
- workflowId: z.ZodString;
4138
- }, z.core.$strict>, z.ZodObject<{
4139
- kind: z.ZodLiteral<"skill">;
4140
- skillPath: z.ZodString;
4141
- }, z.core.$strict>, z.ZodObject<{
4142
- kind: z.ZodLiteral<"agent_action">;
4143
- actionId: z.ZodString;
4144
- }, z.core.$strict>], "kind">;
4145
- environmentHash: z.ZodString;
4146
- externalDatasetBinding: z.ZodOptional<z.ZodObject<{
4147
- schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
4148
- dataset: z.ZodObject<{
4149
- id: z.ZodString;
4150
- contentHash: z.ZodString;
4151
- revision: z.ZodNumber;
4152
- }, z.core.$strict>;
4153
- packageHash: z.ZodString;
4154
- profileId: z.ZodString;
4155
- target: z.ZodDiscriminatedUnion<[z.ZodObject<{
4156
- kind: z.ZodLiteral<"profile">;
4157
- }, z.core.$strict>, z.ZodObject<{
4158
- kind: z.ZodLiteral<"workflow">;
4159
- workflowId: z.ZodString;
4160
- }, z.core.$strict>, z.ZodObject<{
4161
- kind: z.ZodLiteral<"skill">;
4162
- skillPath: z.ZodString;
4163
- }, z.core.$strict>, z.ZodObject<{
4164
- kind: z.ZodLiteral<"agent_action">;
4165
- actionId: z.ZodString;
4166
- }, z.core.$strict>], "kind">;
4167
- declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
4168
- protectedProfileClosureHash: z.ZodString;
4169
- recordedOrigin: z.ZodOptional<z.ZodObject<{
4170
- execution: z.ZodObject<{
4171
- id: z.ZodString;
4172
- contentHash: z.ZodString;
4173
- }, z.core.$strict>;
4174
- originalEvidence: z.ZodObject<{
4175
- id: z.ZodString;
4176
- contentHash: z.ZodString;
4177
- }, z.core.$strict>;
4178
- members: z.ZodArray<z.ZodObject<{
4179
- caseId: z.ZodString;
4180
- seed: z.ZodString;
4181
- fixtureId: z.ZodString;
4182
- sourceId: z.ZodString;
4183
- snapshotHash: z.ZodString;
4184
- boundaryRevisionHash: z.ZodString;
4185
- }, z.core.$strict>>;
4186
- }, z.core.$strict>>;
4187
- gradingSource: z.ZodOptional<z.ZodObject<{
4188
- pass: z.ZodObject<{
4189
- id: z.ZodString;
4190
- contentHash: z.ZodString;
4191
- }, z.core.$strict>;
4192
- evidence: z.ZodObject<{
4193
- id: z.ZodString;
4194
- contentHash: z.ZodString;
4195
- }, z.core.$strict>;
4196
- }, z.core.$strict>>;
4197
- split: z.ZodEnum<{
4198
- frozen_eval: "frozen_eval";
4199
- test: "test";
4200
- train: "train";
4201
- validation: "validation";
4202
- }>;
4203
- population: z.ZodArray<z.ZodObject<{
4204
- taskId: z.ZodString;
4205
- seed: z.ZodString;
4206
- fixtureId: z.ZodNullable<z.ZodString>;
4207
- }, z.core.$strict>>;
4208
- evaluators: z.ZodArray<z.ZodObject<{
4209
- release: z.ZodObject<{
4210
- id: z.ZodString;
4211
- contentHash: z.ZodString;
4212
- revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
4213
- }, z.core.$strict>;
4214
- feedbackKey: z.ZodString;
4215
- configurationHash: z.ZodString;
4216
- output: z.ZodEnum<{
4217
- boolean: "boolean";
4218
- category: "category";
4219
- score: "score";
4012
+ scored: "scored";
4013
+ unavailable: "unavailable";
4014
+ }>>;
4015
+ score: z.ZodNullable<z.ZodNumber>;
4016
+ passed: z.ZodBoolean;
4017
+ rewardEligible: z.ZodBoolean;
4018
+ failureClass: z.ZodNullable<z.ZodEnum<{
4019
+ cancelled: "cancelled";
4020
+ environment_failure: "environment_failure";
4021
+ grader_failure: "grader_failure";
4022
+ infrastructure_failure: "infrastructure_failure";
4023
+ policy_failure: "policy_failure";
4024
+ timeout: "timeout";
4025
+ }>>;
4026
+ feedback: z.ZodArray<z.ZodString>;
4027
+ visibleEvidenceRefs: z.ZodArray<z.ZodString>;
4028
+ privilegedEvidenceRefs: z.ZodArray<z.ZodString>;
4029
+ modelJudgeReceipt: z.ZodOptional<z.ZodObject<{
4030
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeReceipt.v1">;
4031
+ providerId: z.ZodString;
4032
+ modelId: z.ZodString;
4033
+ modelRevision: z.ZodNullable<z.ZodString>;
4034
+ responseId: z.ZodNullable<z.ZodString>;
4035
+ requestHash: z.ZodString;
4036
+ responseHash: z.ZodString;
4037
+ inputTokens: z.ZodNullable<z.ZodNumber>;
4038
+ outputTokens: z.ZodNullable<z.ZodNumber>;
4039
+ costUsd: z.ZodNullable<z.ZodNumber>;
4040
+ transportPolicy: z.ZodOptional<z.ZodObject<{
4041
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
4042
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
4043
+ reasoningEffort: z.ZodEnum<{
4044
+ high: "high";
4045
+ low: "low";
4046
+ max: "max";
4047
+ medium: "medium";
4048
+ off: "off";
4049
+ xhigh: "xhigh";
4220
4050
  }>;
4221
- categories: z.ZodArray<z.ZodString>;
4222
- }, z.core.$strict>>;
4223
- fieldMappingsHash: z.ZodString;
4224
- fieldMappings: z.ZodArray<z.ZodObject<{
4225
- graderId: z.ZodString;
4226
- fields: z.ZodArray<z.ZodObject<{
4227
- destination: z.ZodEnum<{
4228
- evaluatorContext: "evaluatorContext";
4229
- expectedOutput: "expectedOutput";
4230
- input: "input";
4231
- output: "output";
4232
- }>;
4233
- path: z.ZodArray<z.ZodString>;
4234
- source: z.ZodEnum<{
4235
- evaluatorContext: "evaluatorContext";
4236
- expectedOutput: "expectedOutput";
4237
- input: "input";
4238
- output: "output";
4239
- }>;
4240
- sourcePath: z.ZodArray<z.ZodString>;
4241
- }, z.core.$strict>>;
4051
+ maximumOutputTokens: z.ZodNumber;
4242
4052
  }, z.core.$strict>>;
4243
- environmentHash: z.ZodString;
4244
- privateDatasetClosureHash: z.ZodString;
4245
- criterion: z.ZodObject<{
4246
- minimumPassRate: z.ZodNumber;
4247
- requireComplete: z.ZodBoolean;
4248
- }, z.core.$strict>;
4249
- contentHash: z.ZodString;
4250
- }, z.core.$strict>>;
4251
- sourceCandidate: z.ZodOptional<z.ZodObject<{
4252
- candidateId: z.ZodString;
4253
- frozenRevision: z.ZodNumber;
4254
- frozenHash: z.ZodString;
4255
- harnessRelease: z.ZodObject<{
4256
- id: z.ZodString;
4257
- contentHash: z.ZodString;
4258
- }, z.core.$strict>;
4259
- protectedClosureHash: z.ZodString;
4053
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
4054
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4055
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4260
4056
  }, z.core.$strict>>;
4261
- }, z.core.$strict>;
4262
- model: z.ZodObject<{
4263
- modelId: z.ZodString;
4264
- configurationHash: z.ZodString;
4265
- }, z.core.$strict>;
4266
- }, z.core.$strict>, z.ZodObject<{
4267
- kind: z.ZodLiteral<"agent">;
4268
- source: z.ZodObject<{
4269
- harnessRelease: z.ZodObject<{
4270
- id: z.ZodString;
4271
- contentHash: z.ZodString;
4272
- }, z.core.$strict>;
4273
- agentSnapshot: z.ZodObject<{
4274
- id: z.ZodString;
4275
- contentHash: z.ZodString;
4276
- }, z.core.$strict>;
4277
- sourcePackageHash: z.ZodString;
4278
- }, z.core.$strict>;
4279
- model: z.ZodObject<{
4280
- modelId: z.ZodString;
4281
- configurationHash: z.ZodString;
4282
- }, z.core.$strict>;
4283
- }, z.core.$strict>, z.ZodObject<{
4284
- kind: z.ZodLiteral<"fixture">;
4285
- configurationHash: z.ZodString;
4286
- }, z.core.$strict>], "kind">;
4287
- graders: z.ZodArray<z.ZodObject<{
4288
- feedbackKey: z.ZodString;
4289
- evaluator: z.ZodObject<{
4290
- id: z.ZodString;
4291
4057
  contentHash: z.ZodString;
4292
- }, z.core.$strict>;
4293
- expectedCount: z.ZodNumber;
4294
- scoredCount: z.ZodNumber;
4295
- score: z.ZodNullable<z.ZodNumber>;
4058
+ }, z.core.$strict>>;
4059
+ message: z.ZodNullable<z.ZodString>;
4296
4060
  }, z.core.$strict>>;
4061
+ training: z.ZodObject<{
4062
+ status: z.ZodEnum<{
4063
+ not_configured: "not_configured";
4064
+ pending: "pending";
4065
+ scored: "scored";
4066
+ unscorable: "unscorable";
4067
+ }>;
4068
+ score: z.ZodNullable<z.ZodNumber>;
4069
+ passed: z.ZodNullable<z.ZodBoolean>;
4070
+ }, z.core.$strict>;
4071
+ evaluation: z.ZodObject<{
4072
+ status: z.ZodEnum<{
4073
+ not_configured: "not_configured";
4074
+ pending: "pending";
4075
+ scored: "scored";
4076
+ unscorable: "unscorable";
4077
+ }>;
4078
+ score: z.ZodNullable<z.ZodNumber>;
4079
+ passed: z.ZodNullable<z.ZodBoolean>;
4080
+ }, z.core.$strict>;
4297
4081
  contentHash: z.ZodString;
4298
4082
  }, z.core.$strict>>;
4299
- schemaVersion: z.ZodLiteral<"openpond.learningPolicy.v1">;
4083
+ note: z.ZodString;
4084
+ decidedAt: z.ZodString;
4085
+ contentHash: z.ZodString;
4086
+ }, z.core.$strict> | z.ZodObject<{
4087
+ schemaVersion: z.ZodLiteral<"openpond.taskBatch.v1">;
4300
4088
  id: z.ZodString;
4301
- revision: z.ZodNumber;
4302
- modelProjectId: z.ZodString;
4303
- executionOwner: z.ZodEnum<{
4304
- hosted: "hosted";
4305
- local: "local";
4306
- }>;
4307
- enabled: z.ZodBoolean;
4308
- sources: z.ZodArray<z.ZodObject<{
4309
- id: z.ZodString;
4310
- contentHash: z.ZodString;
4311
- revision: z.ZodNumber;
4312
- }, z.core.$strict>>;
4089
+ revision: z.ZodLiteral<1>;
4313
4090
  taskDefinition: z.ZodObject<{
4314
4091
  id: z.ZodString;
4315
4092
  contentHash: z.ZodString;
@@ -4320,99 +4097,79 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
4320
4097
  contentHash: z.ZodString;
4321
4098
  revision: z.ZodNumber;
4322
4099
  }, z.core.$strict>;
4323
- admission: z.ZodObject<{
4324
- mode: z.ZodEnum<{
4325
- human: "human";
4326
- qualified_automatic: "qualified_automatic";
4327
- }>;
4328
- qualification: z.ZodNullable<z.ZodObject<{
4329
- id: z.ZodString;
4330
- contentHash: z.ZodString;
4331
- }, z.core.$strict>>;
4332
- minimumApprovedExamples: z.ZodNumber;
4333
- }, z.core.$strict>;
4334
- trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
4335
- kind: z.ZodLiteral<"manual">;
4336
- }, z.core.$strict>, z.ZodObject<{
4337
- kind: z.ZodLiteral<"approved_count">;
4338
- }, z.core.$strict>, z.ZodObject<{
4339
- kind: z.ZodLiteral<"schedule">;
4340
- intervalSeconds: z.ZodNumber;
4341
- }, z.core.$strict>, z.ZodObject<{
4342
- localTime: z.ZodString;
4343
- timeZone: z.ZodString;
4344
- kind: z.ZodLiteral<"nightly">;
4345
- }, z.core.$strict>, z.ZodObject<{
4346
- kind: z.ZodLiteral<"upstream_accepted">;
4347
- modelProjectId: z.ZodString;
4348
- }, z.core.$strict>], "kind">;
4349
- trainingParent: z.ZodObject<{
4350
- id: z.ZodString;
4351
- contentHash: z.ZodString;
4352
- }, z.core.$strict>;
4353
- teacher: z.ZodNullable<z.ZodObject<{
4354
- id: z.ZodString;
4355
- contentHash: z.ZodString;
4356
- }, z.core.$strict>>;
4357
- training: z.ZodObject<{
4358
- method: z.ZodEnum<{
4359
- dpo: "dpo";
4360
- grpo: "grpo";
4361
- opd: "opd";
4362
- opsd: "opsd";
4363
- ppo: "ppo";
4364
- sdft: "sdft";
4365
- sdpo: "sdpo";
4366
- sft: "sft";
4367
- }>;
4368
- recipe: z.ZodObject<{
4100
+ purpose: z.ZodEnum<{
4101
+ evaluation: "evaluation";
4102
+ reward_training: "reward_training";
4103
+ supervised_training: "supervised_training";
4104
+ }>;
4105
+ examples: z.ZodArray<z.ZodObject<{
4106
+ evidence: z.ZodObject<{
4369
4107
  id: z.ZodString;
4370
4108
  contentHash: z.ZodString;
4109
+ revision: z.ZodNumber;
4371
4110
  }, z.core.$strict>;
4372
- retentionEvaluation: z.ZodObject<{
4111
+ decision: z.ZodObject<{
4373
4112
  id: z.ZodString;
4374
4113
  contentHash: z.ZodString;
4114
+ revision: z.ZodNumber;
4375
4115
  }, z.core.$strict>;
4376
- replayBatches: z.ZodArray<z.ZodObject<{
4116
+ familyKey: z.ZodString;
4117
+ inputHash: z.ZodString;
4118
+ split: z.ZodEnum<{
4119
+ frozen_eval: "frozen_eval";
4120
+ test: "test";
4121
+ train: "train";
4122
+ validation: "validation";
4123
+ }>;
4124
+ }, z.core.$strict>>;
4125
+ sealedAt: z.ZodString;
4126
+ sealedBy: z.ZodString;
4127
+ contentHash: z.ZodString;
4128
+ }, z.core.$strict> | z.ZodObject<{
4129
+ schemaVersion: z.ZodLiteral<"openpond.rewardBinding.v1">;
4130
+ id: z.ZodString;
4131
+ revision: z.ZodNumber;
4132
+ name: z.ZodOptional<z.ZodString>;
4133
+ description: z.ZodOptional<z.ZodString>;
4134
+ recipeRef: z.ZodOptional<z.ZodObject<{
4135
+ id: z.ZodString;
4136
+ contentHash: z.ZodString;
4137
+ revision: z.ZodNumber;
4138
+ }, z.core.$strict>>;
4139
+ sources: z.ZodArray<z.ZodObject<{
4140
+ graderId: z.ZodString;
4141
+ taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4142
+ reward: z.ZodObject<{
4377
4143
  id: z.ZodString;
4378
4144
  contentHash: z.ZodString;
4379
- }, z.core.$strict>>;
4380
- continuationMode: z.ZodOptional<z.ZodObject<{
4381
- adapterMode: z.ZodEnum<{
4382
- residual_append: "residual_append";
4383
- sequential_merge: "sequential_merge";
4384
- shared: "shared";
4145
+ revision: z.ZodNumber;
4146
+ }, z.core.$strict>;
4147
+ role: z.ZodEnum<{
4148
+ evaluation: "evaluation";
4149
+ training: "training";
4150
+ }>;
4151
+ normalization: z.ZodDiscriminatedUnion<[z.ZodObject<{
4152
+ kind: z.ZodLiteral<"identity">;
4153
+ }, z.core.$strict>, z.ZodObject<{
4154
+ kind: z.ZodLiteral<"linear">;
4155
+ minimum: z.ZodNumber;
4156
+ maximum: z.ZodNumber;
4157
+ direction: z.ZodEnum<{
4158
+ higher: "higher";
4159
+ lower: "lower";
4385
4160
  }>;
4386
- sourceConfiguration: z.ZodObject<{
4387
- id: z.ZodString;
4388
- revision: z.ZodNumber;
4389
- etag: z.ZodString;
4390
- }, z.core.$strict>;
4391
- }, z.core.$strict>>;
4392
- }, z.core.$strict>;
4393
- limits: z.ZodObject<{
4394
- maxIterationSpendUsd: z.ZodNumber;
4395
- maxDailySpendUsd: z.ZodNumber;
4396
- cooldownSeconds: z.ZodNumber;
4397
- maxRetries: z.ZodNumber;
4398
- maxBatchExamples: z.ZodNumber;
4399
- maxBacklogExamples: z.ZodNumber;
4400
- }, z.core.$strict>;
4401
- automation: z.ZodObject<{
4402
- collect: z.ZodBoolean;
4403
- train: z.ZodBoolean;
4404
- accept: z.ZodBoolean;
4405
- serve: z.ZodBoolean;
4406
- }, z.core.$strict>;
4407
- acceptance: z.ZodObject<{
4408
- minimumScore: z.ZodNumber;
4409
- maximumRetentionRegression: z.ZodNumber;
4410
- requireImprovement: z.ZodBoolean;
4411
- rollbackVersion: z.ZodNullable<z.ZodObject<{
4161
+ }, z.core.$strict>], "kind">;
4162
+ weight: z.ZodNumber;
4163
+ required: z.ZodBoolean;
4164
+ hardGate: z.ZodBoolean;
4165
+ privileged: z.ZodBoolean;
4166
+ fixtureRefs: z.ZodArray<z.ZodObject<{
4412
4167
  id: z.ZodString;
4413
4168
  contentHash: z.ZodString;
4414
4169
  }, z.core.$strict>>;
4415
- }, z.core.$strict>;
4170
+ }, z.core.$strict>>;
4171
+ aggregation: z.ZodLiteral<"weighted_mean">;
4172
+ unscorable: z.ZodLiteral<"exclude_optional_require_all_required">;
4416
4173
  contentHash: z.ZodString;
4417
4174
  }, z.core.$strict> | z.ZodObject<{
4418
4175
  schemaVersion: z.ZodLiteral<"openpond.rewardRelease.v1">;
@@ -4554,136 +4311,389 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
4554
4311
  maximumLength: z.ZodNumber;
4555
4312
  }, z.core.$strict>, z.ZodObject<{
4556
4313
  id: z.ZodString;
4557
- label: z.ZodString;
4558
- instructions: z.ZodString;
4559
- required: z.ZodBoolean;
4560
- allowAbstain: z.ZodBoolean;
4561
- requireRationale: z.ZodOptional<z.ZodBoolean>;
4562
- anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
4563
- value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
4564
- description: z.ZodString;
4565
- }, z.core.$strict>>>;
4566
- kind: z.ZodLiteral<"preference">;
4567
- requireStrength: z.ZodOptional<z.ZodBoolean>;
4568
- allowTie: z.ZodBoolean;
4569
- }, z.core.$strict>], "kind">>;
4314
+ label: z.ZodString;
4315
+ instructions: z.ZodString;
4316
+ required: z.ZodBoolean;
4317
+ allowAbstain: z.ZodBoolean;
4318
+ requireRationale: z.ZodOptional<z.ZodBoolean>;
4319
+ anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
4320
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>;
4321
+ description: z.ZodString;
4322
+ }, z.core.$strict>>>;
4323
+ kind: z.ZodLiteral<"preference">;
4324
+ requireStrength: z.ZodOptional<z.ZodBoolean>;
4325
+ allowTie: z.ZodBoolean;
4326
+ }, z.core.$strict>], "kind">>;
4327
+ }, z.core.$strict>>;
4328
+ }, z.core.$strict>, z.ZodObject<{
4329
+ kind: z.ZodLiteral<"learned_model">;
4330
+ modelVersion: z.ZodObject<{
4331
+ id: z.ZodString;
4332
+ contentHash: z.ZodString;
4333
+ }, z.core.$strict>;
4334
+ inputContract: z.ZodObject<{
4335
+ id: z.ZodString;
4336
+ path: z.ZodString;
4337
+ contentHash: z.ZodString;
4338
+ sizeBytes: z.ZodNumber;
4339
+ mediaType: z.ZodString;
4340
+ visibility: z.ZodEnum<{
4341
+ host_private: "host_private";
4342
+ policy: "policy";
4343
+ verifier: "verifier";
4344
+ }>;
4345
+ }, z.core.$strict>;
4346
+ }, z.core.$strict>]>;
4347
+ rawScore: z.ZodObject<{
4348
+ minimum: z.ZodNumber;
4349
+ maximum: z.ZodNumber;
4350
+ }, z.core.$strict>;
4351
+ assets: z.ZodArray<z.ZodObject<{
4352
+ id: z.ZodString;
4353
+ path: z.ZodString;
4354
+ contentHash: z.ZodString;
4355
+ sizeBytes: z.ZodNumber;
4356
+ mediaType: z.ZodString;
4357
+ visibility: z.ZodEnum<{
4358
+ host_private: "host_private";
4359
+ policy: "policy";
4360
+ verifier: "verifier";
4361
+ }>;
4362
+ }, z.core.$strict>>;
4363
+ fixtureSetRef: z.ZodOptional<z.ZodObject<{
4364
+ id: z.ZodString;
4365
+ path: z.ZodString;
4366
+ contentHash: z.ZodString;
4367
+ sizeBytes: z.ZodNumber;
4368
+ mediaType: z.ZodString;
4369
+ visibility: z.ZodEnum<{
4370
+ host_private: "host_private";
4371
+ policy: "policy";
4372
+ verifier: "verifier";
4373
+ }>;
4374
+ }, z.core.$strict>>;
4375
+ calibrationCheckRef: z.ZodOptional<z.ZodObject<{
4376
+ id: z.ZodString;
4377
+ contentHash: z.ZodString;
4378
+ revision: z.ZodNumber;
4379
+ }, z.core.$strict>>;
4380
+ contentHash: z.ZodString;
4381
+ }, z.core.$strict> | z.ZodObject<{
4382
+ origin: z.ZodOptional<z.ZodObject<{
4383
+ schemaVersion: z.ZodLiteral<"openpond.trainingHandoffOrigin.v1">;
4384
+ teamId: z.ZodString;
4385
+ projectId: z.ZodNullable<z.ZodString>;
4386
+ configurationId: z.ZodString;
4387
+ source: z.ZodObject<{
4388
+ executionId: z.ZodString;
4389
+ passId: z.ZodNullable<z.ZodString>;
4390
+ manifestHash: z.ZodString;
4391
+ resultHash: z.ZodString;
4392
+ }, z.core.$strict>;
4393
+ dataset: z.ZodObject<{
4394
+ id: z.ZodString;
4395
+ revision: z.ZodNumber;
4396
+ contentHash: z.ZodString;
4397
+ }, z.core.$strict>;
4398
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
4399
+ kind: z.ZodLiteral<"model">;
4400
+ modelId: z.ZodString;
4401
+ configurationHash: z.ZodString;
4402
+ }, z.core.$strict>, z.ZodObject<{
4403
+ kind: z.ZodLiteral<"harness">;
4404
+ source: z.ZodObject<{
4405
+ profileId: z.ZodString;
4406
+ sourceRevision: z.ZodString;
4407
+ harnessRelease: z.ZodObject<{
4408
+ id: z.ZodString;
4409
+ contentHash: z.ZodString;
4410
+ }, z.core.$strict>;
4411
+ catalogHash: z.ZodString;
4412
+ definitionId: z.ZodString;
4413
+ definitionHash: z.ZodString;
4414
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
4415
+ kind: z.ZodLiteral<"profile">;
4416
+ }, z.core.$strict>, z.ZodObject<{
4417
+ kind: z.ZodLiteral<"workflow">;
4418
+ workflowId: z.ZodString;
4419
+ }, z.core.$strict>, z.ZodObject<{
4420
+ kind: z.ZodLiteral<"skill">;
4421
+ skillPath: z.ZodString;
4422
+ }, z.core.$strict>, z.ZodObject<{
4423
+ kind: z.ZodLiteral<"agent_action">;
4424
+ actionId: z.ZodString;
4425
+ }, z.core.$strict>], "kind">;
4426
+ environmentHash: z.ZodString;
4427
+ externalDatasetBinding: z.ZodOptional<z.ZodObject<{
4428
+ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
4429
+ dataset: z.ZodObject<{
4430
+ id: z.ZodString;
4431
+ contentHash: z.ZodString;
4432
+ revision: z.ZodNumber;
4433
+ }, z.core.$strict>;
4434
+ packageHash: z.ZodString;
4435
+ profileId: z.ZodString;
4436
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
4437
+ kind: z.ZodLiteral<"profile">;
4438
+ }, z.core.$strict>, z.ZodObject<{
4439
+ kind: z.ZodLiteral<"workflow">;
4440
+ workflowId: z.ZodString;
4441
+ }, z.core.$strict>, z.ZodObject<{
4442
+ kind: z.ZodLiteral<"skill">;
4443
+ skillPath: z.ZodString;
4444
+ }, z.core.$strict>, z.ZodObject<{
4445
+ kind: z.ZodLiteral<"agent_action">;
4446
+ actionId: z.ZodString;
4447
+ }, z.core.$strict>], "kind">;
4448
+ declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
4449
+ protectedProfileClosureHash: z.ZodString;
4450
+ recordedOrigin: z.ZodOptional<z.ZodObject<{
4451
+ execution: z.ZodObject<{
4452
+ id: z.ZodString;
4453
+ contentHash: z.ZodString;
4454
+ }, z.core.$strict>;
4455
+ originalEvidence: z.ZodObject<{
4456
+ id: z.ZodString;
4457
+ contentHash: z.ZodString;
4458
+ }, z.core.$strict>;
4459
+ members: z.ZodArray<z.ZodObject<{
4460
+ caseId: z.ZodString;
4461
+ seed: z.ZodString;
4462
+ fixtureId: z.ZodString;
4463
+ sourceId: z.ZodString;
4464
+ snapshotHash: z.ZodString;
4465
+ boundaryRevisionHash: z.ZodString;
4466
+ }, z.core.$strict>>;
4467
+ }, z.core.$strict>>;
4468
+ gradingSource: z.ZodOptional<z.ZodObject<{
4469
+ pass: z.ZodObject<{
4470
+ id: z.ZodString;
4471
+ contentHash: z.ZodString;
4472
+ }, z.core.$strict>;
4473
+ evidence: z.ZodObject<{
4474
+ id: z.ZodString;
4475
+ contentHash: z.ZodString;
4476
+ }, z.core.$strict>;
4477
+ }, z.core.$strict>>;
4478
+ split: z.ZodEnum<{
4479
+ frozen_eval: "frozen_eval";
4480
+ test: "test";
4481
+ train: "train";
4482
+ validation: "validation";
4483
+ }>;
4484
+ population: z.ZodArray<z.ZodObject<{
4485
+ taskId: z.ZodString;
4486
+ seed: z.ZodString;
4487
+ fixtureId: z.ZodNullable<z.ZodString>;
4488
+ }, z.core.$strict>>;
4489
+ evaluators: z.ZodArray<z.ZodObject<{
4490
+ release: z.ZodObject<{
4491
+ id: z.ZodString;
4492
+ contentHash: z.ZodString;
4493
+ revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
4494
+ }, z.core.$strict>;
4495
+ feedbackKey: z.ZodString;
4496
+ configurationHash: z.ZodString;
4497
+ output: z.ZodEnum<{
4498
+ boolean: "boolean";
4499
+ category: "category";
4500
+ score: "score";
4501
+ }>;
4502
+ categories: z.ZodArray<z.ZodString>;
4503
+ }, z.core.$strict>>;
4504
+ fieldMappingsHash: z.ZodString;
4505
+ fieldMappings: z.ZodArray<z.ZodObject<{
4506
+ graderId: z.ZodString;
4507
+ fields: z.ZodArray<z.ZodObject<{
4508
+ destination: z.ZodEnum<{
4509
+ evaluatorContext: "evaluatorContext";
4510
+ expectedOutput: "expectedOutput";
4511
+ input: "input";
4512
+ output: "output";
4513
+ }>;
4514
+ path: z.ZodArray<z.ZodString>;
4515
+ source: z.ZodEnum<{
4516
+ evaluatorContext: "evaluatorContext";
4517
+ expectedOutput: "expectedOutput";
4518
+ input: "input";
4519
+ output: "output";
4520
+ }>;
4521
+ sourcePath: z.ZodArray<z.ZodString>;
4522
+ }, z.core.$strict>>;
4523
+ }, z.core.$strict>>;
4524
+ environmentHash: z.ZodString;
4525
+ privateDatasetClosureHash: z.ZodString;
4526
+ criterion: z.ZodObject<{
4527
+ minimumPassRate: z.ZodNumber;
4528
+ requireComplete: z.ZodBoolean;
4529
+ }, z.core.$strict>;
4530
+ contentHash: z.ZodString;
4531
+ }, z.core.$strict>>;
4532
+ sourceCandidate: z.ZodOptional<z.ZodObject<{
4533
+ candidateId: z.ZodString;
4534
+ frozenRevision: z.ZodNumber;
4535
+ frozenHash: z.ZodString;
4536
+ harnessRelease: z.ZodObject<{
4537
+ id: z.ZodString;
4538
+ contentHash: z.ZodString;
4539
+ }, z.core.$strict>;
4540
+ protectedClosureHash: z.ZodString;
4541
+ }, z.core.$strict>>;
4542
+ }, z.core.$strict>;
4543
+ model: z.ZodObject<{
4544
+ modelId: z.ZodString;
4545
+ configurationHash: z.ZodString;
4546
+ }, z.core.$strict>;
4547
+ }, z.core.$strict>, z.ZodObject<{
4548
+ kind: z.ZodLiteral<"agent">;
4549
+ source: z.ZodObject<{
4550
+ harnessRelease: z.ZodObject<{
4551
+ id: z.ZodString;
4552
+ contentHash: z.ZodString;
4553
+ }, z.core.$strict>;
4554
+ agentSnapshot: z.ZodObject<{
4555
+ id: z.ZodString;
4556
+ contentHash: z.ZodString;
4557
+ }, z.core.$strict>;
4558
+ sourcePackageHash: z.ZodString;
4559
+ }, z.core.$strict>;
4560
+ model: z.ZodObject<{
4561
+ modelId: z.ZodString;
4562
+ configurationHash: z.ZodString;
4563
+ }, z.core.$strict>;
4564
+ }, z.core.$strict>, z.ZodObject<{
4565
+ kind: z.ZodLiteral<"fixture">;
4566
+ configurationHash: z.ZodString;
4567
+ }, z.core.$strict>], "kind">;
4568
+ graders: z.ZodArray<z.ZodObject<{
4569
+ feedbackKey: z.ZodString;
4570
+ evaluator: z.ZodObject<{
4571
+ id: z.ZodString;
4572
+ contentHash: z.ZodString;
4573
+ }, z.core.$strict>;
4574
+ expectedCount: z.ZodNumber;
4575
+ scoredCount: z.ZodNumber;
4576
+ score: z.ZodNullable<z.ZodNumber>;
4570
4577
  }, z.core.$strict>>;
4571
- }, z.core.$strict>, z.ZodObject<{
4572
- kind: z.ZodLiteral<"learned_model">;
4573
- modelVersion: z.ZodObject<{
4574
- id: z.ZodString;
4575
- contentHash: z.ZodString;
4576
- }, z.core.$strict>;
4577
- inputContract: z.ZodObject<{
4578
- id: z.ZodString;
4579
- path: z.ZodString;
4580
- contentHash: z.ZodString;
4581
- sizeBytes: z.ZodNumber;
4582
- mediaType: z.ZodString;
4583
- visibility: z.ZodEnum<{
4584
- host_private: "host_private";
4585
- policy: "policy";
4586
- verifier: "verifier";
4587
- }>;
4588
- }, z.core.$strict>;
4589
- }, z.core.$strict>]>;
4590
- rawScore: z.ZodObject<{
4591
- minimum: z.ZodNumber;
4592
- maximum: z.ZodNumber;
4593
- }, z.core.$strict>;
4594
- assets: z.ZodArray<z.ZodObject<{
4595
- id: z.ZodString;
4596
- path: z.ZodString;
4597
4578
  contentHash: z.ZodString;
4598
- sizeBytes: z.ZodNumber;
4599
- mediaType: z.ZodString;
4600
- visibility: z.ZodEnum<{
4601
- host_private: "host_private";
4602
- policy: "policy";
4603
- verifier: "verifier";
4604
- }>;
4605
4579
  }, z.core.$strict>>;
4606
- fixtureSetRef: z.ZodOptional<z.ZodObject<{
4580
+ schemaVersion: z.ZodLiteral<"openpond.learningPolicy.v1">;
4581
+ id: z.ZodString;
4582
+ revision: z.ZodNumber;
4583
+ modelProjectId: z.ZodString;
4584
+ executionOwner: z.ZodEnum<{
4585
+ hosted: "hosted";
4586
+ local: "local";
4587
+ }>;
4588
+ enabled: z.ZodBoolean;
4589
+ sources: z.ZodArray<z.ZodObject<{
4607
4590
  id: z.ZodString;
4608
- path: z.ZodString;
4609
4591
  contentHash: z.ZodString;
4610
- sizeBytes: z.ZodNumber;
4611
- mediaType: z.ZodString;
4612
- visibility: z.ZodEnum<{
4613
- host_private: "host_private";
4614
- policy: "policy";
4615
- verifier: "verifier";
4616
- }>;
4592
+ revision: z.ZodNumber;
4617
4593
  }, z.core.$strict>>;
4618
- calibrationCheckRef: z.ZodOptional<z.ZodObject<{
4594
+ taskDefinition: z.ZodObject<{
4619
4595
  id: z.ZodString;
4620
4596
  contentHash: z.ZodString;
4621
4597
  revision: z.ZodNumber;
4622
- }, z.core.$strict>>;
4623
- contentHash: z.ZodString;
4624
- }, z.core.$strict> | z.ZodObject<{
4625
- schemaVersion: z.ZodLiteral<"openpond.rewardBinding.v1">;
4626
- id: z.ZodString;
4627
- revision: z.ZodNumber;
4628
- name: z.ZodOptional<z.ZodString>;
4629
- description: z.ZodOptional<z.ZodString>;
4630
- recipeRef: z.ZodOptional<z.ZodObject<{
4598
+ }, z.core.$strict>;
4599
+ rewardBinding: z.ZodObject<{
4631
4600
  id: z.ZodString;
4632
4601
  contentHash: z.ZodString;
4633
4602
  revision: z.ZodNumber;
4603
+ }, z.core.$strict>;
4604
+ admission: z.ZodObject<{
4605
+ mode: z.ZodEnum<{
4606
+ human: "human";
4607
+ qualified_automatic: "qualified_automatic";
4608
+ }>;
4609
+ qualification: z.ZodNullable<z.ZodObject<{
4610
+ id: z.ZodString;
4611
+ contentHash: z.ZodString;
4612
+ }, z.core.$strict>>;
4613
+ minimumApprovedExamples: z.ZodNumber;
4614
+ }, z.core.$strict>;
4615
+ trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
4616
+ kind: z.ZodLiteral<"manual">;
4617
+ }, z.core.$strict>, z.ZodObject<{
4618
+ kind: z.ZodLiteral<"approved_count">;
4619
+ }, z.core.$strict>, z.ZodObject<{
4620
+ kind: z.ZodLiteral<"schedule">;
4621
+ intervalSeconds: z.ZodNumber;
4622
+ }, z.core.$strict>, z.ZodObject<{
4623
+ localTime: z.ZodString;
4624
+ timeZone: z.ZodString;
4625
+ kind: z.ZodLiteral<"nightly">;
4626
+ }, z.core.$strict>, z.ZodObject<{
4627
+ kind: z.ZodLiteral<"upstream_accepted">;
4628
+ modelProjectId: z.ZodString;
4629
+ }, z.core.$strict>], "kind">;
4630
+ trainingParent: z.ZodObject<{
4631
+ id: z.ZodString;
4632
+ contentHash: z.ZodString;
4633
+ }, z.core.$strict>;
4634
+ teacher: z.ZodNullable<z.ZodObject<{
4635
+ id: z.ZodString;
4636
+ contentHash: z.ZodString;
4634
4637
  }, z.core.$strict>>;
4635
- sources: z.ZodArray<z.ZodObject<{
4636
- graderId: z.ZodString;
4637
- taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4638
- reward: z.ZodObject<{
4638
+ training: z.ZodObject<{
4639
+ method: z.ZodEnum<{
4640
+ dpo: "dpo";
4641
+ grpo: "grpo";
4642
+ opd: "opd";
4643
+ opsd: "opsd";
4644
+ ppo: "ppo";
4645
+ sdft: "sdft";
4646
+ sdpo: "sdpo";
4647
+ sft: "sft";
4648
+ }>;
4649
+ recipe: z.ZodObject<{
4639
4650
  id: z.ZodString;
4640
4651
  contentHash: z.ZodString;
4641
- revision: z.ZodNumber;
4642
4652
  }, z.core.$strict>;
4643
- role: z.ZodEnum<{
4644
- evaluation: "evaluation";
4645
- training: "training";
4646
- }>;
4647
- normalization: z.ZodDiscriminatedUnion<[z.ZodObject<{
4648
- kind: z.ZodLiteral<"identity">;
4649
- }, z.core.$strict>, z.ZodObject<{
4650
- kind: z.ZodLiteral<"linear">;
4651
- minimum: z.ZodNumber;
4652
- maximum: z.ZodNumber;
4653
- direction: z.ZodEnum<{
4654
- higher: "higher";
4655
- lower: "lower";
4653
+ retentionEvaluation: z.ZodObject<{
4654
+ id: z.ZodString;
4655
+ contentHash: z.ZodString;
4656
+ }, z.core.$strict>;
4657
+ replayBatches: z.ZodArray<z.ZodObject<{
4658
+ id: z.ZodString;
4659
+ contentHash: z.ZodString;
4660
+ }, z.core.$strict>>;
4661
+ continuationMode: z.ZodOptional<z.ZodObject<{
4662
+ adapterMode: z.ZodEnum<{
4663
+ residual_append: "residual_append";
4664
+ sequential_merge: "sequential_merge";
4665
+ shared: "shared";
4656
4666
  }>;
4657
- }, z.core.$strict>], "kind">;
4658
- weight: z.ZodNumber;
4659
- required: z.ZodBoolean;
4660
- hardGate: z.ZodBoolean;
4661
- privileged: z.ZodBoolean;
4662
- fixtureRefs: z.ZodArray<z.ZodObject<{
4667
+ sourceConfiguration: z.ZodObject<{
4668
+ id: z.ZodString;
4669
+ revision: z.ZodNumber;
4670
+ etag: z.ZodString;
4671
+ }, z.core.$strict>;
4672
+ }, z.core.$strict>>;
4673
+ }, z.core.$strict>;
4674
+ limits: z.ZodObject<{
4675
+ maxIterationSpendUsd: z.ZodNumber;
4676
+ maxDailySpendUsd: z.ZodNumber;
4677
+ cooldownSeconds: z.ZodNumber;
4678
+ maxRetries: z.ZodNumber;
4679
+ maxBatchExamples: z.ZodNumber;
4680
+ maxBacklogExamples: z.ZodNumber;
4681
+ }, z.core.$strict>;
4682
+ automation: z.ZodObject<{
4683
+ collect: z.ZodBoolean;
4684
+ train: z.ZodBoolean;
4685
+ accept: z.ZodBoolean;
4686
+ serve: z.ZodBoolean;
4687
+ }, z.core.$strict>;
4688
+ acceptance: z.ZodObject<{
4689
+ minimumScore: z.ZodNumber;
4690
+ maximumRetentionRegression: z.ZodNumber;
4691
+ requireImprovement: z.ZodBoolean;
4692
+ rollbackVersion: z.ZodNullable<z.ZodObject<{
4663
4693
  id: z.ZodString;
4664
4694
  contentHash: z.ZodString;
4665
4695
  }, z.core.$strict>>;
4666
- }, z.core.$strict>>;
4667
- aggregation: z.ZodLiteral<"weighted_mean">;
4668
- unscorable: z.ZodLiteral<"exclude_optional_require_all_required">;
4669
- contentHash: z.ZodString;
4670
- }, z.core.$strict> | z.ZodObject<{
4671
- schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">;
4672
- id: z.ZodString;
4673
- revision: z.ZodLiteral<1>;
4674
- asset: z.ZodObject<{
4675
- id: z.ZodString;
4676
- path: z.ZodString;
4677
- contentHash: z.ZodString;
4678
- sizeBytes: z.ZodNumber;
4679
- mediaType: z.ZodString;
4680
- visibility: z.ZodEnum<{
4681
- host_private: "host_private";
4682
- policy: "policy";
4683
- verifier: "verifier";
4684
- }>;
4685
4696
  }, z.core.$strict>;
4686
- text: z.ZodString;
4687
4697
  contentHash: z.ZodString;
4688
4698
  }, z.core.$strict>)[]>>;
4689
4699
  }, z.core.$strict>;