@openpond/evals 0.11.16 → 0.11.18

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 (158) hide show
  1. package/dist/connected-evidence/contracts.js +72 -0
  2. package/dist/connected-evidence/imports.js +71 -0
  3. package/dist/connected-evidence/index.js +5 -0
  4. package/dist/connected-evidence/normalize.js +97 -0
  5. package/dist/connected-evidence/python-correctness.js +73 -0
  6. package/dist/connected-evidence/sources/claude-code.js +71 -0
  7. package/dist/connected-evidence/sources/codex.js +52 -0
  8. package/dist/connected-evidence/sources/history.js +86 -0
  9. package/dist/connected-evidence/sources/usage.js +15 -0
  10. package/dist/connected-evidence/usage-summary.js +52 -0
  11. package/dist/experiments.js +16 -4
  12. package/dist/graders.js +9 -6
  13. package/dist/human-review/comparison.js +161 -0
  14. package/dist/human-review/contracts.js +110 -0
  15. package/dist/human-review/execution.js +61 -0
  16. package/dist/human-review/handoff.js +18 -0
  17. package/dist/human-review/index.js +9 -0
  18. package/dist/human-review/local-publication.js +18 -0
  19. package/dist/human-review/repository.js +1 -0
  20. package/dist/human-review/results.js +18 -0
  21. package/dist/human-review/service.js +268 -0
  22. package/dist/human-review/task-proposals.js +39 -0
  23. package/dist/index.js +1 -0
  24. package/dist/javascript-verifier-contract.js +2 -2
  25. package/dist/learning/authoring.js +2 -1
  26. package/dist/learning/contracts.js +353 -81
  27. package/dist/learning/index.js +1 -0
  28. package/dist/learning/reward-authoring.js +5 -2
  29. package/dist/learning/training-handoff.js +32 -0
  30. package/dist/metrics-node.js +2 -0
  31. package/dist/profile-evaluation-target.js +7 -0
  32. package/dist/profile-evaluations.js +7 -10
  33. package/dist/profile-external-evaluation.js +35 -0
  34. package/dist/profile-source-candidate.js +5 -0
  35. package/dist/rewards.js +5 -3
  36. package/dist/taskset-run-contract.js +10 -0
  37. package/dist/tasksets.js +2 -0
  38. package/dist/types/builtin-benchmarks/harness-refiner.d.ts +75 -1
  39. package/dist/types/builtin-benchmarks/harness-refiner.d.ts.map +1 -1
  40. package/dist/types/conformance.d.ts +150 -2
  41. package/dist/types/conformance.d.ts.map +1 -1
  42. package/dist/types/connected-evidence/contracts.d.ts +317 -0
  43. package/dist/types/connected-evidence/contracts.d.ts.map +1 -0
  44. package/dist/types/connected-evidence/imports.d.ts +19 -0
  45. package/dist/types/connected-evidence/imports.d.ts.map +1 -0
  46. package/dist/types/connected-evidence/index.d.ts +6 -0
  47. package/dist/types/connected-evidence/index.d.ts.map +1 -0
  48. package/dist/types/connected-evidence/normalize.d.ts +25 -0
  49. package/dist/types/connected-evidence/normalize.d.ts.map +1 -0
  50. package/dist/types/connected-evidence/python-correctness.d.ts +196 -0
  51. package/dist/types/connected-evidence/python-correctness.d.ts.map +1 -0
  52. package/dist/types/connected-evidence/sources/claude-code.d.ts +74 -0
  53. package/dist/types/connected-evidence/sources/claude-code.d.ts.map +1 -0
  54. package/dist/types/connected-evidence/sources/codex.d.ts +74 -0
  55. package/dist/types/connected-evidence/sources/codex.d.ts.map +1 -0
  56. package/dist/types/connected-evidence/sources/history.d.ts +146 -0
  57. package/dist/types/connected-evidence/sources/history.d.ts.map +1 -0
  58. package/dist/types/connected-evidence/sources/usage.d.ts +3 -0
  59. package/dist/types/connected-evidence/sources/usage.d.ts.map +1 -0
  60. package/dist/types/connected-evidence/usage-summary.d.ts +162 -0
  61. package/dist/types/connected-evidence/usage-summary.d.ts.map +1 -0
  62. package/dist/types/evidence/conformance.d.ts +28 -28
  63. package/dist/types/evidence/contracts.d.ts +27 -27
  64. package/dist/types/execution-contracts.d.ts +159 -5
  65. package/dist/types/execution-contracts.d.ts.map +1 -1
  66. package/dist/types/experiments.d.ts +476 -7
  67. package/dist/types/experiments.d.ts.map +1 -1
  68. package/dist/types/graders.d.ts +21 -1
  69. package/dist/types/graders.d.ts.map +1 -1
  70. package/dist/types/human-review/comparison.d.ts +1959 -0
  71. package/dist/types/human-review/comparison.d.ts.map +1 -0
  72. package/dist/types/human-review/contracts.d.ts +2719 -0
  73. package/dist/types/human-review/contracts.d.ts.map +1 -0
  74. package/dist/types/human-review/execution.d.ts +298 -0
  75. package/dist/types/human-review/execution.d.ts.map +1 -0
  76. package/dist/types/human-review/handoff.d.ts +124 -0
  77. package/dist/types/human-review/handoff.d.ts.map +1 -0
  78. package/dist/types/human-review/index.d.ts +10 -0
  79. package/dist/types/human-review/index.d.ts.map +1 -0
  80. package/dist/types/human-review/local-publication.d.ts +165 -0
  81. package/dist/types/human-review/local-publication.d.ts.map +1 -0
  82. package/dist/types/human-review/repository.d.ts +43 -0
  83. package/dist/types/human-review/repository.d.ts.map +1 -0
  84. package/dist/types/human-review/results.d.ts +118 -0
  85. package/dist/types/human-review/results.d.ts.map +1 -0
  86. package/dist/types/human-review/service.d.ts +878 -0
  87. package/dist/types/human-review/service.d.ts.map +1 -0
  88. package/dist/types/human-review/task-proposals.d.ts +70 -0
  89. package/dist/types/human-review/task-proposals.d.ts.map +1 -0
  90. package/dist/types/index.d.ts +1 -0
  91. package/dist/types/index.d.ts.map +1 -1
  92. package/dist/types/javascript-environment-contract.d.ts +1 -1
  93. package/dist/types/javascript-verifier-contract.d.ts +1 -1
  94. package/dist/types/javascript-verifier-contract.d.ts.map +1 -1
  95. package/dist/types/learned-preference.d.ts +2 -2
  96. package/dist/types/learning/acceptance-group.d.ts +13 -13
  97. package/dist/types/learning/acceptance-plan.d.ts +1 -1
  98. package/dist/types/learning/admission.d.ts +78 -1
  99. package/dist/types/learning/admission.d.ts.map +1 -1
  100. package/dist/types/learning/authoring-service.d.ts +2 -0
  101. package/dist/types/learning/authoring-service.d.ts.map +1 -1
  102. package/dist/types/learning/authoring.d.ts +20 -0
  103. package/dist/types/learning/authoring.d.ts.map +1 -1
  104. package/dist/types/learning/batch-service.d.ts +76 -2
  105. package/dist/types/learning/batch-service.d.ts.map +1 -1
  106. package/dist/types/learning/contracts.d.ts +759 -24
  107. package/dist/types/learning/contracts.d.ts.map +1 -1
  108. package/dist/types/learning/index.d.ts +1 -0
  109. package/dist/types/learning/index.d.ts.map +1 -1
  110. package/dist/types/learning/iteration-candidate-decision.d.ts +2 -2
  111. package/dist/types/learning/iteration-dispatch-contracts.d.ts +2 -2
  112. package/dist/types/learning/operations.d.ts +1118 -8
  113. package/dist/types/learning/operations.d.ts.map +1 -1
  114. package/dist/types/learning/repository.d.ts +402 -15
  115. package/dist/types/learning/repository.d.ts.map +1 -1
  116. package/dist/types/learning/reward-authoring.d.ts.map +1 -1
  117. package/dist/types/learning/reward-calibration.d.ts +74 -0
  118. package/dist/types/learning/reward-calibration.d.ts.map +1 -1
  119. package/dist/types/learning/reward-checks.d.ts +14 -2
  120. package/dist/types/learning/reward-checks.d.ts.map +1 -1
  121. package/dist/types/learning/training-handoff.d.ts +201 -0
  122. package/dist/types/learning/training-handoff.d.ts.map +1 -0
  123. package/dist/types/learning/transport.d.ts +963 -21
  124. package/dist/types/learning/transport.d.ts.map +1 -1
  125. package/dist/types/metrics-node.d.ts +3 -1
  126. package/dist/types/metrics-node.d.ts.map +1 -1
  127. package/dist/types/model-improvement-qualification.d.ts +3 -3
  128. package/dist/types/native-harness-experiment-attempt.d.ts +2 -2
  129. package/dist/types/profile-evaluation-comparisons.d.ts +230 -0
  130. package/dist/types/profile-evaluation-comparisons.d.ts.map +1 -1
  131. package/dist/types/profile-evaluation-target.d.ts +14 -0
  132. package/dist/types/profile-evaluation-target.d.ts.map +1 -0
  133. package/dist/types/profile-evaluations.d.ts +117 -14
  134. package/dist/types/profile-evaluations.d.ts.map +1 -1
  135. package/dist/types/profile-external-evaluation.d.ts +404 -0
  136. package/dist/types/profile-external-evaluation.d.ts.map +1 -0
  137. package/dist/types/profile-source-candidate.d.ts +15 -0
  138. package/dist/types/profile-source-candidate.d.ts.map +1 -0
  139. package/dist/types/review-conformance.d.ts +7 -7
  140. package/dist/types/rewards.d.ts +253 -0
  141. package/dist/types/rewards.d.ts.map +1 -1
  142. package/dist/types/rollouts.d.ts +3 -3
  143. package/dist/types/taskset-run-contract.d.ts +230 -0
  144. package/dist/types/taskset-run-contract.d.ts.map +1 -1
  145. package/dist/types/tasksets.d.ts +311 -3
  146. package/dist/types/tasksets.d.ts.map +1 -1
  147. package/dist/types/telemetry-analysis.d.ts +2 -2
  148. package/dist/types/telemetry-bundle.d.ts +6 -6
  149. package/dist/types/telemetry.d.ts +3 -3
  150. package/package.json +13 -1
  151. package/schemas/learning/v1/command-request.schema.json +1745 -409
  152. package/schemas/learning/v1/decision.schema.json +11 -0
  153. package/schemas/learning/v1/draft.schema.json +11 -0
  154. package/schemas/learning/v1/grade.schema.json +11 -0
  155. package/schemas/learning/v1/package.schema.json +532 -12
  156. package/schemas/learning/v1/policy.schema.json +836 -28
  157. package/schemas/learning/v1/reward.schema.json +520 -0
  158. package/schemas/learning/v1/reward_check.schema.json +9 -0
