@openpond/evals 0.10.7 → 0.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/learning/authoring-service.js +11 -1
- package/dist/learning/authoring.js +1 -0
- package/dist/learning/contracts.js +27 -1
- package/dist/learning/index.js +1 -0
- package/dist/learning/rating-reward-fixture.js +19 -0
- package/dist/learning/service.js +7 -2
- package/dist/learning/transport.js +1 -1
- package/dist/types/learning/authoring-service.d.ts +11 -0
- package/dist/types/learning/authoring-service.d.ts.map +1 -1
- package/dist/types/learning/authoring.d.ts +55 -0
- package/dist/types/learning/authoring.d.ts.map +1 -1
- package/dist/types/learning/contracts.d.ts +31 -0
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/index.d.ts +1 -0
- package/dist/types/learning/index.d.ts.map +1 -1
- package/dist/types/learning/operations.d.ts +22 -0
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/rating-reward-fixture.d.ts +8 -0
- package/dist/types/learning/rating-reward-fixture.d.ts.map +1 -0
- package/dist/types/learning/repository.d.ts +21 -0
- package/dist/types/learning/repository.d.ts.map +1 -1
- package/dist/types/learning/service.d.ts.map +1 -1
- package/dist/types/learning/transport.d.ts +35 -0
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/learning/v1/command-request.schema.json +63 -20
- package/schemas/learning/v1/draft.schema.json +31 -0
- package/schemas/learning/v1/feedback-submission.schema.json +55 -37
- package/schemas/learning/v1/feedback.schema.json +94 -38
- package/schemas/learning/v1/read-request.schema.json +7 -0
|
@@ -2,7 +2,7 @@ import { assertBoundedTaskJson } from "../task-schema.js";
|
|
|
2
2
|
import { AuthoringDraftSchema } from "./authoring.js";
|
|
3
3
|
import { LearningDomainError } from "./errors.js";
|
|
4
4
|
import { learningRef, sameLearningRef, sealLearningContent } from "./contracts.js";
|
|
5
|
-
import { requireLearningRelease } from "./repository.js";
|
|
5
|
+
import { requireLearningRelease, requireLearningResource } from "./repository.js";
|
|
6
6
|
export async function saveAuthoringDraft(tx, input, now) {
|
|
7
7
|
// A 100-record page remains below the common 16 MiB response limit.
|
|
8
8
|
assertBoundedTaskJson(input.draft, 131_072);
|
|
@@ -14,6 +14,16 @@ export async function saveAuthoringDraft(tx, input, now) {
|
|
|
14
14
|
throw new LearningDomainError("authoring_draft_base_mismatch", 422);
|
|
15
15
|
await requireLearningRelease(tx, input.draft.targetKind, input.draft.baseRelease);
|
|
16
16
|
}
|
|
17
|
+
if (input.draft.targetKind === "reward")
|
|
18
|
+
for (const fixture of input.draft.fields.fixtures ?? []) {
|
|
19
|
+
if (!fixture.sourceLabel)
|
|
20
|
+
continue;
|
|
21
|
+
const { evidence, feedback } = fixture.sourceLabel;
|
|
22
|
+
await requireLearningRelease(tx, "evidence", evidence);
|
|
23
|
+
const label = await requireLearningResource(tx, "feedback", feedback.id, feedback.revision);
|
|
24
|
+
if (!label.evidence || !sameLearningRef(label.evidence, evidence))
|
|
25
|
+
throw new LearningDomainError("reward_fixture_label_mismatch", 422);
|
|
26
|
+
}
|
|
17
27
|
const draft = AuthoringDraftSchema.parse(sealLearningContent({ ...input.draft, schemaVersion: "openpond.authoringDraft.v1", revision: input.expectedRevision + 1, status: "draft", publishedRelease: null, createdAt: previous?.createdAt ?? now, updatedAt: now }));
|
|
18
28
|
await tx.put("draft", draft, input.expectedRevision, { parentId: draft.targetKind, status: draft.status });
|
|
19
29
|
return { kind: "draft", id: draft.id, revision: draft.revision };
|
|
@@ -10,6 +10,7 @@ export const RewardFixtureAuthoringFieldsSchema = z.object({
|
|
|
10
10
|
infrastructureError: z.string().max(20_000),
|
|
11
11
|
expectedStatus: z.enum(["scored", "pending", "unavailable", "failed"]),
|
|
12
12
|
minimumScore: z.string(), maximumScore: z.string(), expectedPassed: z.enum(["true", "false", "any"]),
|
|
13
|
+
sourceLabel: z.object({ evidence: LearningRevisionRefSchema, feedback: z.object({ id: ReleaseIdSchema, revision: z.number().int().positive() }).strict() }).strict().optional(),
|
|
13
14
|
}).strict();
|
|
14
15
|
export const RewardAuthoringFieldsSchema = z.object({
|
|
15
16
|
name: z.string().max(500), description: z.string().max(10_000),
|
|
@@ -105,6 +105,20 @@ export const TaskEvidenceContentSchema = z.object({
|
|
|
105
105
|
receivedAt: ReleaseTimestampSchema,
|
|
106
106
|
}).strict();
|
|
107
107
|
export const TaskEvidenceSchema = TaskEvidenceContentSchema.extend({ contentHash: ReleaseHashSchema }).strict();
|
|
108
|
+
/** A retained judgment of this exact attempt, separate from task admission. */
|
|
109
|
+
export const TaskRatingSchema = z.object({
|
|
110
|
+
schemaVersion: z.literal("openpond.taskRating.v1"),
|
|
111
|
+
criteria: z.string().trim().min(1).max(20_000),
|
|
112
|
+
scale: z.object({ minimum: z.number().finite(), maximum: z.number().finite() }).strict(),
|
|
113
|
+
score: z.number().finite(),
|
|
114
|
+
evidence: z.string().max(20_000),
|
|
115
|
+
explanation: z.string().max(20_000),
|
|
116
|
+
}).strict().superRefine((rating, context) => {
|
|
117
|
+
if (rating.scale.minimum >= rating.scale.maximum)
|
|
118
|
+
context.addIssue({ code: "custom", path: ["scale"], message: "The score scale must have an increasing range." });
|
|
119
|
+
if (rating.score < rating.scale.minimum || rating.score > rating.scale.maximum)
|
|
120
|
+
context.addIssue({ code: "custom", path: ["score"], message: "The score must be within its declared scale." });
|
|
121
|
+
});
|
|
108
122
|
export const TaskFeedbackSubmissionSchema = z.object({
|
|
109
123
|
schemaVersion: z.literal("openpond.taskFeedback.v1"),
|
|
110
124
|
sourceId: ReleaseIdSchema,
|
|
@@ -116,7 +130,18 @@ export const TaskFeedbackSubmissionSchema = z.object({
|
|
|
116
130
|
kind: z.enum(["outcome", "target_correction", "ground_truth_correction", "input_correction", "family_resolution"]),
|
|
117
131
|
value: LearningJsonObjectSchema,
|
|
118
132
|
note: z.string().max(20_000),
|
|
119
|
-
}).strict()
|
|
133
|
+
}).strict().superRefine((submission, context) => {
|
|
134
|
+
if (submission.value.schemaVersion !== "openpond.taskRating.v1")
|
|
135
|
+
return;
|
|
136
|
+
if (submission.expectedEvidenceHash === null)
|
|
137
|
+
context.addIssue({ code: "custom", path: ["expectedEvidenceHash"], message: "A rating must identify the exact evidence revision." });
|
|
138
|
+
if (submission.kind !== "outcome")
|
|
139
|
+
context.addIssue({ code: "custom", path: ["kind"], message: "Ratings must be submitted as outcomes." });
|
|
140
|
+
const rating = TaskRatingSchema.safeParse(submission.value);
|
|
141
|
+
if (!rating.success)
|
|
142
|
+
for (const issue of rating.error.issues)
|
|
143
|
+
context.addIssue({ code: "custom", path: ["value", ...issue.path], message: issue.message });
|
|
144
|
+
});
|
|
120
145
|
export const TaskFeedbackSchema = z.object({
|
|
121
146
|
schemaVersion: z.literal("openpond.taskFeedbackRecord.v1"),
|
|
122
147
|
id: ReleaseIdSchema,
|
|
@@ -125,6 +150,7 @@ export const TaskFeedbackSchema = z.object({
|
|
|
125
150
|
evidence: LearningRevisionRefSchema.nullable(),
|
|
126
151
|
createdAt: ReleaseTimestampSchema,
|
|
127
152
|
revision: z.number().int().positive(),
|
|
153
|
+
submittedBy: z.object({ id: ReleaseIdSchema, role: z.enum(["editor", "reviewer", "source"]), sourceId: ReleaseIdSchema.nullable() }).strict().nullable().default(null),
|
|
128
154
|
review: z.object({ actorId: ReleaseIdSchema, decision: LearningRevisionRefSchema.nullable(), note: z.string().max(20_000), resolvedAt: ReleaseTimestampSchema }).strict().nullable().default(null),
|
|
129
155
|
}).strict();
|
|
130
156
|
export const TaskAdmissionDecisionContentSchema = z.object({
|
package/dist/learning/index.js
CHANGED
|
@@ -9,6 +9,7 @@ export * from "./transport.js";
|
|
|
9
9
|
export * from "./errors.js";
|
|
10
10
|
export * from "./authoring.js";
|
|
11
11
|
export * from "./reward-authoring.js";
|
|
12
|
+
export * from "./rating-reward-fixture.js";
|
|
12
13
|
export * from "./reward-checks.js";
|
|
13
14
|
export * from "./reward-check-worker.js";
|
|
14
15
|
export * from "./reward-fixture-executor.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { learningRef, sameLearningRef, TaskRatingSchema } from "./contracts.js";
|
|
2
|
+
import { LearningDomainError } from "./errors.js";
|
|
3
|
+
/** Copy a retained label into editable check data while preserving its exact origin. */
|
|
4
|
+
export function rewardFixtureFromRating(evidence, feedback, scale = { minimum: 0, maximum: 1 }) {
|
|
5
|
+
if (!feedback.evidence || !sameLearningRef(feedback.evidence, learningRef(evidence)) || feedback.submission.expectedEvidenceHash !== evidence.contentHash || feedback.submission.kind !== "outcome" || !evidence.submission.observedOutput)
|
|
6
|
+
throw new LearningDomainError("rating_fixture_evidence_mismatch", 422);
|
|
7
|
+
const rating = TaskRatingSchema.parse(feedback.submission.value);
|
|
8
|
+
if (!Number.isFinite(scale.minimum) || !Number.isFinite(scale.maximum) || scale.minimum >= scale.maximum)
|
|
9
|
+
throw new LearningDomainError("rating_fixture_scale_invalid", 422);
|
|
10
|
+
const score = scale.minimum + (rating.score - rating.scale.minimum) / (rating.scale.maximum - rating.scale.minimum) * (scale.maximum - scale.minimum);
|
|
11
|
+
return {
|
|
12
|
+
id: `label-${feedback.id}-${feedback.revision}`, name: evidence.submission.exampleId,
|
|
13
|
+
input: JSON.stringify(evidence.submission.input, null, 2), output: JSON.stringify(evidence.submission.observedOutput, null, 2),
|
|
14
|
+
expectedOutput: evidence.submission.expected ? JSON.stringify(evidence.submission.expected, null, 2) : "",
|
|
15
|
+
evaluatorContext: evidence.submission.evaluatorContext ? JSON.stringify(evidence.submission.evaluatorContext, null, 2) : "",
|
|
16
|
+
artifactRefs: [], runtimeEventRefs: [], infrastructureError: "", expectedStatus: "scored", minimumScore: String(score), maximumScore: String(score), expectedPassed: "any",
|
|
17
|
+
sourceLabel: { evidence: learningRef(evidence), feedback: { id: feedback.id, revision: feedback.revision } },
|
|
18
|
+
};
|
|
19
|
+
}
|
package/dist/learning/service.js
CHANGED
|
@@ -70,7 +70,7 @@ export function createLearningService(repository, options = {}) {
|
|
|
70
70
|
pointers = [await submit(transaction, input)];
|
|
71
71
|
break;
|
|
72
72
|
case "submit_feedback":
|
|
73
|
-
pointers = [await feedback(transaction, input)];
|
|
73
|
+
pointers = [await feedback(transaction, input, context.actor)];
|
|
74
74
|
break;
|
|
75
75
|
case "apply_correction":
|
|
76
76
|
pointers = await correct(transaction, input, context.actor.id);
|
|
@@ -193,16 +193,19 @@ export function createLearningService(repository, options = {}) {
|
|
|
193
193
|
} while (afterId);
|
|
194
194
|
return pointer("evidence", evidence);
|
|
195
195
|
}
|
|
196
|
-
async function feedback(transaction, input) {
|
|
196
|
+
async function feedback(transaction, input, actor) {
|
|
197
197
|
const source = await requireLearningResource(transaction, "source", input.feedback.sourceId);
|
|
198
198
|
if (!source.enabled)
|
|
199
199
|
throw new LearningDomainError("learning_source_disabled", 409);
|
|
200
200
|
const evidenceId = learningEvidenceId(source.id, input.feedback.exampleId, input.feedback.attemptId);
|
|
201
201
|
const evidence = await transaction.get("evidence", evidenceId);
|
|
202
|
+
if (input.feedback.value.schemaVersion === "openpond.taskRating.v1" && (!evidence || evidence.contentHash !== input.feedback.expectedEvidenceHash || !evidence.submission.observedOutput))
|
|
203
|
+
throw new LearningDomainError("task_rating_evidence_stale", 409, "Open the current observed response before submitting a rating.");
|
|
202
204
|
const record = TaskFeedbackSchema.parse({
|
|
203
205
|
schemaVersion: "openpond.taskFeedbackRecord.v1", id: `feedback-${contentHash([source.id, input.feedback.idempotencyKey])}`,
|
|
204
206
|
submission: input.feedback, status: evidence ? "pending_review" : "pending_example",
|
|
205
207
|
evidence: evidence ? learningRef(evidence) : null, createdAt: now(), revision: 1,
|
|
208
|
+
submittedBy: { id: actor.id, role: actor.role, sourceId: actor.sourceId ?? null },
|
|
206
209
|
});
|
|
207
210
|
await transaction.put("feedback", record, 0, { parentId: evidenceId, status: record.status });
|
|
208
211
|
return pointer("feedback", record);
|
|
@@ -348,6 +351,8 @@ export function createLearningService(repository, options = {}) {
|
|
|
348
351
|
},
|
|
349
352
|
async list(context, kind, query = {}) {
|
|
350
353
|
authorizeRead(context);
|
|
354
|
+
if (query.reviewState !== undefined && (kind !== "evidence" || !["inbox", "reviewed"].includes(query.reviewState)))
|
|
355
|
+
throw new LearningDomainError("learning_review_filter_invalid", 400);
|
|
351
356
|
const limit = Math.max(1, Math.min(100, Math.trunc(query.limit ?? 50)));
|
|
352
357
|
return repository.transaction(context.scope, (transaction) => transaction.list(kind, { ...query, limit }));
|
|
353
358
|
},
|
|
@@ -20,7 +20,7 @@ export const LearningReadRequestSchema = z.discriminatedUnion("action", [
|
|
|
20
20
|
z.object({ action: z.literal("inspect_policy"), scope: ReleaseIdSchema, policy: LearningRevisionRefSchema }).strict(),
|
|
21
21
|
z.object({ action: z.literal("inspect_evidence"), scope: ReleaseIdSchema, evidence: LearningRevisionRefSchema }).strict(),
|
|
22
22
|
z.object({ action: z.literal("get"), scope: ReleaseIdSchema, kind: LearningResourceKindSchema, id: ReleaseIdSchema, revision: z.number().int().positive().optional() }).strict(),
|
|
23
|
-
z.object({ action: z.literal("list"), scope: ReleaseIdSchema, kind: LearningResourceKindSchema, parentId: ReleaseIdSchema.optional(), status: z.string().min(1).max(200).optional(), afterId: ReleaseIdSchema.optional(), limit: z.number().int().min(1).max(100).default(50) }).strict(),
|
|
23
|
+
z.object({ action: z.literal("list"), scope: ReleaseIdSchema, kind: LearningResourceKindSchema, parentId: ReleaseIdSchema.optional(), status: z.string().min(1).max(200).optional(), reviewState: z.enum(["inbox", "reviewed"]).optional(), afterId: ReleaseIdSchema.optional(), limit: z.number().int().min(1).max(100).default(50) }).strict(),
|
|
24
24
|
]);
|
|
25
25
|
export const TaskEvidenceInspectionResultSchema = z.object({
|
|
26
26
|
evidence: LearningRevisionRefSchema,
|
|
@@ -130,6 +130,17 @@ export declare function currentDraft(tx: LearningTransaction, ref: LearningRevis
|
|
|
130
130
|
minimumScore: string;
|
|
131
131
|
maximumScore: string;
|
|
132
132
|
expectedPassed: "any" | "true" | "false";
|
|
133
|
+
sourceLabel?: {
|
|
134
|
+
evidence: {
|
|
135
|
+
id: string;
|
|
136
|
+
contentHash: string;
|
|
137
|
+
revision: number;
|
|
138
|
+
};
|
|
139
|
+
feedback: {
|
|
140
|
+
id: string;
|
|
141
|
+
revision: number;
|
|
142
|
+
};
|
|
143
|
+
} | undefined;
|
|
133
144
|
}[] | undefined;
|
|
134
145
|
};
|
|
135
146
|
schemaVersion: "openpond.authoringDraft.v1";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-service.d.ts","sourceRoot":"","sources":["../../../../../src/learning/authoring-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEhF,OAAO,EAAqD,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,
|
|
1
|
+
{"version":3,"file":"authoring-service.d.ts","sourceRoot":"","sources":["../../../../../src/learning/authoring-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEhF,OAAO,EAAqD,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,EAAmD,KAAK,uBAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC1I,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,mBAAmB,EAAE,KAAK,EAAE;IAAE,KAAK,EAAE,mBAAmB,CAAC;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,EAAE,MAAM;;;;GAmB7I;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,mBAAmB,EAAE,GAAG,EAAE,mBAAmB,EAAE,GAAG,EAAE,MAAM;;;;GAMzG;AAED,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,mBAAmB,EAAE,KAAK,EAAE,OAAO,CAAC,eAAe,EAAE;IAAE,MAAM,EAAE,SAAS,GAAG,mBAAmB,CAAA;CAAE,CAAC,EAAE,SAAS,EAAE,uBAAuB,EAAE,EAAE,GAAG,EAAE,MAAM;;;;UAUpM;AAED,wBAAsB,YAAY,CAAC,EAAE,EAAE,mBAAmB,EAAE,GAAG,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnF"}
|
|
@@ -23,6 +23,17 @@ export declare const RewardFixtureAuthoringFieldsSchema: z.ZodObject<{
|
|
|
23
23
|
true: "true";
|
|
24
24
|
false: "false";
|
|
25
25
|
}>;
|
|
26
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
27
|
+
evidence: z.ZodObject<{
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
contentHash: z.ZodString;
|
|
30
|
+
revision: z.ZodNumber;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
feedback: z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
revision: z.ZodNumber;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
}, z.core.$strict>>;
|
|
26
37
|
}, z.core.$strict>;
|
|
27
38
|
export type RewardFixtureAuthoringFields = z.infer<typeof RewardFixtureAuthoringFieldsSchema>;
|
|
28
39
|
export declare const RewardAuthoringFieldsSchema: z.ZodObject<{
|
|
@@ -83,6 +94,17 @@ export declare const RewardAuthoringFieldsSchema: z.ZodObject<{
|
|
|
83
94
|
true: "true";
|
|
84
95
|
false: "false";
|
|
85
96
|
}>;
|
|
97
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
evidence: z.ZodObject<{
|
|
99
|
+
id: z.ZodString;
|
|
100
|
+
contentHash: z.ZodString;
|
|
101
|
+
revision: z.ZodNumber;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
feedback: z.ZodObject<{
|
|
104
|
+
id: z.ZodString;
|
|
105
|
+
revision: z.ZodNumber;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
}, z.core.$strict>>;
|
|
86
108
|
}, z.core.$strict>>>;
|
|
87
109
|
}, z.core.$strict>;
|
|
88
110
|
export declare const TaskFormatAuthoringFieldsSchema: z.ZodObject<{
|
|
@@ -291,6 +313,17 @@ export declare const AuthoringDraftInputSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
291
313
|
true: "true";
|
|
292
314
|
false: "false";
|
|
293
315
|
}>;
|
|
316
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
317
|
+
evidence: z.ZodObject<{
|
|
318
|
+
id: z.ZodString;
|
|
319
|
+
contentHash: z.ZodString;
|
|
320
|
+
revision: z.ZodNumber;
|
|
321
|
+
}, z.core.$strict>;
|
|
322
|
+
feedback: z.ZodObject<{
|
|
323
|
+
id: z.ZodString;
|
|
324
|
+
revision: z.ZodNumber;
|
|
325
|
+
}, z.core.$strict>;
|
|
326
|
+
}, z.core.$strict>>;
|
|
294
327
|
}, z.core.$strict>>>;
|
|
295
328
|
}, z.core.$strict>;
|
|
296
329
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -475,6 +508,17 @@ export declare const AuthoringDraftContentSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
475
508
|
true: "true";
|
|
476
509
|
false: "false";
|
|
477
510
|
}>;
|
|
511
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
evidence: z.ZodObject<{
|
|
513
|
+
id: z.ZodString;
|
|
514
|
+
contentHash: z.ZodString;
|
|
515
|
+
revision: z.ZodNumber;
|
|
516
|
+
}, z.core.$strict>;
|
|
517
|
+
feedback: z.ZodObject<{
|
|
518
|
+
id: z.ZodString;
|
|
519
|
+
revision: z.ZodNumber;
|
|
520
|
+
}, z.core.$strict>;
|
|
521
|
+
}, z.core.$strict>>;
|
|
478
522
|
}, z.core.$strict>>>;
|
|
479
523
|
}, z.core.$strict>;
|
|
480
524
|
schemaVersion: z.ZodLiteral<"openpond.authoringDraft.v1">;
|
|
@@ -688,6 +732,17 @@ export declare const AuthoringDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
688
732
|
true: "true";
|
|
689
733
|
false: "false";
|
|
690
734
|
}>;
|
|
735
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
736
|
+
evidence: z.ZodObject<{
|
|
737
|
+
id: z.ZodString;
|
|
738
|
+
contentHash: z.ZodString;
|
|
739
|
+
revision: z.ZodNumber;
|
|
740
|
+
}, z.core.$strict>;
|
|
741
|
+
feedback: z.ZodObject<{
|
|
742
|
+
id: z.ZodString;
|
|
743
|
+
revision: z.ZodNumber;
|
|
744
|
+
}, z.core.$strict>;
|
|
745
|
+
}, z.core.$strict>>;
|
|
691
746
|
}, z.core.$strict>>>;
|
|
692
747
|
}, z.core.$strict>;
|
|
693
748
|
schemaVersion: z.ZodLiteral<"openpond.authoringDraft.v1">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring.d.ts","sourceRoot":"","sources":["../../../../../src/learning/authoring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,sFAAsF;AACtF,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"authoring.d.ts","sourceRoot":"","sources":["../../../../../src/learning/authoring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,sFAAsF;AACtF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQpC,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,C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M,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,mBAAmB,IAAI,OAAO,CAAC,cAAc,EAAE;IAAE,UAAU,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC;AAE1G,sFAAsF;AACtF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;kBAAqI,CAAC"}
|
|
@@ -541,6 +541,19 @@ export declare const TaskEvidenceSchema: z.ZodObject<{
|
|
|
541
541
|
receivedAt: z.ZodString;
|
|
542
542
|
contentHash: z.ZodString;
|
|
543
543
|
}, z.core.$strict>;
|
|
544
|
+
/** A retained judgment of this exact attempt, separate from task admission. */
|
|
545
|
+
export declare const TaskRatingSchema: z.ZodObject<{
|
|
546
|
+
schemaVersion: z.ZodLiteral<"openpond.taskRating.v1">;
|
|
547
|
+
criteria: z.ZodString;
|
|
548
|
+
scale: z.ZodObject<{
|
|
549
|
+
minimum: z.ZodNumber;
|
|
550
|
+
maximum: z.ZodNumber;
|
|
551
|
+
}, z.core.$strict>;
|
|
552
|
+
score: z.ZodNumber;
|
|
553
|
+
evidence: z.ZodString;
|
|
554
|
+
explanation: z.ZodString;
|
|
555
|
+
}, z.core.$strict>;
|
|
556
|
+
export type TaskRating = z.infer<typeof TaskRatingSchema>;
|
|
544
557
|
export declare const TaskFeedbackSubmissionSchema: z.ZodObject<{
|
|
545
558
|
schemaVersion: z.ZodLiteral<"openpond.taskFeedback.v1">;
|
|
546
559
|
sourceId: z.ZodString;
|
|
@@ -594,6 +607,15 @@ export declare const TaskFeedbackSchema: z.ZodObject<{
|
|
|
594
607
|
}, z.core.$strict>>;
|
|
595
608
|
createdAt: z.ZodString;
|
|
596
609
|
revision: z.ZodNumber;
|
|
610
|
+
submittedBy: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
611
|
+
id: z.ZodString;
|
|
612
|
+
role: z.ZodEnum<{
|
|
613
|
+
source: "source";
|
|
614
|
+
reviewer: "reviewer";
|
|
615
|
+
editor: "editor";
|
|
616
|
+
}>;
|
|
617
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
618
|
+
}, z.core.$strict>>>;
|
|
597
619
|
review: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
598
620
|
actorId: z.ZodString;
|
|
599
621
|
decision: z.ZodNullable<z.ZodObject<{
|
|
@@ -1841,6 +1863,15 @@ export declare const LearningResourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1841
1863
|
}, z.core.$strict>>;
|
|
1842
1864
|
createdAt: z.ZodString;
|
|
1843
1865
|
revision: z.ZodNumber;
|
|
1866
|
+
submittedBy: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1867
|
+
id: z.ZodString;
|
|
1868
|
+
role: z.ZodEnum<{
|
|
1869
|
+
source: "source";
|
|
1870
|
+
reviewer: "reviewer";
|
|
1871
|
+
editor: "editor";
|
|
1872
|
+
}>;
|
|
1873
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
1874
|
+
}, z.core.$strict>>>;
|
|
1844
1875
|
review: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1845
1876
|
actorId: z.ZodString;
|
|
1846
1877
|
decision: z.ZodNullable<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../../../src/learning/contracts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB,2CAAiC,CAAC;AACvE,eAAO,MAAM,yBAAyB;;;;kBAAyB,CAAC;AAChE,eAAO,MAAM,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,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,wBAAgB,WAAW,CAAC,QAAQ,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAAG,mBAAmB,CAEhH;AACD,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAE9F;AACD,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAG9G;AACD,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAIjF"}
|
|
@@ -9,6 +9,7 @@ export * from "./transport.js";
|
|
|
9
9
|
export * from "./errors.js";
|
|
10
10
|
export * from "./authoring.js";
|
|
11
11
|
export * from "./reward-authoring.js";
|
|
12
|
+
export * from "./rating-reward-fixture.js";
|
|
12
13
|
export * from "./reward-checks.js";
|
|
13
14
|
export * from "./reward-check-worker.js";
|
|
14
15
|
export * from "./reward-fixture-executor.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/learning/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAC/E,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/learning/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAC/E,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1375,6 +1375,17 @@ export declare const SaveAuthoringDraftCommandSchema: z.ZodObject<{
|
|
|
1375
1375
|
true: "true";
|
|
1376
1376
|
false: "false";
|
|
1377
1377
|
}>;
|
|
1378
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
1379
|
+
evidence: z.ZodObject<{
|
|
1380
|
+
id: z.ZodString;
|
|
1381
|
+
contentHash: z.ZodString;
|
|
1382
|
+
revision: z.ZodNumber;
|
|
1383
|
+
}, z.core.$strict>;
|
|
1384
|
+
feedback: z.ZodObject<{
|
|
1385
|
+
id: z.ZodString;
|
|
1386
|
+
revision: z.ZodNumber;
|
|
1387
|
+
}, z.core.$strict>;
|
|
1388
|
+
}, z.core.$strict>>;
|
|
1378
1389
|
}, z.core.$strict>>>;
|
|
1379
1390
|
}, z.core.$strict>;
|
|
1380
1391
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1655,6 +1666,17 @@ export declare const LearningCommandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1655
1666
|
true: "true";
|
|
1656
1667
|
false: "false";
|
|
1657
1668
|
}>;
|
|
1669
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
1670
|
+
evidence: z.ZodObject<{
|
|
1671
|
+
id: z.ZodString;
|
|
1672
|
+
contentHash: z.ZodString;
|
|
1673
|
+
revision: z.ZodNumber;
|
|
1674
|
+
}, z.core.$strict>;
|
|
1675
|
+
feedback: z.ZodObject<{
|
|
1676
|
+
id: z.ZodString;
|
|
1677
|
+
revision: z.ZodNumber;
|
|
1678
|
+
}, z.core.$strict>;
|
|
1679
|
+
}, z.core.$strict>>;
|
|
1658
1680
|
}, z.core.$strict>>>;
|
|
1659
1681
|
}, z.core.$strict>;
|
|
1660
1682
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../src/learning/operations.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAooB,CAAC;AACvqB,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type TaskEvidence, type TaskFeedback } from "./contracts.js";
|
|
2
|
+
import { type RewardFixtureAuthoringFields } from "./authoring.js";
|
|
3
|
+
/** Copy a retained label into editable check data while preserving its exact origin. */
|
|
4
|
+
export declare function rewardFixtureFromRating(evidence: TaskEvidence, feedback: TaskFeedback, scale?: {
|
|
5
|
+
minimum: number;
|
|
6
|
+
maximum: number;
|
|
7
|
+
}): RewardFixtureAuthoringFields;
|
|
8
|
+
//# sourceMappingURL=rating-reward-fixture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating-reward-fixture.d.ts","sourceRoot":"","sources":["../../../../../src/learning/rating-reward-fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkD,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACtH,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAGnE,wFAAwF;AACxF,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,GAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAA+B,GAAG,4BAA4B,CAa9L"}
|
|
@@ -139,6 +139,17 @@ export declare const learningResourceSchemas: {
|
|
|
139
139
|
true: "true";
|
|
140
140
|
false: "false";
|
|
141
141
|
}>;
|
|
142
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
evidence: z.ZodObject<{
|
|
144
|
+
id: z.ZodString;
|
|
145
|
+
contentHash: z.ZodString;
|
|
146
|
+
revision: z.ZodNumber;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
feedback: z.ZodObject<{
|
|
149
|
+
id: z.ZodString;
|
|
150
|
+
revision: z.ZodNumber;
|
|
151
|
+
}, z.core.$strict>;
|
|
152
|
+
}, z.core.$strict>>;
|
|
142
153
|
}, z.core.$strict>>>;
|
|
143
154
|
}, z.core.$strict>;
|
|
144
155
|
schemaVersion: z.ZodLiteral<"openpond.authoringDraft.v1">;
|
|
@@ -740,6 +751,15 @@ export declare const learningResourceSchemas: {
|
|
|
740
751
|
}, z.core.$strict>>;
|
|
741
752
|
createdAt: z.ZodString;
|
|
742
753
|
revision: z.ZodNumber;
|
|
754
|
+
submittedBy: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
755
|
+
id: z.ZodString;
|
|
756
|
+
role: z.ZodEnum<{
|
|
757
|
+
source: "source";
|
|
758
|
+
reviewer: "reviewer";
|
|
759
|
+
editor: "editor";
|
|
760
|
+
}>;
|
|
761
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
762
|
+
}, z.core.$strict>>>;
|
|
743
763
|
review: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
744
764
|
actorId: z.ZodString;
|
|
745
765
|
decision: z.ZodNullable<z.ZodObject<{
|
|
@@ -1686,6 +1706,7 @@ export type LearningOperationReceipt = {
|
|
|
1686
1706
|
export type LearningResourceQuery = {
|
|
1687
1707
|
parentId?: string;
|
|
1688
1708
|
status?: string;
|
|
1709
|
+
reviewState?: "inbox" | "reviewed";
|
|
1689
1710
|
afterId?: string;
|
|
1690
1711
|
limit: number;
|
|
1691
1712
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../../src/learning/repository.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC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xE,sBAAsB,OAAO,OAAO,KAAG,OAAO,CAAC,uBAAuB,CAAC;2BA4PxE,sBAAsB,aAAa,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAKpD,sBAAsB,aAAa,mBAAmB;;;;;;;;;;;;;QAS3E,CAAC,SAAS,oBAAoB,WAAW,sBAAsB,QAAQ,CAAC,MAAM,MAAM,aAAa,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC;SAIxI,CAAC,SAAS,oBAAoB,WAAW,sBAAsB,QAAQ,CAAC,UAAS,OAAO,CAAC,qBAAqB,CAAC,GAAQ,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;EAOrK"}
|
|
@@ -175,6 +175,17 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
175
175
|
true: "true";
|
|
176
176
|
false: "false";
|
|
177
177
|
}>;
|
|
178
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
evidence: z.ZodObject<{
|
|
180
|
+
id: z.ZodString;
|
|
181
|
+
contentHash: z.ZodString;
|
|
182
|
+
revision: z.ZodNumber;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
feedback: z.ZodObject<{
|
|
185
|
+
id: z.ZodString;
|
|
186
|
+
revision: z.ZodNumber;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
}, z.core.$strict>>;
|
|
178
189
|
}, z.core.$strict>>>;
|
|
179
190
|
}, z.core.$strict>;
|
|
180
191
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1545,6 +1556,10 @@ export declare const LearningReadRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1545
1556
|
}>;
|
|
1546
1557
|
parentId: z.ZodOptional<z.ZodString>;
|
|
1547
1558
|
status: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
reviewState: z.ZodOptional<z.ZodEnum<{
|
|
1560
|
+
inbox: "inbox";
|
|
1561
|
+
reviewed: "reviewed";
|
|
1562
|
+
}>>;
|
|
1548
1563
|
afterId: z.ZodOptional<z.ZodString>;
|
|
1549
1564
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1550
1565
|
}, z.core.$strict>], "action">;
|
|
@@ -2246,6 +2261,15 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2246
2261
|
}, z.core.$strict>>;
|
|
2247
2262
|
createdAt: z.ZodString;
|
|
2248
2263
|
revision: z.ZodNumber;
|
|
2264
|
+
submittedBy: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2265
|
+
id: z.ZodString;
|
|
2266
|
+
role: z.ZodEnum<{
|
|
2267
|
+
source: "source";
|
|
2268
|
+
reviewer: "reviewer";
|
|
2269
|
+
editor: "editor";
|
|
2270
|
+
}>;
|
|
2271
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
2272
|
+
}, z.core.$strict>>>;
|
|
2249
2273
|
review: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2250
2274
|
actorId: z.ZodString;
|
|
2251
2275
|
decision: z.ZodNullable<z.ZodObject<{
|
|
@@ -2944,6 +2968,17 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
2944
2968
|
true: "true";
|
|
2945
2969
|
false: "false";
|
|
2946
2970
|
}>;
|
|
2971
|
+
sourceLabel: z.ZodOptional<z.ZodObject<{
|
|
2972
|
+
evidence: z.ZodObject<{
|
|
2973
|
+
id: z.ZodString;
|
|
2974
|
+
contentHash: z.ZodString;
|
|
2975
|
+
revision: z.ZodNumber;
|
|
2976
|
+
}, z.core.$strict>;
|
|
2977
|
+
feedback: z.ZodObject<{
|
|
2978
|
+
id: z.ZodString;
|
|
2979
|
+
revision: z.ZodNumber;
|
|
2980
|
+
}, z.core.$strict>;
|
|
2981
|
+
}, z.core.$strict>>;
|
|
2947
2982
|
}, z.core.$strict>>>;
|
|
2948
2983
|
}, z.core.$strict>;
|
|
2949
2984
|
schemaVersion: z.ZodLiteral<"openpond.authoringDraft.v1">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../../../src/learning/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,mFAAmF;AACnF,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAG5D;AAED,0FAA0F;AAC1F,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../../../src/learning/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,mFAAmF;AACnF,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAG5D;AAED,0FAA0F;AAC1F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG/B,CAAC"}
|
package/package.json
CHANGED
|
@@ -925,8 +925,7 @@
|
|
|
925
925
|
"type": "object",
|
|
926
926
|
"properties": {
|
|
927
927
|
"schemaVersion": {
|
|
928
|
-
"
|
|
929
|
-
"const": "openpond.taskFeedback.v1"
|
|
928
|
+
"$ref": "#/$defs/__schema89"
|
|
930
929
|
},
|
|
931
930
|
"sourceId": {
|
|
932
931
|
"$ref": "#/$defs/__schema0"
|
|
@@ -941,34 +940,19 @@
|
|
|
941
940
|
"$ref": "#/$defs/__schema0"
|
|
942
941
|
},
|
|
943
942
|
"expectedEvidenceHash": {
|
|
944
|
-
"
|
|
945
|
-
{
|
|
946
|
-
"$ref": "#/$defs/__schema2"
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
"type": "null"
|
|
950
|
-
}
|
|
951
|
-
]
|
|
943
|
+
"$ref": "#/$defs/__schema90"
|
|
952
944
|
},
|
|
953
945
|
"occurredAt": {
|
|
954
946
|
"$ref": "#/$defs/__schema3"
|
|
955
947
|
},
|
|
956
948
|
"kind": {
|
|
957
|
-
"
|
|
958
|
-
"enum": [
|
|
959
|
-
"outcome",
|
|
960
|
-
"target_correction",
|
|
961
|
-
"ground_truth_correction",
|
|
962
|
-
"input_correction",
|
|
963
|
-
"family_resolution"
|
|
964
|
-
]
|
|
949
|
+
"$ref": "#/$defs/__schema91"
|
|
965
950
|
},
|
|
966
951
|
"value": {
|
|
967
952
|
"$ref": "#/$defs/__schema87"
|
|
968
953
|
},
|
|
969
954
|
"note": {
|
|
970
|
-
"
|
|
971
|
-
"maxLength": 20000
|
|
955
|
+
"$ref": "#/$defs/__schema92"
|
|
972
956
|
}
|
|
973
957
|
},
|
|
974
958
|
"required": [
|
|
@@ -1521,6 +1505,37 @@
|
|
|
1521
1505
|
"false",
|
|
1522
1506
|
"any"
|
|
1523
1507
|
]
|
|
1508
|
+
},
|
|
1509
|
+
"sourceLabel": {
|
|
1510
|
+
"type": "object",
|
|
1511
|
+
"properties": {
|
|
1512
|
+
"evidence": {
|
|
1513
|
+
"$ref": "#/$defs/__schema1"
|
|
1514
|
+
},
|
|
1515
|
+
"feedback": {
|
|
1516
|
+
"type": "object",
|
|
1517
|
+
"properties": {
|
|
1518
|
+
"id": {
|
|
1519
|
+
"$ref": "#/$defs/__schema0"
|
|
1520
|
+
},
|
|
1521
|
+
"revision": {
|
|
1522
|
+
"type": "integer",
|
|
1523
|
+
"exclusiveMinimum": 0,
|
|
1524
|
+
"maximum": 9007199254740991
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
"required": [
|
|
1528
|
+
"id",
|
|
1529
|
+
"revision"
|
|
1530
|
+
],
|
|
1531
|
+
"additionalProperties": false
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"required": [
|
|
1535
|
+
"evidence",
|
|
1536
|
+
"feedback"
|
|
1537
|
+
],
|
|
1538
|
+
"additionalProperties": false
|
|
1524
1539
|
}
|
|
1525
1540
|
},
|
|
1526
1541
|
"required": [
|
|
@@ -3199,6 +3214,34 @@
|
|
|
3199
3214
|
}
|
|
3200
3215
|
}
|
|
3201
3216
|
]
|
|
3217
|
+
},
|
|
3218
|
+
"__schema89": {
|
|
3219
|
+
"type": "string",
|
|
3220
|
+
"const": "openpond.taskFeedback.v1"
|
|
3221
|
+
},
|
|
3222
|
+
"__schema90": {
|
|
3223
|
+
"anyOf": [
|
|
3224
|
+
{
|
|
3225
|
+
"$ref": "#/$defs/__schema2"
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"type": "null"
|
|
3229
|
+
}
|
|
3230
|
+
]
|
|
3231
|
+
},
|
|
3232
|
+
"__schema91": {
|
|
3233
|
+
"type": "string",
|
|
3234
|
+
"enum": [
|
|
3235
|
+
"outcome",
|
|
3236
|
+
"target_correction",
|
|
3237
|
+
"ground_truth_correction",
|
|
3238
|
+
"input_correction",
|
|
3239
|
+
"family_resolution"
|
|
3240
|
+
]
|
|
3241
|
+
},
|
|
3242
|
+
"__schema92": {
|
|
3243
|
+
"type": "string",
|
|
3244
|
+
"maxLength": 20000
|
|
3202
3245
|
}
|
|
3203
3246
|
},
|
|
3204
3247
|
"$id": "urn:openpond:learning:v1:command-request",
|
|
@@ -625,6 +625,37 @@
|
|
|
625
625
|
"false",
|
|
626
626
|
"any"
|
|
627
627
|
]
|
|
628
|
+
},
|
|
629
|
+
"sourceLabel": {
|
|
630
|
+
"type": "object",
|
|
631
|
+
"properties": {
|
|
632
|
+
"evidence": {
|
|
633
|
+
"$ref": "#/$defs/__schema2"
|
|
634
|
+
},
|
|
635
|
+
"feedback": {
|
|
636
|
+
"type": "object",
|
|
637
|
+
"properties": {
|
|
638
|
+
"id": {
|
|
639
|
+
"$ref": "#/$defs/__schema0"
|
|
640
|
+
},
|
|
641
|
+
"revision": {
|
|
642
|
+
"type": "integer",
|
|
643
|
+
"exclusiveMinimum": 0,
|
|
644
|
+
"maximum": 9007199254740991
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"required": [
|
|
648
|
+
"id",
|
|
649
|
+
"revision"
|
|
650
|
+
],
|
|
651
|
+
"additionalProperties": false
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"required": [
|
|
655
|
+
"evidence",
|
|
656
|
+
"feedback"
|
|
657
|
+
],
|
|
658
|
+
"additionalProperties": false
|
|
628
659
|
}
|
|
629
660
|
},
|
|
630
661
|
"required": [
|
|
@@ -3,22 +3,60 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"properties": {
|
|
5
5
|
"schemaVersion": {
|
|
6
|
-
"
|
|
7
|
-
"const": "openpond.taskFeedback.v1"
|
|
6
|
+
"$ref": "#/$defs/__schema0"
|
|
8
7
|
},
|
|
9
8
|
"sourceId": {
|
|
10
|
-
"$ref": "#/$defs/
|
|
9
|
+
"$ref": "#/$defs/__schema1"
|
|
11
10
|
},
|
|
12
11
|
"idempotencyKey": {
|
|
13
|
-
"$ref": "#/$defs/
|
|
12
|
+
"$ref": "#/$defs/__schema1"
|
|
14
13
|
},
|
|
15
14
|
"exampleId": {
|
|
16
|
-
"$ref": "#/$defs/
|
|
15
|
+
"$ref": "#/$defs/__schema1"
|
|
17
16
|
},
|
|
18
17
|
"attemptId": {
|
|
19
|
-
"$ref": "#/$defs/
|
|
18
|
+
"$ref": "#/$defs/__schema1"
|
|
20
19
|
},
|
|
21
20
|
"expectedEvidenceHash": {
|
|
21
|
+
"$ref": "#/$defs/__schema2"
|
|
22
|
+
},
|
|
23
|
+
"occurredAt": {
|
|
24
|
+
"$ref": "#/$defs/__schema3"
|
|
25
|
+
},
|
|
26
|
+
"kind": {
|
|
27
|
+
"$ref": "#/$defs/__schema4"
|
|
28
|
+
},
|
|
29
|
+
"value": {
|
|
30
|
+
"$ref": "#/$defs/__schema5"
|
|
31
|
+
},
|
|
32
|
+
"note": {
|
|
33
|
+
"$ref": "#/$defs/__schema7"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"schemaVersion",
|
|
38
|
+
"sourceId",
|
|
39
|
+
"idempotencyKey",
|
|
40
|
+
"exampleId",
|
|
41
|
+
"attemptId",
|
|
42
|
+
"expectedEvidenceHash",
|
|
43
|
+
"occurredAt",
|
|
44
|
+
"kind",
|
|
45
|
+
"value",
|
|
46
|
+
"note"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"$defs": {
|
|
50
|
+
"__schema0": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"const": "openpond.taskFeedback.v1"
|
|
53
|
+
},
|
|
54
|
+
"__schema1": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"minLength": 1,
|
|
57
|
+
"maxLength": 240
|
|
58
|
+
},
|
|
59
|
+
"__schema2": {
|
|
22
60
|
"anyOf": [
|
|
23
61
|
{
|
|
24
62
|
"type": "string",
|
|
@@ -29,12 +67,12 @@
|
|
|
29
67
|
}
|
|
30
68
|
]
|
|
31
69
|
},
|
|
32
|
-
"
|
|
70
|
+
"__schema3": {
|
|
33
71
|
"type": "string",
|
|
34
72
|
"format": "date-time",
|
|
35
73
|
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
36
74
|
},
|
|
37
|
-
"
|
|
75
|
+
"__schema4": {
|
|
38
76
|
"type": "string",
|
|
39
77
|
"enum": [
|
|
40
78
|
"outcome",
|
|
@@ -44,40 +82,16 @@
|
|
|
44
82
|
"family_resolution"
|
|
45
83
|
]
|
|
46
84
|
},
|
|
47
|
-
"
|
|
85
|
+
"__schema5": {
|
|
48
86
|
"type": "object",
|
|
49
87
|
"propertyNames": {
|
|
50
88
|
"type": "string"
|
|
51
89
|
},
|
|
52
90
|
"additionalProperties": {
|
|
53
|
-
"$ref": "#/$defs/
|
|
91
|
+
"$ref": "#/$defs/__schema6"
|
|
54
92
|
}
|
|
55
93
|
},
|
|
56
|
-
"
|
|
57
|
-
"type": "string",
|
|
58
|
-
"maxLength": 20000
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"required": [
|
|
62
|
-
"schemaVersion",
|
|
63
|
-
"sourceId",
|
|
64
|
-
"idempotencyKey",
|
|
65
|
-
"exampleId",
|
|
66
|
-
"attemptId",
|
|
67
|
-
"expectedEvidenceHash",
|
|
68
|
-
"occurredAt",
|
|
69
|
-
"kind",
|
|
70
|
-
"value",
|
|
71
|
-
"note"
|
|
72
|
-
],
|
|
73
|
-
"additionalProperties": false,
|
|
74
|
-
"$defs": {
|
|
75
|
-
"__schema0": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"minLength": 1,
|
|
78
|
-
"maxLength": 240
|
|
79
|
-
},
|
|
80
|
-
"__schema1": {
|
|
94
|
+
"__schema6": {
|
|
81
95
|
"anyOf": [
|
|
82
96
|
{
|
|
83
97
|
"type": "string"
|
|
@@ -94,7 +108,7 @@
|
|
|
94
108
|
{
|
|
95
109
|
"type": "array",
|
|
96
110
|
"items": {
|
|
97
|
-
"$ref": "#/$defs/
|
|
111
|
+
"$ref": "#/$defs/__schema6"
|
|
98
112
|
}
|
|
99
113
|
},
|
|
100
114
|
{
|
|
@@ -103,10 +117,14 @@
|
|
|
103
117
|
"type": "string"
|
|
104
118
|
},
|
|
105
119
|
"additionalProperties": {
|
|
106
|
-
"$ref": "#/$defs/
|
|
120
|
+
"$ref": "#/$defs/__schema6"
|
|
107
121
|
}
|
|
108
122
|
}
|
|
109
123
|
]
|
|
124
|
+
},
|
|
125
|
+
"__schema7": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"maxLength": 20000
|
|
110
128
|
}
|
|
111
129
|
},
|
|
112
130
|
"$id": "urn:openpond:learning:v1:feedback-submission",
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"type": "object",
|
|
14
14
|
"properties": {
|
|
15
15
|
"schemaVersion": {
|
|
16
|
-
"
|
|
17
|
-
"const": "openpond.taskFeedback.v1"
|
|
16
|
+
"$ref": "#/$defs/__schema1"
|
|
18
17
|
},
|
|
19
18
|
"sourceId": {
|
|
20
19
|
"$ref": "#/$defs/__schema0"
|
|
@@ -29,40 +28,19 @@
|
|
|
29
28
|
"$ref": "#/$defs/__schema0"
|
|
30
29
|
},
|
|
31
30
|
"expectedEvidenceHash": {
|
|
32
|
-
"
|
|
33
|
-
{
|
|
34
|
-
"$ref": "#/$defs/__schema1"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "null"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
31
|
+
"$ref": "#/$defs/__schema2"
|
|
40
32
|
},
|
|
41
33
|
"occurredAt": {
|
|
42
|
-
"$ref": "#/$defs/
|
|
34
|
+
"$ref": "#/$defs/__schema4"
|
|
43
35
|
},
|
|
44
36
|
"kind": {
|
|
45
|
-
"
|
|
46
|
-
"enum": [
|
|
47
|
-
"outcome",
|
|
48
|
-
"target_correction",
|
|
49
|
-
"ground_truth_correction",
|
|
50
|
-
"input_correction",
|
|
51
|
-
"family_resolution"
|
|
52
|
-
]
|
|
37
|
+
"$ref": "#/$defs/__schema5"
|
|
53
38
|
},
|
|
54
39
|
"value": {
|
|
55
|
-
"
|
|
56
|
-
"propertyNames": {
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
|
-
"additionalProperties": {
|
|
60
|
-
"$ref": "#/$defs/__schema3"
|
|
61
|
-
}
|
|
40
|
+
"$ref": "#/$defs/__schema6"
|
|
62
41
|
},
|
|
63
42
|
"note": {
|
|
64
|
-
"
|
|
65
|
-
"maxLength": 20000
|
|
43
|
+
"$ref": "#/$defs/__schema8"
|
|
66
44
|
}
|
|
67
45
|
},
|
|
68
46
|
"required": [
|
|
@@ -92,7 +70,7 @@
|
|
|
92
70
|
"evidence": {
|
|
93
71
|
"anyOf": [
|
|
94
72
|
{
|
|
95
|
-
"$ref": "#/$defs/
|
|
73
|
+
"$ref": "#/$defs/__schema9"
|
|
96
74
|
},
|
|
97
75
|
{
|
|
98
76
|
"type": "null"
|
|
@@ -100,13 +78,53 @@
|
|
|
100
78
|
]
|
|
101
79
|
},
|
|
102
80
|
"createdAt": {
|
|
103
|
-
"$ref": "#/$defs/
|
|
81
|
+
"$ref": "#/$defs/__schema4"
|
|
104
82
|
},
|
|
105
83
|
"revision": {
|
|
106
84
|
"type": "integer",
|
|
107
85
|
"exclusiveMinimum": 0,
|
|
108
86
|
"maximum": 9007199254740991
|
|
109
87
|
},
|
|
88
|
+
"submittedBy": {
|
|
89
|
+
"default": null,
|
|
90
|
+
"anyOf": [
|
|
91
|
+
{
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"id": {
|
|
95
|
+
"$ref": "#/$defs/__schema0"
|
|
96
|
+
},
|
|
97
|
+
"role": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"enum": [
|
|
100
|
+
"editor",
|
|
101
|
+
"reviewer",
|
|
102
|
+
"source"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"sourceId": {
|
|
106
|
+
"anyOf": [
|
|
107
|
+
{
|
|
108
|
+
"$ref": "#/$defs/__schema0"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"type": "null"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"id",
|
|
118
|
+
"role",
|
|
119
|
+
"sourceId"
|
|
120
|
+
],
|
|
121
|
+
"additionalProperties": false
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "null"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
110
128
|
"review": {
|
|
111
129
|
"default": null,
|
|
112
130
|
"anyOf": [
|
|
@@ -119,7 +137,7 @@
|
|
|
119
137
|
"decision": {
|
|
120
138
|
"anyOf": [
|
|
121
139
|
{
|
|
122
|
-
"$ref": "#/$defs/
|
|
140
|
+
"$ref": "#/$defs/__schema9"
|
|
123
141
|
},
|
|
124
142
|
{
|
|
125
143
|
"type": "null"
|
|
@@ -131,7 +149,7 @@
|
|
|
131
149
|
"maxLength": 20000
|
|
132
150
|
},
|
|
133
151
|
"resolvedAt": {
|
|
134
|
-
"$ref": "#/$defs/
|
|
152
|
+
"$ref": "#/$defs/__schema4"
|
|
135
153
|
}
|
|
136
154
|
},
|
|
137
155
|
"required": [
|
|
@@ -156,6 +174,7 @@
|
|
|
156
174
|
"evidence",
|
|
157
175
|
"createdAt",
|
|
158
176
|
"revision",
|
|
177
|
+
"submittedBy",
|
|
159
178
|
"review"
|
|
160
179
|
],
|
|
161
180
|
"additionalProperties": false,
|
|
@@ -167,14 +186,47 @@
|
|
|
167
186
|
},
|
|
168
187
|
"__schema1": {
|
|
169
188
|
"type": "string",
|
|
170
|
-
"
|
|
189
|
+
"const": "openpond.taskFeedback.v1"
|
|
171
190
|
},
|
|
172
191
|
"__schema2": {
|
|
192
|
+
"anyOf": [
|
|
193
|
+
{
|
|
194
|
+
"$ref": "#/$defs/__schema3"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "null"
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"__schema3": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
204
|
+
},
|
|
205
|
+
"__schema4": {
|
|
173
206
|
"type": "string",
|
|
174
207
|
"format": "date-time",
|
|
175
208
|
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
176
209
|
},
|
|
177
|
-
"
|
|
210
|
+
"__schema5": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"enum": [
|
|
213
|
+
"outcome",
|
|
214
|
+
"target_correction",
|
|
215
|
+
"ground_truth_correction",
|
|
216
|
+
"input_correction",
|
|
217
|
+
"family_resolution"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
"__schema6": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"propertyNames": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"additionalProperties": {
|
|
226
|
+
"$ref": "#/$defs/__schema7"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"__schema7": {
|
|
178
230
|
"anyOf": [
|
|
179
231
|
{
|
|
180
232
|
"type": "string"
|
|
@@ -191,7 +243,7 @@
|
|
|
191
243
|
{
|
|
192
244
|
"type": "array",
|
|
193
245
|
"items": {
|
|
194
|
-
"$ref": "#/$defs/
|
|
246
|
+
"$ref": "#/$defs/__schema7"
|
|
195
247
|
}
|
|
196
248
|
},
|
|
197
249
|
{
|
|
@@ -200,19 +252,23 @@
|
|
|
200
252
|
"type": "string"
|
|
201
253
|
},
|
|
202
254
|
"additionalProperties": {
|
|
203
|
-
"$ref": "#/$defs/
|
|
255
|
+
"$ref": "#/$defs/__schema7"
|
|
204
256
|
}
|
|
205
257
|
}
|
|
206
258
|
]
|
|
207
259
|
},
|
|
208
|
-
"
|
|
260
|
+
"__schema8": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"maxLength": 20000
|
|
263
|
+
},
|
|
264
|
+
"__schema9": {
|
|
209
265
|
"type": "object",
|
|
210
266
|
"properties": {
|
|
211
267
|
"id": {
|
|
212
268
|
"$ref": "#/$defs/__schema0"
|
|
213
269
|
},
|
|
214
270
|
"contentHash": {
|
|
215
|
-
"$ref": "#/$defs/
|
|
271
|
+
"$ref": "#/$defs/__schema3"
|
|
216
272
|
},
|
|
217
273
|
"revision": {
|
|
218
274
|
"type": "integer",
|