@oro-ai/sdk 1.0.35 → 1.0.36
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/index.d.mts +278 -600
- package/dist/index.d.ts +278 -600
- package/package.json +1 -1
- package/src/generated/types.gen.ts +277 -597
|
@@ -1,48 +1,39 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Response for suite activation.
|
|
5
|
-
*/
|
|
6
3
|
export type ActivateSuiteResponse = {
|
|
7
4
|
/**
|
|
8
|
-
*
|
|
5
|
+
* ID of the created suite
|
|
9
6
|
*/
|
|
10
7
|
suite_id: number;
|
|
11
8
|
/**
|
|
12
|
-
*
|
|
9
|
+
* Version number of the suite
|
|
13
10
|
*/
|
|
14
11
|
suite_version: number;
|
|
15
12
|
/**
|
|
16
|
-
* Whether
|
|
13
|
+
* Whether the suite is active
|
|
17
14
|
*/
|
|
18
15
|
is_active: boolean;
|
|
19
16
|
/**
|
|
20
|
-
* Number of
|
|
17
|
+
* Number of agent versions requeued for evaluation
|
|
21
18
|
*/
|
|
22
19
|
requeued_versions?: number;
|
|
23
20
|
};
|
|
24
21
|
|
|
25
|
-
/**
|
|
26
|
-
* Response with presigned download URL for admin agent code access.
|
|
27
|
-
*/
|
|
28
22
|
export type AdminAgentCodeResponse = {
|
|
29
23
|
/**
|
|
30
24
|
* Presigned S3 download URL
|
|
31
25
|
*/
|
|
32
26
|
download_url: string;
|
|
33
27
|
/**
|
|
34
|
-
* Agent version
|
|
28
|
+
* Agent version the code belongs to
|
|
35
29
|
*/
|
|
36
30
|
agent_version_id: string;
|
|
37
31
|
/**
|
|
38
|
-
*
|
|
32
|
+
* Name of the agent
|
|
39
33
|
*/
|
|
40
34
|
agent_name: string;
|
|
41
35
|
};
|
|
42
36
|
|
|
43
|
-
/**
|
|
44
|
-
* An agent version entry for admin listing.
|
|
45
|
-
*/
|
|
46
37
|
export type AdminAgentVersionEntry = {
|
|
47
38
|
/**
|
|
48
39
|
* Agent version ID
|
|
@@ -57,11 +48,11 @@ export type AdminAgentVersionEntry = {
|
|
|
57
48
|
*/
|
|
58
49
|
agent_name: string;
|
|
59
50
|
/**
|
|
60
|
-
*
|
|
51
|
+
* Owner's hotkey
|
|
61
52
|
*/
|
|
62
53
|
miner_hotkey: string;
|
|
63
54
|
/**
|
|
64
|
-
* Version number
|
|
55
|
+
* Version number within the agent
|
|
65
56
|
*/
|
|
66
57
|
version_number: number;
|
|
67
58
|
/**
|
|
@@ -69,15 +60,15 @@ export type AdminAgentVersionEntry = {
|
|
|
69
60
|
*/
|
|
70
61
|
created_at: string;
|
|
71
62
|
/**
|
|
72
|
-
* Whether version is eligible
|
|
63
|
+
* Whether this version is eligible for scoring
|
|
73
64
|
*/
|
|
74
65
|
is_eligible?: (boolean | null);
|
|
75
66
|
/**
|
|
76
|
-
* Whether version
|
|
67
|
+
* Whether this version has been discarded
|
|
77
68
|
*/
|
|
78
69
|
is_discarded?: (boolean | null);
|
|
79
70
|
/**
|
|
80
|
-
* Final
|
|
71
|
+
* Final qualifying score
|
|
81
72
|
*/
|
|
82
73
|
final_score?: (number | null);
|
|
83
74
|
/**
|
|
@@ -97,21 +88,14 @@ export type AdminAgentVersionEntry = {
|
|
|
97
88
|
*/
|
|
98
89
|
is_current_top?: boolean;
|
|
99
90
|
/**
|
|
100
|
-
* Number of included successful runs
|
|
91
|
+
* Number of included successful runs in work item
|
|
101
92
|
*/
|
|
102
93
|
work_item_included_success_count?: (number | null);
|
|
103
94
|
};
|
|
104
95
|
|
|
105
|
-
/**
|
|
106
|
-
* Response for admin agent versions listing.
|
|
107
|
-
*/
|
|
108
96
|
export type AdminAgentVersionsResponse = {
|
|
109
97
|
/**
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
agent_versions: Array<AdminAgentVersionEntry>;
|
|
113
|
-
/**
|
|
114
|
-
* Total agent versions matching filter
|
|
98
|
+
* Total entries matching filter
|
|
115
99
|
*/
|
|
116
100
|
total: number;
|
|
117
101
|
/**
|
|
@@ -122,11 +106,12 @@ export type AdminAgentVersionsResponse = {
|
|
|
122
106
|
* Page offset
|
|
123
107
|
*/
|
|
124
108
|
offset: number;
|
|
109
|
+
/**
|
|
110
|
+
* Agent version entries
|
|
111
|
+
*/
|
|
112
|
+
agent_versions: Array<AdminAgentVersionEntry>;
|
|
125
113
|
};
|
|
126
114
|
|
|
127
|
-
/**
|
|
128
|
-
* An evaluation run entry for admin listing.
|
|
129
|
-
*/
|
|
130
115
|
export type AdminEvaluationRunEntry = {
|
|
131
116
|
/**
|
|
132
117
|
* Evaluation run ID
|
|
@@ -137,15 +122,15 @@ export type AdminEvaluationRunEntry = {
|
|
|
137
122
|
*/
|
|
138
123
|
agent_version_id: string;
|
|
139
124
|
/**
|
|
140
|
-
* Validator performing evaluation
|
|
125
|
+
* Validator performing the evaluation
|
|
141
126
|
*/
|
|
142
127
|
validator_hotkey: string;
|
|
143
128
|
/**
|
|
144
|
-
* Problem suite
|
|
129
|
+
* Problem suite ID
|
|
145
130
|
*/
|
|
146
131
|
suite_id: number;
|
|
147
132
|
/**
|
|
148
|
-
*
|
|
133
|
+
* Current run status
|
|
149
134
|
*/
|
|
150
135
|
status: string;
|
|
151
136
|
/**
|
|
@@ -157,15 +142,15 @@ export type AdminEvaluationRunEntry = {
|
|
|
157
142
|
*/
|
|
158
143
|
completed_at?: (string | null);
|
|
159
144
|
/**
|
|
160
|
-
* Last heartbeat
|
|
145
|
+
* Last heartbeat from the validator
|
|
161
146
|
*/
|
|
162
147
|
last_heartbeat_at?: (string | null);
|
|
163
148
|
/**
|
|
164
|
-
*
|
|
149
|
+
* When the lease expires
|
|
165
150
|
*/
|
|
166
151
|
lease_expires_at?: (string | null);
|
|
167
152
|
/**
|
|
168
|
-
* Whether run is included in
|
|
153
|
+
* Whether this run is included in scoring
|
|
169
154
|
*/
|
|
170
155
|
is_included: boolean;
|
|
171
156
|
/**
|
|
@@ -177,11 +162,11 @@ export type AdminEvaluationRunEntry = {
|
|
|
177
162
|
*/
|
|
178
163
|
invalidated_at?: (string | null);
|
|
179
164
|
/**
|
|
180
|
-
* Reason
|
|
165
|
+
* Reason the run was invalidated
|
|
181
166
|
*/
|
|
182
167
|
invalidation_reason?: (string | null);
|
|
183
168
|
/**
|
|
184
|
-
* Reason
|
|
169
|
+
* Reason the run failed
|
|
185
170
|
*/
|
|
186
171
|
failure_reason?: (string | null);
|
|
187
172
|
/**
|
|
@@ -190,16 +175,9 @@ export type AdminEvaluationRunEntry = {
|
|
|
190
175
|
created_at: string;
|
|
191
176
|
};
|
|
192
177
|
|
|
193
|
-
/**
|
|
194
|
-
* Response for admin evaluation runs listing.
|
|
195
|
-
*/
|
|
196
178
|
export type AdminEvaluationRunsResponse = {
|
|
197
179
|
/**
|
|
198
|
-
*
|
|
199
|
-
*/
|
|
200
|
-
evaluation_runs: Array<AdminEvaluationRunEntry>;
|
|
201
|
-
/**
|
|
202
|
-
* Total evaluation runs matching filter
|
|
180
|
+
* Total entries matching filter
|
|
203
181
|
*/
|
|
204
182
|
total: number;
|
|
205
183
|
/**
|
|
@@ -210,22 +188,23 @@ export type AdminEvaluationRunsResponse = {
|
|
|
210
188
|
* Page offset
|
|
211
189
|
*/
|
|
212
190
|
offset: number;
|
|
191
|
+
/**
|
|
192
|
+
* Evaluation run entries
|
|
193
|
+
*/
|
|
194
|
+
evaluation_runs: Array<AdminEvaluationRunEntry>;
|
|
213
195
|
};
|
|
214
196
|
|
|
215
|
-
/**
|
|
216
|
-
* A miner entry for admin listing.
|
|
217
|
-
*/
|
|
218
197
|
export type AdminMinerEntry = {
|
|
219
198
|
/**
|
|
220
|
-
* Miner
|
|
199
|
+
* Miner's SS58 hotkey
|
|
221
200
|
*/
|
|
222
201
|
miner_hotkey: string;
|
|
223
202
|
/**
|
|
224
|
-
* Whether the miner is
|
|
203
|
+
* Whether the miner is banned
|
|
225
204
|
*/
|
|
226
205
|
is_banned: boolean;
|
|
227
206
|
/**
|
|
228
|
-
* Reason for ban
|
|
207
|
+
* Reason for the ban
|
|
229
208
|
*/
|
|
230
209
|
ban_reason?: (string | null);
|
|
231
210
|
/**
|
|
@@ -233,7 +212,7 @@ export type AdminMinerEntry = {
|
|
|
233
212
|
*/
|
|
234
213
|
banned_at?: (string | null);
|
|
235
214
|
/**
|
|
236
|
-
* Number of agents
|
|
215
|
+
* Number of agents submitted by this miner
|
|
237
216
|
*/
|
|
238
217
|
agent_count: number;
|
|
239
218
|
/**
|
|
@@ -241,21 +220,14 @@ export type AdminMinerEntry = {
|
|
|
241
220
|
*/
|
|
242
221
|
last_submitted_at?: (string | null);
|
|
243
222
|
/**
|
|
244
|
-
* When the miner
|
|
223
|
+
* When the miner registered on-chain
|
|
245
224
|
*/
|
|
246
225
|
registered_at?: (string | null);
|
|
247
226
|
};
|
|
248
227
|
|
|
249
|
-
/**
|
|
250
|
-
* Response for admin miners listing.
|
|
251
|
-
*/
|
|
252
228
|
export type AdminMinersResponse = {
|
|
253
229
|
/**
|
|
254
|
-
*
|
|
255
|
-
*/
|
|
256
|
-
miners: Array<AdminMinerEntry>;
|
|
257
|
-
/**
|
|
258
|
-
* Total miners matching filter
|
|
230
|
+
* Total entries matching filter
|
|
259
231
|
*/
|
|
260
232
|
total: number;
|
|
261
233
|
/**
|
|
@@ -266,11 +238,12 @@ export type AdminMinersResponse = {
|
|
|
266
238
|
* Page offset
|
|
267
239
|
*/
|
|
268
240
|
offset: number;
|
|
241
|
+
/**
|
|
242
|
+
* Miner entries
|
|
243
|
+
*/
|
|
244
|
+
miners: Array<AdminMinerEntry>;
|
|
269
245
|
};
|
|
270
246
|
|
|
271
|
-
/**
|
|
272
|
-
* Extends ValidatorPublic with admin-only fields (ban status).
|
|
273
|
-
*/
|
|
274
247
|
export type AdminValidatorEntry = {
|
|
275
248
|
/**
|
|
276
249
|
* Validator's SS58 address
|
|
@@ -319,29 +292,22 @@ export type AdminValidatorEntry = {
|
|
|
319
292
|
*/
|
|
320
293
|
identity_description?: (string | null);
|
|
321
294
|
/**
|
|
322
|
-
* Whether banned
|
|
295
|
+
* Whether the validator is banned
|
|
323
296
|
*/
|
|
324
297
|
is_banned: boolean;
|
|
325
298
|
/**
|
|
326
|
-
*
|
|
299
|
+
* Reason for the ban
|
|
327
300
|
*/
|
|
328
301
|
ban_reason?: (string | null);
|
|
329
302
|
/**
|
|
330
|
-
* When banned
|
|
303
|
+
* When the validator was banned
|
|
331
304
|
*/
|
|
332
305
|
banned_at?: (string | null);
|
|
333
306
|
};
|
|
334
307
|
|
|
335
|
-
/**
|
|
336
|
-
* Response for admin validators listing.
|
|
337
|
-
*/
|
|
338
308
|
export type AdminValidatorsResponse = {
|
|
339
309
|
/**
|
|
340
|
-
*
|
|
341
|
-
*/
|
|
342
|
-
validators: Array<AdminValidatorEntry>;
|
|
343
|
-
/**
|
|
344
|
-
* Total matching filter
|
|
310
|
+
* Total entries matching filter
|
|
345
311
|
*/
|
|
346
312
|
total: number;
|
|
347
313
|
/**
|
|
@@ -352,21 +318,16 @@ export type AdminValidatorsResponse = {
|
|
|
352
318
|
* Page offset
|
|
353
319
|
*/
|
|
354
320
|
offset: number;
|
|
321
|
+
/**
|
|
322
|
+
* Validator entries
|
|
323
|
+
*/
|
|
324
|
+
validators: Array<AdminValidatorEntry>;
|
|
355
325
|
};
|
|
356
326
|
|
|
357
|
-
/**
|
|
358
|
-
* Reason for rejection of agent submission.
|
|
359
|
-
*/
|
|
360
327
|
export type AdmissionReason = 'COOLDOWN' | 'INVALID_FILE' | 'NOT_REGISTERED_ONCHAIN' | 'BANNED' | 'NO_ACTIVE_SUITE';
|
|
361
328
|
|
|
362
|
-
/**
|
|
363
|
-
* Status of agent submission admission.
|
|
364
|
-
*/
|
|
365
329
|
export type AdmissionStatus = 'ACCEPTED' | 'REJECTED';
|
|
366
330
|
|
|
367
|
-
/**
|
|
368
|
-
* Latest version summary, inlined in agent list responses.
|
|
369
|
-
*/
|
|
370
331
|
export type AgentLatestVersion = {
|
|
371
332
|
/**
|
|
372
333
|
* Version ID
|
|
@@ -390,9 +351,6 @@ export type AgentLatestVersion = {
|
|
|
390
351
|
final_score?: (number | null);
|
|
391
352
|
};
|
|
392
353
|
|
|
393
|
-
/**
|
|
394
|
-
* 404 - Agent not found.
|
|
395
|
-
*/
|
|
396
354
|
export type AgentNotFoundError = {
|
|
397
355
|
/**
|
|
398
356
|
* Error message describing what went wrong
|
|
@@ -404,9 +362,6 @@ export type AgentNotFoundError = {
|
|
|
404
362
|
error_code?: "AGENT_NOT_FOUND";
|
|
405
363
|
};
|
|
406
364
|
|
|
407
|
-
/**
|
|
408
|
-
* Public representation of an agent.
|
|
409
|
-
*/
|
|
410
365
|
export type AgentPublic = {
|
|
411
366
|
/**
|
|
412
367
|
* Unique identifier for the agent
|
|
@@ -430,16 +385,13 @@ export type AgentPublic = {
|
|
|
430
385
|
latest_version?: (AgentLatestVersion | null);
|
|
431
386
|
};
|
|
432
387
|
|
|
433
|
-
/**
|
|
434
|
-
* Entry in agent version history list.
|
|
435
|
-
*/
|
|
436
388
|
export type AgentVersionHistoryEntry = {
|
|
437
389
|
/**
|
|
438
390
|
* Version ID
|
|
439
391
|
*/
|
|
440
392
|
agent_version_id: string;
|
|
441
393
|
/**
|
|
442
|
-
* Version number
|
|
394
|
+
* Version number (v1, v2, etc.)
|
|
443
395
|
*/
|
|
444
396
|
version_number: number;
|
|
445
397
|
/**
|
|
@@ -456,9 +408,6 @@ export type AgentVersionHistoryEntry = {
|
|
|
456
408
|
final_score?: (number | null);
|
|
457
409
|
};
|
|
458
410
|
|
|
459
|
-
/**
|
|
460
|
-
* 404 - Agent version not found.
|
|
461
|
-
*/
|
|
462
411
|
export type AgentVersionNotFoundError = {
|
|
463
412
|
/**
|
|
464
413
|
* Error message describing what went wrong
|
|
@@ -470,9 +419,6 @@ export type AgentVersionNotFoundError = {
|
|
|
470
419
|
error_code?: "AGENT_VERSION_NOT_FOUND";
|
|
471
420
|
};
|
|
472
421
|
|
|
473
|
-
/**
|
|
474
|
-
* Response for agent version problem progress.
|
|
475
|
-
*/
|
|
476
422
|
export type AgentVersionProblemsResponse = {
|
|
477
423
|
/**
|
|
478
424
|
* Agent version ID
|
|
@@ -488,9 +434,6 @@ export type AgentVersionProblemsResponse = {
|
|
|
488
434
|
problems: Array<ProblemProgressEntry>;
|
|
489
435
|
};
|
|
490
436
|
|
|
491
|
-
/**
|
|
492
|
-
* Public representation of an agent version.
|
|
493
|
-
*/
|
|
494
437
|
export type AgentVersionPublic = {
|
|
495
438
|
/**
|
|
496
439
|
* Unique identifier for this version
|
|
@@ -526,16 +469,13 @@ export type AgentVersionPublic = {
|
|
|
526
469
|
latest_final_score?: (number | null);
|
|
527
470
|
};
|
|
528
471
|
|
|
529
|
-
/**
|
|
530
|
-
* Per-validator score for an agent version.
|
|
531
|
-
*/
|
|
532
472
|
export type AgentVersionScoreEntry = {
|
|
533
473
|
/**
|
|
534
|
-
* Validator hotkey
|
|
474
|
+
* Validator's SS58 hotkey
|
|
535
475
|
*/
|
|
536
476
|
validator_hotkey: string;
|
|
537
477
|
/**
|
|
538
|
-
* Score
|
|
478
|
+
* Score assigned by this validator
|
|
539
479
|
*/
|
|
540
480
|
score: number;
|
|
541
481
|
/**
|
|
@@ -549,9 +489,6 @@ export type AgentVersionScoreEntry = {
|
|
|
549
489
|
*/
|
|
550
490
|
export type AgentVersionState = 'RECEIVED' | 'QUEUED' | 'RUNNING' | 'ELIGIBLE' | 'DISCARDED' | 'CANCELLED';
|
|
551
491
|
|
|
552
|
-
/**
|
|
553
|
-
* Status response for an agent version.
|
|
554
|
-
*/
|
|
555
492
|
export type AgentVersionStatus = {
|
|
556
493
|
/**
|
|
557
494
|
* Unique identifier for this version
|
|
@@ -625,9 +562,6 @@ export type AgentVersionStatus = {
|
|
|
625
562
|
} | null);
|
|
626
563
|
};
|
|
627
564
|
|
|
628
|
-
/**
|
|
629
|
-
* Score variance across validators for a single agent version.
|
|
630
|
-
*/
|
|
631
565
|
export type AgentVersionVariance = {
|
|
632
566
|
/**
|
|
633
567
|
* Agent version ID
|
|
@@ -638,7 +572,7 @@ export type AgentVersionVariance = {
|
|
|
638
572
|
*/
|
|
639
573
|
agent_name: string;
|
|
640
574
|
/**
|
|
641
|
-
*
|
|
575
|
+
* Owner's hotkey
|
|
642
576
|
*/
|
|
643
577
|
miner_hotkey: string;
|
|
644
578
|
/**
|
|
@@ -646,48 +580,42 @@ export type AgentVersionVariance = {
|
|
|
646
580
|
*/
|
|
647
581
|
validator_count: number;
|
|
648
582
|
/**
|
|
649
|
-
*
|
|
583
|
+
* Average score across validators
|
|
650
584
|
*/
|
|
651
585
|
avg_score: number;
|
|
652
586
|
/**
|
|
653
|
-
* Minimum score
|
|
587
|
+
* Minimum validator score
|
|
654
588
|
*/
|
|
655
589
|
min_score: number;
|
|
656
590
|
/**
|
|
657
|
-
* Maximum score
|
|
591
|
+
* Maximum validator score
|
|
658
592
|
*/
|
|
659
593
|
max_score: number;
|
|
660
594
|
/**
|
|
661
|
-
*
|
|
595
|
+
* Spread between min and max scores
|
|
662
596
|
*/
|
|
663
597
|
spread: number;
|
|
664
598
|
/**
|
|
665
|
-
*
|
|
599
|
+
* Whether the variance exceeds the threshold
|
|
666
600
|
*/
|
|
667
601
|
is_high_variance: boolean;
|
|
668
602
|
/**
|
|
669
|
-
*
|
|
603
|
+
* Per-validator score breakdown
|
|
670
604
|
*/
|
|
671
|
-
per_validator
|
|
605
|
+
per_validator?: Array<AgentVersionScoreEntry>;
|
|
672
606
|
};
|
|
673
607
|
|
|
674
|
-
/**
|
|
675
|
-
* Response for agent version score variance analytics.
|
|
676
|
-
*/
|
|
677
608
|
export type AgentVersionVarianceResponse = {
|
|
678
609
|
/**
|
|
679
|
-
* Per-version variance
|
|
610
|
+
* Per-version variance entries
|
|
680
611
|
*/
|
|
681
612
|
agent_versions: Array<AgentVersionVariance>;
|
|
682
613
|
/**
|
|
683
|
-
*
|
|
614
|
+
* Threshold used to flag high-variance versions
|
|
684
615
|
*/
|
|
685
616
|
variance_threshold: number;
|
|
686
617
|
};
|
|
687
618
|
|
|
688
|
-
/**
|
|
689
|
-
* 409 - Resource is already invalidated.
|
|
690
|
-
*/
|
|
691
619
|
export type AlreadyInvalidatedError = {
|
|
692
620
|
/**
|
|
693
621
|
* Error message describing what went wrong
|
|
@@ -699,9 +627,6 @@ export type AlreadyInvalidatedError = {
|
|
|
699
627
|
error_code?: "ALREADY_INVALIDATED";
|
|
700
628
|
};
|
|
701
629
|
|
|
702
|
-
/**
|
|
703
|
-
* Request for artifact download URL.
|
|
704
|
-
*/
|
|
705
630
|
export type ArtifactDownloadRequest = {
|
|
706
631
|
/**
|
|
707
632
|
* Type of artifact to download
|
|
@@ -721,9 +646,6 @@ export type ArtifactDownloadRequest = {
|
|
|
721
646
|
problem_id?: (string | null);
|
|
722
647
|
};
|
|
723
648
|
|
|
724
|
-
/**
|
|
725
|
-
* Response with presigned download URL.
|
|
726
|
-
*/
|
|
727
649
|
export type ArtifactDownloadResponse = {
|
|
728
650
|
/**
|
|
729
651
|
* Presigned download URL
|
|
@@ -735,9 +657,6 @@ export type ArtifactDownloadResponse = {
|
|
|
735
657
|
expires_at: string;
|
|
736
658
|
};
|
|
737
659
|
|
|
738
|
-
/**
|
|
739
|
-
* 404 - Artifact not found or not available.
|
|
740
|
-
*/
|
|
741
660
|
export type ArtifactNotFoundError = {
|
|
742
661
|
/**
|
|
743
662
|
* Error message describing what went wrong
|
|
@@ -749,9 +668,6 @@ export type ArtifactNotFoundError = {
|
|
|
749
668
|
error_code?: "ARTIFACT_NOT_FOUND";
|
|
750
669
|
};
|
|
751
670
|
|
|
752
|
-
/**
|
|
753
|
-
* 404 - Artifact exists but is not yet released.
|
|
754
|
-
*/
|
|
755
671
|
export type ArtifactNotReleasedError = {
|
|
756
672
|
/**
|
|
757
673
|
* Error message describing what went wrong
|
|
@@ -768,14 +684,8 @@ export type ArtifactNotReleasedError = {
|
|
|
768
684
|
*/
|
|
769
685
|
export type ArtifactReleaseState = 'HIDDEN' | 'RELEASED';
|
|
770
686
|
|
|
771
|
-
/**
|
|
772
|
-
* Type of artifact for download.
|
|
773
|
-
*/
|
|
774
687
|
export type ArtifactType = 'AGENT_CODE' | 'EVAL_LOGS_BUNDLE' | 'EVAL_PROBLEM_LOGS' | 'REASONING_DETAILS';
|
|
775
688
|
|
|
776
|
-
/**
|
|
777
|
-
* 409 - Validator is at maximum concurrent evaluation capacity.
|
|
778
|
-
*/
|
|
779
689
|
export type AtCapacityError = {
|
|
780
690
|
/**
|
|
781
691
|
* Error message describing what went wrong
|
|
@@ -787,36 +697,33 @@ export type AtCapacityError = {
|
|
|
787
697
|
error_code?: "AT_CAPACITY";
|
|
788
698
|
};
|
|
789
699
|
|
|
790
|
-
/**
|
|
791
|
-
* Audit event log entry.
|
|
792
|
-
*/
|
|
793
700
|
export type AuditEventEntry = {
|
|
794
701
|
/**
|
|
795
|
-
*
|
|
702
|
+
* Unique event identifier
|
|
796
703
|
*/
|
|
797
704
|
event_id: string;
|
|
798
705
|
/**
|
|
799
|
-
* Action performed
|
|
706
|
+
* Action that was performed
|
|
800
707
|
*/
|
|
801
708
|
action: string;
|
|
802
709
|
/**
|
|
803
|
-
* Type of
|
|
710
|
+
* Type of entity targeted
|
|
804
711
|
*/
|
|
805
712
|
target_type: string;
|
|
806
713
|
/**
|
|
807
|
-
*
|
|
714
|
+
* Identifier of the targeted entity
|
|
808
715
|
*/
|
|
809
716
|
target_id: string;
|
|
810
717
|
/**
|
|
811
|
-
*
|
|
718
|
+
* Hotkey of the admin who performed the action
|
|
812
719
|
*/
|
|
813
720
|
actor_hotkey: string;
|
|
814
721
|
/**
|
|
815
|
-
* Reason
|
|
722
|
+
* Reason for the action
|
|
816
723
|
*/
|
|
817
724
|
reason?: (string | null);
|
|
818
725
|
/**
|
|
819
|
-
* Additional
|
|
726
|
+
* Additional event details
|
|
820
727
|
*/
|
|
821
728
|
details?: ({
|
|
822
729
|
[key: string]: unknown;
|
|
@@ -827,16 +734,9 @@ export type AuditEventEntry = {
|
|
|
827
734
|
created_at: string;
|
|
828
735
|
};
|
|
829
736
|
|
|
830
|
-
/**
|
|
831
|
-
* Response for audit events list.
|
|
832
|
-
*/
|
|
833
737
|
export type AuditEventsResponse = {
|
|
834
738
|
/**
|
|
835
|
-
*
|
|
836
|
-
*/
|
|
837
|
-
events: Array<AuditEventEntry>;
|
|
838
|
-
/**
|
|
839
|
-
* Total events matching filter
|
|
739
|
+
* Total entries matching filter
|
|
840
740
|
*/
|
|
841
741
|
total: number;
|
|
842
742
|
/**
|
|
@@ -847,11 +747,12 @@ export type AuditEventsResponse = {
|
|
|
847
747
|
* Page offset
|
|
848
748
|
*/
|
|
849
749
|
offset: number;
|
|
750
|
+
/**
|
|
751
|
+
* Audit event entries
|
|
752
|
+
*/
|
|
753
|
+
events: Array<AuditEventEntry>;
|
|
850
754
|
};
|
|
851
755
|
|
|
852
|
-
/**
|
|
853
|
-
* Request to ban a miner or validator.
|
|
854
|
-
*/
|
|
855
756
|
export type BanRequest = {
|
|
856
757
|
/**
|
|
857
758
|
* Reason for the ban
|
|
@@ -859,16 +760,13 @@ export type BanRequest = {
|
|
|
859
760
|
reason: string;
|
|
860
761
|
};
|
|
861
762
|
|
|
862
|
-
/**
|
|
863
|
-
* Response for ban/unban operations.
|
|
864
|
-
*/
|
|
865
763
|
export type BanResponse = {
|
|
866
764
|
/**
|
|
867
|
-
*
|
|
765
|
+
* Hotkey of the banned/unbanned entity
|
|
868
766
|
*/
|
|
869
767
|
hotkey: string;
|
|
870
768
|
/**
|
|
871
|
-
*
|
|
769
|
+
* Current ban status after the operation
|
|
872
770
|
*/
|
|
873
771
|
is_banned: boolean;
|
|
874
772
|
};
|
|
@@ -884,9 +782,6 @@ export type Body_submit_agent = {
|
|
|
884
782
|
file: (Blob | File);
|
|
885
783
|
};
|
|
886
784
|
|
|
887
|
-
/**
|
|
888
|
-
* Request to cancel an agent version's evaluation.
|
|
889
|
-
*/
|
|
890
785
|
export type CancelRequest = {
|
|
891
786
|
/**
|
|
892
787
|
* Reason for cancellation
|
|
@@ -894,12 +789,9 @@ export type CancelRequest = {
|
|
|
894
789
|
reason: string;
|
|
895
790
|
};
|
|
896
791
|
|
|
897
|
-
/**
|
|
898
|
-
* Response for cancel operation.
|
|
899
|
-
*/
|
|
900
792
|
export type CancelResponse = {
|
|
901
793
|
/**
|
|
902
|
-
* Agent version
|
|
794
|
+
* Agent version whose runs were cancelled
|
|
903
795
|
*/
|
|
904
796
|
agent_version_id: string;
|
|
905
797
|
/**
|
|
@@ -908,9 +800,6 @@ export type CancelResponse = {
|
|
|
908
800
|
cancelled_runs: number;
|
|
909
801
|
};
|
|
910
802
|
|
|
911
|
-
/**
|
|
912
|
-
* Request body for challenge endpoint.
|
|
913
|
-
*/
|
|
914
803
|
export type ChallengeRequest = {
|
|
915
804
|
/**
|
|
916
805
|
* SS58 hotkey address
|
|
@@ -918,9 +807,6 @@ export type ChallengeRequest = {
|
|
|
918
807
|
hotkey: string;
|
|
919
808
|
};
|
|
920
809
|
|
|
921
|
-
/**
|
|
922
|
-
* Response from challenge endpoint.
|
|
923
|
-
*/
|
|
924
810
|
export type ChallengeResponse = {
|
|
925
811
|
/**
|
|
926
812
|
* Challenge string to sign
|
|
@@ -932,26 +818,20 @@ export type ChallengeResponse = {
|
|
|
932
818
|
expires_at: number;
|
|
933
819
|
};
|
|
934
820
|
|
|
935
|
-
/**
|
|
936
|
-
* Response for Chutes auth status check.
|
|
937
|
-
*/
|
|
938
821
|
export type ChutesAuthStatusResponse = {
|
|
939
822
|
/**
|
|
940
|
-
* Whether the miner has a
|
|
823
|
+
* Whether the miner has a valid Chutes token stored
|
|
941
824
|
*/
|
|
942
825
|
connected: boolean;
|
|
943
826
|
/**
|
|
944
|
-
* When the token was last
|
|
827
|
+
* When the Chutes token was last updated
|
|
945
828
|
*/
|
|
946
829
|
updated_at?: (string | null);
|
|
947
830
|
};
|
|
948
831
|
|
|
949
|
-
/**
|
|
950
|
-
* Response for successful work claim.
|
|
951
|
-
*/
|
|
952
832
|
export type ClaimWorkResponse = {
|
|
953
833
|
/**
|
|
954
|
-
*
|
|
834
|
+
* Evaluation run ID assigned to this claim
|
|
955
835
|
*/
|
|
956
836
|
eval_run_id: string;
|
|
957
837
|
/**
|
|
@@ -959,11 +839,11 @@ export type ClaimWorkResponse = {
|
|
|
959
839
|
*/
|
|
960
840
|
agent_version_id: string;
|
|
961
841
|
/**
|
|
962
|
-
* Problem suite ID
|
|
842
|
+
* Problem suite ID for this evaluation
|
|
963
843
|
*/
|
|
964
844
|
suite_id: number;
|
|
965
845
|
/**
|
|
966
|
-
* When the lease expires
|
|
846
|
+
* When the lease expires if not renewed
|
|
967
847
|
*/
|
|
968
848
|
lease_expires_at: string;
|
|
969
849
|
/**
|
|
@@ -971,17 +851,33 @@ export type ClaimWorkResponse = {
|
|
|
971
851
|
*/
|
|
972
852
|
code_download_url: string;
|
|
973
853
|
/**
|
|
974
|
-
*
|
|
854
|
+
* Optional Chutes access token for sandboxed execution
|
|
975
855
|
*/
|
|
976
856
|
chutes_access_token?: (string | null);
|
|
977
857
|
};
|
|
978
858
|
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
859
|
+
export type ClearCooldownResponse = {
|
|
860
|
+
/**
|
|
861
|
+
* Whether the cooldown was cleared
|
|
862
|
+
*/
|
|
863
|
+
cleared: boolean;
|
|
864
|
+
/**
|
|
865
|
+
* Hotkey whose cooldown was cleared
|
|
866
|
+
*/
|
|
867
|
+
hotkey?: (string | null);
|
|
868
|
+
/**
|
|
869
|
+
* Seconds remaining on the cooldown before clearing
|
|
870
|
+
*/
|
|
871
|
+
seconds_remaining_was?: (number | null);
|
|
872
|
+
/**
|
|
873
|
+
* Human-readable status message
|
|
874
|
+
*/
|
|
875
|
+
message?: (string | null);
|
|
876
|
+
};
|
|
877
|
+
|
|
982
878
|
export type CloseQualifyingResponse = {
|
|
983
879
|
/**
|
|
984
|
-
* Race
|
|
880
|
+
* Race ID
|
|
985
881
|
*/
|
|
986
882
|
race_id: string;
|
|
987
883
|
/**
|
|
@@ -989,11 +885,11 @@ export type CloseQualifyingResponse = {
|
|
|
989
885
|
*/
|
|
990
886
|
previous_closes_at: string;
|
|
991
887
|
/**
|
|
992
|
-
*
|
|
888
|
+
* New qualifying close time
|
|
993
889
|
*/
|
|
994
890
|
new_closes_at: string;
|
|
995
891
|
/**
|
|
996
|
-
* Race status after
|
|
892
|
+
* Race status after closing qualifying
|
|
997
893
|
*/
|
|
998
894
|
status: string;
|
|
999
895
|
};
|
|
@@ -1023,61 +919,58 @@ export type CodeAnalysisError = {
|
|
|
1023
919
|
};
|
|
1024
920
|
|
|
1025
921
|
/**
|
|
1026
|
-
*
|
|
922
|
+
* Sent by the validator when an evaluation run finishes.
|
|
1027
923
|
*/
|
|
1028
924
|
export type CompleteRunRequest = {
|
|
1029
925
|
/**
|
|
1030
|
-
* Final status of the run
|
|
926
|
+
* Final status of the evaluation run
|
|
1031
927
|
*/
|
|
1032
928
|
terminal_status: TerminalStatus;
|
|
1033
929
|
/**
|
|
1034
|
-
*
|
|
930
|
+
* Aggregate score computed by the validator
|
|
1035
931
|
*/
|
|
1036
932
|
validator_score?: (number | null);
|
|
1037
933
|
/**
|
|
1038
|
-
*
|
|
934
|
+
* Detailed score component breakdown
|
|
1039
935
|
*/
|
|
1040
936
|
score_components?: ({
|
|
1041
937
|
[key: string]: unknown;
|
|
1042
938
|
} | null);
|
|
1043
939
|
/**
|
|
1044
|
-
* S3 key for
|
|
940
|
+
* S3 key for the uploaded results bundle
|
|
1045
941
|
*/
|
|
1046
942
|
results_s3_key?: (string | null);
|
|
1047
943
|
/**
|
|
1048
|
-
*
|
|
944
|
+
* Human-readable failure reason
|
|
1049
945
|
*/
|
|
1050
946
|
failure_reason?: (string | null);
|
|
1051
947
|
/**
|
|
1052
|
-
*
|
|
948
|
+
* Metadata about the sandbox environment used
|
|
1053
949
|
*/
|
|
1054
950
|
sandbox_metadata?: ({
|
|
1055
951
|
[key: string]: unknown;
|
|
1056
952
|
} | null);
|
|
1057
953
|
};
|
|
1058
954
|
|
|
1059
|
-
/**
|
|
1060
|
-
* Response for run completion.
|
|
1061
|
-
*/
|
|
1062
955
|
export type CompleteRunResponse = {
|
|
1063
956
|
/**
|
|
1064
|
-
* Evaluation run
|
|
957
|
+
* Evaluation run that was completed
|
|
1065
958
|
*/
|
|
1066
959
|
eval_run_id: string;
|
|
1067
960
|
/**
|
|
1068
|
-
*
|
|
961
|
+
* Recorded terminal status
|
|
1069
962
|
*/
|
|
1070
963
|
status: string;
|
|
1071
964
|
/**
|
|
1072
|
-
*
|
|
965
|
+
* Current work-item completion counters
|
|
1073
966
|
*/
|
|
1074
967
|
work_item: WorkItemStatus;
|
|
1075
968
|
/**
|
|
1076
|
-
* Whether agent version
|
|
969
|
+
* Whether this run caused the agent version to become eligible
|
|
1077
970
|
*/
|
|
1078
971
|
agent_version_became_eligible: boolean;
|
|
1079
972
|
/**
|
|
1080
|
-
* Final score if became eligible
|
|
973
|
+
* Final qualifying score if the version became eligible
|
|
1081
974
|
*/
|
|
1082
975
|
final_score?: (number | null);
|
|
1083
976
|
};
|
|
@@ -1100,41 +993,32 @@ export type CooldownActiveError = {
|
|
|
1100
993
|
remaining_seconds: number;
|
|
1101
994
|
};
|
|
1102
995
|
|
|
1103
|
-
/**
|
|
1104
|
-
* Request to create a new problem suite.
|
|
1105
|
-
*/
|
|
1106
996
|
export type CreateSuiteRequest = {
|
|
1107
997
|
/**
|
|
1108
|
-
* URI
|
|
998
|
+
* URI of the problem suite to import
|
|
1109
999
|
*/
|
|
1110
1000
|
problem_suite_uri: string;
|
|
1111
1001
|
/**
|
|
1112
|
-
* Whether
|
|
1002
|
+
* Whether the suite is publicly visible
|
|
1113
1003
|
*/
|
|
1114
1004
|
is_public?: boolean;
|
|
1115
1005
|
};
|
|
1116
1006
|
|
|
1117
|
-
/**
|
|
1118
|
-
* Response for suite creation.
|
|
1119
|
-
*/
|
|
1120
1007
|
export type CreateSuiteResponse = {
|
|
1121
1008
|
/**
|
|
1122
|
-
*
|
|
1009
|
+
* ID of the created suite
|
|
1123
1010
|
*/
|
|
1124
1011
|
suite_id: number;
|
|
1125
1012
|
/**
|
|
1126
|
-
*
|
|
1013
|
+
* Version number of the suite
|
|
1127
1014
|
*/
|
|
1128
1015
|
suite_version: number;
|
|
1129
1016
|
/**
|
|
1130
|
-
* Whether
|
|
1017
|
+
* Whether the suite is active
|
|
1131
1018
|
*/
|
|
1132
1019
|
is_active: boolean;
|
|
1133
1020
|
};
|
|
1134
1021
|
|
|
1135
|
-
/**
|
|
1136
|
-
* Response for current race state.
|
|
1137
|
-
*/
|
|
1138
1022
|
export type CurrentRacesResponse = {
|
|
1139
1023
|
/**
|
|
1140
1024
|
* Active races
|
|
@@ -1142,41 +1026,32 @@ export type CurrentRacesResponse = {
|
|
|
1142
1026
|
races: Array<RaceSummary>;
|
|
1143
1027
|
};
|
|
1144
1028
|
|
|
1145
|
-
/**
|
|
1146
|
-
* Request to discard an agent version.
|
|
1147
|
-
*/
|
|
1148
1029
|
export type DiscardRequest = {
|
|
1149
1030
|
/**
|
|
1150
|
-
* Reason for discarding
|
|
1031
|
+
* Reason for discarding the version
|
|
1151
1032
|
*/
|
|
1152
1033
|
reason: string;
|
|
1153
1034
|
/**
|
|
1154
|
-
*
|
|
1035
|
+
* Specific suite to discard from
|
|
1155
1036
|
*/
|
|
1156
1037
|
suite_id?: (number | null);
|
|
1157
1038
|
};
|
|
1158
1039
|
|
|
1159
|
-
/**
|
|
1160
|
-
* Response for discard/reinstate operations.
|
|
1161
|
-
*/
|
|
1162
1040
|
export type DiscardResponse = {
|
|
1163
1041
|
/**
|
|
1164
|
-
*
|
|
1042
|
+
* Discarded agent version ID
|
|
1165
1043
|
*/
|
|
1166
1044
|
agent_version_id: string;
|
|
1167
1045
|
/**
|
|
1168
|
-
* Suite
|
|
1046
|
+
* Suite the version was discarded from
|
|
1169
1047
|
*/
|
|
1170
1048
|
suite_id: number;
|
|
1171
1049
|
/**
|
|
1172
|
-
*
|
|
1050
|
+
* Current discard status
|
|
1173
1051
|
*/
|
|
1174
1052
|
is_discarded: boolean;
|
|
1175
1053
|
};
|
|
1176
1054
|
|
|
1177
|
-
/**
|
|
1178
|
-
* 404 - Evaluation run not found.
|
|
1179
|
-
*/
|
|
1180
1055
|
export type EvalRunNotFoundError = {
|
|
1181
1056
|
/**
|
|
1182
1057
|
* Error message describing what went wrong
|
|
@@ -1188,9 +1063,6 @@ export type EvalRunNotFoundError = {
|
|
|
1188
1063
|
error_code?: "EVAL_RUN_NOT_FOUND";
|
|
1189
1064
|
};
|
|
1190
1065
|
|
|
1191
|
-
/**
|
|
1192
|
-
* Detailed representation of a single evaluation run.
|
|
1193
|
-
*/
|
|
1194
1066
|
export type EvaluationRunDetail = {
|
|
1195
1067
|
/**
|
|
1196
1068
|
* Unique identifier for this run
|
|
@@ -1258,9 +1130,6 @@ export type EvaluationRunDetail = {
|
|
|
1258
1130
|
} | null);
|
|
1259
1131
|
};
|
|
1260
1132
|
|
|
1261
|
-
/**
|
|
1262
|
-
* Public representation of an evaluation run.
|
|
1263
|
-
*/
|
|
1264
1133
|
export type EvaluationRunPublic = {
|
|
1265
1134
|
/**
|
|
1266
1135
|
* Unique identifier for this run
|
|
@@ -1363,12 +1232,9 @@ export type EvaluationRunPublic = {
|
|
|
1363
1232
|
*/
|
|
1364
1233
|
export type EvaluationRunStatus = 'CLAIMED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'TIMED_OUT' | 'STALE' | 'CANCELLED';
|
|
1365
1234
|
|
|
1366
|
-
/**
|
|
1367
|
-
* Status representation of an evaluation run (for admin operations).
|
|
1368
|
-
*/
|
|
1369
1235
|
export type EvaluationRunStatusPublic = {
|
|
1370
1236
|
/**
|
|
1371
|
-
*
|
|
1237
|
+
* Evaluation run ID
|
|
1372
1238
|
*/
|
|
1373
1239
|
eval_run_id: string;
|
|
1374
1240
|
/**
|
|
@@ -1376,15 +1242,15 @@ export type EvaluationRunStatusPublic = {
|
|
|
1376
1242
|
*/
|
|
1377
1243
|
agent_version_id: string;
|
|
1378
1244
|
/**
|
|
1379
|
-
*
|
|
1245
|
+
* Problem suite ID
|
|
1380
1246
|
*/
|
|
1381
1247
|
suite_id: number;
|
|
1382
1248
|
/**
|
|
1383
|
-
* Validator performing evaluation
|
|
1249
|
+
* Validator performing the evaluation
|
|
1384
1250
|
*/
|
|
1385
1251
|
validator_hotkey: string;
|
|
1386
1252
|
/**
|
|
1387
|
-
*
|
|
1253
|
+
* Current run status
|
|
1388
1254
|
*/
|
|
1389
1255
|
status: EvaluationRunStatus;
|
|
1390
1256
|
/**
|
|
@@ -1392,48 +1258,45 @@ export type EvaluationRunStatusPublic = {
|
|
|
1392
1258
|
*/
|
|
1393
1259
|
claimed_at: string;
|
|
1394
1260
|
/**
|
|
1395
|
-
*
|
|
1261
|
+
* When the lease expires
|
|
1396
1262
|
*/
|
|
1397
1263
|
lease_expires_at: string;
|
|
1398
1264
|
/**
|
|
1399
|
-
* Whether run is included in
|
|
1265
|
+
* Whether this run is included in scoring
|
|
1400
1266
|
*/
|
|
1401
1267
|
is_included: boolean;
|
|
1402
1268
|
/**
|
|
1403
|
-
* Last heartbeat
|
|
1269
|
+
* Last heartbeat from the validator
|
|
1404
1270
|
*/
|
|
1405
1271
|
last_heartbeat_at?: (string | null);
|
|
1406
1272
|
/**
|
|
1407
|
-
*
|
|
1273
|
+
* When the run completed
|
|
1408
1274
|
*/
|
|
1409
1275
|
completed_at?: (string | null);
|
|
1410
1276
|
/**
|
|
1411
|
-
* When run was invalidated
|
|
1277
|
+
* When the run was invalidated
|
|
1412
1278
|
*/
|
|
1413
1279
|
invalidated_at?: (string | null);
|
|
1414
1280
|
/**
|
|
1415
|
-
*
|
|
1281
|
+
* Hotkey of the admin who invalidated the run
|
|
1416
1282
|
*/
|
|
1417
1283
|
invalidated_by?: (string | null);
|
|
1418
1284
|
/**
|
|
1419
|
-
* Reason
|
|
1285
|
+
* Reason the run was invalidated
|
|
1420
1286
|
*/
|
|
1421
1287
|
invalidation_reason?: (string | null);
|
|
1422
1288
|
/**
|
|
1423
|
-
* Score
|
|
1289
|
+
* Score assigned by the validator
|
|
1424
1290
|
*/
|
|
1425
1291
|
validator_score?: (number | null);
|
|
1426
1292
|
/**
|
|
1427
|
-
*
|
|
1293
|
+
* Summary of score components
|
|
1428
1294
|
*/
|
|
1429
1295
|
score_components_summary?: ({
|
|
1430
1296
|
[key: string]: unknown;
|
|
1431
1297
|
} | null);
|
|
1432
1298
|
};
|
|
1433
1299
|
|
|
1434
|
-
/**
|
|
1435
|
-
* 400 - Upload file exceeds size limit.
|
|
1436
|
-
*/
|
|
1437
1300
|
export type FileTooLargeError = {
|
|
1438
1301
|
/**
|
|
1439
1302
|
* Error message describing what went wrong
|
|
@@ -1445,9 +1308,6 @@ export type FileTooLargeError = {
|
|
|
1445
1308
|
error_code?: "FILE_TOO_LARGE";
|
|
1446
1309
|
};
|
|
1447
1310
|
|
|
1448
|
-
/**
|
|
1449
|
-
* Optional request body for heartbeat with service version info.
|
|
1450
|
-
*/
|
|
1451
1311
|
export type HeartbeatRequest = {
|
|
1452
1312
|
/**
|
|
1453
1313
|
* Docker image digests for validator stack services
|
|
@@ -1457,12 +1317,9 @@ export type HeartbeatRequest = {
|
|
|
1457
1317
|
} | null);
|
|
1458
1318
|
};
|
|
1459
1319
|
|
|
1460
|
-
/**
|
|
1461
|
-
* Response for heartbeat.
|
|
1462
|
-
*/
|
|
1463
1320
|
export type HeartbeatResponse = {
|
|
1464
1321
|
/**
|
|
1465
|
-
* New lease
|
|
1322
|
+
* New lease expiry after heartbeat
|
|
1466
1323
|
*/
|
|
1467
1324
|
lease_expires_at: string;
|
|
1468
1325
|
};
|
|
@@ -1471,9 +1328,6 @@ export type HTTPValidationError = {
|
|
|
1471
1328
|
detail?: Array<ValidationError>;
|
|
1472
1329
|
};
|
|
1473
1330
|
|
|
1474
|
-
/**
|
|
1475
|
-
* 400 - Agent name validation failed.
|
|
1476
|
-
*/
|
|
1477
1331
|
export type InvalidAgentNameError = {
|
|
1478
1332
|
/**
|
|
1479
1333
|
* Error message describing what went wrong
|
|
@@ -1485,9 +1339,6 @@ export type InvalidAgentNameError = {
|
|
|
1485
1339
|
error_code?: "INVALID_AGENT_NAME";
|
|
1486
1340
|
};
|
|
1487
1341
|
|
|
1488
|
-
/**
|
|
1489
|
-
* 400 - Unknown or unsupported artifact type.
|
|
1490
|
-
*/
|
|
1491
1342
|
export type InvalidArtifactTypeError = {
|
|
1492
1343
|
/**
|
|
1493
1344
|
* Error message describing what went wrong
|
|
@@ -1499,19 +1350,13 @@ export type InvalidArtifactTypeError = {
|
|
|
1499
1350
|
error_code?: "INVALID_ARTIFACT_TYPE";
|
|
1500
1351
|
};
|
|
1501
1352
|
|
|
1502
|
-
/**
|
|
1503
|
-
* Request to invalidate an evaluation run (irreversible).
|
|
1504
|
-
*/
|
|
1505
1353
|
export type InvalidateRunRequest = {
|
|
1506
1354
|
/**
|
|
1507
|
-
* Reason for
|
|
1355
|
+
* Reason for invalidating the run
|
|
1508
1356
|
*/
|
|
1509
1357
|
reason: string;
|
|
1510
1358
|
};
|
|
1511
1359
|
|
|
1512
|
-
/**
|
|
1513
|
-
* 400 - File content validation failed.
|
|
1514
|
-
*/
|
|
1515
1360
|
export type InvalidFileError = {
|
|
1516
1361
|
/**
|
|
1517
1362
|
* Error message describing what went wrong
|
|
@@ -1523,9 +1368,6 @@ export type InvalidFileError = {
|
|
|
1523
1368
|
error_code?: "INVALID_FILE";
|
|
1524
1369
|
};
|
|
1525
1370
|
|
|
1526
|
-
/**
|
|
1527
|
-
* 400 - Problem ID is not valid for this suite.
|
|
1528
|
-
*/
|
|
1529
1371
|
export type InvalidProblemIdError = {
|
|
1530
1372
|
/**
|
|
1531
1373
|
* Error message describing what went wrong
|
|
@@ -1537,9 +1379,6 @@ export type InvalidProblemIdError = {
|
|
|
1537
1379
|
error_code?: "INVALID_PROBLEM_ID";
|
|
1538
1380
|
};
|
|
1539
1381
|
|
|
1540
|
-
/**
|
|
1541
|
-
* Entry in the leaderboard.
|
|
1542
|
-
*/
|
|
1543
1382
|
export type LeaderboardEntry = {
|
|
1544
1383
|
/**
|
|
1545
1384
|
* Leaderboard rank
|
|
@@ -1595,43 +1434,37 @@ export type LeaderboardEntry = {
|
|
|
1595
1434
|
top_at?: (string | null);
|
|
1596
1435
|
};
|
|
1597
1436
|
|
|
1598
|
-
/**
|
|
1599
|
-
* Response for leaderboard endpoint.
|
|
1600
|
-
*/
|
|
1601
1437
|
export type LeaderboardResponse = {
|
|
1602
1438
|
/**
|
|
1603
|
-
*
|
|
1439
|
+
* Total entries matching filter
|
|
1604
1440
|
*/
|
|
1605
|
-
|
|
1441
|
+
total: number;
|
|
1606
1442
|
/**
|
|
1607
|
-
*
|
|
1443
|
+
* Page size
|
|
1608
1444
|
*/
|
|
1609
|
-
|
|
1445
|
+
limit: number;
|
|
1610
1446
|
/**
|
|
1611
|
-
*
|
|
1447
|
+
* Page offset
|
|
1612
1448
|
*/
|
|
1613
|
-
|
|
1449
|
+
offset: number;
|
|
1614
1450
|
/**
|
|
1615
|
-
*
|
|
1451
|
+
* Suite information
|
|
1616
1452
|
*/
|
|
1617
|
-
|
|
1453
|
+
suite: SuitePublic;
|
|
1618
1454
|
/**
|
|
1619
|
-
*
|
|
1455
|
+
* Leaderboard entries
|
|
1620
1456
|
*/
|
|
1621
|
-
|
|
1457
|
+
entries: Array<LeaderboardEntry>;
|
|
1622
1458
|
/**
|
|
1623
|
-
*
|
|
1459
|
+
* Distinct miner hotkeys on leaderboard
|
|
1624
1460
|
*/
|
|
1625
|
-
|
|
1461
|
+
unique_miners: number;
|
|
1626
1462
|
/**
|
|
1627
1463
|
* Score required to dethrone current top
|
|
1628
1464
|
*/
|
|
1629
1465
|
challenge_threshold?: (number | null);
|
|
1630
1466
|
};
|
|
1631
1467
|
|
|
1632
|
-
/**
|
|
1633
|
-
* 409 - Evaluation run lease has expired.
|
|
1634
|
-
*/
|
|
1635
1468
|
export type LeaseExpiredError = {
|
|
1636
1469
|
/**
|
|
1637
1470
|
* Error message describing what went wrong
|
|
@@ -1643,9 +1476,6 @@ export type LeaseExpiredError = {
|
|
|
1643
1476
|
error_code?: "LEASE_EXPIRED";
|
|
1644
1477
|
};
|
|
1645
1478
|
|
|
1646
|
-
/**
|
|
1647
|
-
* Response from logout endpoint.
|
|
1648
|
-
*/
|
|
1649
1479
|
export type LogoutResponse = {
|
|
1650
1480
|
/**
|
|
1651
1481
|
* Whether logout was successful
|
|
@@ -1653,27 +1483,21 @@ export type LogoutResponse = {
|
|
|
1653
1483
|
success: boolean;
|
|
1654
1484
|
};
|
|
1655
1485
|
|
|
1656
|
-
/**
|
|
1657
|
-
* Envelope response for GET /v1/miner/agents with cooldown status.
|
|
1658
|
-
*/
|
|
1659
1486
|
export type MinerAgentsResponse = {
|
|
1660
1487
|
/**
|
|
1661
|
-
*
|
|
1488
|
+
* List of agents owned by the miner
|
|
1662
1489
|
*/
|
|
1663
1490
|
agents: Array<AgentPublic>;
|
|
1664
1491
|
/**
|
|
1665
|
-
* Whether the miner
|
|
1492
|
+
* Whether the miner is currently allowed to submit a new agent
|
|
1666
1493
|
*/
|
|
1667
1494
|
can_submit: boolean;
|
|
1668
1495
|
/**
|
|
1669
|
-
*
|
|
1496
|
+
* Earliest time the miner may submit again, if on cooldown
|
|
1670
1497
|
*/
|
|
1671
1498
|
next_allowed_at?: (string | null);
|
|
1672
1499
|
};
|
|
1673
1500
|
|
|
1674
|
-
/**
|
|
1675
|
-
* 404 - Miner not found.
|
|
1676
|
-
*/
|
|
1677
1501
|
export type MinerNotFoundError = {
|
|
1678
1502
|
/**
|
|
1679
1503
|
* Error message describing what went wrong
|
|
@@ -1685,9 +1509,6 @@ export type MinerNotFoundError = {
|
|
|
1685
1509
|
error_code?: "MINER_NOT_FOUND";
|
|
1686
1510
|
};
|
|
1687
1511
|
|
|
1688
|
-
/**
|
|
1689
|
-
* 400 - Required parameter is missing.
|
|
1690
|
-
*/
|
|
1691
1512
|
export type MissingParameterError = {
|
|
1692
1513
|
/**
|
|
1693
1514
|
* Error message describing what went wrong
|
|
@@ -1699,9 +1520,6 @@ export type MissingParameterError = {
|
|
|
1699
1520
|
error_code?: "MISSING_PARAMETER";
|
|
1700
1521
|
};
|
|
1701
1522
|
|
|
1702
|
-
/**
|
|
1703
|
-
* 400 - Score is required for SUCCESS status.
|
|
1704
|
-
*/
|
|
1705
1523
|
export type MissingScoreError = {
|
|
1706
1524
|
/**
|
|
1707
1525
|
* Error message describing what went wrong
|
|
@@ -1713,9 +1531,6 @@ export type MissingScoreError = {
|
|
|
1713
1531
|
error_code?: "MISSING_SCORE";
|
|
1714
1532
|
};
|
|
1715
1533
|
|
|
1716
|
-
/**
|
|
1717
|
-
* 503 - No active problem suite available.
|
|
1718
|
-
*/
|
|
1719
1534
|
export type NoActiveSuiteError = {
|
|
1720
1535
|
/**
|
|
1721
1536
|
* Error message describing what went wrong
|
|
@@ -1727,9 +1542,6 @@ export type NoActiveSuiteError = {
|
|
|
1727
1542
|
error_code?: "NO_ACTIVE_SUITE";
|
|
1728
1543
|
};
|
|
1729
1544
|
|
|
1730
|
-
/**
|
|
1731
|
-
* 409 - Caller does not own this evaluation run.
|
|
1732
|
-
*/
|
|
1733
1545
|
export type NotRunOwnerError = {
|
|
1734
1546
|
/**
|
|
1735
1547
|
* Error message describing what went wrong
|
|
@@ -1741,9 +1553,6 @@ export type NotRunOwnerError = {
|
|
|
1741
1553
|
error_code?: "NOT_RUN_OWNER";
|
|
1742
1554
|
};
|
|
1743
1555
|
|
|
1744
|
-
/**
|
|
1745
|
-
* A work item awaiting validator evaluations.
|
|
1746
|
-
*/
|
|
1747
1556
|
export type PendingEvaluation = {
|
|
1748
1557
|
/**
|
|
1749
1558
|
* Unique work item identifier
|
|
@@ -1799,9 +1608,6 @@ export type PendingEvaluation = {
|
|
|
1799
1608
|
race_id?: (string | null);
|
|
1800
1609
|
};
|
|
1801
1610
|
|
|
1802
|
-
/**
|
|
1803
|
-
* Response for pending evaluations endpoint.
|
|
1804
|
-
*/
|
|
1805
1611
|
export type PendingEvaluationsResponse = {
|
|
1806
1612
|
/**
|
|
1807
1613
|
* Aggregate queue statistics
|
|
@@ -1813,9 +1619,6 @@ export type PendingEvaluationsResponse = {
|
|
|
1813
1619
|
items: Array<PendingEvaluation>;
|
|
1814
1620
|
};
|
|
1815
1621
|
|
|
1816
|
-
/**
|
|
1817
|
-
* Aggregate statistics for pending evaluations.
|
|
1818
|
-
*/
|
|
1819
1622
|
export type PendingEvaluationSummary = {
|
|
1820
1623
|
/**
|
|
1821
1624
|
* Number of open work items
|
|
@@ -1831,42 +1634,36 @@ export type PendingEvaluationSummary = {
|
|
|
1831
1634
|
total_runs_active: number;
|
|
1832
1635
|
};
|
|
1833
1636
|
|
|
1834
|
-
/**
|
|
1835
|
-
* Request for presigned upload URL.
|
|
1836
|
-
*/
|
|
1837
1637
|
export type PresignUploadRequest = {
|
|
1838
1638
|
/**
|
|
1839
|
-
*
|
|
1639
|
+
* MIME type of the upload
|
|
1840
1640
|
*/
|
|
1841
1641
|
content_type?: string;
|
|
1842
1642
|
/**
|
|
1843
|
-
* Size of the upload
|
|
1643
|
+
* Size in bytes of the upload payload
|
|
1844
1644
|
*/
|
|
1845
1645
|
content_length: number;
|
|
1846
1646
|
/**
|
|
1847
|
-
* Evaluation run
|
|
1647
|
+
* Evaluation run these results belong to
|
|
1848
1648
|
*/
|
|
1849
1649
|
eval_run_id: string;
|
|
1850
1650
|
/**
|
|
1851
|
-
* Problem
|
|
1651
|
+
* Problem these results belong to
|
|
1852
1652
|
*/
|
|
1853
1653
|
problem_id: string;
|
|
1854
1654
|
};
|
|
1855
1655
|
|
|
1856
|
-
/**
|
|
1857
|
-
* Response with presigned upload URL.
|
|
1858
|
-
*/
|
|
1859
1656
|
export type PresignUploadResponse = {
|
|
1860
1657
|
/**
|
|
1861
|
-
* Presigned
|
|
1658
|
+
* Presigned URL to upload to
|
|
1862
1659
|
*/
|
|
1863
1660
|
upload_url: string;
|
|
1864
1661
|
/**
|
|
1865
|
-
* HTTP method to use
|
|
1662
|
+
* HTTP method to use for upload
|
|
1866
1663
|
*/
|
|
1867
1664
|
method?: string;
|
|
1868
1665
|
/**
|
|
1869
|
-
* S3 key where the
|
|
1666
|
+
* S3 key where the results will be stored
|
|
1870
1667
|
*/
|
|
1871
1668
|
results_s3_key: string;
|
|
1872
1669
|
/**
|
|
@@ -1875,9 +1672,6 @@ export type PresignUploadResponse = {
|
|
|
1875
1672
|
expires_at: string;
|
|
1876
1673
|
};
|
|
1877
1674
|
|
|
1878
|
-
/**
|
|
1879
|
-
* 404 - Problem not found in suite.
|
|
1880
|
-
*/
|
|
1881
1675
|
export type ProblemNotFoundError = {
|
|
1882
1676
|
/**
|
|
1883
1677
|
* Error message describing what went wrong
|
|
@@ -1889,9 +1683,6 @@ export type ProblemNotFoundError = {
|
|
|
1889
1683
|
error_code?: "PROBLEM_NOT_FOUND";
|
|
1890
1684
|
};
|
|
1891
1685
|
|
|
1892
|
-
/**
|
|
1893
|
-
* Progress entry for a single problem showing results from all validators.
|
|
1894
|
-
*/
|
|
1895
1686
|
export type ProblemProgressEntry = {
|
|
1896
1687
|
/**
|
|
1897
1688
|
* Problem ID
|
|
@@ -1915,12 +1706,9 @@ export type ProblemProgressEntry = {
|
|
|
1915
1706
|
validator_results?: Array<ValidatorProblemResult>;
|
|
1916
1707
|
};
|
|
1917
1708
|
|
|
1918
|
-
/**
|
|
1919
|
-
* Progress update for a single problem.
|
|
1920
|
-
*/
|
|
1921
1709
|
export type ProblemProgressUpdate = {
|
|
1922
1710
|
/**
|
|
1923
|
-
* Problem
|
|
1711
|
+
* Problem being reported on
|
|
1924
1712
|
*/
|
|
1925
1713
|
problem_id: string;
|
|
1926
1714
|
/**
|
|
@@ -1928,36 +1716,33 @@ export type ProblemProgressUpdate = {
|
|
|
1928
1716
|
*/
|
|
1929
1717
|
status: ProblemStatus;
|
|
1930
1718
|
/**
|
|
1931
|
-
*
|
|
1719
|
+
* Normalised score for this problem
|
|
1932
1720
|
*/
|
|
1933
1721
|
score?: (number | null);
|
|
1934
1722
|
/**
|
|
1935
|
-
*
|
|
1723
|
+
* Breakdown of score components
|
|
1936
1724
|
*/
|
|
1937
1725
|
score_components_summary?: ({
|
|
1938
1726
|
[key: string]: unknown;
|
|
1939
1727
|
} | null);
|
|
1940
1728
|
/**
|
|
1941
|
-
* S3 key for
|
|
1729
|
+
* S3 key for problem-level logs
|
|
1942
1730
|
*/
|
|
1943
1731
|
logs_s3_key?: (string | null);
|
|
1944
1732
|
/**
|
|
1945
|
-
* Reasoning quality score
|
|
1733
|
+
* Reasoning quality score
|
|
1946
1734
|
*/
|
|
1947
1735
|
reasoning_score?: (number | null);
|
|
1948
1736
|
/**
|
|
1949
|
-
* Number of failed inference calls
|
|
1737
|
+
* Number of failed inference calls
|
|
1950
1738
|
*/
|
|
1951
1739
|
inference_failure_count?: (number | null);
|
|
1952
1740
|
/**
|
|
1953
|
-
* Total number of inference calls
|
|
1741
|
+
* Total number of inference calls
|
|
1954
1742
|
*/
|
|
1955
1743
|
inference_total?: (number | null);
|
|
1956
1744
|
};
|
|
1957
1745
|
|
|
1958
|
-
/**
|
|
1959
|
-
* Public representation of a problem.
|
|
1960
|
-
*/
|
|
1961
1746
|
export type ProblemPublic = {
|
|
1962
1747
|
/**
|
|
1963
1748
|
* Unique identifier for the problem
|
|
@@ -1975,62 +1760,44 @@ export type ProblemPublic = {
|
|
|
1975
1760
|
};
|
|
1976
1761
|
};
|
|
1977
1762
|
|
|
1978
|
-
/**
|
|
1979
|
-
* Status of problem evaluation.
|
|
1980
|
-
*/
|
|
1981
1763
|
export type ProblemStatus = 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'SKIPPED' | 'TIMED_OUT';
|
|
1982
1764
|
|
|
1983
|
-
/**
|
|
1984
|
-
* Request to update per-problem progress.
|
|
1985
|
-
*/
|
|
1986
1765
|
export type ProgressUpdateRequest = {
|
|
1987
1766
|
/**
|
|
1988
|
-
*
|
|
1767
|
+
* Per-problem progress updates
|
|
1989
1768
|
*/
|
|
1990
1769
|
problems: Array<ProblemProgressUpdate>;
|
|
1991
1770
|
};
|
|
1992
1771
|
|
|
1993
|
-
/**
|
|
1994
|
-
* Response for progress update.
|
|
1995
|
-
*/
|
|
1996
1772
|
export type ProgressUpdateResponse = {
|
|
1997
1773
|
/**
|
|
1998
|
-
* Whether
|
|
1774
|
+
* Whether the update was accepted
|
|
1999
1775
|
*/
|
|
2000
1776
|
accepted?: boolean;
|
|
2001
1777
|
};
|
|
2002
1778
|
|
|
2003
|
-
/**
|
|
2004
|
-
* Response for current race state.
|
|
2005
|
-
*/
|
|
2006
1779
|
export type RaceCurrentResponse = {
|
|
2007
1780
|
/**
|
|
2008
|
-
*
|
|
1781
|
+
* Current race, if any
|
|
2009
1782
|
*/
|
|
2010
1783
|
race?: (RacePublic | null);
|
|
2011
1784
|
/**
|
|
2012
|
-
*
|
|
1785
|
+
* Race qualifiers
|
|
2013
1786
|
*/
|
|
2014
1787
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
2015
1788
|
};
|
|
2016
1789
|
|
|
2017
|
-
/**
|
|
2018
|
-
* Detailed view of a single race.
|
|
2019
|
-
*/
|
|
2020
1790
|
export type RaceDetailResponse = {
|
|
2021
1791
|
/**
|
|
2022
|
-
* Race
|
|
1792
|
+
* Race details
|
|
2023
1793
|
*/
|
|
2024
1794
|
race: RacePublic;
|
|
2025
1795
|
/**
|
|
2026
|
-
*
|
|
1796
|
+
* Race qualifiers
|
|
2027
1797
|
*/
|
|
2028
1798
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
2029
1799
|
};
|
|
2030
1800
|
|
|
2031
|
-
/**
|
|
2032
|
-
* Detailed diagnostics for a specific race.
|
|
2033
|
-
*/
|
|
2034
1801
|
export type RaceDiagnosticsResponse = {
|
|
2035
1802
|
/**
|
|
2036
1803
|
* Race ID
|
|
@@ -2050,27 +1817,35 @@ export type RaceDiagnosticsResponse = {
|
|
|
2050
1817
|
race_completed_at?: (string | null);
|
|
2051
1818
|
winner_agent_version_id?: (string | null);
|
|
2052
1819
|
winner_score?: (number | null);
|
|
1820
|
+
/**
|
|
1821
|
+
* Score threshold for qualifying
|
|
1822
|
+
*/
|
|
2053
1823
|
qualifying_threshold?: (number | null);
|
|
1824
|
+
/**
|
|
1825
|
+
* Current incumbent agent version ID
|
|
1826
|
+
*/
|
|
2054
1827
|
incumbent_agent_version_id?: (string | null);
|
|
1828
|
+
/**
|
|
1829
|
+
* Seed used for problem selection
|
|
1830
|
+
*/
|
|
2055
1831
|
problem_seed?: (string | null);
|
|
2056
1832
|
/**
|
|
2057
|
-
* Number of race
|
|
1833
|
+
* Number of problems in the race
|
|
2058
1834
|
*/
|
|
2059
1835
|
problem_count?: number;
|
|
1836
|
+
/**
|
|
1837
|
+
* Qualified agent versions
|
|
1838
|
+
*/
|
|
2060
1839
|
qualifiers?: Array<RaceQualifierEntry>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Race work items
|
|
1842
|
+
*/
|
|
2061
1843
|
work_items?: Array<RaceWorkItemEntry>;
|
|
2062
1844
|
};
|
|
2063
1845
|
|
|
2064
|
-
/**
|
|
2065
|
-
* Paginated list of completed races.
|
|
2066
|
-
*/
|
|
2067
1846
|
export type RaceHistoryResponse = {
|
|
2068
1847
|
/**
|
|
2069
|
-
*
|
|
2070
|
-
*/
|
|
2071
|
-
races: Array<RacePublic>;
|
|
2072
|
-
/**
|
|
2073
|
-
* Total count
|
|
1848
|
+
* Total entries matching filter
|
|
2074
1849
|
*/
|
|
2075
1850
|
total: number;
|
|
2076
1851
|
/**
|
|
@@ -2081,11 +1856,12 @@ export type RaceHistoryResponse = {
|
|
|
2081
1856
|
* Page offset
|
|
2082
1857
|
*/
|
|
2083
1858
|
offset: number;
|
|
1859
|
+
/**
|
|
1860
|
+
* Historical races
|
|
1861
|
+
*/
|
|
1862
|
+
races: Array<RacePublic>;
|
|
2084
1863
|
};
|
|
2085
1864
|
|
|
2086
|
-
/**
|
|
2087
|
-
* 404 - Race not found.
|
|
2088
|
-
*/
|
|
2089
1865
|
export type RaceNotFoundError = {
|
|
2090
1866
|
/**
|
|
2091
1867
|
* Error message describing what went wrong
|
|
@@ -2097,9 +1873,6 @@ export type RaceNotFoundError = {
|
|
|
2097
1873
|
error_code?: "RACE_NOT_FOUND";
|
|
2098
1874
|
};
|
|
2099
1875
|
|
|
2100
|
-
/**
|
|
2101
|
-
* Public view of a race — extends RaceBase with public-facing fields.
|
|
2102
|
-
*/
|
|
2103
1876
|
export type RacePublic = {
|
|
2104
1877
|
/**
|
|
2105
1878
|
* Race ID
|
|
@@ -2120,26 +1893,23 @@ export type RacePublic = {
|
|
|
2120
1893
|
winner_agent_version_id?: (string | null);
|
|
2121
1894
|
winner_score?: (number | null);
|
|
2122
1895
|
/**
|
|
2123
|
-
*
|
|
1896
|
+
* Score threshold for qualifying
|
|
2124
1897
|
*/
|
|
2125
1898
|
qualifying_threshold?: (number | null);
|
|
2126
1899
|
/**
|
|
2127
|
-
*
|
|
1900
|
+
* Name of the winning agent
|
|
2128
1901
|
*/
|
|
2129
1902
|
winner_agent_name?: (string | null);
|
|
2130
1903
|
/**
|
|
2131
|
-
* Number of qualifiers
|
|
1904
|
+
* Number of qualifiers in this race
|
|
2132
1905
|
*/
|
|
2133
1906
|
qualifier_count?: number;
|
|
2134
1907
|
/**
|
|
2135
|
-
* When race was created
|
|
1908
|
+
* When the race was created
|
|
2136
1909
|
*/
|
|
2137
|
-
created_at
|
|
1910
|
+
created_at?: (string | null);
|
|
2138
1911
|
};
|
|
2139
1912
|
|
|
2140
|
-
/**
|
|
2141
|
-
* A qualifier in a race.
|
|
2142
|
-
*/
|
|
2143
1913
|
export type RaceQualifierEntry = {
|
|
2144
1914
|
/**
|
|
2145
1915
|
* Agent version ID
|
|
@@ -2171,9 +1941,6 @@ export type RaceQualifierEntry = {
|
|
|
2171
1941
|
race_score?: (number | null);
|
|
2172
1942
|
};
|
|
2173
1943
|
|
|
2174
|
-
/**
|
|
2175
|
-
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2176
|
-
*/
|
|
2177
1944
|
export type RaceQualifierPublic = {
|
|
2178
1945
|
/**
|
|
2179
1946
|
* Agent version ID
|
|
@@ -2204,14 +1971,11 @@ export type RaceQualifierPublic = {
|
|
|
2204
1971
|
*/
|
|
2205
1972
|
race_score?: (number | null);
|
|
2206
1973
|
/**
|
|
2207
|
-
*
|
|
1974
|
+
* Rank within the race
|
|
2208
1975
|
*/
|
|
2209
1976
|
race_rank?: (number | null);
|
|
2210
1977
|
};
|
|
2211
1978
|
|
|
2212
|
-
/**
|
|
2213
|
-
* Summary of a race for the current state view.
|
|
2214
|
-
*/
|
|
2215
1979
|
export type RaceSummary = {
|
|
2216
1980
|
/**
|
|
2217
1981
|
* Race ID
|
|
@@ -2232,18 +1996,15 @@ export type RaceSummary = {
|
|
|
2232
1996
|
winner_agent_version_id?: (string | null);
|
|
2233
1997
|
winner_score?: (number | null);
|
|
2234
1998
|
/**
|
|
2235
|
-
* Number of qualifiers
|
|
1999
|
+
* Number of qualifiers in this race
|
|
2236
2000
|
*/
|
|
2237
2001
|
qualifier_count?: number;
|
|
2238
2002
|
/**
|
|
2239
|
-
* Number of work items
|
|
2003
|
+
* Number of work items in this race
|
|
2240
2004
|
*/
|
|
2241
2005
|
work_item_count?: number;
|
|
2242
2006
|
};
|
|
2243
2007
|
|
|
2244
|
-
/**
|
|
2245
|
-
* A work item in a race.
|
|
2246
|
-
*/
|
|
2247
2008
|
export type RaceWorkItemEntry = {
|
|
2248
2009
|
/**
|
|
2249
2010
|
* Agent version ID
|
|
@@ -2254,34 +2015,31 @@ export type RaceWorkItemEntry = {
|
|
|
2254
2015
|
*/
|
|
2255
2016
|
agent_name?: (string | null);
|
|
2256
2017
|
/**
|
|
2257
|
-
*
|
|
2018
|
+
* Race phase (qualifying or race)
|
|
2258
2019
|
*/
|
|
2259
2020
|
phase: string;
|
|
2260
2021
|
/**
|
|
2261
|
-
* Whether work is
|
|
2022
|
+
* Whether the work item is closed
|
|
2262
2023
|
*/
|
|
2263
2024
|
is_closed: boolean;
|
|
2264
2025
|
/**
|
|
2265
|
-
* Whether work
|
|
2026
|
+
* Whether the work item is cancelled
|
|
2266
2027
|
*/
|
|
2267
2028
|
is_cancelled: boolean;
|
|
2268
2029
|
/**
|
|
2269
|
-
*
|
|
2030
|
+
* Number of included successful runs
|
|
2270
2031
|
*/
|
|
2271
2032
|
included_success_count: number;
|
|
2272
2033
|
/**
|
|
2273
|
-
*
|
|
2034
|
+
* Number of active runs
|
|
2274
2035
|
*/
|
|
2275
2036
|
active_count: number;
|
|
2276
2037
|
/**
|
|
2277
|
-
* Required successful
|
|
2038
|
+
* Required number of successful runs
|
|
2278
2039
|
*/
|
|
2279
2040
|
required_successes: number;
|
|
2280
2041
|
};
|
|
2281
2042
|
|
|
2282
|
-
/**
|
|
2283
|
-
* 429 - Rate limit exceeded.
|
|
2284
|
-
*/
|
|
2285
2043
|
export type RateLimitExceededError = {
|
|
2286
2044
|
/**
|
|
2287
2045
|
* Error message describing what went wrong
|
|
@@ -2293,89 +2051,74 @@ export type RateLimitExceededError = {
|
|
|
2293
2051
|
error_code?: "RATE_LIMIT_EXCEEDED";
|
|
2294
2052
|
};
|
|
2295
2053
|
|
|
2296
|
-
/**
|
|
2297
|
-
* Response for reaper service statistics.
|
|
2298
|
-
*/
|
|
2299
2054
|
export type ReaperStatsResponse = {
|
|
2300
2055
|
/**
|
|
2301
|
-
* Whether the reaper
|
|
2056
|
+
* Whether the reaper is enabled
|
|
2302
2057
|
*/
|
|
2303
2058
|
enabled: boolean;
|
|
2304
2059
|
/**
|
|
2305
|
-
* Whether the reaper
|
|
2060
|
+
* Whether the reaper is currently running
|
|
2306
2061
|
*/
|
|
2307
2062
|
is_running: boolean;
|
|
2308
2063
|
/**
|
|
2309
|
-
*
|
|
2064
|
+
* When the reaper last ran
|
|
2310
2065
|
*/
|
|
2311
2066
|
last_run_at?: (string | null);
|
|
2312
2067
|
/**
|
|
2313
|
-
* Total runs reaped since
|
|
2068
|
+
* Total number of runs reaped since startup
|
|
2314
2069
|
*/
|
|
2315
2070
|
runs_reaped_total: number;
|
|
2316
2071
|
/**
|
|
2317
|
-
*
|
|
2072
|
+
* Number of runs reaped in the last cycle
|
|
2318
2073
|
*/
|
|
2319
2074
|
runs_reaped_last_cycle: number;
|
|
2320
2075
|
/**
|
|
2321
|
-
* Duration of the last reaper cycle in
|
|
2076
|
+
* Duration of the last reaper cycle in milliseconds
|
|
2322
2077
|
*/
|
|
2323
2078
|
last_cycle_duration_ms: number;
|
|
2324
2079
|
/**
|
|
2325
|
-
*
|
|
2080
|
+
* Total number of reaper errors
|
|
2326
2081
|
*/
|
|
2327
2082
|
error_count: number;
|
|
2328
2083
|
/**
|
|
2329
|
-
*
|
|
2084
|
+
* Total number of Redis-related reaper errors
|
|
2330
2085
|
*/
|
|
2331
2086
|
redis_error_count: number;
|
|
2332
2087
|
/**
|
|
2333
|
-
*
|
|
2088
|
+
* Reaper cycle interval in seconds
|
|
2334
2089
|
*/
|
|
2335
2090
|
interval_seconds: number;
|
|
2336
2091
|
};
|
|
2337
2092
|
|
|
2338
|
-
/**
|
|
2339
|
-
* Request to re-evaluate an agent version.
|
|
2340
|
-
*/
|
|
2341
2093
|
export type ReevaluateRequest = {
|
|
2342
2094
|
/**
|
|
2343
2095
|
* Reason for re-evaluation
|
|
2344
2096
|
*/
|
|
2345
2097
|
reason: string;
|
|
2346
2098
|
/**
|
|
2347
|
-
*
|
|
2099
|
+
* Specific suite to re-evaluate against
|
|
2348
2100
|
*/
|
|
2349
2101
|
suite_id?: (number | null);
|
|
2350
2102
|
/**
|
|
2351
|
-
* Override required
|
|
2103
|
+
* Override for number of required successful evaluations
|
|
2352
2104
|
*/
|
|
2353
2105
|
required_successes?: (number | null);
|
|
2354
2106
|
};
|
|
2355
2107
|
|
|
2356
|
-
/**
|
|
2357
|
-
* Response for re-evaluation request.
|
|
2358
|
-
*/
|
|
2359
2108
|
export type ReevaluateResponse = {
|
|
2360
2109
|
/**
|
|
2361
|
-
* Agent version
|
|
2110
|
+
* Agent version queued for re-evaluation
|
|
2362
2111
|
*/
|
|
2363
2112
|
agent_version_id: string;
|
|
2364
2113
|
};
|
|
2365
2114
|
|
|
2366
|
-
/**
|
|
2367
|
-
* Request to reinstate an agent version.
|
|
2368
|
-
*/
|
|
2369
2115
|
export type ReinstateRequest = {
|
|
2370
2116
|
/**
|
|
2371
|
-
*
|
|
2117
|
+
* Specific suite to reinstate for
|
|
2372
2118
|
*/
|
|
2373
2119
|
suite_id?: (number | null);
|
|
2374
2120
|
};
|
|
2375
2121
|
|
|
2376
|
-
/**
|
|
2377
|
-
* 409 - Evaluation run is already complete.
|
|
2378
|
-
*/
|
|
2379
2122
|
export type RunAlreadyCompleteError = {
|
|
2380
2123
|
/**
|
|
2381
2124
|
* Error message describing what went wrong
|
|
@@ -2387,9 +2130,6 @@ export type RunAlreadyCompleteError = {
|
|
|
2387
2130
|
error_code?: "RUN_ALREADY_COMPLETE";
|
|
2388
2131
|
};
|
|
2389
2132
|
|
|
2390
|
-
/**
|
|
2391
|
-
* Representation of a currently running evaluation.
|
|
2392
|
-
*/
|
|
2393
2133
|
export type RunningEvaluation = {
|
|
2394
2134
|
/**
|
|
2395
2135
|
* Unique identifier for this run
|
|
@@ -2437,12 +2177,9 @@ export type RunningEvaluation = {
|
|
|
2437
2177
|
race_id?: (string | null);
|
|
2438
2178
|
};
|
|
2439
2179
|
|
|
2440
|
-
/**
|
|
2441
|
-
* Problems for an evaluation run.
|
|
2442
|
-
*/
|
|
2443
2180
|
export type RunProblemsResponse = {
|
|
2444
2181
|
/**
|
|
2445
|
-
* Problems to evaluate
|
|
2182
|
+
* Problems to evaluate
|
|
2446
2183
|
*/
|
|
2447
2184
|
problems: Array<ProblemPublic>;
|
|
2448
2185
|
};
|
|
@@ -2477,9 +2214,6 @@ export type ScoreBelowThresholdError = {
|
|
|
2477
2214
|
margin: number;
|
|
2478
2215
|
};
|
|
2479
2216
|
|
|
2480
|
-
/**
|
|
2481
|
-
* Request body for session creation endpoint.
|
|
2482
|
-
*/
|
|
2483
2217
|
export type SessionRequest = {
|
|
2484
2218
|
/**
|
|
2485
2219
|
* SS58 hotkey address
|
|
@@ -2495,9 +2229,6 @@ export type SessionRequest = {
|
|
|
2495
2229
|
signature: string;
|
|
2496
2230
|
};
|
|
2497
2231
|
|
|
2498
|
-
/**
|
|
2499
|
-
* Response from session creation endpoint.
|
|
2500
|
-
*/
|
|
2501
2232
|
export type SessionResponse = {
|
|
2502
2233
|
/**
|
|
2503
2234
|
* Session token for authenticated requests
|
|
@@ -2513,89 +2244,74 @@ export type SessionResponse = {
|
|
|
2513
2244
|
role: string;
|
|
2514
2245
|
};
|
|
2515
2246
|
|
|
2516
|
-
/**
|
|
2517
|
-
* Request to set an agent version as the top agent for emissions.
|
|
2518
|
-
*/
|
|
2519
2247
|
export type SetTopRequest = {
|
|
2520
2248
|
/**
|
|
2521
|
-
*
|
|
2249
|
+
* Specific suite to set top agent for
|
|
2522
2250
|
*/
|
|
2523
2251
|
suite_id?: (number | null);
|
|
2524
2252
|
/**
|
|
2525
|
-
*
|
|
2253
|
+
* Force set even if version has lower score
|
|
2526
2254
|
*/
|
|
2527
2255
|
force?: boolean;
|
|
2528
2256
|
};
|
|
2529
2257
|
|
|
2530
|
-
/**
|
|
2531
|
-
* Response for set-top operation.
|
|
2532
|
-
*/
|
|
2533
2258
|
export type SetTopResponse = {
|
|
2534
2259
|
/**
|
|
2535
|
-
*
|
|
2260
|
+
* Agent version set as top
|
|
2536
2261
|
*/
|
|
2537
2262
|
agent_version_id: string;
|
|
2538
2263
|
/**
|
|
2539
|
-
* Suite
|
|
2264
|
+
* Suite the top agent was set for
|
|
2540
2265
|
*/
|
|
2541
2266
|
suite_id: number;
|
|
2542
2267
|
/**
|
|
2543
|
-
* Previous top agent version
|
|
2268
|
+
* Previous top agent version ID, if any
|
|
2544
2269
|
*/
|
|
2545
2270
|
previous_top_agent_version_id?: (string | null);
|
|
2546
2271
|
/**
|
|
2547
|
-
*
|
|
2272
|
+
* Timestamp when the top agent was set
|
|
2548
2273
|
*/
|
|
2549
2274
|
top_at: string;
|
|
2550
2275
|
};
|
|
2551
2276
|
|
|
2552
|
-
/**
|
|
2553
|
-
* Request body for storing a Chutes refresh token.
|
|
2554
|
-
*/
|
|
2555
2277
|
export type StoreChutesTokenRequest = {
|
|
2556
2278
|
/**
|
|
2557
|
-
* Chutes OAuth refresh token
|
|
2279
|
+
* Chutes OAuth refresh token to store
|
|
2558
2280
|
*/
|
|
2559
2281
|
refresh_token: string;
|
|
2560
2282
|
};
|
|
2561
2283
|
|
|
2562
|
-
/**
|
|
2563
|
-
* Response model for agent submission.
|
|
2564
|
-
*/
|
|
2565
2284
|
export type SubmitAgentResponse = {
|
|
2566
2285
|
/**
|
|
2567
|
-
*
|
|
2286
|
+
* Unique identifier for the created agent
|
|
2568
2287
|
*/
|
|
2569
2288
|
agent_id?: (string | null);
|
|
2570
2289
|
/**
|
|
2571
|
-
*
|
|
2290
|
+
* Unique identifier for the created agent version
|
|
2572
2291
|
*/
|
|
2573
2292
|
agent_version_id?: (string | null);
|
|
2574
2293
|
/**
|
|
2575
|
-
* Whether submission was accepted
|
|
2294
|
+
* Whether the submission was accepted or rejected
|
|
2576
2295
|
*/
|
|
2577
2296
|
admission_status: AdmissionStatus;
|
|
2578
2297
|
/**
|
|
2579
|
-
* Reason for rejection if rejected
|
|
2298
|
+
* Reason for rejection, if the submission was rejected
|
|
2580
2299
|
*/
|
|
2581
2300
|
admission_reason?: (AdmissionReason | null);
|
|
2582
2301
|
/**
|
|
2583
|
-
*
|
|
2302
|
+
* Earliest time the miner may submit again after cooldown
|
|
2584
2303
|
*/
|
|
2585
2304
|
next_allowed_at?: (string | null);
|
|
2586
2305
|
/**
|
|
2587
|
-
*
|
|
2306
|
+
* Hotkey of the miner who submitted the agent
|
|
2588
2307
|
*/
|
|
2589
2308
|
hotkey: string;
|
|
2590
2309
|
/**
|
|
2591
|
-
*
|
|
2310
|
+
* Human-readable status message
|
|
2592
2311
|
*/
|
|
2593
2312
|
message?: string;
|
|
2594
2313
|
};
|
|
2595
2314
|
|
|
2596
|
-
/**
|
|
2597
|
-
* 404 - Problem suite not found.
|
|
2598
|
-
*/
|
|
2599
2315
|
export type SuiteNotFoundError = {
|
|
2600
2316
|
/**
|
|
2601
2317
|
* Error message describing what went wrong
|
|
@@ -2607,9 +2323,6 @@ export type SuiteNotFoundError = {
|
|
|
2607
2323
|
error_code?: "SUITE_NOT_FOUND";
|
|
2608
2324
|
};
|
|
2609
2325
|
|
|
2610
|
-
/**
|
|
2611
|
-
* Public representation of a problem suite.
|
|
2612
|
-
*/
|
|
2613
2326
|
export type SuitePublic = {
|
|
2614
2327
|
/**
|
|
2615
2328
|
* Problem suite version/ID
|
|
@@ -2625,9 +2338,6 @@ export type SuitePublic = {
|
|
|
2625
2338
|
is_active: boolean;
|
|
2626
2339
|
};
|
|
2627
2340
|
|
|
2628
|
-
/**
|
|
2629
|
-
* Response for suite with its problems.
|
|
2630
|
-
*/
|
|
2631
2341
|
export type SuiteWithProblemsResponse = {
|
|
2632
2342
|
/**
|
|
2633
2343
|
* Suite information
|
|
@@ -2639,14 +2349,8 @@ export type SuiteWithProblemsResponse = {
|
|
|
2639
2349
|
problems: Array<ProblemPublic>;
|
|
2640
2350
|
};
|
|
2641
2351
|
|
|
2642
|
-
/**
|
|
2643
|
-
* Terminal statuses for evaluation runs.
|
|
2644
|
-
*/
|
|
2645
2352
|
export type TerminalStatus = 'SUCCESS' | 'FAILED' | 'TIMED_OUT';
|
|
2646
2353
|
|
|
2647
|
-
/**
|
|
2648
|
-
* Response for top agent endpoint.
|
|
2649
|
-
*/
|
|
2650
2354
|
export type TopAgentResponse = {
|
|
2651
2355
|
/**
|
|
2652
2356
|
* Active suite ID
|
|
@@ -2688,9 +2392,6 @@ export type TopAgentResponse = {
|
|
|
2688
2392
|
margin?: (number | null);
|
|
2689
2393
|
};
|
|
2690
2394
|
|
|
2691
|
-
/**
|
|
2692
|
-
* A single entry in the top agent history.
|
|
2693
|
-
*/
|
|
2694
2395
|
export type TopHistoryEntry = {
|
|
2695
2396
|
/**
|
|
2696
2397
|
* Agent version ID
|
|
@@ -2730,9 +2431,6 @@ export type TopHistoryEntry = {
|
|
|
2730
2431
|
suite_id: number;
|
|
2731
2432
|
};
|
|
2732
2433
|
|
|
2733
|
-
/**
|
|
2734
|
-
* Response for top agent history endpoint.
|
|
2735
|
-
*/
|
|
2736
2434
|
export type TopHistoryResponse = {
|
|
2737
2435
|
/**
|
|
2738
2436
|
* Suite ID
|
|
@@ -2754,9 +2452,17 @@ export type ValidationError = {
|
|
|
2754
2452
|
};
|
|
2755
2453
|
};
|
|
2756
2454
|
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2455
|
+
export type ValidationErrorError = {
|
|
2456
|
+
/**
|
|
2457
|
+
* Error message describing what went wrong
|
|
2458
|
+
*/
|
|
2459
|
+
detail: string;
|
|
2460
|
+
/**
|
|
2461
|
+
* Error code for programmatic handling
|
|
2462
|
+
*/
|
|
2463
|
+
error_code?: "VALIDATION_ERROR";
|
|
2464
|
+
};
|
|
2465
|
+
|
|
2760
2466
|
export type ValidatorCurrentAgent = {
|
|
2761
2467
|
/**
|
|
2762
2468
|
* Name of the agent being evaluated
|
|
@@ -2776,9 +2482,6 @@ export type ValidatorCurrentAgent = {
|
|
|
2776
2482
|
started_at: string;
|
|
2777
2483
|
};
|
|
2778
2484
|
|
|
2779
|
-
/**
|
|
2780
|
-
* 404 - Validator not found.
|
|
2781
|
-
*/
|
|
2782
2485
|
export type ValidatorNotFoundError = {
|
|
2783
2486
|
/**
|
|
2784
2487
|
* Error message describing what went wrong
|
|
@@ -2790,9 +2493,6 @@ export type ValidatorNotFoundError = {
|
|
|
2790
2493
|
error_code?: "VALIDATOR_NOT_FOUND";
|
|
2791
2494
|
};
|
|
2792
2495
|
|
|
2793
|
-
/**
|
|
2794
|
-
* Result from a single validator for a specific problem.
|
|
2795
|
-
*/
|
|
2796
2496
|
export type ValidatorProblemResult = {
|
|
2797
2497
|
/**
|
|
2798
2498
|
* Evaluation run ID this result belongs to
|
|
@@ -2834,9 +2534,6 @@ export type ValidatorProblemResult = {
|
|
|
2834
2534
|
inference_total?: (number | null);
|
|
2835
2535
|
};
|
|
2836
2536
|
|
|
2837
|
-
/**
|
|
2838
|
-
* Public representation of a validator.
|
|
2839
|
-
*/
|
|
2840
2537
|
export type ValidatorPublic = {
|
|
2841
2538
|
/**
|
|
2842
2539
|
* Validator's SS58 address
|
|
@@ -2887,11 +2584,11 @@ export type ValidatorPublic = {
|
|
|
2887
2584
|
};
|
|
2888
2585
|
|
|
2889
2586
|
/**
|
|
2890
|
-
*
|
|
2587
|
+
* Aggregated validator scoring analysis.
|
|
2891
2588
|
*/
|
|
2892
2589
|
export type ValidatorScoresResponse = {
|
|
2893
2590
|
/**
|
|
2894
|
-
* Per-validator summaries
|
|
2591
|
+
* Per-validator score summaries
|
|
2895
2592
|
*/
|
|
2896
2593
|
validators: Array<ValidatorScoreSummary>;
|
|
2897
2594
|
/**
|
|
@@ -2899,33 +2596,30 @@ export type ValidatorScoresResponse = {
|
|
|
2899
2596
|
*/
|
|
2900
2597
|
global_avg_score: number;
|
|
2901
2598
|
/**
|
|
2902
|
-
* Global standard deviation
|
|
2599
|
+
* Global standard deviation of scores
|
|
2903
2600
|
*/
|
|
2904
2601
|
global_stddev: number;
|
|
2905
2602
|
/**
|
|
2906
|
-
* Global average execution time
|
|
2603
|
+
* Global average execution time in seconds
|
|
2907
2604
|
*/
|
|
2908
2605
|
global_avg_execution_seconds?: number;
|
|
2909
2606
|
};
|
|
2910
2607
|
|
|
2911
|
-
/**
|
|
2912
|
-
* Aggregated scoring and performance stats for a single validator.
|
|
2913
|
-
*/
|
|
2914
2608
|
export type ValidatorScoreSummary = {
|
|
2915
2609
|
/**
|
|
2916
|
-
* Validator hotkey
|
|
2610
|
+
* Validator's SS58 hotkey
|
|
2917
2611
|
*/
|
|
2918
2612
|
validator_hotkey: string;
|
|
2919
2613
|
/**
|
|
2920
|
-
* Total completed runs
|
|
2614
|
+
* Total number of completed runs
|
|
2921
2615
|
*/
|
|
2922
2616
|
total_runs: number;
|
|
2923
2617
|
/**
|
|
2924
|
-
*
|
|
2618
|
+
* Average score across runs
|
|
2925
2619
|
*/
|
|
2926
2620
|
avg_score: number;
|
|
2927
2621
|
/**
|
|
2928
|
-
* Median score
|
|
2622
|
+
* Median score across runs
|
|
2929
2623
|
*/
|
|
2930
2624
|
median_score: number;
|
|
2931
2625
|
/**
|
|
@@ -2941,15 +2635,15 @@ export type ValidatorScoreSummary = {
|
|
|
2941
2635
|
*/
|
|
2942
2636
|
max_score: number;
|
|
2943
2637
|
/**
|
|
2944
|
-
*
|
|
2638
|
+
* Deviation of this validator's average from the global average
|
|
2945
2639
|
*/
|
|
2946
2640
|
deviation_from_global: number;
|
|
2947
2641
|
/**
|
|
2948
|
-
*
|
|
2642
|
+
* Whether this validator is a scoring outlier
|
|
2949
2643
|
*/
|
|
2950
2644
|
is_outlier: boolean;
|
|
2951
2645
|
/**
|
|
2952
|
-
*
|
|
2646
|
+
* Average execution time in seconds
|
|
2953
2647
|
*/
|
|
2954
2648
|
avg_execution_seconds?: number;
|
|
2955
2649
|
/**
|
|
@@ -2957,55 +2651,49 @@ export type ValidatorScoreSummary = {
|
|
|
2957
2651
|
*/
|
|
2958
2652
|
median_execution_seconds?: number;
|
|
2959
2653
|
/**
|
|
2960
|
-
*
|
|
2654
|
+
* Minimum execution time in seconds
|
|
2961
2655
|
*/
|
|
2962
2656
|
min_execution_seconds?: number;
|
|
2963
2657
|
/**
|
|
2964
|
-
*
|
|
2658
|
+
* Maximum execution time in seconds
|
|
2965
2659
|
*/
|
|
2966
2660
|
max_execution_seconds?: number;
|
|
2967
2661
|
/**
|
|
2968
|
-
*
|
|
2662
|
+
* Percentage deviation of execution time from global average
|
|
2969
2663
|
*/
|
|
2970
2664
|
execution_deviation_pct?: number;
|
|
2971
2665
|
/**
|
|
2972
|
-
*
|
|
2666
|
+
* Whether this validator is a slow execution outlier
|
|
2973
2667
|
*/
|
|
2974
2668
|
is_slow_outlier?: boolean;
|
|
2975
2669
|
/**
|
|
2976
|
-
*
|
|
2670
|
+
* Number of successful runs
|
|
2977
2671
|
*/
|
|
2978
2672
|
success_count?: number;
|
|
2979
2673
|
/**
|
|
2980
|
-
*
|
|
2674
|
+
* Number of failed runs
|
|
2981
2675
|
*/
|
|
2982
2676
|
failed_count?: number;
|
|
2983
2677
|
/**
|
|
2984
|
-
*
|
|
2678
|
+
* Number of timed-out runs
|
|
2985
2679
|
*/
|
|
2986
2680
|
timed_out_count?: number;
|
|
2987
2681
|
/**
|
|
2988
|
-
*
|
|
2682
|
+
* Success rate as a fraction
|
|
2989
2683
|
*/
|
|
2990
2684
|
success_rate?: number;
|
|
2991
2685
|
/**
|
|
2992
|
-
*
|
|
2686
|
+
* Reason for the most recent failure
|
|
2993
2687
|
*/
|
|
2994
2688
|
last_failure_reason?: (string | null);
|
|
2995
2689
|
/**
|
|
2996
|
-
* When
|
|
2690
|
+
* When the most recent failure occurred
|
|
2997
2691
|
*/
|
|
2998
2692
|
last_failure_at?: (string | null);
|
|
2999
2693
|
};
|
|
3000
2694
|
|
|
3001
|
-
/**
|
|
3002
|
-
* Status of a validator.
|
|
3003
|
-
*/
|
|
3004
2695
|
export type ValidatorStatus = 'evaluating' | 'available';
|
|
3005
2696
|
|
|
3006
|
-
/**
|
|
3007
|
-
* Request body for waitlist signup.
|
|
3008
|
-
*/
|
|
3009
2697
|
export type WaitlistSignupRequest = {
|
|
3010
2698
|
/**
|
|
3011
2699
|
* Email address to add to the waitlist
|
|
@@ -3017,9 +2705,6 @@ export type WaitlistSignupRequest = {
|
|
|
3017
2705
|
source?: string;
|
|
3018
2706
|
};
|
|
3019
2707
|
|
|
3020
|
-
/**
|
|
3021
|
-
* Response from waitlist signup.
|
|
3022
|
-
*/
|
|
3023
2708
|
export type WaitlistSignupResponse = {
|
|
3024
2709
|
/**
|
|
3025
2710
|
* Whether signup was recorded
|
|
@@ -3027,20 +2712,17 @@ export type WaitlistSignupResponse = {
|
|
|
3027
2712
|
success: boolean;
|
|
3028
2713
|
};
|
|
3029
2714
|
|
|
3030
|
-
/**
|
|
3031
|
-
* Status of the work item after completion.
|
|
3032
|
-
*/
|
|
3033
2715
|
export type WorkItemStatus = {
|
|
3034
2716
|
/**
|
|
3035
|
-
* Number of successful runs
|
|
2717
|
+
* Number of successful runs included so far
|
|
3036
2718
|
*/
|
|
3037
2719
|
included_success_count: number;
|
|
3038
2720
|
/**
|
|
3039
|
-
*
|
|
2721
|
+
* Number of successful runs required to close the work item
|
|
3040
2722
|
*/
|
|
3041
2723
|
required_successes: number;
|
|
3042
2724
|
/**
|
|
3043
|
-
* Whether work item is closed
|
|
2725
|
+
* Whether the work item is closed
|
|
3044
2726
|
*/
|
|
3045
2727
|
is_closed: boolean;
|
|
3046
2728
|
};
|
|
@@ -3398,7 +3080,7 @@ export type PresignUploadData = {
|
|
|
3398
3080
|
|
|
3399
3081
|
export type PresignUploadResponse2 = (PresignUploadResponse);
|
|
3400
3082
|
|
|
3401
|
-
export type PresignUploadError = ((FileTooLargeError |
|
|
3083
|
+
export type PresignUploadError = ((FileTooLargeError | ValidationErrorError) | (EvalRunNotFoundError | ProblemNotFoundError) | NotRunOwnerError | HTTPValidationError);
|
|
3402
3084
|
|
|
3403
3085
|
export type CompleteRunData = {
|
|
3404
3086
|
body: CompleteRunRequest;
|
|
@@ -3412,7 +3094,7 @@ export type CompleteRunData = {
|
|
|
3412
3094
|
|
|
3413
3095
|
export type CompleteRunResponse2 = (CompleteRunResponse);
|
|
3414
3096
|
|
|
3415
|
-
export type CompleteRunError = ((MissingScoreError |
|
|
3097
|
+
export type CompleteRunError = ((MissingScoreError | ValidationErrorError) | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
3416
3098
|
|
|
3417
3099
|
export type GetRunProblemsData = {
|
|
3418
3100
|
path: {
|
|
@@ -3646,9 +3328,7 @@ export type ClearMinerCooldownData = {
|
|
|
3646
3328
|
};
|
|
3647
3329
|
};
|
|
3648
3330
|
|
|
3649
|
-
export type ClearMinerCooldownResponse = (
|
|
3650
|
-
[key: string]: unknown;
|
|
3651
|
-
});
|
|
3331
|
+
export type ClearMinerCooldownResponse = (ClearCooldownResponse);
|
|
3652
3332
|
|
|
3653
3333
|
export type ClearMinerCooldownError = (HTTPValidationError);
|
|
3654
3334
|
|