@openpond/evals 0.12.0 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifact-verification.js +2 -0
- package/dist/connected-evidence/sources/claude-branches.js +34 -1
- package/dist/connected-evidence/sources/claude-code.js +1 -1
- package/dist/learning/continuation-mode.js +9 -0
- package/dist/learning/contracts.js +2 -0
- package/dist/learning/correction-metrics.js +61 -0
- package/dist/learning/index.js +2 -0
- package/dist/native-conversations/collector-acquisition.js +17 -6
- package/dist/native-conversations/collector-source-cache.js +1 -1
- package/dist/native-conversations/collector-store.js +27 -2
- package/dist/native-conversations/collector.js +4 -3
- package/dist/native-conversations/history.js +28 -8
- package/dist/native-conversations/index.js +1 -0
- package/dist/native-conversations/selection.js +57 -0
- package/dist/native-conversations/supervisor.js +2 -0
- package/dist/native-conversations/titles.js +2 -2
- package/dist/tasksets.js +1 -0
- package/dist/types/artifact-verification.d.ts.map +1 -1
- package/dist/types/benchmarks.d.ts +22 -22
- package/dist/types/benchmarks.d.ts.map +1 -1
- package/dist/types/builtin-benchmarks/harness-refiner.d.ts +40 -39
- package/dist/types/builtin-benchmarks/harness-refiner.d.ts.map +1 -1
- package/dist/types/compatibility.d.ts.map +1 -1
- package/dist/types/conformance.d.ts +98 -96
- package/dist/types/conformance.d.ts.map +1 -1
- package/dist/types/connected-evidence/codex-command-observations.d.ts.map +1 -1
- package/dist/types/connected-evidence/collector-coverage-contracts.d.ts +6 -6
- package/dist/types/connected-evidence/collector-coverage-contracts.d.ts.map +1 -1
- package/dist/types/connected-evidence/contracts.d.ts +58 -58
- package/dist/types/connected-evidence/contracts.d.ts.map +1 -1
- package/dist/types/connected-evidence/git-file-contracts.d.ts.map +1 -1
- package/dist/types/connected-evidence/git-file-proof.d.ts.map +1 -1
- package/dist/types/connected-evidence/git-starting-state.d.ts.map +1 -1
- package/dist/types/connected-evidence/git.d.ts.map +1 -1
- package/dist/types/connected-evidence/imports.d.ts.map +1 -1
- package/dist/types/connected-evidence/index.d.ts.map +1 -1
- package/dist/types/connected-evidence/normalize.d.ts.map +1 -1
- package/dist/types/connected-evidence/python-correctness.d.ts +38 -38
- package/dist/types/connected-evidence/python-correctness.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/claude-branches.d.ts +1 -0
- package/dist/types/connected-evidence/sources/claude-branches.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/claude-code.d.ts +25 -25
- package/dist/types/connected-evidence/sources/claude-code.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/codex-authorization.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/codex-metadata.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/codex.d.ts +25 -25
- package/dist/types/connected-evidence/sources/codex.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/grok-build.d.ts +25 -25
- package/dist/types/connected-evidence/sources/grok-build.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/history.d.ts +44 -44
- package/dist/types/connected-evidence/sources/history.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/opencode.d.ts +25 -25
- package/dist/types/connected-evidence/sources/opencode.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/pi.d.ts +25 -25
- package/dist/types/connected-evidence/sources/pi.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/usage.d.ts.map +1 -1
- package/dist/types/connected-evidence/usage-summary.d.ts.map +1 -1
- package/dist/types/deterministic-graders.d.ts.map +1 -1
- package/dist/types/environment-execution-services-contract.d.ts +19 -19
- package/dist/types/environment-execution-services-contract.d.ts.map +1 -1
- package/dist/types/environment-execution-services.d.ts.map +1 -1
- package/dist/types/evidence/authoring.d.ts.map +1 -1
- package/dist/types/evidence/conformance.d.ts +98 -98
- package/dist/types/evidence/conformance.d.ts.map +1 -1
- package/dist/types/evidence/contracts.d.ts +183 -183
- package/dist/types/evidence/contracts.d.ts.map +1 -1
- package/dist/types/evidence/eligibility.d.ts +160 -160
- package/dist/types/evidence/eligibility.d.ts.map +1 -1
- package/dist/types/evidence/index.d.ts.map +1 -1
- package/dist/types/execution-contracts.d.ts +110 -110
- package/dist/types/execution-contracts.d.ts.map +1 -1
- package/dist/types/execution-receipts.d.ts.map +1 -1
- package/dist/types/experiments.d.ts +96 -96
- package/dist/types/experiments.d.ts.map +1 -1
- package/dist/types/graders.d.ts +35 -35
- package/dist/types/graders.d.ts.map +1 -1
- package/dist/types/harness-experiment-source.d.ts.map +1 -1
- package/dist/types/harness.d.ts.map +1 -1
- package/dist/types/human-review/comparison.d.ts +189 -189
- package/dist/types/human-review/comparison.d.ts.map +1 -1
- package/dist/types/human-review/contracts.d.ts +178 -178
- package/dist/types/human-review/contracts.d.ts.map +1 -1
- package/dist/types/human-review/execution.d.ts +53 -53
- package/dist/types/human-review/execution.d.ts.map +1 -1
- package/dist/types/human-review/handoff.d.ts +43 -43
- package/dist/types/human-review/handoff.d.ts.map +1 -1
- package/dist/types/human-review/index.d.ts.map +1 -1
- package/dist/types/human-review/local-publication.d.ts +4 -4
- package/dist/types/human-review/local-publication.d.ts.map +1 -1
- package/dist/types/human-review/repository.d.ts.map +1 -1
- package/dist/types/human-review/results.d.ts +8 -8
- package/dist/types/human-review/results.d.ts.map +1 -1
- package/dist/types/human-review/service.d.ts +292 -292
- package/dist/types/human-review/service.d.ts.map +1 -1
- package/dist/types/human-review/task-proposals.d.ts +2 -2
- package/dist/types/human-review/task-proposals.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/javascript-environment-attempt.d.ts.map +1 -1
- package/dist/types/javascript-environment-contract.d.ts +39 -39
- package/dist/types/javascript-environment-contract.d.ts.map +1 -1
- package/dist/types/javascript-environment-node.d.ts.map +1 -1
- package/dist/types/javascript-environment.d.ts +14 -14
- package/dist/types/javascript-environment.d.ts.map +1 -1
- package/dist/types/javascript-isolate-node.d.ts.map +1 -1
- package/dist/types/javascript-isolate-process-entry.d.ts.map +1 -1
- package/dist/types/javascript-isolate-process.d.ts.map +1 -1
- package/dist/types/javascript-isolate.d.ts.map +1 -1
- package/dist/types/javascript-verifier-contract.d.ts.map +1 -1
- package/dist/types/javascript-verifier-node.d.ts.map +1 -1
- package/dist/types/javascript-verifier-worker.d.ts.map +1 -1
- package/dist/types/javascript-verifier.d.ts.map +1 -1
- package/dist/types/learned-preference.d.ts +10 -10
- package/dist/types/learned-preference.d.ts.map +1 -1
- package/dist/types/learning/acceptance-group.d.ts +44 -44
- package/dist/types/learning/acceptance-group.d.ts.map +1 -1
- package/dist/types/learning/acceptance-plan.d.ts +8 -8
- package/dist/types/learning/acceptance-plan.d.ts.map +1 -1
- package/dist/types/learning/admission.d.ts +37 -36
- package/dist/types/learning/admission.d.ts.map +1 -1
- package/dist/types/learning/assets.d.ts +2 -2
- package/dist/types/learning/assets.d.ts.map +1 -1
- package/dist/types/learning/authoring-service.d.ts +11 -11
- package/dist/types/learning/authoring-service.d.ts.map +1 -1
- package/dist/types/learning/authoring.d.ts +38 -38
- package/dist/types/learning/authoring.d.ts.map +1 -1
- package/dist/types/learning/batch-service.d.ts +75 -72
- package/dist/types/learning/batch-service.d.ts.map +1 -1
- package/dist/types/learning/budgeted-reward-fixtures.d.ts.map +1 -1
- package/dist/types/learning/continuation-mode.d.ts +18 -0
- package/dist/types/learning/continuation-mode.d.ts.map +1 -0
- package/dist/types/learning/contracts.d.ts +341 -298
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/correction-metrics.d.ts +274 -0
- package/dist/types/learning/correction-metrics.d.ts.map +1 -0
- package/dist/types/learning/errors.d.ts.map +1 -1
- package/dist/types/learning/grade-judge-budget.d.ts.map +1 -1
- package/dist/types/learning/grade-worker.d.ts.map +1 -1
- package/dist/types/learning/index.d.ts +2 -0
- package/dist/types/learning/index.d.ts.map +1 -1
- package/dist/types/learning/intake-contracts.d.ts +10 -10
- package/dist/types/learning/intake-contracts.d.ts.map +1 -1
- package/dist/types/learning/intake-csv.d.ts.map +1 -1
- package/dist/types/learning/intake-history.d.ts.map +1 -1
- package/dist/types/learning/intake-service.d.ts.map +1 -1
- package/dist/types/learning/intake-text.d.ts.map +1 -1
- package/dist/types/learning/intake.d.ts.map +1 -1
- package/dist/types/learning/iteration-budget.d.ts.map +1 -1
- package/dist/types/learning/iteration-candidate-decision.d.ts +16 -16
- package/dist/types/learning/iteration-candidate-decision.d.ts.map +1 -1
- package/dist/types/learning/iteration-dispatch-commands.d.ts.map +1 -1
- package/dist/types/learning/iteration-dispatch-contracts.d.ts +4 -4
- package/dist/types/learning/iteration-dispatch-contracts.d.ts.map +1 -1
- package/dist/types/learning/iteration-dispatch-worker.d.ts.map +1 -1
- package/dist/types/learning/iteration-eligibility.d.ts +1 -1
- package/dist/types/learning/iteration-eligibility.d.ts.map +1 -1
- package/dist/types/learning/iteration-reservation-cancellation.d.ts.map +1 -1
- package/dist/types/learning/iteration-reservation-contracts.d.ts.map +1 -1
- package/dist/types/learning/iteration-reservation-service.d.ts.map +1 -1
- package/dist/types/learning/iteration-training-parent.d.ts.map +1 -1
- package/dist/types/learning/judge-budget.d.ts +1 -1
- package/dist/types/learning/judge-budget.d.ts.map +1 -1
- package/dist/types/learning/model-judge.d.ts.map +1 -1
- package/dist/types/learning/nightly-schedule.d.ts.map +1 -1
- package/dist/types/learning/operations.d.ts +352 -298
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/policy-inspection.d.ts.map +1 -1
- package/dist/types/learning/rating-reward-fixture.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +199 -184
- package/dist/types/learning/repository.d.ts.map +1 -1
- package/dist/types/learning/reward-authoring.d.ts.map +1 -1
- package/dist/types/learning/reward-calibration-closure.d.ts +248 -248
- package/dist/types/learning/reward-calibration-closure.d.ts.map +1 -1
- package/dist/types/learning/reward-calibration.d.ts +62 -62
- package/dist/types/learning/reward-calibration.d.ts.map +1 -1
- package/dist/types/learning/reward-check-budget.d.ts.map +1 -1
- package/dist/types/learning/reward-check-service.d.ts.map +1 -1
- package/dist/types/learning/reward-check-worker.d.ts.map +1 -1
- package/dist/types/learning/reward-checks.d.ts +30 -30
- package/dist/types/learning/reward-checks.d.ts.map +1 -1
- package/dist/types/learning/reward-fixture-executor.d.ts.map +1 -1
- package/dist/types/learning/schedule-contracts.d.ts +3 -3
- package/dist/types/learning/schedule-contracts.d.ts.map +1 -1
- package/dist/types/learning/schedule-service.d.ts +2 -2
- package/dist/types/learning/schedule-service.d.ts.map +1 -1
- package/dist/types/learning/schedule-worker.d.ts.map +1 -1
- package/dist/types/learning/service.d.ts +3 -3
- package/dist/types/learning/service.d.ts.map +1 -1
- package/dist/types/learning/task-queue-inspection.d.ts.map +1 -1
- package/dist/types/learning/training-handoff.d.ts +9 -9
- package/dist/types/learning/training-handoff.d.ts.map +1 -1
- package/dist/types/learning/transport.d.ts +2270 -2228
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/dist/types/metric-policy.d.ts +6 -6
- package/dist/types/metric-policy.d.ts.map +1 -1
- package/dist/types/metrics-node.d.ts.map +1 -1
- package/dist/types/metrics.d.ts.map +1 -1
- package/dist/types/model-improvement-qualification.d.ts +17 -17
- package/dist/types/model-improvement-qualification.d.ts.map +1 -1
- package/dist/types/native-conversations/appimage-runtime.d.ts.map +1 -1
- package/dist/types/native-conversations/codex-window-inventory.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-acquisition.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-branches.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-calendar-gate.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-contracts.d.ts +3 -0
- package/dist/types/native-conversations/collector-contracts.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-coverage.d.ts +2 -2
- package/dist/types/native-conversations/collector-coverage.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-cron.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-destinations.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-errors.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-progress.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-schedule.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-service-files.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-snapshots.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-source-cache.d.ts +2 -2
- package/dist/types/native-conversations/collector-source-cache.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-store.d.ts.map +1 -1
- package/dist/types/native-conversations/collector-sync-requests.d.ts.map +1 -1
- package/dist/types/native-conversations/collector.d.ts.map +1 -1
- package/dist/types/native-conversations/contracts.d.ts +2 -0
- package/dist/types/native-conversations/contracts.d.ts.map +1 -1
- package/dist/types/native-conversations/database.d.ts.map +1 -1
- package/dist/types/native-conversations/discovery.d.ts.map +1 -1
- package/dist/types/native-conversations/git-assets.d.ts.map +1 -1
- package/dist/types/native-conversations/history.d.ts +2 -0
- package/dist/types/native-conversations/history.d.ts.map +1 -1
- package/dist/types/native-conversations/index.d.ts +1 -0
- package/dist/types/native-conversations/index.d.ts.map +1 -1
- package/dist/types/native-conversations/location.d.ts.map +1 -1
- package/dist/types/native-conversations/openclaw-cold-archive.d.ts.map +1 -1
- package/dist/types/native-conversations/openclaw-database.d.ts.map +1 -1
- package/dist/types/native-conversations/readiness.d.ts.map +1 -1
- package/dist/types/native-conversations/selection.d.ts +32 -0
- package/dist/types/native-conversations/selection.d.ts.map +1 -0
- package/dist/types/native-conversations/source-locations.d.ts.map +1 -1
- package/dist/types/native-conversations/supervisor.d.ts.map +1 -1
- package/dist/types/native-conversations/titles.d.ts +1 -1
- package/dist/types/native-conversations/titles.d.ts.map +1 -1
- package/dist/types/native-harness-experiment-attempt.d.ts.map +1 -1
- package/dist/types/preferences.d.ts +22 -22
- package/dist/types/preferences.d.ts.map +1 -1
- package/dist/types/prepared-process-isolation.d.ts.map +1 -1
- package/dist/types/profile-evaluation-comparisons.d.ts +18 -18
- package/dist/types/profile-evaluation-comparisons.d.ts.map +1 -1
- package/dist/types/profile-evaluation-execution.d.ts.map +1 -1
- package/dist/types/profile-evaluation-reports.d.ts +2 -2
- package/dist/types/profile-evaluation-reports.d.ts.map +1 -1
- package/dist/types/profile-evaluation-suites.d.ts.map +1 -1
- package/dist/types/profile-evaluation-target.d.ts.map +1 -1
- package/dist/types/profile-evaluations.d.ts +15 -15
- package/dist/types/profile-evaluations.d.ts.map +1 -1
- package/dist/types/profile-external-evaluation.d.ts +84 -84
- package/dist/types/profile-external-evaluation.d.ts.map +1 -1
- package/dist/types/profile-source-candidate.d.ts.map +1 -1
- package/dist/types/review-conformance.d.ts +53 -53
- package/dist/types/review-conformance.d.ts.map +1 -1
- package/dist/types/rewards.d.ts +104 -104
- package/dist/types/rewards.d.ts.map +1 -1
- package/dist/types/rollouts.d.ts +16 -16
- package/dist/types/rollouts.d.ts.map +1 -1
- package/dist/types/runs.d.ts +22 -22
- package/dist/types/runs.d.ts.map +1 -1
- package/dist/types/sql-execution-contract.d.ts +3 -3
- package/dist/types/sql-execution-contract.d.ts.map +1 -1
- package/dist/types/sql-execution-engine.d.ts.map +1 -1
- package/dist/types/sql-execution-node.d.ts.map +1 -1
- package/dist/types/sql-execution-process-entry.d.ts.map +1 -1
- package/dist/types/task-schema-validation.d.ts.map +1 -1
- package/dist/types/task-schema.d.ts.map +1 -1
- package/dist/types/task-value-validator.d.ts.map +1 -1
- package/dist/types/taskset-run-contract.d.ts +26 -26
- package/dist/types/taskset-run-contract.d.ts.map +1 -1
- package/dist/types/tasksets.d.ts +73 -69
- package/dist/types/tasksets.d.ts.map +1 -1
- package/dist/types/telemetry/index.d.ts.map +1 -1
- package/dist/types/telemetry-analysis.d.ts +6 -6
- package/dist/types/telemetry-analysis.d.ts.map +1 -1
- package/dist/types/telemetry-bundle.d.ts +42 -42
- package/dist/types/telemetry-bundle.d.ts.map +1 -1
- package/dist/types/telemetry-catalog.d.ts +67 -67
- package/dist/types/telemetry-catalog.d.ts.map +1 -1
- package/dist/types/telemetry.d.ts +44 -44
- package/dist/types/telemetry.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/learning/v1/command-request.schema.json +44 -0
- package/schemas/learning/v1/definition.schema.json +4 -0
- package/schemas/learning/v1/evidence.schema.json +4 -0
- package/schemas/learning/v1/example-submission.schema.json +4 -0
- package/schemas/learning/v1/package.schema.json +4 -0
- package/schemas/learning/v1/policy.schema.json +40 -0
|
@@ -192,10 +192,10 @@ export declare const HumanAttemptRefSchema: z.ZodObject<{
|
|
|
192
192
|
}, z.core.$strict>>;
|
|
193
193
|
familyKey: z.ZodString;
|
|
194
194
|
split: z.ZodEnum<{
|
|
195
|
+
frozen_eval: "frozen_eval";
|
|
196
|
+
test: "test";
|
|
195
197
|
train: "train";
|
|
196
198
|
validation: "validation";
|
|
197
|
-
test: "test";
|
|
198
|
-
frozen_eval: "frozen_eval";
|
|
199
199
|
}>;
|
|
200
200
|
}, z.core.$strict>;
|
|
201
201
|
export declare const HumanEvidenceSchema: z.ZodObject<{
|
|
@@ -265,10 +265,10 @@ export declare const HumanEvidenceSchema: z.ZodObject<{
|
|
|
265
265
|
}, z.core.$strict>>;
|
|
266
266
|
familyKey: z.ZodString;
|
|
267
267
|
split: z.ZodEnum<{
|
|
268
|
+
frozen_eval: "frozen_eval";
|
|
269
|
+
test: "test";
|
|
268
270
|
train: "train";
|
|
269
271
|
validation: "validation";
|
|
270
|
-
test: "test";
|
|
271
|
-
frozen_eval: "frozen_eval";
|
|
272
272
|
}>;
|
|
273
273
|
}, z.core.$strict>>;
|
|
274
274
|
taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -280,16 +280,16 @@ export declare const HumanAnswerSchema: z.ZodObject<{
|
|
|
280
280
|
abstain: z.ZodBoolean;
|
|
281
281
|
note: z.ZodString;
|
|
282
282
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
283
|
-
slight: "slight";
|
|
284
283
|
moderate: "moderate";
|
|
284
|
+
slight: "slight";
|
|
285
285
|
strong: "strong";
|
|
286
286
|
}>>;
|
|
287
287
|
}, z.core.$strict>;
|
|
288
288
|
export type HumanAnswer = z.infer<typeof HumanAnswerSchema>;
|
|
289
289
|
export declare const HumanPolicySchema: z.ZodObject<{
|
|
290
290
|
approval: z.ZodEnum<{
|
|
291
|
-
none: "none";
|
|
292
291
|
manager: "manager";
|
|
292
|
+
none: "none";
|
|
293
293
|
}>;
|
|
294
294
|
minimumRaters: z.ZodNumber;
|
|
295
295
|
managerIds: z.ZodArray<z.ZodString>;
|
|
@@ -324,8 +324,8 @@ declare const SubmissionSchema: z.ZodObject<{
|
|
|
324
324
|
abstain: z.ZodBoolean;
|
|
325
325
|
note: z.ZodString;
|
|
326
326
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
327
|
-
slight: "slight";
|
|
328
327
|
moderate: "moderate";
|
|
328
|
+
slight: "slight";
|
|
329
329
|
strong: "strong";
|
|
330
330
|
}>>;
|
|
331
331
|
}, z.core.$strict>>;
|
|
@@ -354,8 +354,8 @@ declare const DecisionSchema: z.ZodObject<{
|
|
|
354
354
|
abstain: z.ZodBoolean;
|
|
355
355
|
note: z.ZodString;
|
|
356
356
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
357
|
-
slight: "slight";
|
|
358
357
|
moderate: "moderate";
|
|
358
|
+
slight: "slight";
|
|
359
359
|
strong: "strong";
|
|
360
360
|
}>>;
|
|
361
361
|
}, z.core.$strict>>;
|
|
@@ -455,10 +455,10 @@ export declare const HumanReviewSchema: z.ZodObject<{
|
|
|
455
455
|
}, z.core.$strict>>;
|
|
456
456
|
familyKey: z.ZodString;
|
|
457
457
|
split: z.ZodEnum<{
|
|
458
|
+
frozen_eval: "frozen_eval";
|
|
459
|
+
test: "test";
|
|
458
460
|
train: "train";
|
|
459
461
|
validation: "validation";
|
|
460
|
-
test: "test";
|
|
461
|
-
frozen_eval: "frozen_eval";
|
|
462
462
|
}>;
|
|
463
463
|
}, z.core.$strict>>;
|
|
464
464
|
taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -542,8 +542,8 @@ export declare const HumanReviewSchema: z.ZodObject<{
|
|
|
542
542
|
}, z.core.$strict>;
|
|
543
543
|
policy: z.ZodObject<{
|
|
544
544
|
approval: z.ZodEnum<{
|
|
545
|
-
none: "none";
|
|
546
545
|
manager: "manager";
|
|
546
|
+
none: "none";
|
|
547
547
|
}>;
|
|
548
548
|
minimumRaters: z.ZodNumber;
|
|
549
549
|
managerIds: z.ZodArray<z.ZodString>;
|
|
@@ -555,14 +555,14 @@ export declare const HumanReviewSchema: z.ZodObject<{
|
|
|
555
555
|
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
556
556
|
}, z.core.$strict>;
|
|
557
557
|
status: z.ZodEnum<{
|
|
558
|
-
|
|
558
|
+
accepted: "accepted";
|
|
559
559
|
assigned: "assigned";
|
|
560
|
+
cancelled: "cancelled";
|
|
560
561
|
in_progress: "in_progress";
|
|
561
|
-
|
|
562
|
-
returned: "returned";
|
|
563
|
-
accepted: "accepted";
|
|
562
|
+
queued: "queued";
|
|
564
563
|
rejected: "rejected";
|
|
565
|
-
|
|
564
|
+
returned: "returned";
|
|
565
|
+
submitted: "submitted";
|
|
566
566
|
}>;
|
|
567
567
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
568
568
|
generation: z.ZodNumber;
|
|
@@ -586,8 +586,8 @@ export declare const HumanReviewSchema: z.ZodObject<{
|
|
|
586
586
|
abstain: z.ZodBoolean;
|
|
587
587
|
note: z.ZodString;
|
|
588
588
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
589
|
-
slight: "slight";
|
|
590
589
|
moderate: "moderate";
|
|
590
|
+
slight: "slight";
|
|
591
591
|
strong: "strong";
|
|
592
592
|
}>>;
|
|
593
593
|
}, z.core.$strict>>;
|
|
@@ -618,8 +618,8 @@ export declare const HumanReviewSchema: z.ZodObject<{
|
|
|
618
618
|
abstain: z.ZodBoolean;
|
|
619
619
|
note: z.ZodString;
|
|
620
620
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
621
|
-
slight: "slight";
|
|
622
621
|
moderate: "moderate";
|
|
622
|
+
slight: "slight";
|
|
623
623
|
strong: "strong";
|
|
624
624
|
}>>;
|
|
625
625
|
}, z.core.$strict>>;
|
|
@@ -648,8 +648,8 @@ export declare const HumanReviewSchema: z.ZodObject<{
|
|
|
648
648
|
abstain: z.ZodBoolean;
|
|
649
649
|
note: z.ZodString;
|
|
650
650
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
651
|
-
slight: "slight";
|
|
652
651
|
moderate: "moderate";
|
|
652
|
+
slight: "slight";
|
|
653
653
|
strong: "strong";
|
|
654
654
|
}>>;
|
|
655
655
|
}, z.core.$strict>>;
|
|
@@ -660,9 +660,9 @@ export declare const HumanReviewSchema: z.ZodObject<{
|
|
|
660
660
|
audit: z.ZodArray<z.ZodObject<{
|
|
661
661
|
actorId: z.ZodString;
|
|
662
662
|
action: z.ZodEnum<{
|
|
663
|
+
cancel: "cancel";
|
|
663
664
|
claim: "claim";
|
|
664
665
|
reassign: "reassign";
|
|
665
|
-
cancel: "cancel";
|
|
666
666
|
}>;
|
|
667
667
|
priorAssigneeId: z.ZodNullable<z.ZodString>;
|
|
668
668
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
@@ -690,6 +690,9 @@ export type HumanReview = z.infer<typeof HumanReviewSchema>;
|
|
|
690
690
|
export type HumanSubmission = z.infer<typeof SubmissionSchema>;
|
|
691
691
|
export type HumanDecision = z.infer<typeof DecisionSchema>;
|
|
692
692
|
export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
693
|
+
operationId: z.ZodString;
|
|
694
|
+
id: z.ZodString;
|
|
695
|
+
expectedRevision: z.ZodNumber;
|
|
693
696
|
action: z.ZodLiteral<"create">;
|
|
694
697
|
projectId: z.ZodString;
|
|
695
698
|
kind: z.ZodEnum<{
|
|
@@ -766,10 +769,10 @@ export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
766
769
|
}, z.core.$strict>>;
|
|
767
770
|
familyKey: z.ZodString;
|
|
768
771
|
split: z.ZodEnum<{
|
|
772
|
+
frozen_eval: "frozen_eval";
|
|
773
|
+
test: "test";
|
|
769
774
|
train: "train";
|
|
770
775
|
validation: "validation";
|
|
771
|
-
test: "test";
|
|
772
|
-
frozen_eval: "frozen_eval";
|
|
773
776
|
}>;
|
|
774
777
|
}, z.core.$strict>>;
|
|
775
778
|
taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -853,8 +856,8 @@ export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
853
856
|
}, z.core.$strict>;
|
|
854
857
|
policy: z.ZodObject<{
|
|
855
858
|
approval: z.ZodEnum<{
|
|
856
|
-
none: "none";
|
|
857
859
|
manager: "manager";
|
|
860
|
+
none: "none";
|
|
858
861
|
}>;
|
|
859
862
|
minimumRaters: z.ZodNumber;
|
|
860
863
|
managerIds: z.ZodArray<z.ZodString>;
|
|
@@ -866,15 +869,15 @@ export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
866
869
|
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
867
870
|
}, z.core.$strict>;
|
|
868
871
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
872
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
869
873
|
operationId: z.ZodString;
|
|
870
874
|
id: z.ZodString;
|
|
871
875
|
expectedRevision: z.ZodNumber;
|
|
872
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
873
876
|
action: z.ZodLiteral<"claim">;
|
|
877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
874
878
|
operationId: z.ZodString;
|
|
875
879
|
id: z.ZodString;
|
|
876
880
|
expectedRevision: z.ZodNumber;
|
|
877
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
878
881
|
action: z.ZodLiteral<"bind_author_publication">;
|
|
879
882
|
proposalHash: z.ZodString;
|
|
880
883
|
dataset: z.ZodObject<{
|
|
@@ -882,40 +885,40 @@ export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
882
885
|
revision: z.ZodNumber;
|
|
883
886
|
contentHash: z.ZodString;
|
|
884
887
|
}, z.core.$strict>;
|
|
888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
885
889
|
operationId: z.ZodString;
|
|
886
890
|
id: z.ZodString;
|
|
887
891
|
expectedRevision: z.ZodNumber;
|
|
888
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
889
892
|
action: z.ZodLiteral<"reserve_execution">;
|
|
890
893
|
generation: z.ZodNumber;
|
|
891
894
|
runOperationId: z.ZodString;
|
|
892
895
|
configurationHash: z.ZodString;
|
|
896
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
893
897
|
operationId: z.ZodString;
|
|
894
898
|
id: z.ZodString;
|
|
895
899
|
expectedRevision: z.ZodNumber;
|
|
896
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
897
900
|
action: z.ZodLiteral<"bind_execution">;
|
|
898
901
|
generation: z.ZodNumber;
|
|
899
902
|
executionId: z.ZodString;
|
|
900
903
|
runOperationId: z.ZodString;
|
|
901
904
|
configurationHash: z.ZodString;
|
|
905
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
902
906
|
operationId: z.ZodString;
|
|
903
907
|
id: z.ZodString;
|
|
904
908
|
expectedRevision: z.ZodNumber;
|
|
905
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
906
909
|
action: z.ZodLiteral<"reassign">;
|
|
907
910
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
908
911
|
note: z.ZodString;
|
|
912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
909
913
|
operationId: z.ZodString;
|
|
910
914
|
id: z.ZodString;
|
|
911
915
|
expectedRevision: z.ZodNumber;
|
|
912
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
913
916
|
action: z.ZodLiteral<"cancel">;
|
|
914
917
|
note: z.ZodString;
|
|
918
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
915
919
|
operationId: z.ZodString;
|
|
916
920
|
id: z.ZodString;
|
|
917
921
|
expectedRevision: z.ZodNumber;
|
|
918
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
919
922
|
action: z.ZodLiteral<"save_draft">;
|
|
920
923
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
921
924
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -935,16 +938,16 @@ export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
935
938
|
abstain: z.ZodBoolean;
|
|
936
939
|
note: z.ZodString;
|
|
937
940
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
938
|
-
slight: "slight";
|
|
939
941
|
moderate: "moderate";
|
|
942
|
+
slight: "slight";
|
|
940
943
|
strong: "strong";
|
|
941
944
|
}>>;
|
|
942
945
|
}, z.core.$strict>>;
|
|
943
946
|
note: z.ZodString;
|
|
947
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
944
948
|
operationId: z.ZodString;
|
|
945
949
|
id: z.ZodString;
|
|
946
950
|
expectedRevision: z.ZodNumber;
|
|
947
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
948
951
|
action: z.ZodLiteral<"submit">;
|
|
949
952
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
950
953
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -971,16 +974,16 @@ export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
971
974
|
abstain: z.ZodBoolean;
|
|
972
975
|
note: z.ZodString;
|
|
973
976
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
974
|
-
slight: "slight";
|
|
975
977
|
moderate: "moderate";
|
|
978
|
+
slight: "slight";
|
|
976
979
|
strong: "strong";
|
|
977
980
|
}>>;
|
|
978
981
|
}, z.core.$strict>>;
|
|
979
982
|
note: z.ZodString;
|
|
983
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
980
984
|
operationId: z.ZodString;
|
|
981
985
|
id: z.ZodString;
|
|
982
986
|
expectedRevision: z.ZodNumber;
|
|
983
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
984
987
|
action: z.ZodLiteral<"decide">;
|
|
985
988
|
taskProposalHash: z.ZodOptional<z.ZodString>;
|
|
986
989
|
outcome: z.ZodEnum<{
|
|
@@ -998,21 +1001,21 @@ export declare const HumanReviewCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
998
1001
|
abstain: z.ZodBoolean;
|
|
999
1002
|
note: z.ZodString;
|
|
1000
1003
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1001
|
-
slight: "slight";
|
|
1002
1004
|
moderate: "moderate";
|
|
1005
|
+
slight: "slight";
|
|
1003
1006
|
strong: "strong";
|
|
1004
1007
|
}>>;
|
|
1005
1008
|
}, z.core.$strict>>;
|
|
1006
1009
|
note: z.ZodString;
|
|
1007
|
-
operationId: z.ZodString;
|
|
1008
|
-
id: z.ZodString;
|
|
1009
|
-
expectedRevision: z.ZodNumber;
|
|
1010
1010
|
}, z.core.$strict>], "action">;
|
|
1011
1011
|
export type HumanReviewCommand = z.infer<typeof HumanReviewCommandSchema>;
|
|
1012
1012
|
export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1013
1013
|
endpoint: z.ZodLiteral<"command">;
|
|
1014
1014
|
scope: z.ZodString;
|
|
1015
1015
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1016
|
+
operationId: z.ZodString;
|
|
1017
|
+
id: z.ZodString;
|
|
1018
|
+
expectedRevision: z.ZodNumber;
|
|
1016
1019
|
action: z.ZodLiteral<"create">;
|
|
1017
1020
|
projectId: z.ZodString;
|
|
1018
1021
|
kind: z.ZodEnum<{
|
|
@@ -1089,10 +1092,10 @@ export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1089
1092
|
}, z.core.$strict>>;
|
|
1090
1093
|
familyKey: z.ZodString;
|
|
1091
1094
|
split: z.ZodEnum<{
|
|
1095
|
+
frozen_eval: "frozen_eval";
|
|
1096
|
+
test: "test";
|
|
1092
1097
|
train: "train";
|
|
1093
1098
|
validation: "validation";
|
|
1094
|
-
test: "test";
|
|
1095
|
-
frozen_eval: "frozen_eval";
|
|
1096
1099
|
}>;
|
|
1097
1100
|
}, z.core.$strict>>;
|
|
1098
1101
|
taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1176,8 +1179,8 @@ export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1176
1179
|
}, z.core.$strict>;
|
|
1177
1180
|
policy: z.ZodObject<{
|
|
1178
1181
|
approval: z.ZodEnum<{
|
|
1179
|
-
none: "none";
|
|
1180
1182
|
manager: "manager";
|
|
1183
|
+
none: "none";
|
|
1181
1184
|
}>;
|
|
1182
1185
|
minimumRaters: z.ZodNumber;
|
|
1183
1186
|
managerIds: z.ZodArray<z.ZodString>;
|
|
@@ -1189,15 +1192,15 @@ export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1189
1192
|
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
1190
1193
|
}, z.core.$strict>;
|
|
1191
1194
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
1195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1192
1196
|
operationId: z.ZodString;
|
|
1193
1197
|
id: z.ZodString;
|
|
1194
1198
|
expectedRevision: z.ZodNumber;
|
|
1195
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1196
1199
|
action: z.ZodLiteral<"claim">;
|
|
1200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1197
1201
|
operationId: z.ZodString;
|
|
1198
1202
|
id: z.ZodString;
|
|
1199
1203
|
expectedRevision: z.ZodNumber;
|
|
1200
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1201
1204
|
action: z.ZodLiteral<"bind_author_publication">;
|
|
1202
1205
|
proposalHash: z.ZodString;
|
|
1203
1206
|
dataset: z.ZodObject<{
|
|
@@ -1205,40 +1208,40 @@ export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1205
1208
|
revision: z.ZodNumber;
|
|
1206
1209
|
contentHash: z.ZodString;
|
|
1207
1210
|
}, z.core.$strict>;
|
|
1211
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1208
1212
|
operationId: z.ZodString;
|
|
1209
1213
|
id: z.ZodString;
|
|
1210
1214
|
expectedRevision: z.ZodNumber;
|
|
1211
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1212
1215
|
action: z.ZodLiteral<"reserve_execution">;
|
|
1213
1216
|
generation: z.ZodNumber;
|
|
1214
1217
|
runOperationId: z.ZodString;
|
|
1215
1218
|
configurationHash: z.ZodString;
|
|
1219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1216
1220
|
operationId: z.ZodString;
|
|
1217
1221
|
id: z.ZodString;
|
|
1218
1222
|
expectedRevision: z.ZodNumber;
|
|
1219
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1220
1223
|
action: z.ZodLiteral<"bind_execution">;
|
|
1221
1224
|
generation: z.ZodNumber;
|
|
1222
1225
|
executionId: z.ZodString;
|
|
1223
1226
|
runOperationId: z.ZodString;
|
|
1224
1227
|
configurationHash: z.ZodString;
|
|
1228
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1225
1229
|
operationId: z.ZodString;
|
|
1226
1230
|
id: z.ZodString;
|
|
1227
1231
|
expectedRevision: z.ZodNumber;
|
|
1228
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1229
1232
|
action: z.ZodLiteral<"reassign">;
|
|
1230
1233
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
1231
1234
|
note: z.ZodString;
|
|
1235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1232
1236
|
operationId: z.ZodString;
|
|
1233
1237
|
id: z.ZodString;
|
|
1234
1238
|
expectedRevision: z.ZodNumber;
|
|
1235
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1236
1239
|
action: z.ZodLiteral<"cancel">;
|
|
1237
1240
|
note: z.ZodString;
|
|
1241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1238
1242
|
operationId: z.ZodString;
|
|
1239
1243
|
id: z.ZodString;
|
|
1240
1244
|
expectedRevision: z.ZodNumber;
|
|
1241
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1242
1245
|
action: z.ZodLiteral<"save_draft">;
|
|
1243
1246
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
1244
1247
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -1258,16 +1261,16 @@ export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1258
1261
|
abstain: z.ZodBoolean;
|
|
1259
1262
|
note: z.ZodString;
|
|
1260
1263
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1261
|
-
slight: "slight";
|
|
1262
1264
|
moderate: "moderate";
|
|
1265
|
+
slight: "slight";
|
|
1263
1266
|
strong: "strong";
|
|
1264
1267
|
}>>;
|
|
1265
1268
|
}, z.core.$strict>>;
|
|
1266
1269
|
note: z.ZodString;
|
|
1270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1267
1271
|
operationId: z.ZodString;
|
|
1268
1272
|
id: z.ZodString;
|
|
1269
1273
|
expectedRevision: z.ZodNumber;
|
|
1270
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1271
1274
|
action: z.ZodLiteral<"submit">;
|
|
1272
1275
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
1273
1276
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -1294,16 +1297,16 @@ export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1294
1297
|
abstain: z.ZodBoolean;
|
|
1295
1298
|
note: z.ZodString;
|
|
1296
1299
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1297
|
-
slight: "slight";
|
|
1298
1300
|
moderate: "moderate";
|
|
1301
|
+
slight: "slight";
|
|
1299
1302
|
strong: "strong";
|
|
1300
1303
|
}>>;
|
|
1301
1304
|
}, z.core.$strict>>;
|
|
1302
1305
|
note: z.ZodString;
|
|
1306
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1303
1307
|
operationId: z.ZodString;
|
|
1304
1308
|
id: z.ZodString;
|
|
1305
1309
|
expectedRevision: z.ZodNumber;
|
|
1306
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1307
1310
|
action: z.ZodLiteral<"decide">;
|
|
1308
1311
|
taskProposalHash: z.ZodOptional<z.ZodString>;
|
|
1309
1312
|
outcome: z.ZodEnum<{
|
|
@@ -1321,15 +1324,12 @@ export declare const HumanReviewRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1321
1324
|
abstain: z.ZodBoolean;
|
|
1322
1325
|
note: z.ZodString;
|
|
1323
1326
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1324
|
-
slight: "slight";
|
|
1325
1327
|
moderate: "moderate";
|
|
1328
|
+
slight: "slight";
|
|
1326
1329
|
strong: "strong";
|
|
1327
1330
|
}>>;
|
|
1328
1331
|
}, z.core.$strict>>;
|
|
1329
1332
|
note: z.ZodString;
|
|
1330
|
-
operationId: z.ZodString;
|
|
1331
|
-
id: z.ZodString;
|
|
1332
|
-
expectedRevision: z.ZodNumber;
|
|
1333
1333
|
}, z.core.$strict>], "action">;
|
|
1334
1334
|
}, z.core.$strict>, z.ZodObject<{
|
|
1335
1335
|
endpoint: z.ZodLiteral<"get">;
|
|
@@ -1359,32 +1359,29 @@ export declare function sealHumanRecord<T extends object>(record: T): T & {
|
|
|
1359
1359
|
export declare function assertHumanAnswers(form: HumanForm, answers: HumanAnswer[], complete: boolean): void;
|
|
1360
1360
|
export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
1361
1361
|
schemaVersion: z.ZodLiteral<"openpond.humanReview.v1">;
|
|
1362
|
-
contentHash: z.ZodString;
|
|
1363
|
-
policy: z.ZodObject<{
|
|
1364
|
-
approval: z.ZodEnum<{
|
|
1365
|
-
none: "none";
|
|
1366
|
-
manager: "manager";
|
|
1367
|
-
}>;
|
|
1368
|
-
minimumRaters: z.ZodNumber;
|
|
1369
|
-
managerIds: z.ZodArray<z.ZodString>;
|
|
1370
|
-
reviewerIds: z.ZodArray<z.ZodString>;
|
|
1371
|
-
queueClaim: z.ZodBoolean;
|
|
1372
|
-
teamVisible: z.ZodBoolean;
|
|
1373
|
-
distinctManager: z.ZodOptional<z.ZodBoolean>;
|
|
1374
|
-
independentRaters: z.ZodOptional<z.ZodBoolean>;
|
|
1375
|
-
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
1376
|
-
}, z.core.$strict>;
|
|
1377
1362
|
id: z.ZodString;
|
|
1378
1363
|
revision: z.ZodNumber;
|
|
1364
|
+
scope: z.ZodString;
|
|
1365
|
+
projectId: z.ZodString;
|
|
1366
|
+
createdBy: z.ZodString;
|
|
1379
1367
|
kind: z.ZodEnum<{
|
|
1380
1368
|
author: "author";
|
|
1381
1369
|
execute: "execute";
|
|
1382
1370
|
grade: "grade";
|
|
1383
1371
|
}>;
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1372
|
+
dueAt: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
title: z.ZodString;
|
|
1374
|
+
authorPublication: z.ZodNullable<z.ZodObject<{
|
|
1375
|
+
proposalHash: z.ZodString;
|
|
1376
|
+
dataset: z.ZodObject<{
|
|
1377
|
+
id: z.ZodString;
|
|
1378
|
+
revision: z.ZodNumber;
|
|
1379
|
+
contentHash: z.ZodString;
|
|
1380
|
+
}, z.core.$strict>;
|
|
1381
|
+
operationId: z.ZodString;
|
|
1382
|
+
publishedBy: z.ZodString;
|
|
1383
|
+
publishedAt: z.ZodString;
|
|
1384
|
+
}, z.core.$strict>>;
|
|
1388
1385
|
form: z.ZodObject<{
|
|
1389
1386
|
schemaVersion: z.ZodLiteral<"openpond.humanForm.v1">;
|
|
1390
1387
|
mode: z.ZodEnum<{
|
|
@@ -1462,32 +1459,32 @@ export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
|
1462
1459
|
allowTie: z.ZodBoolean;
|
|
1463
1460
|
}, z.core.$strict>], "kind">>;
|
|
1464
1461
|
}, z.core.$strict>;
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
}, z.core.$strict>>;
|
|
1462
|
+
policy: z.ZodObject<{
|
|
1463
|
+
approval: z.ZodEnum<{
|
|
1464
|
+
manager: "manager";
|
|
1465
|
+
none: "none";
|
|
1466
|
+
}>;
|
|
1467
|
+
minimumRaters: z.ZodNumber;
|
|
1468
|
+
managerIds: z.ZodArray<z.ZodString>;
|
|
1469
|
+
reviewerIds: z.ZodArray<z.ZodString>;
|
|
1470
|
+
queueClaim: z.ZodBoolean;
|
|
1471
|
+
teamVisible: z.ZodBoolean;
|
|
1472
|
+
distinctManager: z.ZodOptional<z.ZodBoolean>;
|
|
1473
|
+
independentRaters: z.ZodOptional<z.ZodBoolean>;
|
|
1474
|
+
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
1475
|
+
}, z.core.$strict>;
|
|
1480
1476
|
status: z.ZodEnum<{
|
|
1481
|
-
|
|
1477
|
+
accepted: "accepted";
|
|
1482
1478
|
assigned: "assigned";
|
|
1479
|
+
cancelled: "cancelled";
|
|
1483
1480
|
in_progress: "in_progress";
|
|
1484
|
-
|
|
1485
|
-
returned: "returned";
|
|
1486
|
-
accepted: "accepted";
|
|
1481
|
+
queued: "queued";
|
|
1487
1482
|
rejected: "rejected";
|
|
1488
|
-
|
|
1483
|
+
returned: "returned";
|
|
1484
|
+
submitted: "submitted";
|
|
1489
1485
|
}>;
|
|
1490
1486
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
1487
|
+
generation: z.ZodNumber;
|
|
1491
1488
|
decisions: z.ZodArray<z.ZodObject<{
|
|
1492
1489
|
taskProposalHash: z.ZodOptional<z.ZodString>;
|
|
1493
1490
|
id: z.ZodString;
|
|
@@ -1508,8 +1505,8 @@ export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
|
1508
1505
|
abstain: z.ZodBoolean;
|
|
1509
1506
|
note: z.ZodString;
|
|
1510
1507
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1511
|
-
slight: "slight";
|
|
1512
1508
|
moderate: "moderate";
|
|
1509
|
+
slight: "slight";
|
|
1513
1510
|
strong: "strong";
|
|
1514
1511
|
}>>;
|
|
1515
1512
|
}, z.core.$strict>>;
|
|
@@ -1520,9 +1517,9 @@ export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
|
1520
1517
|
audit: z.ZodArray<z.ZodObject<{
|
|
1521
1518
|
actorId: z.ZodString;
|
|
1522
1519
|
action: z.ZodEnum<{
|
|
1520
|
+
cancel: "cancel";
|
|
1523
1521
|
claim: "claim";
|
|
1524
1522
|
reassign: "reassign";
|
|
1525
|
-
cancel: "cancel";
|
|
1526
1523
|
}>;
|
|
1527
1524
|
priorAssigneeId: z.ZodNullable<z.ZodString>;
|
|
1528
1525
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
@@ -1542,9 +1539,11 @@ export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
|
1542
1539
|
contentHash: z.ZodString;
|
|
1543
1540
|
}, z.core.$strict>>;
|
|
1544
1541
|
}, z.core.$strict>>;
|
|
1542
|
+
createdAt: z.ZodString;
|
|
1543
|
+
updatedAt: z.ZodString;
|
|
1544
|
+
contentHash: z.ZodString;
|
|
1545
1545
|
drafts: z.ZodArray<z.ZodObject<{
|
|
1546
1546
|
actorId: z.ZodString;
|
|
1547
|
-
note: z.ZodString;
|
|
1548
1547
|
generation: z.ZodNumber;
|
|
1549
1548
|
answers: z.ZodArray<z.ZodObject<{
|
|
1550
1549
|
criterionId: z.ZodString;
|
|
@@ -1552,11 +1551,12 @@ export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
|
1552
1551
|
abstain: z.ZodBoolean;
|
|
1553
1552
|
note: z.ZodString;
|
|
1554
1553
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1555
|
-
slight: "slight";
|
|
1556
1554
|
moderate: "moderate";
|
|
1555
|
+
slight: "slight";
|
|
1557
1556
|
strong: "strong";
|
|
1558
1557
|
}>>;
|
|
1559
1558
|
}, z.core.$strict>>;
|
|
1559
|
+
note: z.ZodString;
|
|
1560
1560
|
updatedAt: z.ZodString;
|
|
1561
1561
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
1562
1562
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -1572,27 +1572,27 @@ export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
|
1572
1572
|
}, z.core.$strict>>;
|
|
1573
1573
|
}, z.core.$strict>>;
|
|
1574
1574
|
submissions: z.ZodArray<z.ZodObject<{
|
|
1575
|
-
contentHash: z.ZodString;
|
|
1576
1575
|
id: z.ZodString;
|
|
1577
1576
|
revision: z.ZodNumber;
|
|
1578
1577
|
actorId: z.ZodString;
|
|
1579
|
-
|
|
1578
|
+
generation: z.ZodNumber;
|
|
1580
1579
|
evidenceHash: z.ZodString;
|
|
1581
1580
|
formHash: z.ZodString;
|
|
1582
|
-
submittedAt: z.ZodString;
|
|
1583
|
-
generation: z.ZodNumber;
|
|
1584
1581
|
answers: z.ZodArray<z.ZodObject<{
|
|
1585
1582
|
criterionId: z.ZodString;
|
|
1586
1583
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>;
|
|
1587
1584
|
abstain: z.ZodBoolean;
|
|
1588
1585
|
note: z.ZodString;
|
|
1589
1586
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1590
|
-
slight: "slight";
|
|
1591
1587
|
moderate: "moderate";
|
|
1588
|
+
slight: "slight";
|
|
1592
1589
|
strong: "strong";
|
|
1593
1590
|
}>>;
|
|
1594
1591
|
}, z.core.$strict>>;
|
|
1592
|
+
note: z.ZodString;
|
|
1593
|
+
submittedAt: z.ZodString;
|
|
1595
1594
|
supersedes: z.ZodNullable<z.ZodString>;
|
|
1595
|
+
contentHash: z.ZodString;
|
|
1596
1596
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
1597
1597
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
1598
1598
|
tasks: z.ZodArray<z.ZodObject<{
|
|
@@ -1673,10 +1673,10 @@ export declare const HumanReviewViewSchema: z.ZodObject<{
|
|
|
1673
1673
|
}, z.core.$strict>>;
|
|
1674
1674
|
familyKey: z.ZodString;
|
|
1675
1675
|
split: z.ZodEnum<{
|
|
1676
|
+
frozen_eval: "frozen_eval";
|
|
1677
|
+
test: "test";
|
|
1676
1678
|
train: "train";
|
|
1677
1679
|
validation: "validation";
|
|
1678
|
-
test: "test";
|
|
1679
|
-
frozen_eval: "frozen_eval";
|
|
1680
1680
|
}>;
|
|
1681
1681
|
}, z.core.$strict>>;
|
|
1682
1682
|
taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1694,32 +1694,29 @@ export type HumanReviewView = z.infer<typeof HumanReviewViewSchema>;
|
|
|
1694
1694
|
export declare const HumanInboxSchema: z.ZodObject<{
|
|
1695
1695
|
items: z.ZodArray<z.ZodObject<{
|
|
1696
1696
|
schemaVersion: z.ZodLiteral<"openpond.humanReview.v1">;
|
|
1697
|
-
contentHash: z.ZodString;
|
|
1698
|
-
policy: z.ZodObject<{
|
|
1699
|
-
approval: z.ZodEnum<{
|
|
1700
|
-
none: "none";
|
|
1701
|
-
manager: "manager";
|
|
1702
|
-
}>;
|
|
1703
|
-
minimumRaters: z.ZodNumber;
|
|
1704
|
-
managerIds: z.ZodArray<z.ZodString>;
|
|
1705
|
-
reviewerIds: z.ZodArray<z.ZodString>;
|
|
1706
|
-
queueClaim: z.ZodBoolean;
|
|
1707
|
-
teamVisible: z.ZodBoolean;
|
|
1708
|
-
distinctManager: z.ZodOptional<z.ZodBoolean>;
|
|
1709
|
-
independentRaters: z.ZodOptional<z.ZodBoolean>;
|
|
1710
|
-
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
1711
|
-
}, z.core.$strict>;
|
|
1712
1697
|
id: z.ZodString;
|
|
1713
1698
|
revision: z.ZodNumber;
|
|
1699
|
+
scope: z.ZodString;
|
|
1700
|
+
projectId: z.ZodString;
|
|
1701
|
+
createdBy: z.ZodString;
|
|
1714
1702
|
kind: z.ZodEnum<{
|
|
1715
1703
|
author: "author";
|
|
1716
1704
|
execute: "execute";
|
|
1717
1705
|
grade: "grade";
|
|
1718
1706
|
}>;
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1707
|
+
dueAt: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
title: z.ZodString;
|
|
1709
|
+
authorPublication: z.ZodNullable<z.ZodObject<{
|
|
1710
|
+
proposalHash: z.ZodString;
|
|
1711
|
+
dataset: z.ZodObject<{
|
|
1712
|
+
id: z.ZodString;
|
|
1713
|
+
revision: z.ZodNumber;
|
|
1714
|
+
contentHash: z.ZodString;
|
|
1715
|
+
}, z.core.$strict>;
|
|
1716
|
+
operationId: z.ZodString;
|
|
1717
|
+
publishedBy: z.ZodString;
|
|
1718
|
+
publishedAt: z.ZodString;
|
|
1719
|
+
}, z.core.$strict>>;
|
|
1723
1720
|
form: z.ZodObject<{
|
|
1724
1721
|
schemaVersion: z.ZodLiteral<"openpond.humanForm.v1">;
|
|
1725
1722
|
mode: z.ZodEnum<{
|
|
@@ -1797,32 +1794,32 @@ export declare const HumanInboxSchema: z.ZodObject<{
|
|
|
1797
1794
|
allowTie: z.ZodBoolean;
|
|
1798
1795
|
}, z.core.$strict>], "kind">>;
|
|
1799
1796
|
}, z.core.$strict>;
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
}, z.core.$strict>>;
|
|
1797
|
+
policy: z.ZodObject<{
|
|
1798
|
+
approval: z.ZodEnum<{
|
|
1799
|
+
manager: "manager";
|
|
1800
|
+
none: "none";
|
|
1801
|
+
}>;
|
|
1802
|
+
minimumRaters: z.ZodNumber;
|
|
1803
|
+
managerIds: z.ZodArray<z.ZodString>;
|
|
1804
|
+
reviewerIds: z.ZodArray<z.ZodString>;
|
|
1805
|
+
queueClaim: z.ZodBoolean;
|
|
1806
|
+
teamVisible: z.ZodBoolean;
|
|
1807
|
+
distinctManager: z.ZodOptional<z.ZodBoolean>;
|
|
1808
|
+
independentRaters: z.ZodOptional<z.ZodBoolean>;
|
|
1809
|
+
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
1810
|
+
}, z.core.$strict>;
|
|
1815
1811
|
status: z.ZodEnum<{
|
|
1816
|
-
|
|
1812
|
+
accepted: "accepted";
|
|
1817
1813
|
assigned: "assigned";
|
|
1814
|
+
cancelled: "cancelled";
|
|
1818
1815
|
in_progress: "in_progress";
|
|
1819
|
-
|
|
1820
|
-
returned: "returned";
|
|
1821
|
-
accepted: "accepted";
|
|
1816
|
+
queued: "queued";
|
|
1822
1817
|
rejected: "rejected";
|
|
1823
|
-
|
|
1818
|
+
returned: "returned";
|
|
1819
|
+
submitted: "submitted";
|
|
1824
1820
|
}>;
|
|
1825
1821
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
1822
|
+
generation: z.ZodNumber;
|
|
1826
1823
|
decisions: z.ZodArray<z.ZodObject<{
|
|
1827
1824
|
taskProposalHash: z.ZodOptional<z.ZodString>;
|
|
1828
1825
|
id: z.ZodString;
|
|
@@ -1843,8 +1840,8 @@ export declare const HumanInboxSchema: z.ZodObject<{
|
|
|
1843
1840
|
abstain: z.ZodBoolean;
|
|
1844
1841
|
note: z.ZodString;
|
|
1845
1842
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1846
|
-
slight: "slight";
|
|
1847
1843
|
moderate: "moderate";
|
|
1844
|
+
slight: "slight";
|
|
1848
1845
|
strong: "strong";
|
|
1849
1846
|
}>>;
|
|
1850
1847
|
}, z.core.$strict>>;
|
|
@@ -1855,9 +1852,9 @@ export declare const HumanInboxSchema: z.ZodObject<{
|
|
|
1855
1852
|
audit: z.ZodArray<z.ZodObject<{
|
|
1856
1853
|
actorId: z.ZodString;
|
|
1857
1854
|
action: z.ZodEnum<{
|
|
1855
|
+
cancel: "cancel";
|
|
1858
1856
|
claim: "claim";
|
|
1859
1857
|
reassign: "reassign";
|
|
1860
|
-
cancel: "cancel";
|
|
1861
1858
|
}>;
|
|
1862
1859
|
priorAssigneeId: z.ZodNullable<z.ZodString>;
|
|
1863
1860
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
@@ -1877,9 +1874,11 @@ export declare const HumanInboxSchema: z.ZodObject<{
|
|
|
1877
1874
|
contentHash: z.ZodString;
|
|
1878
1875
|
}, z.core.$strict>>;
|
|
1879
1876
|
}, z.core.$strict>>;
|
|
1877
|
+
createdAt: z.ZodString;
|
|
1878
|
+
updatedAt: z.ZodString;
|
|
1879
|
+
contentHash: z.ZodString;
|
|
1880
1880
|
drafts: z.ZodArray<z.ZodObject<{
|
|
1881
1881
|
actorId: z.ZodString;
|
|
1882
|
-
note: z.ZodString;
|
|
1883
1882
|
generation: z.ZodNumber;
|
|
1884
1883
|
answers: z.ZodArray<z.ZodObject<{
|
|
1885
1884
|
criterionId: z.ZodString;
|
|
@@ -1887,11 +1886,12 @@ export declare const HumanInboxSchema: z.ZodObject<{
|
|
|
1887
1886
|
abstain: z.ZodBoolean;
|
|
1888
1887
|
note: z.ZodString;
|
|
1889
1888
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1890
|
-
slight: "slight";
|
|
1891
1889
|
moderate: "moderate";
|
|
1890
|
+
slight: "slight";
|
|
1892
1891
|
strong: "strong";
|
|
1893
1892
|
}>>;
|
|
1894
1893
|
}, z.core.$strict>>;
|
|
1894
|
+
note: z.ZodString;
|
|
1895
1895
|
updatedAt: z.ZodString;
|
|
1896
1896
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
1897
1897
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -1907,27 +1907,27 @@ export declare const HumanInboxSchema: z.ZodObject<{
|
|
|
1907
1907
|
}, z.core.$strict>>;
|
|
1908
1908
|
}, z.core.$strict>>;
|
|
1909
1909
|
submissions: z.ZodArray<z.ZodObject<{
|
|
1910
|
-
contentHash: z.ZodString;
|
|
1911
1910
|
id: z.ZodString;
|
|
1912
1911
|
revision: z.ZodNumber;
|
|
1913
1912
|
actorId: z.ZodString;
|
|
1914
|
-
|
|
1913
|
+
generation: z.ZodNumber;
|
|
1915
1914
|
evidenceHash: z.ZodString;
|
|
1916
1915
|
formHash: z.ZodString;
|
|
1917
|
-
submittedAt: z.ZodString;
|
|
1918
|
-
generation: z.ZodNumber;
|
|
1919
1916
|
answers: z.ZodArray<z.ZodObject<{
|
|
1920
1917
|
criterionId: z.ZodString;
|
|
1921
1918
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>;
|
|
1922
1919
|
abstain: z.ZodBoolean;
|
|
1923
1920
|
note: z.ZodString;
|
|
1924
1921
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
1925
|
-
slight: "slight";
|
|
1926
1922
|
moderate: "moderate";
|
|
1923
|
+
slight: "slight";
|
|
1927
1924
|
strong: "strong";
|
|
1928
1925
|
}>>;
|
|
1929
1926
|
}, z.core.$strict>>;
|
|
1927
|
+
note: z.ZodString;
|
|
1928
|
+
submittedAt: z.ZodString;
|
|
1930
1929
|
supersedes: z.ZodNullable<z.ZodString>;
|
|
1930
|
+
contentHash: z.ZodString;
|
|
1931
1931
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
1932
1932
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
1933
1933
|
tasks: z.ZodArray<z.ZodObject<{
|
|
@@ -2008,10 +2008,10 @@ export declare const HumanInboxSchema: z.ZodObject<{
|
|
|
2008
2008
|
}, z.core.$strict>>;
|
|
2009
2009
|
familyKey: z.ZodString;
|
|
2010
2010
|
split: z.ZodEnum<{
|
|
2011
|
+
frozen_eval: "frozen_eval";
|
|
2012
|
+
test: "test";
|
|
2011
2013
|
train: "train";
|
|
2012
2014
|
validation: "validation";
|
|
2013
|
-
test: "test";
|
|
2014
|
-
frozen_eval: "frozen_eval";
|
|
2015
2015
|
}>;
|
|
2016
2016
|
}, z.core.$strict>>;
|
|
2017
2017
|
taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2087,9 +2087,9 @@ export declare const HumanExecutionReadRequestSchema: z.ZodObject<{
|
|
|
2087
2087
|
scope: z.ZodString;
|
|
2088
2088
|
id: z.ZodString;
|
|
2089
2089
|
action: z.ZodEnum<{
|
|
2090
|
-
status: "status";
|
|
2091
2090
|
cancel: "cancel";
|
|
2092
2091
|
result: "result";
|
|
2092
|
+
status: "status";
|
|
2093
2093
|
}>;
|
|
2094
2094
|
}, z.core.$strict>;
|
|
2095
2095
|
export declare const HumanPublishEvidenceRequestSchema: z.ZodObject<{
|
|
@@ -2212,10 +2212,10 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2212
2212
|
targetId: z.ZodString;
|
|
2213
2213
|
familyKey: z.ZodString;
|
|
2214
2214
|
split: z.ZodEnum<{
|
|
2215
|
+
frozen_eval: "frozen_eval";
|
|
2216
|
+
test: "test";
|
|
2215
2217
|
train: "train";
|
|
2216
2218
|
validation: "validation";
|
|
2217
|
-
test: "test";
|
|
2218
|
-
frozen_eval: "frozen_eval";
|
|
2219
2219
|
}>;
|
|
2220
2220
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2221
2221
|
policyVisibleContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -2304,14 +2304,17 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2304
2304
|
scope: z.ZodString;
|
|
2305
2305
|
id: z.ZodString;
|
|
2306
2306
|
action: z.ZodEnum<{
|
|
2307
|
-
status: "status";
|
|
2308
2307
|
cancel: "cancel";
|
|
2309
2308
|
result: "result";
|
|
2309
|
+
status: "status";
|
|
2310
2310
|
}>;
|
|
2311
2311
|
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2312
2312
|
endpoint: z.ZodLiteral<"command">;
|
|
2313
2313
|
scope: z.ZodString;
|
|
2314
2314
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2315
|
+
operationId: z.ZodString;
|
|
2316
|
+
id: z.ZodString;
|
|
2317
|
+
expectedRevision: z.ZodNumber;
|
|
2315
2318
|
action: z.ZodLiteral<"create">;
|
|
2316
2319
|
projectId: z.ZodString;
|
|
2317
2320
|
kind: z.ZodEnum<{
|
|
@@ -2388,10 +2391,10 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2388
2391
|
}, z.core.$strict>>;
|
|
2389
2392
|
familyKey: z.ZodString;
|
|
2390
2393
|
split: z.ZodEnum<{
|
|
2394
|
+
frozen_eval: "frozen_eval";
|
|
2395
|
+
test: "test";
|
|
2391
2396
|
train: "train";
|
|
2392
2397
|
validation: "validation";
|
|
2393
|
-
test: "test";
|
|
2394
|
-
frozen_eval: "frozen_eval";
|
|
2395
2398
|
}>;
|
|
2396
2399
|
}, z.core.$strict>>;
|
|
2397
2400
|
taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2475,8 +2478,8 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2475
2478
|
}, z.core.$strict>;
|
|
2476
2479
|
policy: z.ZodObject<{
|
|
2477
2480
|
approval: z.ZodEnum<{
|
|
2478
|
-
none: "none";
|
|
2479
2481
|
manager: "manager";
|
|
2482
|
+
none: "none";
|
|
2480
2483
|
}>;
|
|
2481
2484
|
minimumRaters: z.ZodNumber;
|
|
2482
2485
|
managerIds: z.ZodArray<z.ZodString>;
|
|
@@ -2488,15 +2491,15 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2488
2491
|
blindPair: z.ZodOptional<z.ZodBoolean>;
|
|
2489
2492
|
}, z.core.$strict>;
|
|
2490
2493
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
2494
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2491
2495
|
operationId: z.ZodString;
|
|
2492
2496
|
id: z.ZodString;
|
|
2493
2497
|
expectedRevision: z.ZodNumber;
|
|
2494
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2495
2498
|
action: z.ZodLiteral<"claim">;
|
|
2499
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2496
2500
|
operationId: z.ZodString;
|
|
2497
2501
|
id: z.ZodString;
|
|
2498
2502
|
expectedRevision: z.ZodNumber;
|
|
2499
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2500
2503
|
action: z.ZodLiteral<"bind_author_publication">;
|
|
2501
2504
|
proposalHash: z.ZodString;
|
|
2502
2505
|
dataset: z.ZodObject<{
|
|
@@ -2504,40 +2507,40 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2504
2507
|
revision: z.ZodNumber;
|
|
2505
2508
|
contentHash: z.ZodString;
|
|
2506
2509
|
}, z.core.$strict>;
|
|
2510
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2507
2511
|
operationId: z.ZodString;
|
|
2508
2512
|
id: z.ZodString;
|
|
2509
2513
|
expectedRevision: z.ZodNumber;
|
|
2510
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2511
2514
|
action: z.ZodLiteral<"reserve_execution">;
|
|
2512
2515
|
generation: z.ZodNumber;
|
|
2513
2516
|
runOperationId: z.ZodString;
|
|
2514
2517
|
configurationHash: z.ZodString;
|
|
2518
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2515
2519
|
operationId: z.ZodString;
|
|
2516
2520
|
id: z.ZodString;
|
|
2517
2521
|
expectedRevision: z.ZodNumber;
|
|
2518
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2519
2522
|
action: z.ZodLiteral<"bind_execution">;
|
|
2520
2523
|
generation: z.ZodNumber;
|
|
2521
2524
|
executionId: z.ZodString;
|
|
2522
2525
|
runOperationId: z.ZodString;
|
|
2523
2526
|
configurationHash: z.ZodString;
|
|
2527
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2524
2528
|
operationId: z.ZodString;
|
|
2525
2529
|
id: z.ZodString;
|
|
2526
2530
|
expectedRevision: z.ZodNumber;
|
|
2527
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2528
2531
|
action: z.ZodLiteral<"reassign">;
|
|
2529
2532
|
assigneeId: z.ZodNullable<z.ZodString>;
|
|
2530
2533
|
note: z.ZodString;
|
|
2534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2531
2535
|
operationId: z.ZodString;
|
|
2532
2536
|
id: z.ZodString;
|
|
2533
2537
|
expectedRevision: z.ZodNumber;
|
|
2534
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2535
2538
|
action: z.ZodLiteral<"cancel">;
|
|
2536
2539
|
note: z.ZodString;
|
|
2540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2537
2541
|
operationId: z.ZodString;
|
|
2538
2542
|
id: z.ZodString;
|
|
2539
2543
|
expectedRevision: z.ZodNumber;
|
|
2540
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2541
2544
|
action: z.ZodLiteral<"save_draft">;
|
|
2542
2545
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
2543
2546
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -2557,16 +2560,16 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2557
2560
|
abstain: z.ZodBoolean;
|
|
2558
2561
|
note: z.ZodString;
|
|
2559
2562
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
2560
|
-
slight: "slight";
|
|
2561
2563
|
moderate: "moderate";
|
|
2564
|
+
slight: "slight";
|
|
2562
2565
|
strong: "strong";
|
|
2563
2566
|
}>>;
|
|
2564
2567
|
}, z.core.$strict>>;
|
|
2565
2568
|
note: z.ZodString;
|
|
2569
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2566
2570
|
operationId: z.ZodString;
|
|
2567
2571
|
id: z.ZodString;
|
|
2568
2572
|
expectedRevision: z.ZodNumber;
|
|
2569
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2570
2573
|
action: z.ZodLiteral<"submit">;
|
|
2571
2574
|
taskProposal: z.ZodOptional<z.ZodObject<{
|
|
2572
2575
|
schemaVersion: z.ZodLiteral<"openpond.humanTaskProposal.v1">;
|
|
@@ -2593,16 +2596,16 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2593
2596
|
abstain: z.ZodBoolean;
|
|
2594
2597
|
note: z.ZodString;
|
|
2595
2598
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
2596
|
-
slight: "slight";
|
|
2597
2599
|
moderate: "moderate";
|
|
2600
|
+
slight: "slight";
|
|
2598
2601
|
strong: "strong";
|
|
2599
2602
|
}>>;
|
|
2600
2603
|
}, z.core.$strict>>;
|
|
2601
2604
|
note: z.ZodString;
|
|
2605
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2602
2606
|
operationId: z.ZodString;
|
|
2603
2607
|
id: z.ZodString;
|
|
2604
2608
|
expectedRevision: z.ZodNumber;
|
|
2605
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2606
2609
|
action: z.ZodLiteral<"decide">;
|
|
2607
2610
|
taskProposalHash: z.ZodOptional<z.ZodString>;
|
|
2608
2611
|
outcome: z.ZodEnum<{
|
|
@@ -2620,15 +2623,12 @@ export declare const HumanReviewTransportSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
2620
2623
|
abstain: z.ZodBoolean;
|
|
2621
2624
|
note: z.ZodString;
|
|
2622
2625
|
strength: z.ZodOptional<z.ZodEnum<{
|
|
2623
|
-
slight: "slight";
|
|
2624
2626
|
moderate: "moderate";
|
|
2627
|
+
slight: "slight";
|
|
2625
2628
|
strong: "strong";
|
|
2626
2629
|
}>>;
|
|
2627
2630
|
}, z.core.$strict>>;
|
|
2628
2631
|
note: z.ZodString;
|
|
2629
|
-
operationId: z.ZodString;
|
|
2630
|
-
id: z.ZodString;
|
|
2631
|
-
expectedRevision: z.ZodNumber;
|
|
2632
2632
|
}, z.core.$strict>], "action">;
|
|
2633
2633
|
}, z.core.$strict>, z.ZodObject<{
|
|
2634
2634
|
endpoint: z.ZodLiteral<"get">;
|