@@ -30,6 +30,121 @@ export declare const ExperimentTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30
30
  actionId: z.ZodString;
31
31
  }, z.core.$strict>], "kind">;
32
32
  environmentHash: z.ZodString;
33
+ externalDatasetBinding: z.ZodOptional<z.ZodObject<{
34
+ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
35
+ dataset: z.ZodObject<{
36
+ id: z.ZodString;
37
+ contentHash: z.ZodString;
38
+ revision: z.ZodNumber;
39
+ }, z.core.$strict>;
40
+ packageHash: z.ZodString;
41
+ profileId: z.ZodString;
42
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
43
+ kind: z.ZodLiteral<"profile">;
44
+ }, z.core.$strict>, z.ZodObject<{
45
+ kind: z.ZodLiteral<"workflow">;
46
+ workflowId: z.ZodString;
47
+ }, z.core.$strict>, z.ZodObject<{
48
+ kind: z.ZodLiteral<"skill">;
49
+ skillPath: z.ZodString;
50
+ }, z.core.$strict>, z.ZodObject<{
51
+ kind: z.ZodLiteral<"agent_action">;
52
+ actionId: z.ZodString;
53
+ }, z.core.$strict>], "kind">;
54
+ declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
55
+ protectedProfileClosureHash: z.ZodString;
56
+ recordedOrigin: z.ZodOptional<z.ZodObject<{
57
+ execution: z.ZodObject<{
58
+ id: z.ZodString;
59
+ contentHash: z.ZodString;
60
+ }, z.core.$strict>;
61
+ originalEvidence: z.ZodObject<{
62
+ id: z.ZodString;
63
+ contentHash: z.ZodString;
64
+ }, z.core.$strict>;
65
+ members: z.ZodArray<z.ZodObject<{
66
+ caseId: z.ZodString;
67
+ seed: z.ZodString;
68
+ fixtureId: z.ZodString;
69
+ sourceId: z.ZodString;
70
+ snapshotHash: z.ZodString;
71
+ boundaryRevisionHash: z.ZodString;
72
+ }, z.core.$strict>>;
73
+ }, z.core.$strict>>;
74
+ gradingSource: z.ZodOptional<z.ZodObject<{
75
+ pass: z.ZodObject<{
76
+ id: z.ZodString;
77
+ contentHash: z.ZodString;
78
+ }, z.core.$strict>;
79
+ evidence: z.ZodObject<{
80
+ id: z.ZodString;
81
+ contentHash: z.ZodString;
82
+ }, z.core.$strict>;
83
+ }, z.core.$strict>>;
84
+ split: z.ZodEnum<{
85
+ train: "train";
86
+ validation: "validation";
87
+ test: "test";
88
+ frozen_eval: "frozen_eval";
89
+ }>;
90
+ population: z.ZodArray<z.ZodObject<{
91
+ taskId: z.ZodString;
92
+ seed: z.ZodString;
93
+ fixtureId: z.ZodNullable<z.ZodString>;
94
+ }, z.core.$strict>>;
95
+ evaluators: z.ZodArray<z.ZodObject<{
96
+ release: z.ZodObject<{
97
+ id: z.ZodString;
98
+ contentHash: z.ZodString;
99
+ revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
100
+ }, z.core.$strict>;
101
+ feedbackKey: z.ZodString;
102
+ configurationHash: z.ZodString;
103
+ output: z.ZodEnum<{
104
+ boolean: "boolean";
105
+ score: "score";
106
+ category: "category";
107
+ }>;
108
+ categories: z.ZodArray<z.ZodString>;
109
+ }, z.core.$strict>>;
110
+ fieldMappingsHash: z.ZodString;
111
+ fieldMappings: z.ZodArray<z.ZodObject<{
112
+ graderId: z.ZodString;
113
+ fields: z.ZodArray<z.ZodObject<{
114
+ destination: z.ZodEnum<{
115
+ output: "output";
116
+ input: "input";
117
+ expectedOutput: "expectedOutput";
118
+ evaluatorContext: "evaluatorContext";
119
+ }>;
120
+ path: z.ZodArray<z.ZodString>;
121
+ source: z.ZodEnum<{
122
+ output: "output";
123
+ input: "input";
124
+ expectedOutput: "expectedOutput";
125
+ evaluatorContext: "evaluatorContext";
126
+ }>;
127
+ sourcePath: z.ZodArray<z.ZodString>;
128
+ }, z.core.$strict>>;
129
+ }, z.core.$strict>>;
130
+ environmentHash: z.ZodString;
131
+ privateDatasetClosureHash: z.ZodString;
132
+ criterion: z.ZodObject<{
133
+ minimumPassRate: z.ZodNumber;
134
+ requireComplete: z.ZodBoolean;
135
+ }, z.core.$strict>;
136
+ contentHash: z.ZodString;
137
+ }, z.core.$strict>>;
138
+ sourceCandidate: z.ZodOptional<z.ZodObject<{
139
+ candidateId: z.ZodString;
140
+ frozenRevision: z.ZodNumber;
141
+ frozenHash: z.ZodString;
142
+ harnessRelease: z.ZodObject<{
143
+ id: z.ZodString;
144
+ contentHash: z.ZodString;
145
+ }, z.core.$strict>;
146
+ protectedClosureHash: z.ZodString;
147
+ }, z.core.$strict>>;
33
148
  }, z.core.$strict>;
