@probemap/shared 0.1.0
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/api/collector.d.ts +535 -0
- package/dist/api/collector.d.ts.map +1 -0
- package/dist/api/collector.js +234 -0
- package/dist/api/collector.js.map +1 -0
- package/dist/api/live.d.ts +245 -0
- package/dist/api/live.d.ts.map +1 -0
- package/dist/api/live.js +32 -0
- package/dist/api/live.js.map +1 -0
- package/dist/change-debug/api.d.ts +215 -0
- package/dist/change-debug/api.d.ts.map +1 -0
- package/dist/change-debug/api.js +32 -0
- package/dist/change-debug/api.js.map +1 -0
- package/dist/change-debug/artifact.d.ts +49 -0
- package/dist/change-debug/artifact.d.ts.map +1 -0
- package/dist/change-debug/artifact.js +11 -0
- package/dist/change-debug/artifact.js.map +1 -0
- package/dist/change-debug/capture.d.ts +413 -0
- package/dist/change-debug/capture.d.ts.map +1 -0
- package/dist/change-debug/capture.js +92 -0
- package/dist/change-debug/capture.js.map +1 -0
- package/dist/change-debug/common.d.ts +23 -0
- package/dist/change-debug/common.d.ts.map +1 -0
- package/dist/change-debug/common.js +34 -0
- package/dist/change-debug/common.js.map +1 -0
- package/dist/change-debug/execution.d.ts +163 -0
- package/dist/change-debug/execution.d.ts.map +1 -0
- package/dist/change-debug/execution.js +56 -0
- package/dist/change-debug/execution.js.map +1 -0
- package/dist/change-debug/experiment.d.ts +482 -0
- package/dist/change-debug/experiment.d.ts.map +1 -0
- package/dist/change-debug/experiment.js +71 -0
- package/dist/change-debug/experiment.js.map +1 -0
- package/dist/change-debug/runner.d.ts +187 -0
- package/dist/change-debug/runner.d.ts.map +1 -0
- package/dist/change-debug/runner.js +77 -0
- package/dist/change-debug/runner.js.map +1 -0
- package/dist/contracts/flow-contract.d.ts +91 -0
- package/dist/contracts/flow-contract.d.ts.map +1 -0
- package/dist/contracts/flow-contract.js +121 -0
- package/dist/contracts/flow-contract.js.map +1 -0
- package/dist/diagnosis/claim.d.ts +28 -0
- package/dist/diagnosis/claim.d.ts.map +1 -0
- package/dist/diagnosis/claim.js +29 -0
- package/dist/diagnosis/claim.js.map +1 -0
- package/dist/diagnosis/engine.d.ts +22 -0
- package/dist/diagnosis/engine.d.ts.map +1 -0
- package/dist/diagnosis/engine.js +179 -0
- package/dist/diagnosis/engine.js.map +1 -0
- package/dist/diagnosis/reproduction-capsule.d.ts +35 -0
- package/dist/diagnosis/reproduction-capsule.d.ts.map +1 -0
- package/dist/diagnosis/reproduction-capsule.js +42 -0
- package/dist/diagnosis/reproduction-capsule.js.map +1 -0
- package/dist/diagnosis/result.d.ts +126 -0
- package/dist/diagnosis/result.d.ts.map +1 -0
- package/dist/diagnosis/result.js +31 -0
- package/dist/diagnosis/result.js.map +1 -0
- package/dist/diagnosis/verification.d.ts +35 -0
- package/dist/diagnosis/verification.d.ts.map +1 -0
- package/dist/diagnosis/verification.js +87 -0
- package/dist/diagnosis/verification.js.map +1 -0
- package/dist/evaluators/builtins.d.ts +20 -0
- package/dist/evaluators/builtins.d.ts.map +1 -0
- package/dist/evaluators/builtins.js +152 -0
- package/dist/evaluators/builtins.js.map +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/integration/conformance.d.ts +84 -0
- package/dist/integration/conformance.d.ts.map +1 -0
- package/dist/integration/conformance.js +25 -0
- package/dist/integration/conformance.js.map +1 -0
- package/dist/integration/profile.d.ts +1294 -0
- package/dist/integration/profile.d.ts.map +1 -0
- package/dist/integration/profile.js +246 -0
- package/dist/integration/profile.js.map +1 -0
- package/dist/onboarding/auth.d.ts +67 -0
- package/dist/onboarding/auth.d.ts.map +1 -0
- package/dist/onboarding/auth.js +52 -0
- package/dist/onboarding/auth.js.map +1 -0
- package/dist/onboarding/contracts.d.ts +535 -0
- package/dist/onboarding/contracts.d.ts.map +1 -0
- package/dist/onboarding/contracts.js +234 -0
- package/dist/onboarding/contracts.js.map +1 -0
- package/dist/onboarding/failure.d.ts +102 -0
- package/dist/onboarding/failure.d.ts.map +1 -0
- package/dist/onboarding/failure.js +57 -0
- package/dist/onboarding/failure.js.map +1 -0
- package/dist/onboarding/index.d.ts +5 -0
- package/dist/onboarding/index.d.ts.map +1 -0
- package/dist/onboarding/index.js +5 -0
- package/dist/onboarding/index.js.map +1 -0
- package/dist/onboarding/state-machine.d.ts +5 -0
- package/dist/onboarding/state-machine.d.ts.map +1 -0
- package/dist/onboarding/state-machine.js +27 -0
- package/dist/onboarding/state-machine.js.map +1 -0
- package/dist/protocol/causal-edge.d.ts +30 -0
- package/dist/protocol/causal-edge.d.ts.map +1 -0
- package/dist/protocol/causal-edge.js +21 -0
- package/dist/protocol/causal-edge.js.map +1 -0
- package/dist/protocol/event-batch.d.ts +102 -0
- package/dist/protocol/event-batch.d.ts.map +1 -0
- package/dist/protocol/event-batch.js +45 -0
- package/dist/protocol/event-batch.js.map +1 -0
- package/dist/protocol/event.d.ts +253 -0
- package/dist/protocol/event.d.ts.map +1 -0
- package/dist/protocol/event.js +93 -0
- package/dist/protocol/event.js.map +1 -0
- package/dist/protocol/file-hint.d.ts +24 -0
- package/dist/protocol/file-hint.d.ts.map +1 -0
- package/dist/protocol/file-hint.js +17 -0
- package/dist/protocol/file-hint.js.map +1 -0
- package/dist/protocol/trace-context.d.ts +21 -0
- package/dist/protocol/trace-context.d.ts.map +1 -0
- package/dist/protocol/trace-context.js +59 -0
- package/dist/protocol/trace-context.js.map +1 -0
- package/dist/protocol/version.d.ts +11 -0
- package/dist/protocol/version.d.ts.map +1 -0
- package/dist/protocol/version.js +28 -0
- package/dist/protocol/version.js.map +1 -0
- package/dist/security/auth.d.ts +120 -0
- package/dist/security/auth.d.ts.map +1 -0
- package/dist/security/auth.js +80 -0
- package/dist/security/auth.js.map +1 -0
- package/dist/serialization/safe-snapshot.d.ts +2 -0
- package/dist/serialization/safe-snapshot.d.ts.map +1 -0
- package/dist/serialization/safe-snapshot.js +67 -0
- package/dist/serialization/safe-snapshot.js.map +1 -0
- package/package.json +25 -0
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const experimentTypeSchema: z.ZodEnum<{
|
|
3
|
+
commit_bisect: "commit_bisect";
|
|
4
|
+
custom_variant: "custom_variant";
|
|
5
|
+
delta_debug: "delta_debug";
|
|
6
|
+
full_change_session: "full_change_session";
|
|
7
|
+
mute_change_group: "mute_change_group";
|
|
8
|
+
mute_file: "mute_file";
|
|
9
|
+
mute_hunk: "mute_hunk";
|
|
10
|
+
mute_symbol: "mute_symbol";
|
|
11
|
+
}>;
|
|
12
|
+
export declare const experimentStatusSchema: z.ZodEnum<{
|
|
13
|
+
building: "building";
|
|
14
|
+
cancel_requested: "cancel_requested";
|
|
15
|
+
canceled: "canceled";
|
|
16
|
+
collecting: "collecting";
|
|
17
|
+
comparing: "comparing";
|
|
18
|
+
completed: "completed";
|
|
19
|
+
draft: "draft";
|
|
20
|
+
failed: "failed";
|
|
21
|
+
inconclusive: "inconclusive";
|
|
22
|
+
preparing: "preparing";
|
|
23
|
+
queued: "queued";
|
|
24
|
+
running: "running";
|
|
25
|
+
}>;
|
|
26
|
+
export declare const oracleTypeSchema: z.ZodEnum<{
|
|
27
|
+
command: "command";
|
|
28
|
+
flow_contract: "flow_contract";
|
|
29
|
+
replay: "replay";
|
|
30
|
+
}>;
|
|
31
|
+
export declare const verificationOracleSchema: z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
version: z.ZodNumber;
|
|
34
|
+
type: z.ZodEnum<{
|
|
35
|
+
command: "command";
|
|
36
|
+
flow_contract: "flow_contract";
|
|
37
|
+
replay: "replay";
|
|
38
|
+
}>;
|
|
39
|
+
commandId: z.ZodOptional<z.ZodString>;
|
|
40
|
+
flowContractVersionId: z.ZodOptional<z.ZodUUID>;
|
|
41
|
+
replayId: z.ZodOptional<z.ZodString>;
|
|
42
|
+
successCriteria: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
43
|
+
maxDurationMs: z.ZodNumber;
|
|
44
|
+
requiredRepetitions: z.ZodNumber;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
export declare const experimentCreateSchema: z.ZodObject<{
|
|
47
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
48
|
+
projectId: z.ZodUUID;
|
|
49
|
+
environmentId: z.ZodOptional<z.ZodUUID>;
|
|
50
|
+
changeSessionId: z.ZodOptional<z.ZodUUID>;
|
|
51
|
+
type: z.ZodEnum<{
|
|
52
|
+
commit_bisect: "commit_bisect";
|
|
53
|
+
custom_variant: "custom_variant";
|
|
54
|
+
delta_debug: "delta_debug";
|
|
55
|
+
full_change_session: "full_change_session";
|
|
56
|
+
mute_change_group: "mute_change_group";
|
|
57
|
+
mute_file: "mute_file";
|
|
58
|
+
mute_hunk: "mute_hunk";
|
|
59
|
+
mute_symbol: "mute_symbol";
|
|
60
|
+
}>;
|
|
61
|
+
baselineRef: z.ZodString;
|
|
62
|
+
baselineCommit: z.ZodString;
|
|
63
|
+
targetRef: z.ZodOptional<z.ZodString>;
|
|
64
|
+
targetCommit: z.ZodOptional<z.ZodString>;
|
|
65
|
+
includedChangeUnits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
66
|
+
type: z.ZodLiteral<"change_session">;
|
|
67
|
+
id: z.ZodUUID;
|
|
68
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
69
|
+
type: z.ZodLiteral<"file">;
|
|
70
|
+
id: z.ZodUUID;
|
|
71
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
73
|
+
id: z.ZodUUID;
|
|
74
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
75
|
+
type: z.ZodLiteral<"symbol">;
|
|
76
|
+
id: z.ZodUUID;
|
|
77
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
78
|
+
type: z.ZodLiteral<"change_group">;
|
|
79
|
+
id: z.ZodUUID;
|
|
80
|
+
}, z.core.$strict>], "type">>;
|
|
81
|
+
mutedChangeUnits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
82
|
+
type: z.ZodLiteral<"change_session">;
|
|
83
|
+
id: z.ZodUUID;
|
|
84
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
85
|
+
type: z.ZodLiteral<"file">;
|
|
86
|
+
id: z.ZodUUID;
|
|
87
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
88
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
89
|
+
id: z.ZodUUID;
|
|
90
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"symbol">;
|
|
92
|
+
id: z.ZodUUID;
|
|
93
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
+
type: z.ZodLiteral<"change_group">;
|
|
95
|
+
id: z.ZodUUID;
|
|
96
|
+
}, z.core.$strict>], "type">>;
|
|
97
|
+
oracle: z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
version: z.ZodNumber;
|
|
100
|
+
type: z.ZodEnum<{
|
|
101
|
+
command: "command";
|
|
102
|
+
flow_contract: "flow_contract";
|
|
103
|
+
replay: "replay";
|
|
104
|
+
}>;
|
|
105
|
+
commandId: z.ZodOptional<z.ZodString>;
|
|
106
|
+
flowContractVersionId: z.ZodOptional<z.ZodUUID>;
|
|
107
|
+
replayId: z.ZodOptional<z.ZodString>;
|
|
108
|
+
successCriteria: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
109
|
+
maxDurationMs: z.ZodNumber;
|
|
110
|
+
requiredRepetitions: z.ZodNumber;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
requestedCapabilities: z.ZodArray<z.ZodString>;
|
|
113
|
+
repetitionPolicy: z.ZodObject<{
|
|
114
|
+
baselineRuns: z.ZodNumber;
|
|
115
|
+
variantRuns: z.ZodNumber;
|
|
116
|
+
maxFlakyRate: z.ZodNumber;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
idempotencyKey: z.ZodString;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
export declare const experimentApprovalSchema: z.ZodObject<{
|
|
121
|
+
experimentId: z.ZodUUID;
|
|
122
|
+
planHash: z.ZodString;
|
|
123
|
+
commandIds: z.ZodArray<z.ZodString>;
|
|
124
|
+
secretGrantIds: z.ZodArray<z.ZodUUID>;
|
|
125
|
+
networkPolicyId: z.ZodString;
|
|
126
|
+
expiresAt: z.ZodISODateTime;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export declare const experimentFailureStatusSchema: z.ZodEnum<{
|
|
129
|
+
flaky: "flaky";
|
|
130
|
+
inconclusive: "inconclusive";
|
|
131
|
+
moved: "moved";
|
|
132
|
+
new_regression: "new_regression";
|
|
133
|
+
partially_resolved: "partially_resolved";
|
|
134
|
+
resolved: "resolved";
|
|
135
|
+
unchanged: "unchanged";
|
|
136
|
+
}>;
|
|
137
|
+
export declare const experimentChangeUnitDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
138
|
+
type: z.ZodLiteral<"file">;
|
|
139
|
+
id: z.ZodUUID;
|
|
140
|
+
path: z.ZodString;
|
|
141
|
+
oldPath: z.ZodOptional<z.ZodString>;
|
|
142
|
+
changeType: z.ZodEnum<{
|
|
143
|
+
added: "added";
|
|
144
|
+
copied: "copied";
|
|
145
|
+
deleted: "deleted";
|
|
146
|
+
modified: "modified";
|
|
147
|
+
renamed: "renamed";
|
|
148
|
+
}>;
|
|
149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
150
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
151
|
+
id: z.ZodUUID;
|
|
152
|
+
path: z.ZodString;
|
|
153
|
+
patchHash: z.ZodString;
|
|
154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
155
|
+
type: z.ZodLiteral<"symbol">;
|
|
156
|
+
id: z.ZodUUID;
|
|
157
|
+
path: z.ZodString;
|
|
158
|
+
qualifiedName: z.ZodString;
|
|
159
|
+
coveringHunkHashes: z.ZodArray<z.ZodString>;
|
|
160
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
161
|
+
type: z.ZodLiteral<"change_group">;
|
|
162
|
+
id: z.ZodUUID;
|
|
163
|
+
memberRefs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
164
|
+
type: z.ZodLiteral<"change_session">;
|
|
165
|
+
id: z.ZodUUID;
|
|
166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
167
|
+
type: z.ZodLiteral<"file">;
|
|
168
|
+
id: z.ZodUUID;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
171
|
+
id: z.ZodUUID;
|
|
172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
173
|
+
type: z.ZodLiteral<"symbol">;
|
|
174
|
+
id: z.ZodUUID;
|
|
175
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
176
|
+
type: z.ZodLiteral<"change_group">;
|
|
177
|
+
id: z.ZodUUID;
|
|
178
|
+
}, z.core.$strict>], "type">>;
|
|
179
|
+
}, z.core.$strict>], "type">;
|
|
180
|
+
export declare const experimentExecuteJobPayloadSchema: z.ZodObject<{
|
|
181
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
182
|
+
projectId: z.ZodUUID;
|
|
183
|
+
environmentId: z.ZodOptional<z.ZodUUID>;
|
|
184
|
+
experimentId: z.ZodUUID;
|
|
185
|
+
planHash: z.ZodString;
|
|
186
|
+
approvalId: z.ZodUUID;
|
|
187
|
+
baselineVariantId: z.ZodUUID;
|
|
188
|
+
variantVariantId: z.ZodUUID;
|
|
189
|
+
baselineCommit: z.ZodString;
|
|
190
|
+
targetCommit: z.ZodOptional<z.ZodString>;
|
|
191
|
+
changeSessionId: z.ZodOptional<z.ZodUUID>;
|
|
192
|
+
sourceBundleArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
193
|
+
sourceBundleHash: z.ZodOptional<z.ZodString>;
|
|
194
|
+
includedChangeUnits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
195
|
+
type: z.ZodLiteral<"change_session">;
|
|
196
|
+
id: z.ZodUUID;
|
|
197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
198
|
+
type: z.ZodLiteral<"file">;
|
|
199
|
+
id: z.ZodUUID;
|
|
200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
201
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
202
|
+
id: z.ZodUUID;
|
|
203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
204
|
+
type: z.ZodLiteral<"symbol">;
|
|
205
|
+
id: z.ZodUUID;
|
|
206
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
207
|
+
type: z.ZodLiteral<"change_group">;
|
|
208
|
+
id: z.ZodUUID;
|
|
209
|
+
}, z.core.$strict>], "type">>;
|
|
210
|
+
mutedChangeUnits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
211
|
+
type: z.ZodLiteral<"change_session">;
|
|
212
|
+
id: z.ZodUUID;
|
|
213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
214
|
+
type: z.ZodLiteral<"file">;
|
|
215
|
+
id: z.ZodUUID;
|
|
216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
217
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
218
|
+
id: z.ZodUUID;
|
|
219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
220
|
+
type: z.ZodLiteral<"symbol">;
|
|
221
|
+
id: z.ZodUUID;
|
|
222
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
223
|
+
type: z.ZodLiteral<"change_group">;
|
|
224
|
+
id: z.ZodUUID;
|
|
225
|
+
}, z.core.$strict>], "type">>;
|
|
226
|
+
changeUnitDefinitions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
227
|
+
type: z.ZodLiteral<"file">;
|
|
228
|
+
id: z.ZodUUID;
|
|
229
|
+
path: z.ZodString;
|
|
230
|
+
oldPath: z.ZodOptional<z.ZodString>;
|
|
231
|
+
changeType: z.ZodEnum<{
|
|
232
|
+
added: "added";
|
|
233
|
+
copied: "copied";
|
|
234
|
+
deleted: "deleted";
|
|
235
|
+
modified: "modified";
|
|
236
|
+
renamed: "renamed";
|
|
237
|
+
}>;
|
|
238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
239
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
240
|
+
id: z.ZodUUID;
|
|
241
|
+
path: z.ZodString;
|
|
242
|
+
patchHash: z.ZodString;
|
|
243
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
244
|
+
type: z.ZodLiteral<"symbol">;
|
|
245
|
+
id: z.ZodUUID;
|
|
246
|
+
path: z.ZodString;
|
|
247
|
+
qualifiedName: z.ZodString;
|
|
248
|
+
coveringHunkHashes: z.ZodArray<z.ZodString>;
|
|
249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
250
|
+
type: z.ZodLiteral<"change_group">;
|
|
251
|
+
id: z.ZodUUID;
|
|
252
|
+
memberRefs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
|
+
type: z.ZodLiteral<"change_session">;
|
|
254
|
+
id: z.ZodUUID;
|
|
255
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
256
|
+
type: z.ZodLiteral<"file">;
|
|
257
|
+
id: z.ZodUUID;
|
|
258
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
259
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
260
|
+
id: z.ZodUUID;
|
|
261
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
262
|
+
type: z.ZodLiteral<"symbol">;
|
|
263
|
+
id: z.ZodUUID;
|
|
264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
265
|
+
type: z.ZodLiteral<"change_group">;
|
|
266
|
+
id: z.ZodUUID;
|
|
267
|
+
}, z.core.$strict>], "type">>;
|
|
268
|
+
}, z.core.$strict>], "type">>;
|
|
269
|
+
oracleId: z.ZodString;
|
|
270
|
+
oracleVersion: z.ZodNumber;
|
|
271
|
+
oracleType: z.ZodDefault<z.ZodEnum<{
|
|
272
|
+
command: "command";
|
|
273
|
+
flow_contract: "flow_contract";
|
|
274
|
+
replay: "replay";
|
|
275
|
+
}>>;
|
|
276
|
+
commandId: z.ZodString;
|
|
277
|
+
commandHash: z.ZodString;
|
|
278
|
+
preflightCommands: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
279
|
+
commandId: z.ZodString;
|
|
280
|
+
commandHash: z.ZodString;
|
|
281
|
+
}, z.core.$strict>>>;
|
|
282
|
+
networkPolicyId: z.ZodString;
|
|
283
|
+
secretGrantIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
284
|
+
repetitionPolicy: z.ZodObject<{
|
|
285
|
+
baselineRuns: z.ZodNumber;
|
|
286
|
+
variantRuns: z.ZodNumber;
|
|
287
|
+
maxFlakyRate: z.ZodNumber;
|
|
288
|
+
}, z.core.$strict>;
|
|
289
|
+
limits: z.ZodObject<{
|
|
290
|
+
maxDurationMs: z.ZodNumber;
|
|
291
|
+
maxArtifactBytes: z.ZodNumber;
|
|
292
|
+
maxLogBytes: z.ZodNumber;
|
|
293
|
+
}, z.core.$strict>;
|
|
294
|
+
}, z.core.$strict>;
|
|
295
|
+
export declare const experimentExecuteJobResultSchema: z.ZodObject<{
|
|
296
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
297
|
+
experimentId: z.ZodUUID;
|
|
298
|
+
planHash: z.ZodString;
|
|
299
|
+
status: z.ZodEnum<{
|
|
300
|
+
canceled: "canceled";
|
|
301
|
+
completed: "completed";
|
|
302
|
+
failed: "failed";
|
|
303
|
+
inconclusive: "inconclusive";
|
|
304
|
+
}>;
|
|
305
|
+
baselineOutcomes: z.ZodArray<z.ZodEnum<{
|
|
306
|
+
fail: "fail";
|
|
307
|
+
inconclusive: "inconclusive";
|
|
308
|
+
pass: "pass";
|
|
309
|
+
}>>;
|
|
310
|
+
variantOutcomes: z.ZodArray<z.ZodEnum<{
|
|
311
|
+
fail: "fail";
|
|
312
|
+
inconclusive: "inconclusive";
|
|
313
|
+
pass: "pass";
|
|
314
|
+
}>>;
|
|
315
|
+
baselineRuntimeSessionIds: z.ZodDefault<z.ZodArray<z.ZodNullable<z.ZodUUID>>>;
|
|
316
|
+
variantRuntimeSessionIds: z.ZodDefault<z.ZodArray<z.ZodNullable<z.ZodUUID>>>;
|
|
317
|
+
comparison: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
318
|
+
sandboxFingerprintHash: z.ZodString;
|
|
319
|
+
networkPolicyEnforced: z.ZodLiteral<true>;
|
|
320
|
+
worktreeSandboxed: z.ZodLiteral<true>;
|
|
321
|
+
mainTreeUnchanged: z.ZodLiteral<true>;
|
|
322
|
+
cleanupCompleted: z.ZodLiteral<true>;
|
|
323
|
+
artifactIds: z.ZodArray<z.ZodUUID>;
|
|
324
|
+
}, z.core.$strict>;
|
|
325
|
+
export declare const bisectExecuteJobPayloadSchema: z.ZodObject<{
|
|
326
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
327
|
+
projectId: z.ZodUUID;
|
|
328
|
+
bisectRunId: z.ZodUUID;
|
|
329
|
+
experimentId: z.ZodUUID;
|
|
330
|
+
approvalId: z.ZodUUID;
|
|
331
|
+
goodCommit: z.ZodString;
|
|
332
|
+
badCommit: z.ZodString;
|
|
333
|
+
mergeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
334
|
+
ancestry_path: "ancestry_path";
|
|
335
|
+
first_parent: "first_parent";
|
|
336
|
+
}>>;
|
|
337
|
+
oracleId: z.ZodString;
|
|
338
|
+
oracleVersion: z.ZodNumber;
|
|
339
|
+
commandId: z.ZodString;
|
|
340
|
+
commandHash: z.ZodString;
|
|
341
|
+
networkPolicyId: z.ZodString;
|
|
342
|
+
secretGrantIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
343
|
+
budget: z.ZodNumber;
|
|
344
|
+
runFingerprint: z.ZodString;
|
|
345
|
+
}, z.core.$strict>;
|
|
346
|
+
export declare const deltaDebugExecuteJobPayloadSchema: z.ZodObject<{
|
|
347
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
348
|
+
projectId: z.ZodUUID;
|
|
349
|
+
deltaDebugRunId: z.ZodUUID;
|
|
350
|
+
experimentId: z.ZodUUID;
|
|
351
|
+
approvalId: z.ZodUUID;
|
|
352
|
+
changeSessionId: z.ZodUUID;
|
|
353
|
+
baselineCommit: z.ZodString;
|
|
354
|
+
sourceBundleArtifactId: z.ZodUUID;
|
|
355
|
+
sourceBundleHash: z.ZodString;
|
|
356
|
+
units: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
357
|
+
type: z.ZodLiteral<"change_session">;
|
|
358
|
+
id: z.ZodUUID;
|
|
359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
360
|
+
type: z.ZodLiteral<"file">;
|
|
361
|
+
id: z.ZodUUID;
|
|
362
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
363
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
364
|
+
id: z.ZodUUID;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
type: z.ZodLiteral<"symbol">;
|
|
367
|
+
id: z.ZodUUID;
|
|
368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
369
|
+
type: z.ZodLiteral<"change_group">;
|
|
370
|
+
id: z.ZodUUID;
|
|
371
|
+
}, z.core.$strict>], "type">>;
|
|
372
|
+
changeUnitDefinitions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
373
|
+
type: z.ZodLiteral<"file">;
|
|
374
|
+
id: z.ZodUUID;
|
|
375
|
+
path: z.ZodString;
|
|
376
|
+
oldPath: z.ZodOptional<z.ZodString>;
|
|
377
|
+
changeType: z.ZodEnum<{
|
|
378
|
+
added: "added";
|
|
379
|
+
copied: "copied";
|
|
380
|
+
deleted: "deleted";
|
|
381
|
+
modified: "modified";
|
|
382
|
+
renamed: "renamed";
|
|
383
|
+
}>;
|
|
384
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
385
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
386
|
+
id: z.ZodUUID;
|
|
387
|
+
path: z.ZodString;
|
|
388
|
+
patchHash: z.ZodString;
|
|
389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
390
|
+
type: z.ZodLiteral<"symbol">;
|
|
391
|
+
id: z.ZodUUID;
|
|
392
|
+
path: z.ZodString;
|
|
393
|
+
qualifiedName: z.ZodString;
|
|
394
|
+
coveringHunkHashes: z.ZodArray<z.ZodString>;
|
|
395
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
396
|
+
type: z.ZodLiteral<"change_group">;
|
|
397
|
+
id: z.ZodUUID;
|
|
398
|
+
memberRefs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
399
|
+
type: z.ZodLiteral<"change_session">;
|
|
400
|
+
id: z.ZodUUID;
|
|
401
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
402
|
+
type: z.ZodLiteral<"file">;
|
|
403
|
+
id: z.ZodUUID;
|
|
404
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
405
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
406
|
+
id: z.ZodUUID;
|
|
407
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
408
|
+
type: z.ZodLiteral<"symbol">;
|
|
409
|
+
id: z.ZodUUID;
|
|
410
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
411
|
+
type: z.ZodLiteral<"change_group">;
|
|
412
|
+
id: z.ZodUUID;
|
|
413
|
+
}, z.core.$strict>], "type">>;
|
|
414
|
+
}, z.core.$strict>], "type">>;
|
|
415
|
+
oracleId: z.ZodString;
|
|
416
|
+
oracleVersion: z.ZodNumber;
|
|
417
|
+
commandId: z.ZodString;
|
|
418
|
+
commandHash: z.ZodString;
|
|
419
|
+
networkPolicyId: z.ZodString;
|
|
420
|
+
secretGrantIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
421
|
+
budget: z.ZodObject<{
|
|
422
|
+
maxExperiments: z.ZodNumber;
|
|
423
|
+
maxDurationMs: z.ZodNumber;
|
|
424
|
+
}, z.core.$strict>;
|
|
425
|
+
runFingerprint: z.ZodString;
|
|
426
|
+
}, z.core.$strict>;
|
|
427
|
+
export declare const bisectExecuteJobResultSchema: z.ZodObject<{
|
|
428
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
429
|
+
bisectRunId: z.ZodUUID;
|
|
430
|
+
runFingerprint: z.ZodString;
|
|
431
|
+
status: z.ZodEnum<{
|
|
432
|
+
budget_exhausted: "budget_exhausted";
|
|
433
|
+
canceled: "canceled";
|
|
434
|
+
found: "found";
|
|
435
|
+
inconclusive: "inconclusive";
|
|
436
|
+
}>;
|
|
437
|
+
firstBadCommit: z.ZodOptional<z.ZodString>;
|
|
438
|
+
tested: z.ZodArray<z.ZodObject<{
|
|
439
|
+
commit: z.ZodString;
|
|
440
|
+
outcome: z.ZodEnum<{
|
|
441
|
+
fail: "fail";
|
|
442
|
+
inconclusive: "inconclusive";
|
|
443
|
+
pass: "pass";
|
|
444
|
+
}>;
|
|
445
|
+
durationMs: z.ZodNumber;
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
algorithmState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
448
|
+
}, z.core.$strict>;
|
|
449
|
+
export declare const deltaDebugExecuteJobResultSchema: z.ZodObject<{
|
|
450
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
451
|
+
deltaDebugRunId: z.ZodUUID;
|
|
452
|
+
runFingerprint: z.ZodString;
|
|
453
|
+
status: z.ZodEnum<{
|
|
454
|
+
budget_exhausted: "budget_exhausted";
|
|
455
|
+
canceled: "canceled";
|
|
456
|
+
inconclusive: "inconclusive";
|
|
457
|
+
minimal: "minimal";
|
|
458
|
+
}>;
|
|
459
|
+
minimalUnits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
460
|
+
type: z.ZodLiteral<"change_session">;
|
|
461
|
+
id: z.ZodUUID;
|
|
462
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
463
|
+
type: z.ZodLiteral<"file">;
|
|
464
|
+
id: z.ZodUUID;
|
|
465
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
466
|
+
type: z.ZodLiteral<"diff_hunk">;
|
|
467
|
+
id: z.ZodUUID;
|
|
468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
469
|
+
type: z.ZodLiteral<"symbol">;
|
|
470
|
+
id: z.ZodUUID;
|
|
471
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
472
|
+
type: z.ZodLiteral<"change_group">;
|
|
473
|
+
id: z.ZodUUID;
|
|
474
|
+
}, z.core.$strict>], "type">>;
|
|
475
|
+
tests: z.ZodNumber;
|
|
476
|
+
algorithmState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
477
|
+
generatedFixTask: z.ZodOptional<z.ZodString>;
|
|
478
|
+
}, z.core.$strict>;
|
|
479
|
+
export type VerificationOracle = z.infer<typeof verificationOracleSchema>;
|
|
480
|
+
export type ExperimentCreateInput = z.infer<typeof experimentCreateSchema>;
|
|
481
|
+
export type ExperimentExecuteJobPayload = z.infer<typeof experimentExecuteJobPayloadSchema>;
|
|
482
|
+
//# sourceMappingURL=experiment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiment.d.ts","sourceRoot":"","sources":["../../src/change-debug/experiment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;EAAkJ,CAAC;AACpL,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;EAAoK,CAAC;AACxM,eAAO,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AAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { changeUnitRefSchema, sha256Schema } from "./common.js";
|
|
3
|
+
export const experimentTypeSchema = z.enum(["full_change_session", "mute_file", "mute_change_group", "mute_hunk", "mute_symbol", "custom_variant", "commit_bisect", "delta_debug"]);
|
|
4
|
+
export const experimentStatusSchema = z.enum(["draft", "queued", "preparing", "building", "running", "collecting", "comparing", "cancel_requested", "completed", "inconclusive", "failed", "canceled"]);
|
|
5
|
+
export const oracleTypeSchema = z.enum(["command", "flow_contract", "replay"]);
|
|
6
|
+
export const verificationOracleSchema = z.strictObject({
|
|
7
|
+
id: z.string().min(1).max(256),
|
|
8
|
+
version: z.number().int().positive(),
|
|
9
|
+
type: oracleTypeSchema,
|
|
10
|
+
commandId: z.string().min(1).max(256).optional(),
|
|
11
|
+
flowContractVersionId: z.uuid().optional(),
|
|
12
|
+
replayId: z.string().min(1).max(256).optional(),
|
|
13
|
+
successCriteria: z.record(z.string(), z.unknown()),
|
|
14
|
+
maxDurationMs: z.number().int().min(1_000).max(4 * 60 * 60_000),
|
|
15
|
+
requiredRepetitions: z.number().int().min(1).max(100),
|
|
16
|
+
}).superRefine((oracle, context) => {
|
|
17
|
+
if (oracle.type === "command" && oracle.commandId === undefined)
|
|
18
|
+
context.addIssue({ code: "custom", path: ["commandId"], message: "Command oracle requires commandId." });
|
|
19
|
+
if (oracle.type === "flow_contract" && oracle.flowContractVersionId === undefined)
|
|
20
|
+
context.addIssue({ code: "custom", path: ["flowContractVersionId"], message: "Flow oracle requires flowContractVersionId." });
|
|
21
|
+
if (oracle.type === "replay" && oracle.replayId === undefined)
|
|
22
|
+
context.addIssue({ code: "custom", path: ["replayId"], message: "Replay oracle requires replayId." });
|
|
23
|
+
});
|
|
24
|
+
export const experimentCreateSchema = z.strictObject({
|
|
25
|
+
id: z.uuid().optional(),
|
|
26
|
+
projectId: z.uuid(),
|
|
27
|
+
environmentId: z.uuid().optional(),
|
|
28
|
+
changeSessionId: z.uuid().optional(),
|
|
29
|
+
type: experimentTypeSchema,
|
|
30
|
+
baselineRef: z.string().min(1).max(512),
|
|
31
|
+
baselineCommit: z.string().regex(/^[a-f0-9]{40,64}$/u),
|
|
32
|
+
targetRef: z.string().min(1).max(512).optional(),
|
|
33
|
+
targetCommit: z.string().regex(/^[a-f0-9]{40,64}$/u).optional(),
|
|
34
|
+
includedChangeUnits: z.array(changeUnitRefSchema).max(1_000),
|
|
35
|
+
mutedChangeUnits: z.array(changeUnitRefSchema).max(1_000),
|
|
36
|
+
oracle: verificationOracleSchema,
|
|
37
|
+
requestedCapabilities: z.array(z.string().min(1).max(128)).max(64),
|
|
38
|
+
repetitionPolicy: z.strictObject({ baselineRuns: z.number().int().min(1).max(100), variantRuns: z.number().int().min(1).max(100), maxFlakyRate: z.number().min(0).max(1) }),
|
|
39
|
+
idempotencyKey: z.string().min(8).max(256),
|
|
40
|
+
});
|
|
41
|
+
export const experimentApprovalSchema = z.strictObject({
|
|
42
|
+
experimentId: z.uuid(),
|
|
43
|
+
planHash: sha256Schema,
|
|
44
|
+
commandIds: z.array(z.string().min(1).max(256)).max(64),
|
|
45
|
+
secretGrantIds: z.array(z.uuid()).max(64),
|
|
46
|
+
networkPolicyId: z.string().min(1).max(256),
|
|
47
|
+
expiresAt: z.iso.datetime({ offset: true }),
|
|
48
|
+
});
|
|
49
|
+
export const experimentFailureStatusSchema = z.enum(["resolved", "partially_resolved", "unchanged", "moved", "new_regression", "flaky", "inconclusive"]);
|
|
50
|
+
export const experimentChangeUnitDefinitionSchema = z.discriminatedUnion("type", [
|
|
51
|
+
z.strictObject({ type: z.literal("file"), id: z.uuid(), path: z.string().min(1).max(2_048), oldPath: z.string().min(1).max(2_048).optional(), changeType: z.enum(["added", "modified", "deleted", "renamed", "copied"]) }),
|
|
52
|
+
z.strictObject({ type: z.literal("diff_hunk"), id: z.uuid(), path: z.string().min(1).max(2_048), patchHash: sha256Schema }),
|
|
53
|
+
z.strictObject({ type: z.literal("symbol"), id: z.uuid(), path: z.string().min(1).max(2_048), qualifiedName: z.string().min(1).max(2_048), coveringHunkHashes: z.array(sha256Schema).max(1_000) }),
|
|
54
|
+
z.strictObject({ type: z.literal("change_group"), id: z.uuid(), memberRefs: z.array(changeUnitRefSchema).min(1).max(10_000) }),
|
|
55
|
+
]);
|
|
56
|
+
export const experimentExecuteJobPayloadSchema = z.strictObject({
|
|
57
|
+
schemaVersion: z.literal(1), projectId: z.uuid(), environmentId: z.uuid().optional(), experimentId: z.uuid(), planHash: sha256Schema, approvalId: z.uuid(), baselineVariantId: z.uuid(), variantVariantId: z.uuid(),
|
|
58
|
+
baselineCommit: z.string().regex(/^[a-f0-9]{40,64}$/u), targetCommit: z.string().regex(/^[a-f0-9]{40,64}$/u).optional(),
|
|
59
|
+
changeSessionId: z.uuid().optional(), sourceBundleArtifactId: z.uuid().optional(), sourceBundleHash: sha256Schema.optional(),
|
|
60
|
+
includedChangeUnits: z.array(changeUnitRefSchema).max(1_000), mutedChangeUnits: z.array(changeUnitRefSchema).max(1_000), changeUnitDefinitions: z.array(experimentChangeUnitDefinitionSchema).max(10_000),
|
|
61
|
+
oracleId: z.string().min(1).max(256), oracleVersion: z.number().int().positive(), oracleType: oracleTypeSchema.default("command"), commandId: z.string().min(1).max(256), commandHash: sha256Schema, preflightCommands: z.array(z.strictObject({ commandId: z.string().min(1).max(256), commandHash: sha256Schema })).max(64).default([]),
|
|
62
|
+
networkPolicyId: z.string().min(1).max(256), secretGrantIds: z.array(z.uuid()).max(64).default([]), repetitionPolicy: z.strictObject({ baselineRuns: z.number().int().min(1).max(100), variantRuns: z.number().int().min(1).max(100), maxFlakyRate: z.number().min(0).max(1) }),
|
|
63
|
+
limits: z.strictObject({ maxDurationMs: z.number().int().min(1_000).max(4 * 60 * 60_000), maxArtifactBytes: z.number().int().min(1_024).max(1024 * 1024 * 1024), maxLogBytes: z.number().int().min(1_024).max(64 * 1024 * 1024) }),
|
|
64
|
+
}).superRefine((payload, context) => { if (payload.changeSessionId !== undefined && (payload.sourceBundleArtifactId === undefined || payload.sourceBundleHash === undefined))
|
|
65
|
+
context.addIssue({ code: "custom", path: ["sourceBundleArtifactId"], message: "Change Session experiment requires an immutable source bundle artifact and hash." }); });
|
|
66
|
+
export const experimentExecuteJobResultSchema = z.strictObject({ schemaVersion: z.literal(1), experimentId: z.uuid(), planHash: sha256Schema, status: z.enum(["completed", "inconclusive", "failed", "canceled"]), baselineOutcomes: z.array(z.enum(["pass", "fail", "inconclusive"])).max(100), variantOutcomes: z.array(z.enum(["pass", "fail", "inconclusive"])).max(100), baselineRuntimeSessionIds: z.array(z.uuid().nullable()).max(100).default([]), variantRuntimeSessionIds: z.array(z.uuid().nullable()).max(100).default([]), comparison: z.record(z.string(), z.unknown()), sandboxFingerprintHash: sha256Schema, networkPolicyEnforced: z.literal(true), worktreeSandboxed: z.literal(true), mainTreeUnchanged: z.literal(true), cleanupCompleted: z.literal(true), artifactIds: z.array(z.uuid()).max(1_000) });
|
|
67
|
+
export const bisectExecuteJobPayloadSchema = z.strictObject({ schemaVersion: z.literal(1), projectId: z.uuid(), bisectRunId: z.uuid(), experimentId: z.uuid(), approvalId: z.uuid(), goodCommit: z.string().regex(/^[a-f0-9]{40,64}$/u), badCommit: z.string().regex(/^[a-f0-9]{40,64}$/u), mergeStrategy: z.enum(["ancestry_path", "first_parent"]).default("ancestry_path"), oracleId: z.string().min(1).max(256), oracleVersion: z.number().int().positive(), commandId: z.string().min(1).max(256), commandHash: sha256Schema, networkPolicyId: z.string().min(1).max(256), secretGrantIds: z.array(z.uuid()).max(64).default([]), budget: z.number().int().min(1).max(10_000), runFingerprint: sha256Schema });
|
|
68
|
+
export const deltaDebugExecuteJobPayloadSchema = z.strictObject({ schemaVersion: z.literal(1), projectId: z.uuid(), deltaDebugRunId: z.uuid(), experimentId: z.uuid(), approvalId: z.uuid(), changeSessionId: z.uuid(), baselineCommit: z.string().regex(/^[a-f0-9]{40,64}$/u), sourceBundleArtifactId: z.uuid(), sourceBundleHash: sha256Schema, units: z.array(changeUnitRefSchema).min(1).max(10_000), changeUnitDefinitions: z.array(experimentChangeUnitDefinitionSchema).min(1).max(10_000), oracleId: z.string().min(1).max(256), oracleVersion: z.number().int().positive(), commandId: z.string().min(1).max(256), commandHash: sha256Schema, networkPolicyId: z.string().min(1).max(256), secretGrantIds: z.array(z.uuid()).max(64).default([]), budget: z.strictObject({ maxExperiments: z.number().int().min(1).max(10_000), maxDurationMs: z.number().int().min(1_000).max(7 * 24 * 60 * 60_000) }), runFingerprint: sha256Schema });
|
|
69
|
+
export const bisectExecuteJobResultSchema = z.strictObject({ schemaVersion: z.literal(1), bisectRunId: z.uuid(), runFingerprint: sha256Schema, status: z.enum(["found", "inconclusive", "budget_exhausted", "canceled"]), firstBadCommit: z.string().regex(/^[a-f0-9]{40,64}$/u).optional(), tested: z.array(z.strictObject({ commit: z.string().regex(/^[a-f0-9]{40,64}$/u), outcome: z.enum(["pass", "fail", "inconclusive"]), durationMs: z.number().nonnegative() })).max(10_000), algorithmState: z.record(z.string(), z.unknown()) });
|
|
70
|
+
export const deltaDebugExecuteJobResultSchema = z.strictObject({ schemaVersion: z.literal(1), deltaDebugRunId: z.uuid(), runFingerprint: sha256Schema, status: z.enum(["minimal", "inconclusive", "budget_exhausted", "canceled"]), minimalUnits: z.array(changeUnitRefSchema).max(10_000), tests: z.number().int().nonnegative(), algorithmState: z.record(z.string(), z.unknown()), generatedFixTask: z.string().max(32_000).optional() });
|
|
71
|
+
//# sourceMappingURL=experiment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiment.js","sourceRoot":"","sources":["../../src/change-debug/experiment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhE,MAAM,CAAC,MAAM,oBAAoB,GA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