@openpond/evals 0.10.1 → 0.10.3
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/LEARNING.md +83 -0
- package/dist/learning/batch-service.js +44 -0
- package/dist/learning/contracts.js +2 -1
- package/dist/learning/index.js +4 -0
- package/dist/learning/iteration-candidate-decision.js +51 -0
- package/dist/learning/iteration-dispatch-commands.js +31 -0
- package/dist/learning/iteration-dispatch-contracts.js +73 -0
- package/dist/learning/iteration-dispatch-worker.js +178 -0
- package/dist/learning/iteration-eligibility.js +76 -0
- package/dist/learning/iteration-reservation-cancellation.js +31 -0
- package/dist/learning/iteration-reservation-contracts.js +57 -0
- package/dist/learning/iteration-reservation-service.js +106 -0
- package/dist/learning/operations.js +6 -1
- package/dist/learning/repository.js +4 -0
- package/dist/learning/service.js +19 -43
- package/dist/types/learning/batch-service.d.ts +8 -0
- package/dist/types/learning/batch-service.d.ts.map +1 -0
- package/dist/types/learning/contracts.d.ts +16 -0
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/index.d.ts +4 -0
- package/dist/types/learning/index.d.ts.map +1 -1
- package/dist/types/learning/iteration-candidate-decision.d.ts +94 -0
- package/dist/types/learning/iteration-candidate-decision.d.ts.map +1 -0
- package/dist/types/learning/iteration-dispatch-commands.d.ts +8 -0
- package/dist/types/learning/iteration-dispatch-commands.d.ts.map +1 -0
- package/dist/types/learning/iteration-dispatch-contracts.d.ts +93 -0
- package/dist/types/learning/iteration-dispatch-contracts.d.ts.map +1 -0
- package/dist/types/learning/iteration-dispatch-worker.d.ts +35 -0
- package/dist/types/learning/iteration-dispatch-worker.d.ts.map +1 -0
- package/dist/types/learning/iteration-eligibility.d.ts +18 -0
- package/dist/types/learning/iteration-eligibility.d.ts.map +1 -0
- package/dist/types/learning/iteration-reservation-cancellation.d.ts +8 -0
- package/dist/types/learning/iteration-reservation-cancellation.d.ts.map +1 -0
- package/dist/types/learning/iteration-reservation-contracts.d.ts +90 -0
- package/dist/types/learning/iteration-reservation-contracts.d.ts.map +1 -0
- package/dist/types/learning/iteration-reservation-service.d.ts +9 -0
- package/dist/types/learning/iteration-reservation-service.d.ts.map +1 -0
- package/dist/types/learning/operations.d.ts +64 -0
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +126 -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 +156 -0
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/learning/v1/chain.schema.json +72 -0
- package/schemas/learning/v1/command-request.schema.json +374 -233
- package/schemas/learning/v1/consumption.schema.json +77 -0
- package/schemas/learning/v1/dispatch.schema.json +338 -0
- package/schemas/learning/v1/iteration.schema.json +15 -1
- package/schemas/learning/v1/read-request.schema.json +4 -0
- package/schemas/learning/v1/reservation.schema.json +201 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type LearningIteration, type LearningPolicy, type TaskBatch } from "./contracts.js";
|
|
2
|
+
import { type LearningIterationDispatch, type LearningIterationObservation, type LearningIterationSubmission } from "./iteration-dispatch-contracts.js";
|
|
3
|
+
import { type LearningRepository } from "./repository.js";
|
|
4
|
+
export type LearningIterationExecutionContext = {
|
|
5
|
+
scope: string;
|
|
6
|
+
dispatch: LearningIterationDispatch;
|
|
7
|
+
iteration: LearningIteration;
|
|
8
|
+
policy: LearningPolicy;
|
|
9
|
+
batch: TaskBatch;
|
|
10
|
+
signal: AbortSignal;
|
|
11
|
+
};
|
|
12
|
+
export interface LearningIterationExecutor {
|
|
13
|
+
/** Resolve immutable inputs and validate compatibility. Must not launch compute. */
|
|
14
|
+
prepare(input: LearningIterationExecutionContext): Promise<LearningIterationSubmission>;
|
|
15
|
+
/** Return the existing execution under dispatch.id; null means not found.
|
|
16
|
+
* An unavailable owner must throw, never report absence. */
|
|
17
|
+
reconcile(input: LearningIterationExecutionContext): Promise<LearningIterationObservation | null>;
|
|
18
|
+
/** Idempotently submit exactly dispatch.submission under dispatch.id, across
|
|
19
|
+
* crashes, lease owners and retries. Never create a different Job on retry. */
|
|
20
|
+
submit(input: LearningIterationExecutionContext): Promise<LearningIterationObservation>;
|
|
21
|
+
/** Cancel by dispatch identity, including an ambiguous initial submission.
|
|
22
|
+
* Terminal confirmation MUST fence late submits under that identity, including
|
|
23
|
+
* when no Job was created. A network abort alone is not cleanup confirmation. */
|
|
24
|
+
cancel(input: LearningIterationExecutionContext): Promise<LearningIterationObservation>;
|
|
25
|
+
}
|
|
26
|
+
export declare function createLearningIterationWorker(repository: LearningRepository, executor: LearningIterationExecutor, options: {
|
|
27
|
+
workerId: string;
|
|
28
|
+
executionOwner: LearningPolicy["executionOwner"];
|
|
29
|
+
now?: () => string;
|
|
30
|
+
leaseMs?: number;
|
|
31
|
+
requestTimeoutMs?: number;
|
|
32
|
+
}): {
|
|
33
|
+
run: (scope: string, iterationId: string) => Promise<LearningIteration>;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=iteration-dispatch-worker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iteration-dispatch-worker.d.ts","sourceRoot":"","sources":["../../../../../src/learning/iteration-dispatch-worker.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGtH,OAAO,EAEL,KAAK,yBAAyB,EAAE,KAAK,4BAA4B,EAAE,KAAK,2BAA2B,EACpG,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAmD,KAAK,kBAAkB,EAA4B,MAAM,iBAAiB,CAAC;AAErI,MAAM,MAAM,iCAAiC,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,yBAAyB,CAAC;IACpC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AACF,MAAM,WAAW,yBAAyB;IACxC,oFAAoF;IACpF,OAAO,CAAC,KAAK,EAAE,iCAAiC,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxF;gEAC4D;IAC5D,SAAS,CAAC,KAAK,EAAE,iCAAiC,GAAG,OAAO,CAAC,4BAA4B,GAAG,IAAI,CAAC,CAAC;IAClG;mFAC+E;IAC/E,MAAM,CAAC,KAAK,EAAE,iCAAiC,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACxF;;qFAEiF;IACjF,MAAM,CAAC,KAAK,EAAE,iCAAiC,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;CACzF;AAID,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,kBAAkB,EAAE,QAAQ,EAAE,yBAAyB,EAAE,OAAO,EAAE;IAC1H,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,cAAc,CAAC,gBAAgB,CAAC,CAAC;IACjD,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;iBAsF2B,MAAM,eAAe,MAAM,KAAG,OAAO,CAAC,iBAAiB,CAAC;EA8DnF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type LearningPolicy, type TaskAdmissionDecision, type TaskEvidence } from "./contracts.js";
|
|
2
|
+
import { type LearningTransaction } from "./repository.js";
|
|
3
|
+
export declare function learningChainId(modelProjectId: string): string;
|
|
4
|
+
export declare function learningConsumptionId(chainId: string, evidence: TaskEvidence): string;
|
|
5
|
+
export declare function inspectIterationEligibility(transaction: LearningTransaction, policy: LearningPolicy): Promise<{
|
|
6
|
+
counts: {
|
|
7
|
+
eligible: number;
|
|
8
|
+
awaitingReview: number;
|
|
9
|
+
excluded: number;
|
|
10
|
+
consumed: number;
|
|
11
|
+
};
|
|
12
|
+
selected: {
|
|
13
|
+
evidence: TaskEvidence;
|
|
14
|
+
decision: TaskAdmissionDecision;
|
|
15
|
+
}[];
|
|
16
|
+
purpose: "supervised_training" | "reward_training";
|
|
17
|
+
}>;
|
|
18
|
+
//# sourceMappingURL=iteration-eligibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iteration-eligibility.d.ts","sourceRoot":"","sources":["../../../../../src/learning/iteration-eligibility.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgC,KAAK,cAAc,EAAE,KAAK,qBAAqB,EAAkB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGlJ,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE5G,wBAAgB,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,GAAG,MAAM,CAErF;AAED,wBAAsB,2BAA2B,CAAC,WAAW,EAAE,mBAAmB,EAAE,MAAM,EAAE,cAAc;;;;;;;;kBAY5E,YAAY;kBAAY,qBAAqB;;;GA2C1E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LearningCommand } from "./operations.js";
|
|
2
|
+
import { type LearningResourcePointer, type LearningTransaction } from "./repository.js";
|
|
3
|
+
/** Only a reservation that has never been dispatched can release spend locally.
|
|
4
|
+
* Submitted executions require authoritative cancellation and settlement. */
|
|
5
|
+
export declare function cancelLearningIterationReservation(transaction: LearningTransaction, input: Extract<LearningCommand, {
|
|
6
|
+
action: "cancel_iteration_reservation";
|
|
7
|
+
}>, now: string): Promise<LearningResourcePointer[]>;
|
|
8
|
+
//# sourceMappingURL=iteration-reservation-cancellation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iteration-reservation-cancellation.d.ts","sourceRoot":"","sources":["../../../../../src/learning/iteration-reservation-cancellation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAkD,KAAK,uBAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEzI;6EAC6E;AAC7E,wBAAsB,kCAAkC,CACtD,WAAW,EAAE,mBAAmB,EAChC,KAAK,EAAE,OAAO,CAAC,eAAe,EAAE;IAAE,MAAM,EAAE,8BAA8B,CAAA;CAAE,CAAC,EAC3E,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAsBpC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LearningIterationTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
kind: z.ZodLiteral<"manual">;
|
|
4
|
+
identity: z.ZodString;
|
|
5
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6
|
+
kind: z.ZodLiteral<"schedule">;
|
|
7
|
+
scheduledAt: z.ZodString;
|
|
8
|
+
}, z.core.$strict>], "kind">;
|
|
9
|
+
/** Stable across policy edits: a Model owns one learning chain in its scope. */
|
|
10
|
+
export declare const LearningChainSchema: z.ZodObject<{
|
|
11
|
+
schemaVersion: z.ZodLiteral<"openpond.learningChain.v1">;
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
revision: z.ZodNumber;
|
|
14
|
+
modelProjectId: z.ZodString;
|
|
15
|
+
activeIterationId: z.ZodNullable<z.ZodString>;
|
|
16
|
+
latestIterationId: z.ZodString;
|
|
17
|
+
lastReservedAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
updatedAt: z.ZodString;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export declare const LearningEligibilityCountsSchema: z.ZodObject<{
|
|
21
|
+
eligible: z.ZodNumber;
|
|
22
|
+
awaitingReview: z.ZodNumber;
|
|
23
|
+
excluded: z.ZodNumber;
|
|
24
|
+
consumed: z.ZodNumber;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
/** Immutable evidence consumption survives rejection and policy revision changes.
|
|
27
|
+
* A corrected evidence revision is new data; reapproving the same revision isn't. */
|
|
28
|
+
export declare const LearningConsumptionSchema: z.ZodObject<{
|
|
29
|
+
schemaVersion: z.ZodLiteral<"openpond.learningConsumption.v1">;
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
revision: z.ZodLiteral<1>;
|
|
32
|
+
chainId: z.ZodString;
|
|
33
|
+
iterationId: z.ZodString;
|
|
34
|
+
evidence: z.ZodObject<{
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
contentHash: z.ZodString;
|
|
37
|
+
revision: z.ZodNumber;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
decision: z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
contentHash: z.ZodString;
|
|
42
|
+
revision: z.ZodNumber;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
reservedAt: z.ZodString;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
/** Dispatch must reconcile this reservation, never reserve a second batch on retry. */
|
|
47
|
+
export declare const LearningIterationReservationSchema: z.ZodObject<{
|
|
48
|
+
schemaVersion: z.ZodLiteral<"openpond.learningIterationReservation.v1">;
|
|
49
|
+
id: z.ZodString;
|
|
50
|
+
revision: z.ZodNumber;
|
|
51
|
+
chainId: z.ZodString;
|
|
52
|
+
iterationId: z.ZodString;
|
|
53
|
+
policy: z.ZodObject<{
|
|
54
|
+
id: z.ZodString;
|
|
55
|
+
contentHash: z.ZodString;
|
|
56
|
+
revision: z.ZodNumber;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
59
|
+
kind: z.ZodLiteral<"manual">;
|
|
60
|
+
identity: z.ZodString;
|
|
61
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
62
|
+
kind: z.ZodLiteral<"schedule">;
|
|
63
|
+
scheduledAt: z.ZodString;
|
|
64
|
+
}, z.core.$strict>], "kind">;
|
|
65
|
+
requestHash: z.ZodString;
|
|
66
|
+
outcome: z.ZodEnum<{
|
|
67
|
+
waiting_for_data: "waiting_for_data";
|
|
68
|
+
waiting_for_review: "waiting_for_review";
|
|
69
|
+
reserved: "reserved";
|
|
70
|
+
}>;
|
|
71
|
+
counts: z.ZodObject<{
|
|
72
|
+
eligible: z.ZodNumber;
|
|
73
|
+
awaitingReview: z.ZodNumber;
|
|
74
|
+
excluded: z.ZodNumber;
|
|
75
|
+
consumed: z.ZodNumber;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
budget: z.ZodObject<{
|
|
78
|
+
maximumSpendUsd: z.ZodNumber;
|
|
79
|
+
reservedSpendUsd: z.ZodNumber;
|
|
80
|
+
settledSpendUsd: z.ZodNumber;
|
|
81
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
createdAt: z.ZodString;
|
|
84
|
+
updatedAt: z.ZodString;
|
|
85
|
+
}, z.core.$strict>;
|
|
86
|
+
export type LearningChain = z.infer<typeof LearningChainSchema>;
|
|
87
|
+
export type LearningConsumption = z.infer<typeof LearningConsumptionSchema>;
|
|
88
|
+
export type LearningIterationReservation = z.infer<typeof LearningIterationReservationSchema>;
|
|
89
|
+
export type LearningIterationTrigger = z.infer<typeof LearningIterationTriggerSchema>;
|
|
90
|
+
//# sourceMappingURL=iteration-reservation-contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iteration-reservation-contracts.d.ts","sourceRoot":"","sources":["../../../../../src/learning/iteration-reservation-contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,8BAA8B;;;;;;4BAGzC,CAAC;AAEH,gFAAgF;AAChF,eAAO,MAAM,mBAAmB;;;;;;;;;kBASrB,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;;;;kBAKjC,CAAC;AAEZ;qFACqF;AACrF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;kBAS3B,CAAC;AAEZ,uFAAuF;AACvF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmBpC,CAAC;AAEZ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LearningCommand } from "./operations.js";
|
|
2
|
+
import { type LearningResourcePointer, type LearningTransaction } from "./repository.js";
|
|
3
|
+
type ReserveCommand = Extract<LearningCommand, {
|
|
4
|
+
action: "reserve_iteration";
|
|
5
|
+
}>;
|
|
6
|
+
/** The caller owns one scope-serialized transaction. This never submits a Job. */
|
|
7
|
+
export declare function reserveLearningIteration(transaction: LearningTransaction, input: ReserveCommand, actorId: string, now: string): Promise<LearningResourcePointer[]>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=iteration-reservation-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iteration-reservation-service.d.ts","sourceRoot":"","sources":["../../../../../src/learning/iteration-reservation-service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAmD,KAAK,uBAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE1I,KAAK,cAAc,GAAG,OAAO,CAAC,eAAe,EAAE;IAAE,MAAM,EAAE,mBAAmB,CAAA;CAAE,CAAC,CAAC;AAEhF,kFAAkF;AAClF,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,mBAAmB,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CA0ExK"}
|
|
@@ -1414,7 +1414,71 @@ export declare const CancelRewardCheckCommandSchema: z.ZodObject<{
|
|
|
1414
1414
|
checkId: z.ZodString;
|
|
1415
1415
|
expectedRevision: z.ZodNumber;
|
|
1416
1416
|
}, z.core.$strict>;
|
|
1417
|
+
export declare const ReserveLearningIterationCommandSchema: z.ZodObject<{
|
|
1418
|
+
operationId: z.ZodString;
|
|
1419
|
+
action: z.ZodLiteral<"reserve_iteration">;
|
|
1420
|
+
policy: z.ZodObject<{
|
|
1421
|
+
id: z.ZodString;
|
|
1422
|
+
contentHash: z.ZodString;
|
|
1423
|
+
revision: z.ZodNumber;
|
|
1424
|
+
}, z.core.$strict>;
|
|
1425
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1426
|
+
kind: z.ZodLiteral<"manual">;
|
|
1427
|
+
identity: z.ZodString;
|
|
1428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1429
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1430
|
+
scheduledAt: z.ZodString;
|
|
1431
|
+
}, z.core.$strict>], "kind">;
|
|
1432
|
+
}, z.core.$strict>;
|
|
1433
|
+
export declare const CancelLearningIterationReservationCommandSchema: z.ZodObject<{
|
|
1434
|
+
operationId: z.ZodString;
|
|
1435
|
+
action: z.ZodLiteral<"cancel_iteration_reservation">;
|
|
1436
|
+
iterationId: z.ZodString;
|
|
1437
|
+
expectedRevision: z.ZodNumber;
|
|
1438
|
+
}, z.core.$strict>;
|
|
1439
|
+
export declare const CancelLearningIterationCommandSchema: z.ZodObject<{
|
|
1440
|
+
operationId: z.ZodString;
|
|
1441
|
+
action: z.ZodLiteral<"cancel_iteration">;
|
|
1442
|
+
iterationId: z.ZodString;
|
|
1443
|
+
expectedRevision: z.ZodNumber;
|
|
1444
|
+
}, z.core.$strict>;
|
|
1445
|
+
export declare const RetryLearningIterationDispatchCommandSchema: z.ZodObject<{
|
|
1446
|
+
operationId: z.ZodString;
|
|
1447
|
+
action: z.ZodLiteral<"retry_iteration_dispatch">;
|
|
1448
|
+
iterationId: z.ZodString;
|
|
1449
|
+
expectedRevision: z.ZodNumber;
|
|
1450
|
+
}, z.core.$strict>;
|
|
1417
1451
|
export declare const LearningCommandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1452
|
+
operationId: z.ZodString;
|
|
1453
|
+
action: z.ZodLiteral<"cancel_iteration">;
|
|
1454
|
+
iterationId: z.ZodString;
|
|
1455
|
+
expectedRevision: z.ZodNumber;
|
|
1456
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1457
|
+
operationId: z.ZodString;
|
|
1458
|
+
action: z.ZodLiteral<"retry_iteration_dispatch">;
|
|
1459
|
+
iterationId: z.ZodString;
|
|
1460
|
+
expectedRevision: z.ZodNumber;
|
|
1461
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1462
|
+
operationId: z.ZodString;
|
|
1463
|
+
action: z.ZodLiteral<"cancel_iteration_reservation">;
|
|
1464
|
+
iterationId: z.ZodString;
|
|
1465
|
+
expectedRevision: z.ZodNumber;
|
|
1466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1467
|
+
operationId: z.ZodString;
|
|
1468
|
+
action: z.ZodLiteral<"reserve_iteration">;
|
|
1469
|
+
policy: z.ZodObject<{
|
|
1470
|
+
id: z.ZodString;
|
|
1471
|
+
contentHash: z.ZodString;
|
|
1472
|
+
revision: z.ZodNumber;
|
|
1473
|
+
}, z.core.$strict>;
|
|
1474
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1475
|
+
kind: z.ZodLiteral<"manual">;
|
|
1476
|
+
identity: z.ZodString;
|
|
1477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1478
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1479
|
+
scheduledAt: z.ZodString;
|
|
1480
|
+
}, z.core.$strict>], "kind">;
|
|
1481
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1418
1482
|
operationId: z.ZodString;
|
|
1419
1483
|
action: z.ZodLiteral<"queue_reward_check">;
|
|
1420
1484
|
draft: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../src/learning/operations.ts"],"names":[],"mappings":"
|
|
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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CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -1037,6 +1037,121 @@ export declare const learningResourceSchemas: {
|
|
|
1037
1037
|
}, z.core.$strict>;
|
|
1038
1038
|
contentHash: z.ZodString;
|
|
1039
1039
|
}, z.core.$strict>;
|
|
1040
|
+
readonly chain: z.ZodObject<{
|
|
1041
|
+
schemaVersion: z.ZodLiteral<"openpond.learningChain.v1">;
|
|
1042
|
+
id: z.ZodString;
|
|
1043
|
+
revision: z.ZodNumber;
|
|
1044
|
+
modelProjectId: z.ZodString;
|
|
1045
|
+
activeIterationId: z.ZodNullable<z.ZodString>;
|
|
1046
|
+
latestIterationId: z.ZodString;
|
|
1047
|
+
lastReservedAt: z.ZodNullable<z.ZodString>;
|
|
1048
|
+
updatedAt: z.ZodString;
|
|
1049
|
+
}, z.core.$strict>;
|
|
1050
|
+
readonly consumption: z.ZodObject<{
|
|
1051
|
+
schemaVersion: z.ZodLiteral<"openpond.learningConsumption.v1">;
|
|
1052
|
+
id: z.ZodString;
|
|
1053
|
+
revision: z.ZodLiteral<1>;
|
|
1054
|
+
chainId: z.ZodString;
|
|
1055
|
+
iterationId: z.ZodString;
|
|
1056
|
+
evidence: z.ZodObject<{
|
|
1057
|
+
id: z.ZodString;
|
|
1058
|
+
contentHash: z.ZodString;
|
|
1059
|
+
revision: z.ZodNumber;
|
|
1060
|
+
}, z.core.$strict>;
|
|
1061
|
+
decision: z.ZodObject<{
|
|
1062
|
+
id: z.ZodString;
|
|
1063
|
+
contentHash: z.ZodString;
|
|
1064
|
+
revision: z.ZodNumber;
|
|
1065
|
+
}, z.core.$strict>;
|
|
1066
|
+
reservedAt: z.ZodString;
|
|
1067
|
+
}, z.core.$strict>;
|
|
1068
|
+
readonly reservation: z.ZodObject<{
|
|
1069
|
+
schemaVersion: z.ZodLiteral<"openpond.learningIterationReservation.v1">;
|
|
1070
|
+
id: z.ZodString;
|
|
1071
|
+
revision: z.ZodNumber;
|
|
1072
|
+
chainId: z.ZodString;
|
|
1073
|
+
iterationId: z.ZodString;
|
|
1074
|
+
policy: z.ZodObject<{
|
|
1075
|
+
id: z.ZodString;
|
|
1076
|
+
contentHash: z.ZodString;
|
|
1077
|
+
revision: z.ZodNumber;
|
|
1078
|
+
}, z.core.$strict>;
|
|
1079
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1080
|
+
kind: z.ZodLiteral<"manual">;
|
|
1081
|
+
identity: z.ZodString;
|
|
1082
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1083
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1084
|
+
scheduledAt: z.ZodString;
|
|
1085
|
+
}, z.core.$strict>], "kind">;
|
|
1086
|
+
requestHash: z.ZodString;
|
|
1087
|
+
outcome: z.ZodEnum<{
|
|
1088
|
+
waiting_for_data: "waiting_for_data";
|
|
1089
|
+
waiting_for_review: "waiting_for_review";
|
|
1090
|
+
reserved: "reserved";
|
|
1091
|
+
}>;
|
|
1092
|
+
counts: z.ZodObject<{
|
|
1093
|
+
eligible: z.ZodNumber;
|
|
1094
|
+
awaitingReview: z.ZodNumber;
|
|
1095
|
+
excluded: z.ZodNumber;
|
|
1096
|
+
consumed: z.ZodNumber;
|
|
1097
|
+
}, z.core.$strict>;
|
|
1098
|
+
budget: z.ZodObject<{
|
|
1099
|
+
maximumSpendUsd: z.ZodNumber;
|
|
1100
|
+
reservedSpendUsd: z.ZodNumber;
|
|
1101
|
+
settledSpendUsd: z.ZodNumber;
|
|
1102
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
1103
|
+
}, z.core.$strict>;
|
|
1104
|
+
createdAt: z.ZodString;
|
|
1105
|
+
updatedAt: z.ZodString;
|
|
1106
|
+
}, z.core.$strict>;
|
|
1107
|
+
readonly dispatch: z.ZodObject<{
|
|
1108
|
+
schemaVersion: z.ZodLiteral<"openpond.learningIterationDispatch.v1">;
|
|
1109
|
+
id: z.ZodString;
|
|
1110
|
+
revision: z.ZodNumber;
|
|
1111
|
+
iterationId: z.ZodString;
|
|
1112
|
+
chainId: z.ZodString;
|
|
1113
|
+
policy: z.ZodObject<{
|
|
1114
|
+
id: z.ZodString;
|
|
1115
|
+
contentHash: z.ZodString;
|
|
1116
|
+
revision: z.ZodNumber;
|
|
1117
|
+
}, z.core.$strict>;
|
|
1118
|
+
batch: z.ZodObject<{
|
|
1119
|
+
id: z.ZodString;
|
|
1120
|
+
contentHash: z.ZodString;
|
|
1121
|
+
revision: z.ZodNumber;
|
|
1122
|
+
}, z.core.$strict>;
|
|
1123
|
+
state: z.ZodEnum<{
|
|
1124
|
+
blocked: "blocked";
|
|
1125
|
+
preparing: "preparing";
|
|
1126
|
+
prepared: "prepared";
|
|
1127
|
+
submitted: "submitted";
|
|
1128
|
+
settled: "settled";
|
|
1129
|
+
}>;
|
|
1130
|
+
submission: z.ZodNullable<z.ZodObject<{
|
|
1131
|
+
provider: z.ZodString;
|
|
1132
|
+
protocol: z.ZodString;
|
|
1133
|
+
payload: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1134
|
+
}, z.core.$strict>>;
|
|
1135
|
+
submissionHash: z.ZodNullable<z.ZodString>;
|
|
1136
|
+
submissionStartedAt: z.ZodNullable<z.ZodString>;
|
|
1137
|
+
execution: z.ZodNullable<z.ZodObject<{
|
|
1138
|
+
id: z.ZodString;
|
|
1139
|
+
contentHash: z.ZodString;
|
|
1140
|
+
}, z.core.$strict>>;
|
|
1141
|
+
terminalReceipt: z.ZodNullable<z.ZodObject<{
|
|
1142
|
+
id: z.ZodString;
|
|
1143
|
+
contentHash: z.ZodString;
|
|
1144
|
+
}, z.core.$strict>>;
|
|
1145
|
+
cancelRequestedAt: z.ZodNullable<z.ZodString>;
|
|
1146
|
+
leaseOwner: z.ZodNullable<z.ZodString>;
|
|
1147
|
+
leaseGeneration: z.ZodNumber;
|
|
1148
|
+
leaseExpiresAt: z.ZodNullable<z.ZodString>;
|
|
1149
|
+
consecutiveFailures: z.ZodNumber;
|
|
1150
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
1151
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
1152
|
+
createdAt: z.ZodString;
|
|
1153
|
+
updatedAt: z.ZodString;
|
|
1154
|
+
}, z.core.$strict>;
|
|
1040
1155
|
readonly iteration: z.ZodObject<{
|
|
1041
1156
|
schemaVersion: z.ZodLiteral<"openpond.learningIteration.v1">;
|
|
1042
1157
|
id: z.ZodString;
|
|
@@ -1055,10 +1170,12 @@ export declare const learningResourceSchemas: {
|
|
|
1055
1170
|
waiting_for_data: "waiting_for_data";
|
|
1056
1171
|
waiting_for_review: "waiting_for_review";
|
|
1057
1172
|
ready: "ready";
|
|
1173
|
+
dispatching: "dispatching";
|
|
1058
1174
|
evaluating: "evaluating";
|
|
1059
1175
|
candidate_ready: "candidate_ready";
|
|
1060
1176
|
paused: "paused";
|
|
1061
1177
|
cancelling: "cancelling";
|
|
1178
|
+
completed_without_candidate: "completed_without_candidate";
|
|
1062
1179
|
}>;
|
|
1063
1180
|
triggerIdentity: z.ZodString;
|
|
1064
1181
|
batch: z.ZodNullable<z.ZodObject<{
|
|
@@ -1091,6 +1208,11 @@ export declare const learningResourceSchemas: {
|
|
|
1091
1208
|
id: z.ZodString;
|
|
1092
1209
|
contentHash: z.ZodString;
|
|
1093
1210
|
}, z.core.$strict>>;
|
|
1211
|
+
candidateDecision: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1212
|
+
id: z.ZodString;
|
|
1213
|
+
contentHash: z.ZodString;
|
|
1214
|
+
revision: z.ZodNumber;
|
|
1215
|
+
}, z.core.$strict>>>;
|
|
1094
1216
|
dispatchId: z.ZodString;
|
|
1095
1217
|
retryCount: z.ZodNumber;
|
|
1096
1218
|
spendUsd: z.ZodNumber;
|
|
@@ -1431,6 +1553,10 @@ export declare const LearningResourceKindSchema: z.ZodEnum<{
|
|
|
1431
1553
|
definition: "definition";
|
|
1432
1554
|
draft: "draft";
|
|
1433
1555
|
reward_check: "reward_check";
|
|
1556
|
+
chain: "chain";
|
|
1557
|
+
consumption: "consumption";
|
|
1558
|
+
reservation: "reservation";
|
|
1559
|
+
dispatch: "dispatch";
|
|
1434
1560
|
iteration: "iteration";
|
|
1435
1561
|
package: "package";
|
|
1436
1562
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../../src/learning/repository.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../../src/learning/repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAkO,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1R,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAKlD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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gB,EAAE,MAAM,EAAW,eAAe,EAAE,MAAM;CAI5H;AAED,wBAAsB,uBAAuB,CAAC,CAAC,SAAS,oBAAoB,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAIvL;AACD,wBAAsB,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAKjL;AACD,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEjG;AACD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAEhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../src/learning/service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../src/learning/service.ts"],"names":[],"mappings":"AAYA,OAAO,EAA+Q,KAAK,mBAAmB,EAAwC,MAAM,gBAAgB,CAAC;AAE7W,OAAO,EAAmH,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAgC,KAAK,qBAAqB,EAAE,KAAK,sBAAsB,EAA4B,MAAM,iBAAiB,CAAC;AAK5W,MAAM,MAAM,aAAa,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACtG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