34
149
  model: z.ZodObject<{
35
150
  modelId: z.ZodString;
@@ -78,6 +193,10 @@ export declare const ExperimentCaseIdentitySchema: z.ZodObject<{
78
193
  }, z.core.$strict>;
79
194
  export type ExperimentCaseIdentity = z.infer<typeof ExperimentCaseIdentitySchema>;
80
195
  export declare function experimentCaseKey(identity: ExperimentCaseIdentity): string;
196
+ export declare function humanProjectionViewId(originalManifest: {
197
+ id: string;
198
+ contentHash: string;
199
+ }, selectionHash: string, rulesHash: string): string;
81
200
  export declare const ExperimentManifestContentSchema: z.ZodObject<{
82
201
  schemaVersion: z.ZodLiteral<"openpond.experimentManifest.v1">;
83
202
  id: z.ZodString;
@@ -119,6 +238,121 @@ export declare const ExperimentManifestContentSchema: z.ZodObject<{
119
238
  actionId: z.ZodString;
120
239
  }, z.core.$strict>], "kind">;
121
240
  environmentHash: z.ZodString;
241
+ externalDatasetBinding: z.ZodOptional<z.ZodObject<{
242
+ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
243
+ dataset: z.ZodObject<{
244
+ id: z.ZodString;
245
+ contentHash: z.ZodString;
246
+ revision: z.ZodNumber;
247
+ }, z.core.$strict>;
248
+ packageHash: z.ZodString;
249
+ profileId: z.ZodString;
250
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
251
+ kind: z.ZodLiteral<"profile">;
252
+ }, z.core.$strict>, z.ZodObject<{
253
+ kind: z.ZodLiteral<"workflow">;
254
+ workflowId: z.ZodString;
255
+ }, z.core.$strict>, z.ZodObject<{
256
+ kind: z.ZodLiteral<"skill">;
257
+ skillPath: z.ZodString;
258
+ }, z.core.$strict>, z.ZodObject<{
259
+ kind: z.ZodLiteral<"agent_action">;
260
+ actionId: z.ZodString;
261
+ }, z.core.$strict>], "kind">;
262
+ declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
263
+ protectedProfileClosureHash: z.ZodString;
264
+ recordedOrigin: z.ZodOptional<z.ZodObject<{
265
+ execution: z.ZodObject<{
266
+ id: z.ZodString;
267
+ contentHash: z.ZodString;
268
+ }, z.core.$strict>;
269
+ originalEvidence: z.ZodObject<{
270
+ id: z.ZodString;
271
+ contentHash: z.ZodString;
272
+ }, z.core.$strict>;
273
+ members: z.ZodArray<z.ZodObject<{
274
+ caseId: z.ZodString;
275
+ seed: z.ZodString;
276
+ fixtureId: z.ZodString;
277
+ sourceId: z.ZodString;
278
+ snapshotHash: z.ZodString;
279
+ boundaryRevisionHash: z.ZodString;
280
+ }, z.core.$strict>>;
281
+ }, z.core.$strict>>;
282
+ gradingSource: z.ZodOptional<z.ZodObject<{
283
+ pass: z.ZodObject<{
284
+ id: z.ZodString;
285
+ contentHash: z.ZodString;
286
+ }, z.core.$strict>;
287
+ evidence: z.ZodObject<{
288
+ id: z.ZodString;
289
+ contentHash: z.ZodString;
290
+ }, z.core.$strict>;
291
+ }, z.core.$strict>>;
292
+ split: z.ZodEnum<{
293
+ train: "train";
294
+ validation: "validation";
295
+ test: "test";
296
+ frozen_eval: "frozen_eval";
297
+ }>;
298
+ population: z.ZodArray<z.ZodObject<{
299
+ taskId: z.ZodString;
300
+ seed: z.ZodString;
301
+ fixtureId: z.ZodNullable<z.ZodString>;
302
+ }, z.core.$strict>>;
303
+ evaluators: z.ZodArray<z.ZodObject<{
304
+ release: z.ZodObject<{
305
+ id: z.ZodString;
306
+ contentHash: z.ZodString;
307
+ revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
308
+ }, z.core.$strict>;
309
+ feedbackKey: z.ZodString;
310
+ configurationHash: z.ZodString;
311
+ output: z.ZodEnum<{
312
+ boolean: "boolean";
313
+ score: "score";
314
+ category: "category";
315
+ }>;
316
+ categories: z.ZodArray<z.ZodString>;
317
+ }, z.core.$strict>>;
318
+ fieldMappingsHash: z.ZodString;
319
+ fieldMappings: z.ZodArray<z.ZodObject<{
320
+ graderId: z.ZodString;
321
+ fields: z.ZodArray<z.ZodObject<{
322
+ destination: z.ZodEnum<{
323
+ output: "output";
324
+ input: "input";
325
+ expectedOutput: "expectedOutput";
326
+ evaluatorContext: "evaluatorContext";
327
+ }>;
328
+ path: z.ZodArray<z.ZodString>;
329
+ source: z.ZodEnum<{
330
+ output: "output";
331
+ input: "input";
332
+ expectedOutput: "expectedOutput";
333
+ evaluatorContext: "evaluatorContext";
334
+ }>;
335
+ sourcePath: z.ZodArray<z.ZodString>;
336
+ }, z.core.$strict>>;
337
+ }, z.core.$strict>>;
338
+ environmentHash: z.ZodString;
339
+ privateDatasetClosureHash: z.ZodString;
340
+ criterion: z.ZodObject<{
341
+ minimumPassRate: z.ZodNumber;
342
+ requireComplete: z.ZodBoolean;
343
+ }, z.core.$strict>;
344
+ contentHash: z.ZodString;
345
+ }, z.core.$strict>>;
346
+ sourceCandidate: z.ZodOptional<z.ZodObject<{
347
+ candidateId: z.ZodString;
348
+ frozenRevision: z.ZodNumber;
349
+ frozenHash: z.ZodString;
350
+ harnessRelease: z.ZodObject<{
351
+ id: z.ZodString;
352
+ contentHash: z.ZodString;
353
+ }, z.core.$strict>;
354
+ protectedClosureHash: z.ZodString;
355
+ }, z.core.$strict>>;
122
356
  }, z.core.$strict>;
123
357
  model: z.ZodObject<{
124
358
  modelId: z.ZodString;
@@ -170,6 +404,14 @@ export declare const ExperimentManifestContentSchema: z.ZodObject<{
170
404
  contentHash: z.ZodString;
171
405
  }, z.core.$strict>;
172
406
  scoringPassId: z.ZodNullable<z.ZodString>;
407
+ humanProjection: z.ZodOptional<z.ZodObject<{
408
+ originalManifest: z.ZodObject<{
409
+ id: z.ZodString;
410
+ contentHash: z.ZodString;
411
+ }, z.core.$strict>;
412
+ selectionHash: z.ZodString;
413
+ rulesHash: z.ZodString;
414
+ }, z.core.$strict>>;
173
415
  }, z.core.$strict>>;
174
416
  evaluators: z.ZodArray<z.ZodObject<{
175
417
  release: z.ZodObject<{
@@ -234,6 +476,121 @@ export declare const ExperimentManifestSchema: z.ZodObject<{
234
476
  actionId: z.ZodString;
235
477
  }, z.core.$strict>], "kind">;
236
478
  environmentHash: z.ZodString;
479
+ externalDatasetBinding: z.ZodOptional<z.ZodObject<{
480
+ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">;
481
+ dataset: z.ZodObject<{
482
+ id: z.ZodString;
483
+ contentHash: z.ZodString;
484
+ revision: z.ZodNumber;
485
+ }, z.core.$strict>;
486
+ packageHash: z.ZodString;
487
+ profileId: z.ZodString;
488
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
489
+ kind: z.ZodLiteral<"profile">;
490
+ }, z.core.$strict>, z.ZodObject<{
491
+ kind: z.ZodLiteral<"workflow">;
492
+ workflowId: z.ZodString;
493
+ }, z.core.$strict>, z.ZodObject<{
494
+ kind: z.ZodLiteral<"skill">;
495
+ skillPath: z.ZodString;
496
+ }, z.core.$strict>, z.ZodObject<{
497
+ kind: z.ZodLiteral<"agent_action">;
498
+ actionId: z.ZodString;
499
+ }, z.core.$strict>], "kind">;
500
+ declaredProfileCatalogHash: z.ZodNullable<z.ZodString>;
501
+ protectedProfileClosureHash: z.ZodString;
502
+ recordedOrigin: z.ZodOptional<z.ZodObject<{
503
+ execution: z.ZodObject<{
504
+ id: z.ZodString;
505
+ contentHash: z.ZodString;
506
+ }, z.core.$strict>;
507
+ originalEvidence: z.ZodObject<{
508
+ id: z.ZodString;
509
+ contentHash: z.ZodString;
510
+ }, z.core.$strict>;
511
+ members: z.ZodArray<z.ZodObject<{
512
+ caseId: z.ZodString;
513
+ seed: z.ZodString;
514
+ fixtureId: z.ZodString;
515
+ sourceId: z.ZodString;
516
+ snapshotHash: z.ZodString;
517
+ boundaryRevisionHash: z.ZodString;
518
+ }, z.core.$strict>>;
519
+ }, z.core.$strict>>;
520
+ gradingSource: z.ZodOptional<z.ZodObject<{
521
+ pass: z.ZodObject<{
522
+ id: z.ZodString;
523
+ contentHash: z.ZodString;
524
+ }, z.core.$strict>;
525
+ evidence: z.ZodObject<{
526
+ id: z.ZodString;
527
+ contentHash: z.ZodString;
528
+ }, z.core.$strict>;
529
+ }, z.core.$strict>>;
530
+ split: z.ZodEnum<{
531
+ train: "train";
532
+ validation: "validation";
533
+ test: "test";
534
+ frozen_eval: "frozen_eval";
535
+ }>;
536
+ population: z.ZodArray<z.ZodObject<{
537
+ taskId: z.ZodString;
538
+ seed: z.ZodString;
539
+ fixtureId: z.ZodNullable<z.ZodString>;
540
+ }, z.core.$strict>>;
541
+ evaluators: z.ZodArray<z.ZodObject<{
542
+ release: z.ZodObject<{
543
+ id: z.ZodString;
544
+ contentHash: z.ZodString;
545
+ revision: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
546
+ }, z.core.$strict>;
547
+ feedbackKey: z.ZodString;
548
+ configurationHash: z.ZodString;
549
+ output: z.ZodEnum<{
550
+ boolean: "boolean";
551
+ score: "score";
552
+ category: "category";
553
+ }>;
554
+ categories: z.ZodArray<z.ZodString>;
555
+ }, z.core.$strict>>;
556
+ fieldMappingsHash: z.ZodString;
557
+ fieldMappings: z.ZodArray<z.ZodObject<{
558
+ graderId: z.ZodString;
559
+ fields: z.ZodArray<z.ZodObject<{
560
+ destination: z.ZodEnum<{
561
+ output: "output";
562
+ input: "input";
563
+ expectedOutput: "expectedOutput";
564
+ evaluatorContext: "evaluatorContext";
565
+ }>;
566
+ path: z.ZodArray<z.ZodString>;
567
+ source: z.ZodEnum<{
568
+ output: "output";
569
+ input: "input";
570
+ expectedOutput: "expectedOutput";
571
+ evaluatorContext: "evaluatorContext";
572
+ }>;
573
+ sourcePath: z.ZodArray<z.ZodString>;
574
+ }, z.core.$strict>>;
575
+ }, z.core.$strict>>;
576
+ environmentHash: z.ZodString;
577
+ privateDatasetClosureHash: z.ZodString;
578
+ criterion: z.ZodObject<{
579
+ minimumPassRate: z.ZodNumber;
580
+ requireComplete: z.ZodBoolean;
581
+ }, z.core.$strict>;
582
+ contentHash: z.ZodString;
583
+ }, z.core.$strict>>;
584
+ sourceCandidate: z.ZodOptional<z.ZodObject<{
585
+ candidateId: z.ZodString;
586
+ frozenRevision: z.ZodNumber;
587
+ frozenHash: z.ZodString;
588
+ harnessRelease: z.ZodObject<{
589
+ id: z.ZodString;
590
+ contentHash: z.ZodString;
591
+ }, z.core.$strict>;
592
+ protectedClosureHash: z.ZodString;
593
+ }, z.core.$strict>>;
237
594
  }, z.core.$strict>;
238
595
  model: z.ZodObject<{
239
596
  modelId: z.ZodString;
@@ -285,6 +642,14 @@ export declare const ExperimentManifestSchema: z.ZodObject<{
285
642
  contentHash: z.ZodString;
286
643
  }, z.core.$strict>;
287
644
  scoringPassId: z.ZodNullable<z.ZodString>;
645
+ humanProjection: z.ZodOptional<z.ZodObject<{
646
+ originalManifest: z.ZodObject<{
647
+ id: z.ZodString;
648
+ contentHash: z.ZodString;
649
+ }, z.core.$strict>;
650
+ selectionHash: z.ZodString;
651
+ rulesHash: z.ZodString;
652
+ }, z.core.$strict>>;
288
653
  }, z.core.$strict>>;
289
654
  evaluators: z.ZodArray<z.ZodObject<{
290
655
  release: z.ZodObject<{
@@ -347,9 +712,9 @@ export declare const ExperimentCaseResultSchema: z.ZodObject<{
347
712
  fixtureId: z.ZodNullable<z.ZodString>;
348
713
  }, z.core.$strict>;
349
714
  status: z.ZodEnum<{
715
+ cancelled: "cancelled";
350
716
  failed: "failed";
351
717
  completed: "completed";
352
- cancelled: "cancelled";
353
718
  unavailable: "unavailable";
354
719
  }>;
355
720
  output: z.ZodNullable<z.ZodUnknown>;
@@ -403,9 +768,9 @@ export declare const ExperimentResultContentSchema: z.ZodObject<{
403
768
  contentHash: z.ZodString;
404
769
  }, z.core.$strict>;
405
770
  status: z.ZodEnum<{
771
+ cancelled: "cancelled";
406
772
  failed: "failed";
407
773
  completed: "completed";
408
- cancelled: "cancelled";
409
774
  }>;
410
775
  cases: z.ZodArray<z.ZodObject<{
411
776
  identity: z.ZodObject<{
@@ -414,9 +779,9 @@ export declare const ExperimentResultContentSchema: z.ZodObject<{
414
779
  fixtureId: z.ZodNullable<z.ZodString>;
415
780
  }, z.core.$strict>;
416
781
  status: z.ZodEnum<{
782
+ cancelled: "cancelled";
417
783
  failed: "failed";
418
784
  completed: "completed";
419
- cancelled: "cancelled";
420
785
  unavailable: "unavailable";
421
786
  }>;
422
787
  output: z.ZodNullable<z.ZodUnknown>;
@@ -472,9 +837,9 @@ export declare const ExperimentResultSchema: z.ZodObject<{
472
837
  contentHash: z.ZodString;
473
838
  }, z.core.$strict>;
474
839
  status: z.ZodEnum<{
840
+ cancelled: "cancelled";
475
841
  failed: "failed";
476
842
  completed: "completed";
477
- cancelled: "cancelled";
478
843
  }>;
479
844
  cases: z.ZodArray<z.ZodObject<{
480
845
  identity: z.ZodObject<{
@@ -483,9 +848,9 @@ export declare const ExperimentResultSchema: z.ZodObject<{
483
848
  fixtureId: z.ZodNullable<z.ZodString>;
484
849
  }, z.core.$strict>;
485
850
  status: z.ZodEnum<{
851
+ cancelled: "cancelled";
486
852
  failed: "failed";
487
853
  completed: "completed";
488
- cancelled: "cancelled";
489
854
  unavailable: "unavailable";
490
855
  }>;
491
856
  output: z.ZodNullable<z.ZodUnknown>;
@@ -616,6 +981,102 @@ export declare function verifyExperimentEvidence(input: {
616
981
  actionId: string;
617
982
  };
618
983
  environmentHash: string;
984
+ externalDatasetBinding?: {
985
+ schemaVersion: "openpond.profileExternalDatasetBinding.v1";
986
+ dataset: {
987
+ id: string;
988
+ contentHash: string;
989
+ revision: number;
990
+ };
991
+ packageHash: string;
992
+ profileId: string;
993
+ target: {
994
+ kind: "profile";
995
+ } | {
996
+ kind: "workflow";
997
+ workflowId: string;
998
+ } | {
999
+ kind: "skill";
1000
+ skillPath: string;
1001
+ } | {
1002
+ kind: "agent_action";
1003
+ actionId: string;
1004
+ };
1005
+ declaredProfileCatalogHash: string | null;
1006
+ protectedProfileClosureHash: string;
1007
+ split: "train" | "validation" | "test" | "frozen_eval";
1008
+ population: {
1009
+ taskId: string;
1010
+ seed: string;
1011
+ fixtureId: string | null;
1012
+ }[];
1013
+ evaluators: {
1014
+ release: {
1015
+ id: string;
1016
+ contentHash: string;
1017
+ revision: string | number;
1018
+ };
1019
+ feedbackKey: string;
1020
+ configurationHash: string;
1021
+ output: "boolean" | "score" | "category";
1022
+ categories: string[];
1023
+ }[];
1024
+ fieldMappingsHash: string;
1025
+ fieldMappings: {
1026
+ graderId: string;
1027
+ fields: {
1028
+ destination: "output" | "input" | "expectedOutput" | "evaluatorContext";
1029
+ path: string[];
1030
+ source: "output" | "input" | "expectedOutput" | "evaluatorContext";
1031
+ sourcePath: string[];
1032
+ }[];
1033
+ }[];
1034
+ environmentHash: string;
1035
+ privateDatasetClosureHash: string;
1036
+ criterion: {
1037
+ minimumPassRate: number;
1038
+ requireComplete: boolean;
1039
+ };
1040
+ contentHash: string;
1041
+ recordedOrigin?: {
1042
+ execution: {
1043
+ id: string;
1044
+ contentHash: string;
1045
+ };
1046
+ originalEvidence: {
1047
+ id: string;
1048
+ contentHash: string;
1049
+ };
1050
+ members: {
1051
+ caseId: string;
1052
+ seed: string;
1053
+ fixtureId: string;
1054
+ sourceId: string;
1055
+ snapshotHash: string;
1056
+ boundaryRevisionHash: string;
1057
+ }[];
1058
+ } | undefined;
1059
+ gradingSource?: {
1060
+ pass: {
1061
+ id: string;
1062
+ contentHash: string;
1063
+ };
1064
+ evidence: {
1065
+ id: string;
1066
+ contentHash: string;
1067
+ };
1068
+ } | undefined;
1069
+ } | undefined;
1070
+ sourceCandidate?: {
1071
+ candidateId: string;
1072
+ frozenRevision: number;
1073
+ frozenHash: string;
1074
+ harnessRelease: {
1075
+ id: string;
1076
+ contentHash: string;
1077
+ };
1078
+ protectedClosureHash: string;
1079
+ } | undefined;
619
1080
  };
620
1081
  model: {
621
1082
  modelId: string;
@@ -680,6 +1141,14 @@ export declare function verifyExperimentEvidence(input: {
680
1141
  contentHash: string;
681
1142
  };
682
1143
  scoringPassId: string | null;
1144
+ humanProjection?: {
1145
+ originalManifest: {
1146
+ id: string;
1147
+ contentHash: string;
1148
+ };
1149
+ selectionHash: string;
1150
+ rulesHash: string;
1151
+ } | undefined;
683
1152
  } | undefined;
684
1153
  };
685
1154
  result: {
@@ -688,14 +1157,14 @@ export declare function verifyExperimentEvidence(input: {
688
1157
  id: string;
689
1158
  contentHash: string;
690
1159
  };
691
- status: "failed" | "completed" | "cancelled";
1160
+ status: "cancelled" | "failed" | "completed";
692
1161
  cases: {
693
1162
  identity: {
694
1163
  caseId: string;
695
1164
  seed: string;
696
1165
  fixtureId: string | null;
697
1166
  };
698
- status: "failed" | "completed" | "cancelled" | "unavailable";
1167
+ status: "cancelled" | "failed" | "completed" | "unavailable";
699
1168
  output: unknown;
700
1169
  error: {
701
1170
  code: string;
@@ -1 +1 @@
1
- {"version":3,"file":"experiments.d.ts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AM,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrF;AAED,iFAAiF;AACjF,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE;IAAE,QAAQ,EAAE,kBAAkB,CAAC;IAAC,MAAM,EAAE,gBAAgB,CAAA;CAAE,EACpE,SAAS,EAAE;IAAE,QAAQ,EAAE,kBAAkB,CAAC;IAAC,MAAM,EAAE,gBAAgB,CAAA;CAAE,GACpE,oBAAoB,CA+EtB"}
@@ -17,6 +17,12 @@ export declare const GraderEvidenceContentSchema: z.ZodObject<{
17
17
  schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
18
18
  graderId: z.ZodString;
19
19
  graderVersion: z.ZodString;
20
+ status: z.ZodOptional<z.ZodEnum<{
21
+ pending: "pending";
22
+ failed: "failed";
23
+ scored: "scored";
24
+ unavailable: "unavailable";
25
+ }>>;
20
26
  score: z.ZodNullable<z.ZodNumber>;
21
27
  passed: z.ZodBoolean;
22
28
  rewardEligible: z.ZodBoolean;
@@ -48,6 +54,12 @@ export declare const GraderEvidenceSchema: z.ZodObject<{
48
54
  schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
49
55
  graderId: z.ZodString;
50
56
  graderVersion: z.ZodString;
57
+ status: z.ZodOptional<z.ZodEnum<{
58
+ pending: "pending";
59
+ failed: "failed";
60
+ scored: "scored";
61
+ unavailable: "unavailable";
62
+ }>>;
51
63
  score: z.ZodNullable<z.ZodNumber>;
52
64
  passed: z.ZodBoolean;
53
65
  rewardEligible: z.ZodBoolean;
@@ -120,6 +132,7 @@ declare const GradeSummarySchema: z.ZodObject<{
120
132
  cancelled: "cancelled";
121
133
  }>>;
122
134
  gradingStatus: z.ZodEnum<{
135
+ pending: "pending";
123
136
  scored: "scored";
124
137
  unscorable: "unscorable";
125
138
  not_configured: "not_configured";
@@ -129,7 +142,7 @@ declare const GradeSummarySchema: z.ZodObject<{
129
142
  * missing checks cannot disappear from the denominator or the hard gates. */
130
143
  export declare function aggregateGraderScores(input: {
131
144
  graders: ReadonlyArray<Pick<GraderSpec, "id" | "version" | "weight" | "hardGate" | "rewardEligible">>;
132
- components: ReadonlyArray<Pick<GraderEvidence, "graderId" | "graderVersion" | "score" | "passed" | "rewardEligible" | "failureClass">>;
145
+ components: ReadonlyArray<Pick<GraderEvidence, "graderId" | "graderVersion" | "score" | "passed" | "rewardEligible" | "failureClass" | "status">>;
133
146
  infrastructureError?: string | null;
134
147
  }): z.infer<typeof GradeSummarySchema>;
135
148
  export declare const TaskGradeSchema: z.ZodObject<{
@@ -145,6 +158,7 @@ export declare const TaskGradeSchema: z.ZodObject<{
145
158
  cancelled: "cancelled";
146
159
  }>>;
147
160
  gradingStatus: z.ZodEnum<{
161
+ pending: "pending";
148
162
  scored: "scored";
149
163
  unscorable: "unscorable";
150
164
  not_configured: "not_configured";
@@ -157,6 +171,12 @@ export declare const TaskGradeSchema: z.ZodObject<{
157
171
  schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
158
172
  graderId: z.ZodString;
159
173
  graderVersion: z.ZodString;
174
+ status: z.ZodOptional<z.ZodEnum<{
175
+ pending: "pending";
176
+ failed: "failed";
177
+ scored: "scored";
178
+ unavailable: "unavailable";
179
+ }>>;
160
180
  score: z.ZodNullable<z.ZodNumber>;
161
181
  passed: z.ZodBoolean;
162
182
  rewardEligible: z.ZodBoolean;