@oro-ai/sdk 1.0.35 → 1.0.37
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 +282 -600
- package/dist/index.d.ts +282 -600
- package/package.json +1 -1
- package/src/generated/types.gen.ts +281 -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
|
|
@@ -1356,6 +1225,10 @@ export type EvaluationRunPublic = {
|
|
|
1356
1225
|
* Race ID if this is a race-phase evaluation
|
|
1357
1226
|
*/
|
|
1358
1227
|
race_id?: (string | null);
|
|
1228
|
+
/**
|
|
1229
|
+
* Race number if this is a race-phase evaluation
|
|
1230
|
+
*/
|
|
1231
|
+
race_number?: (number | null);
|
|
1359
1232
|
};
|
|
1360
1233
|
|
|
1361
1234
|
/**
|
|
@@ -1363,12 +1236,9 @@ export type EvaluationRunPublic = {
|
|
|
1363
1236
|
*/
|
|
1364
1237
|
export type EvaluationRunStatus = 'CLAIMED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'TIMED_OUT' | 'STALE' | 'CANCELLED';
|
|
1365
1238
|
|
|
1366
|
-
/**
|
|
1367
|
-
* Status representation of an evaluation run (for admin operations).
|
|
1368
|
-
*/
|
|
1369
1239
|
export type EvaluationRunStatusPublic = {
|
|
1370
1240
|
/**
|
|
1371
|
-
*
|
|
1241
|
+
* Evaluation run ID
|
|
1372
1242
|
*/
|
|
1373
1243
|
eval_run_id: string;
|
|
1374
1244
|
/**
|
|
@@ -1376,15 +1246,15 @@ export type EvaluationRunStatusPublic = {
|
|
|
1376
1246
|
*/
|
|
1377
1247
|
agent_version_id: string;
|
|
1378
1248
|
/**
|
|
1379
|
-
*
|
|
1249
|
+
* Problem suite ID
|
|
1380
1250
|
*/
|
|
1381
1251
|
suite_id: number;
|
|
1382
1252
|
/**
|
|
1383
|
-
* Validator performing evaluation
|
|
1253
|
+
* Validator performing the evaluation
|
|
1384
1254
|
*/
|
|
1385
1255
|
validator_hotkey: string;
|
|
1386
1256
|
/**
|
|
1387
|
-
*
|
|
1257
|
+
* Current run status
|
|
1388
1258
|
*/
|
|
1389
1259
|
status: EvaluationRunStatus;
|
|
1390
1260
|
/**
|
|
@@ -1392,48 +1262,45 @@ export type EvaluationRunStatusPublic = {
|
|
|
1392
1262
|
*/
|
|
1393
1263
|
claimed_at: string;
|
|
1394
1264
|
/**
|
|
1395
|
-
*
|
|
1265
|
+
* When the lease expires
|
|
1396
1266
|
*/
|
|
1397
1267
|
lease_expires_at: string;
|
|
1398
1268
|
/**
|
|
1399
|
-
* Whether run is included in
|
|
1269
|
+
* Whether this run is included in scoring
|
|
1400
1270
|
*/
|
|
1401
1271
|
is_included: boolean;
|
|
1402
1272
|
/**
|
|
1403
|
-
* Last heartbeat
|
|
1273
|
+
* Last heartbeat from the validator
|
|
1404
1274
|
*/
|
|
1405
1275
|
last_heartbeat_at?: (string | null);
|
|
1406
1276
|
/**
|
|
1407
|
-
*
|
|
1277
|
+
* When the run completed
|
|
1408
1278
|
*/
|
|
1409
1279
|
completed_at?: (string | null);
|
|
1410
1280
|
/**
|
|
1411
|
-
* When run was invalidated
|
|
1281
|
+
* When the run was invalidated
|
|
1412
1282
|
*/
|
|
1413
1283
|
invalidated_at?: (string | null);
|
|
1414
1284
|
/**
|
|
1415
|
-
*
|
|
1285
|
+
* Hotkey of the admin who invalidated the run
|
|
1416
1286
|
*/
|
|
1417
1287
|
invalidated_by?: (string | null);
|
|
1418
1288
|
/**
|
|
1419
|
-
* Reason
|
|
1289
|
+
* Reason the run was invalidated
|
|
1420
1290
|
*/
|
|
1421
1291
|
invalidation_reason?: (string | null);
|
|
1422
1292
|
/**
|
|
1423
|
-
* Score
|
|
1293
|
+
* Score assigned by the validator
|
|
1424
1294
|
*/
|
|
1425
1295
|
validator_score?: (number | null);
|
|
1426
1296
|
/**
|
|
1427
|
-
*
|
|
1297
|
+
* Summary of score components
|
|
1428
1298
|
*/
|
|
1429
1299
|
score_components_summary?: ({
|
|
1430
1300
|
[key: string]: unknown;
|
|
1431
1301
|
} | null);
|
|
1432
1302
|
};
|
|
1433
1303
|
|
|
1434
|
-
/**
|
|
1435
|
-
* 400 - Upload file exceeds size limit.
|
|
1436
|
-
*/
|
|
1437
1304
|
export type FileTooLargeError = {
|
|
1438
1305
|
/**
|
|
1439
1306
|
* Error message describing what went wrong
|
|
@@ -1445,9 +1312,6 @@ export type FileTooLargeError = {
|
|
|
1445
1312
|
error_code?: "FILE_TOO_LARGE";
|
|
1446
1313
|
};
|
|
1447
1314
|
|
|
1448
|
-
/**
|
|
1449
|
-
* Optional request body for heartbeat with service version info.
|
|
1450
|
-
*/
|
|
1451
1315
|
export type HeartbeatRequest = {
|
|
1452
1316
|
/**
|
|
1453
1317
|
* Docker image digests for validator stack services
|
|
@@ -1457,12 +1321,9 @@ export type HeartbeatRequest = {
|
|
|
1457
1321
|
} | null);
|
|
1458
1322
|
};
|
|
1459
1323
|
|
|
1460
|
-
/**
|
|
1461
|
-
* Response for heartbeat.
|
|
1462
|
-
*/
|
|
1463
1324
|
export type HeartbeatResponse = {
|
|
1464
1325
|
/**
|
|
1465
|
-
* New lease
|
|
1326
|
+
* New lease expiry after heartbeat
|
|
1466
1327
|
*/
|
|
1467
1328
|
lease_expires_at: string;
|
|
1468
1329
|
};
|
|
@@ -1471,9 +1332,6 @@ export type HTTPValidationError = {
|
|
|
1471
1332
|
detail?: Array<ValidationError>;
|
|
1472
1333
|
};
|
|
1473
1334
|
|
|
1474
|
-
/**
|
|
1475
|
-
* 400 - Agent name validation failed.
|
|
1476
|
-
*/
|
|
1477
1335
|
export type InvalidAgentNameError = {
|
|
1478
1336
|
/**
|
|
1479
1337
|
* Error message describing what went wrong
|
|
@@ -1485,9 +1343,6 @@ export type InvalidAgentNameError = {
|
|
|
1485
1343
|
error_code?: "INVALID_AGENT_NAME";
|
|
1486
1344
|
};
|
|
1487
1345
|
|
|
1488
|
-
/**
|
|
1489
|
-
* 400 - Unknown or unsupported artifact type.
|
|
1490
|
-
*/
|
|
1491
1346
|
export type InvalidArtifactTypeError = {
|
|
1492
1347
|
/**
|
|
1493
1348
|
* Error message describing what went wrong
|
|
@@ -1499,19 +1354,13 @@ export type InvalidArtifactTypeError = {
|
|
|
1499
1354
|
error_code?: "INVALID_ARTIFACT_TYPE";
|
|
1500
1355
|
};
|
|
1501
1356
|
|
|
1502
|
-
/**
|
|
1503
|
-
* Request to invalidate an evaluation run (irreversible).
|
|
1504
|
-
*/
|
|
1505
1357
|
export type InvalidateRunRequest = {
|
|
1506
1358
|
/**
|
|
1507
|
-
* Reason for
|
|
1359
|
+
* Reason for invalidating the run
|
|
1508
1360
|
*/
|
|
1509
1361
|
reason: string;
|
|
1510
1362
|
};
|
|
1511
1363
|
|
|
1512
|
-
/**
|
|
1513
|
-
* 400 - File content validation failed.
|
|
1514
|
-
*/
|
|
1515
1364
|
export type InvalidFileError = {
|
|
1516
1365
|
/**
|
|
1517
1366
|
* Error message describing what went wrong
|
|
@@ -1523,9 +1372,6 @@ export type InvalidFileError = {
|
|
|
1523
1372
|
error_code?: "INVALID_FILE";
|
|
1524
1373
|
};
|
|
1525
1374
|
|
|
1526
|
-
/**
|
|
1527
|
-
* 400 - Problem ID is not valid for this suite.
|
|
1528
|
-
*/
|
|
1529
1375
|
export type InvalidProblemIdError = {
|
|
1530
1376
|
/**
|
|
1531
1377
|
* Error message describing what went wrong
|
|
@@ -1537,9 +1383,6 @@ export type InvalidProblemIdError = {
|
|
|
1537
1383
|
error_code?: "INVALID_PROBLEM_ID";
|
|
1538
1384
|
};
|
|
1539
1385
|
|
|
1540
|
-
/**
|
|
1541
|
-
* Entry in the leaderboard.
|
|
1542
|
-
*/
|
|
1543
1386
|
export type LeaderboardEntry = {
|
|
1544
1387
|
/**
|
|
1545
1388
|
* Leaderboard rank
|
|
@@ -1595,43 +1438,37 @@ export type LeaderboardEntry = {
|
|
|
1595
1438
|
top_at?: (string | null);
|
|
1596
1439
|
};
|
|
1597
1440
|
|
|
1598
|
-
/**
|
|
1599
|
-
* Response for leaderboard endpoint.
|
|
1600
|
-
*/
|
|
1601
1441
|
export type LeaderboardResponse = {
|
|
1602
1442
|
/**
|
|
1603
|
-
*
|
|
1443
|
+
* Total entries matching filter
|
|
1604
1444
|
*/
|
|
1605
|
-
|
|
1445
|
+
total: number;
|
|
1606
1446
|
/**
|
|
1607
|
-
*
|
|
1447
|
+
* Page size
|
|
1608
1448
|
*/
|
|
1609
|
-
|
|
1449
|
+
limit: number;
|
|
1610
1450
|
/**
|
|
1611
|
-
*
|
|
1451
|
+
* Page offset
|
|
1612
1452
|
*/
|
|
1613
|
-
|
|
1453
|
+
offset: number;
|
|
1614
1454
|
/**
|
|
1615
|
-
*
|
|
1455
|
+
* Suite information
|
|
1616
1456
|
*/
|
|
1617
|
-
|
|
1457
|
+
suite: SuitePublic;
|
|
1618
1458
|
/**
|
|
1619
|
-
*
|
|
1459
|
+
* Leaderboard entries
|
|
1620
1460
|
*/
|
|
1621
|
-
|
|
1461
|
+
entries: Array<LeaderboardEntry>;
|
|
1622
1462
|
/**
|
|
1623
|
-
*
|
|
1463
|
+
* Distinct miner hotkeys on leaderboard
|
|
1624
1464
|
*/
|
|
1625
|
-
|
|
1465
|
+
unique_miners: number;
|
|
1626
1466
|
/**
|
|
1627
1467
|
* Score required to dethrone current top
|
|
1628
1468
|
*/
|
|
1629
1469
|
challenge_threshold?: (number | null);
|
|
1630
1470
|
};
|
|
1631
1471
|
|
|
1632
|
-
/**
|
|
1633
|
-
* 409 - Evaluation run lease has expired.
|
|
1634
|
-
*/
|
|
1635
1472
|
export type LeaseExpiredError = {
|
|
1636
1473
|
/**
|
|
1637
1474
|
* Error message describing what went wrong
|
|
@@ -1643,9 +1480,6 @@ export type LeaseExpiredError = {
|
|
|
1643
1480
|
error_code?: "LEASE_EXPIRED";
|
|
1644
1481
|
};
|
|
1645
1482
|
|
|
1646
|
-
/**
|
|
1647
|
-
* Response from logout endpoint.
|
|
1648
|
-
*/
|
|
1649
1483
|
export type LogoutResponse = {
|
|
1650
1484
|
/**
|
|
1651
1485
|
* Whether logout was successful
|
|
@@ -1653,27 +1487,21 @@ export type LogoutResponse = {
|
|
|
1653
1487
|
success: boolean;
|
|
1654
1488
|
};
|
|
1655
1489
|
|
|
1656
|
-
/**
|
|
1657
|
-
* Envelope response for GET /v1/miner/agents with cooldown status.
|
|
1658
|
-
*/
|
|
1659
1490
|
export type MinerAgentsResponse = {
|
|
1660
1491
|
/**
|
|
1661
|
-
*
|
|
1492
|
+
* List of agents owned by the miner
|
|
1662
1493
|
*/
|
|
1663
1494
|
agents: Array<AgentPublic>;
|
|
1664
1495
|
/**
|
|
1665
|
-
* Whether the miner
|
|
1496
|
+
* Whether the miner is currently allowed to submit a new agent
|
|
1666
1497
|
*/
|
|
1667
1498
|
can_submit: boolean;
|
|
1668
1499
|
/**
|
|
1669
|
-
*
|
|
1500
|
+
* Earliest time the miner may submit again, if on cooldown
|
|
1670
1501
|
*/
|
|
1671
1502
|
next_allowed_at?: (string | null);
|
|
1672
1503
|
};
|
|
1673
1504
|
|
|
1674
|
-
/**
|
|
1675
|
-
* 404 - Miner not found.
|
|
1676
|
-
*/
|
|
1677
1505
|
export type MinerNotFoundError = {
|
|
1678
1506
|
/**
|
|
1679
1507
|
* Error message describing what went wrong
|
|
@@ -1685,9 +1513,6 @@ export type MinerNotFoundError = {
|
|
|
1685
1513
|
error_code?: "MINER_NOT_FOUND";
|
|
1686
1514
|
};
|
|
1687
1515
|
|
|
1688
|
-
/**
|
|
1689
|
-
* 400 - Required parameter is missing.
|
|
1690
|
-
*/
|
|
1691
1516
|
export type MissingParameterError = {
|
|
1692
1517
|
/**
|
|
1693
1518
|
* Error message describing what went wrong
|
|
@@ -1699,9 +1524,6 @@ export type MissingParameterError = {
|
|
|
1699
1524
|
error_code?: "MISSING_PARAMETER";
|
|
1700
1525
|
};
|
|
1701
1526
|
|
|
1702
|
-
/**
|
|
1703
|
-
* 400 - Score is required for SUCCESS status.
|
|
1704
|
-
*/
|
|
1705
1527
|
export type MissingScoreError = {
|
|
1706
1528
|
/**
|
|
1707
1529
|
* Error message describing what went wrong
|
|
@@ -1713,9 +1535,6 @@ export type MissingScoreError = {
|
|
|
1713
1535
|
error_code?: "MISSING_SCORE";
|
|
1714
1536
|
};
|
|
1715
1537
|
|
|
1716
|
-
/**
|
|
1717
|
-
* 503 - No active problem suite available.
|
|
1718
|
-
*/
|
|
1719
1538
|
export type NoActiveSuiteError = {
|
|
1720
1539
|
/**
|
|
1721
1540
|
* Error message describing what went wrong
|
|
@@ -1727,9 +1546,6 @@ export type NoActiveSuiteError = {
|
|
|
1727
1546
|
error_code?: "NO_ACTIVE_SUITE";
|
|
1728
1547
|
};
|
|
1729
1548
|
|
|
1730
|
-
/**
|
|
1731
|
-
* 409 - Caller does not own this evaluation run.
|
|
1732
|
-
*/
|
|
1733
1549
|
export type NotRunOwnerError = {
|
|
1734
1550
|
/**
|
|
1735
1551
|
* Error message describing what went wrong
|
|
@@ -1741,9 +1557,6 @@ export type NotRunOwnerError = {
|
|
|
1741
1557
|
error_code?: "NOT_RUN_OWNER";
|
|
1742
1558
|
};
|
|
1743
1559
|
|
|
1744
|
-
/**
|
|
1745
|
-
* A work item awaiting validator evaluations.
|
|
1746
|
-
*/
|
|
1747
1560
|
export type PendingEvaluation = {
|
|
1748
1561
|
/**
|
|
1749
1562
|
* Unique work item identifier
|
|
@@ -1799,9 +1612,6 @@ export type PendingEvaluation = {
|
|
|
1799
1612
|
race_id?: (string | null);
|
|
1800
1613
|
};
|
|
1801
1614
|
|
|
1802
|
-
/**
|
|
1803
|
-
* Response for pending evaluations endpoint.
|
|
1804
|
-
*/
|
|
1805
1615
|
export type PendingEvaluationsResponse = {
|
|
1806
1616
|
/**
|
|
1807
1617
|
* Aggregate queue statistics
|
|
@@ -1813,9 +1623,6 @@ export type PendingEvaluationsResponse = {
|
|
|
1813
1623
|
items: Array<PendingEvaluation>;
|
|
1814
1624
|
};
|
|
1815
1625
|
|
|
1816
|
-
/**
|
|
1817
|
-
* Aggregate statistics for pending evaluations.
|
|
1818
|
-
*/
|
|
1819
1626
|
export type PendingEvaluationSummary = {
|
|
1820
1627
|
/**
|
|
1821
1628
|
* Number of open work items
|
|
@@ -1831,42 +1638,36 @@ export type PendingEvaluationSummary = {
|
|
|
1831
1638
|
total_runs_active: number;
|
|
1832
1639
|
};
|
|
1833
1640
|
|
|
1834
|
-
/**
|
|
1835
|
-
* Request for presigned upload URL.
|
|
1836
|
-
*/
|
|
1837
1641
|
export type PresignUploadRequest = {
|
|
1838
1642
|
/**
|
|
1839
|
-
*
|
|
1643
|
+
* MIME type of the upload
|
|
1840
1644
|
*/
|
|
1841
1645
|
content_type?: string;
|
|
1842
1646
|
/**
|
|
1843
|
-
* Size of the upload
|
|
1647
|
+
* Size in bytes of the upload payload
|
|
1844
1648
|
*/
|
|
1845
1649
|
content_length: number;
|
|
1846
1650
|
/**
|
|
1847
|
-
* Evaluation run
|
|
1651
|
+
* Evaluation run these results belong to
|
|
1848
1652
|
*/
|
|
1849
1653
|
eval_run_id: string;
|
|
1850
1654
|
/**
|
|
1851
|
-
* Problem
|
|
1655
|
+
* Problem these results belong to
|
|
1852
1656
|
*/
|
|
1853
1657
|
problem_id: string;
|
|
1854
1658
|
};
|
|
1855
1659
|
|
|
1856
|
-
/**
|
|
1857
|
-
* Response with presigned upload URL.
|
|
1858
|
-
*/
|
|
1859
1660
|
export type PresignUploadResponse = {
|
|
1860
1661
|
/**
|
|
1861
|
-
* Presigned
|
|
1662
|
+
* Presigned URL to upload to
|
|
1862
1663
|
*/
|
|
1863
1664
|
upload_url: string;
|
|
1864
1665
|
/**
|
|
1865
|
-
* HTTP method to use
|
|
1666
|
+
* HTTP method to use for upload
|
|
1866
1667
|
*/
|
|
1867
1668
|
method?: string;
|
|
1868
1669
|
/**
|
|
1869
|
-
* S3 key where the
|
|
1670
|
+
* S3 key where the results will be stored
|
|
1870
1671
|
*/
|
|
1871
1672
|
results_s3_key: string;
|
|
1872
1673
|
/**
|
|
@@ -1875,9 +1676,6 @@ export type PresignUploadResponse = {
|
|
|
1875
1676
|
expires_at: string;
|
|
1876
1677
|
};
|
|
1877
1678
|
|
|
1878
|
-
/**
|
|
1879
|
-
* 404 - Problem not found in suite.
|
|
1880
|
-
*/
|
|
1881
1679
|
export type ProblemNotFoundError = {
|
|
1882
1680
|
/**
|
|
1883
1681
|
* Error message describing what went wrong
|
|
@@ -1889,9 +1687,6 @@ export type ProblemNotFoundError = {
|
|
|
1889
1687
|
error_code?: "PROBLEM_NOT_FOUND";
|
|
1890
1688
|
};
|
|
1891
1689
|
|
|
1892
|
-
/**
|
|
1893
|
-
* Progress entry for a single problem showing results from all validators.
|
|
1894
|
-
*/
|
|
1895
1690
|
export type ProblemProgressEntry = {
|
|
1896
1691
|
/**
|
|
1897
1692
|
* Problem ID
|
|
@@ -1915,12 +1710,9 @@ export type ProblemProgressEntry = {
|
|
|
1915
1710
|
validator_results?: Array<ValidatorProblemResult>;
|
|
1916
1711
|
};
|
|
1917
1712
|
|
|
1918
|
-
/**
|
|
1919
|
-
* Progress update for a single problem.
|
|
1920
|
-
*/
|
|
1921
1713
|
export type ProblemProgressUpdate = {
|
|
1922
1714
|
/**
|
|
1923
|
-
* Problem
|
|
1715
|
+
* Problem being reported on
|
|
1924
1716
|
*/
|
|
1925
1717
|
problem_id: string;
|
|
1926
1718
|
/**
|
|
@@ -1928,36 +1720,33 @@ export type ProblemProgressUpdate = {
|
|
|
1928
1720
|
*/
|
|
1929
1721
|
status: ProblemStatus;
|
|
1930
1722
|
/**
|
|
1931
|
-
*
|
|
1723
|
+
* Normalised score for this problem
|
|
1932
1724
|
*/
|
|
1933
1725
|
score?: (number | null);
|
|
1934
1726
|
/**
|
|
1935
|
-
*
|
|
1727
|
+
* Breakdown of score components
|
|
1936
1728
|
*/
|
|
1937
1729
|
score_components_summary?: ({
|
|
1938
1730
|
[key: string]: unknown;
|
|
1939
1731
|
} | null);
|
|
1940
1732
|
/**
|
|
1941
|
-
* S3 key for
|
|
1733
|
+
* S3 key for problem-level logs
|
|
1942
1734
|
*/
|
|
1943
1735
|
logs_s3_key?: (string | null);
|
|
1944
1736
|
/**
|
|
1945
|
-
* Reasoning quality score
|
|
1737
|
+
* Reasoning quality score
|
|
1946
1738
|
*/
|
|
1947
1739
|
reasoning_score?: (number | null);
|
|
1948
1740
|
/**
|
|
1949
|
-
* Number of failed inference calls
|
|
1741
|
+
* Number of failed inference calls
|
|
1950
1742
|
*/
|
|
1951
1743
|
inference_failure_count?: (number | null);
|
|
1952
1744
|
/**
|
|
1953
|
-
* Total number of inference calls
|
|
1745
|
+
* Total number of inference calls
|
|
1954
1746
|
*/
|
|
1955
1747
|
inference_total?: (number | null);
|
|
1956
1748
|
};
|
|
1957
1749
|
|
|
1958
|
-
/**
|
|
1959
|
-
* Public representation of a problem.
|
|
1960
|
-
*/
|
|
1961
1750
|
export type ProblemPublic = {
|
|
1962
1751
|
/**
|
|
1963
1752
|
* Unique identifier for the problem
|
|
@@ -1975,62 +1764,44 @@ export type ProblemPublic = {
|
|
|
1975
1764
|
};
|
|
1976
1765
|
};
|
|
1977
1766
|
|
|
1978
|
-
/**
|
|
1979
|
-
* Status of problem evaluation.
|
|
1980
|
-
*/
|
|
1981
1767
|
export type ProblemStatus = 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'SKIPPED' | 'TIMED_OUT';
|
|
1982
1768
|
|
|
1983
|
-
/**
|
|
1984
|
-
* Request to update per-problem progress.
|
|
1985
|
-
*/
|
|
1986
1769
|
export type ProgressUpdateRequest = {
|
|
1987
1770
|
/**
|
|
1988
|
-
*
|
|
1771
|
+
* Per-problem progress updates
|
|
1989
1772
|
*/
|
|
1990
1773
|
problems: Array<ProblemProgressUpdate>;
|
|
1991
1774
|
};
|
|
1992
1775
|
|
|
1993
|
-
/**
|
|
1994
|
-
* Response for progress update.
|
|
1995
|
-
*/
|
|
1996
1776
|
export type ProgressUpdateResponse = {
|
|
1997
1777
|
/**
|
|
1998
|
-
* Whether
|
|
1778
|
+
* Whether the update was accepted
|
|
1999
1779
|
*/
|
|
2000
1780
|
accepted?: boolean;
|
|
2001
1781
|
};
|
|
2002
1782
|
|
|
2003
|
-
/**
|
|
2004
|
-
* Response for current race state.
|
|
2005
|
-
*/
|
|
2006
1783
|
export type RaceCurrentResponse = {
|
|
2007
1784
|
/**
|
|
2008
|
-
*
|
|
1785
|
+
* Current race, if any
|
|
2009
1786
|
*/
|
|
2010
1787
|
race?: (RacePublic | null);
|
|
2011
1788
|
/**
|
|
2012
|
-
*
|
|
1789
|
+
* Race qualifiers
|
|
2013
1790
|
*/
|
|
2014
1791
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
2015
1792
|
};
|
|
2016
1793
|
|
|
2017
|
-
/**
|
|
2018
|
-
* Detailed view of a single race.
|
|
2019
|
-
*/
|
|
2020
1794
|
export type RaceDetailResponse = {
|
|
2021
1795
|
/**
|
|
2022
|
-
* Race
|
|
1796
|
+
* Race details
|
|
2023
1797
|
*/
|
|
2024
1798
|
race: RacePublic;
|
|
2025
1799
|
/**
|
|
2026
|
-
*
|
|
1800
|
+
* Race qualifiers
|
|
2027
1801
|
*/
|
|
2028
1802
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
2029
1803
|
};
|
|
2030
1804
|
|
|
2031
|
-
/**
|
|
2032
|
-
* Detailed diagnostics for a specific race.
|
|
2033
|
-
*/
|
|
2034
1805
|
export type RaceDiagnosticsResponse = {
|
|
2035
1806
|
/**
|
|
2036
1807
|
* Race ID
|
|
@@ -2050,27 +1821,35 @@ export type RaceDiagnosticsResponse = {
|
|
|
2050
1821
|
race_completed_at?: (string | null);
|
|
2051
1822
|
winner_agent_version_id?: (string | null);
|
|
2052
1823
|
winner_score?: (number | null);
|
|
1824
|
+
/**
|
|
1825
|
+
* Score threshold for qualifying
|
|
1826
|
+
*/
|
|
2053
1827
|
qualifying_threshold?: (number | null);
|
|
1828
|
+
/**
|
|
1829
|
+
* Current incumbent agent version ID
|
|
1830
|
+
*/
|
|
2054
1831
|
incumbent_agent_version_id?: (string | null);
|
|
1832
|
+
/**
|
|
1833
|
+
* Seed used for problem selection
|
|
1834
|
+
*/
|
|
2055
1835
|
problem_seed?: (string | null);
|
|
2056
1836
|
/**
|
|
2057
|
-
* Number of race
|
|
1837
|
+
* Number of problems in the race
|
|
2058
1838
|
*/
|
|
2059
1839
|
problem_count?: number;
|
|
1840
|
+
/**
|
|
1841
|
+
* Qualified agent versions
|
|
1842
|
+
*/
|
|
2060
1843
|
qualifiers?: Array<RaceQualifierEntry>;
|
|
1844
|
+
/**
|
|
1845
|
+
* Race work items
|
|
1846
|
+
*/
|
|
2061
1847
|
work_items?: Array<RaceWorkItemEntry>;
|
|
2062
1848
|
};
|
|
2063
1849
|
|
|
2064
|
-
/**
|
|
2065
|
-
* Paginated list of completed races.
|
|
2066
|
-
*/
|
|
2067
1850
|
export type RaceHistoryResponse = {
|
|
2068
1851
|
/**
|
|
2069
|
-
*
|
|
2070
|
-
*/
|
|
2071
|
-
races: Array<RacePublic>;
|
|
2072
|
-
/**
|
|
2073
|
-
* Total count
|
|
1852
|
+
* Total entries matching filter
|
|
2074
1853
|
*/
|
|
2075
1854
|
total: number;
|
|
2076
1855
|
/**
|
|
@@ -2081,11 +1860,12 @@ export type RaceHistoryResponse = {
|
|
|
2081
1860
|
* Page offset
|
|
2082
1861
|
*/
|
|
2083
1862
|
offset: number;
|
|
1863
|
+
/**
|
|
1864
|
+
* Historical races
|
|
1865
|
+
*/
|
|
1866
|
+
races: Array<RacePublic>;
|
|
2084
1867
|
};
|
|
2085
1868
|
|
|
2086
|
-
/**
|
|
2087
|
-
* 404 - Race not found.
|
|
2088
|
-
*/
|
|
2089
1869
|
export type RaceNotFoundError = {
|
|
2090
1870
|
/**
|
|
2091
1871
|
* Error message describing what went wrong
|
|
@@ -2097,9 +1877,6 @@ export type RaceNotFoundError = {
|
|
|
2097
1877
|
error_code?: "RACE_NOT_FOUND";
|
|
2098
1878
|
};
|
|
2099
1879
|
|
|
2100
|
-
/**
|
|
2101
|
-
* Public view of a race — extends RaceBase with public-facing fields.
|
|
2102
|
-
*/
|
|
2103
1880
|
export type RacePublic = {
|
|
2104
1881
|
/**
|
|
2105
1882
|
* Race ID
|
|
@@ -2120,26 +1897,23 @@ export type RacePublic = {
|
|
|
2120
1897
|
winner_agent_version_id?: (string | null);
|
|
2121
1898
|
winner_score?: (number | null);
|
|
2122
1899
|
/**
|
|
2123
|
-
*
|
|
1900
|
+
* Score threshold for qualifying
|
|
2124
1901
|
*/
|
|
2125
1902
|
qualifying_threshold?: (number | null);
|
|
2126
1903
|
/**
|
|
2127
|
-
*
|
|
1904
|
+
* Name of the winning agent
|
|
2128
1905
|
*/
|
|
2129
1906
|
winner_agent_name?: (string | null);
|
|
2130
1907
|
/**
|
|
2131
|
-
* Number of qualifiers
|
|
1908
|
+
* Number of qualifiers in this race
|
|
2132
1909
|
*/
|
|
2133
1910
|
qualifier_count?: number;
|
|
2134
1911
|
/**
|
|
2135
|
-
* When race was created
|
|
1912
|
+
* When the race was created
|
|
2136
1913
|
*/
|
|
2137
|
-
created_at
|
|
1914
|
+
created_at?: (string | null);
|
|
2138
1915
|
};
|
|
2139
1916
|
|
|
2140
|
-
/**
|
|
2141
|
-
* A qualifier in a race.
|
|
2142
|
-
*/
|
|
2143
1917
|
export type RaceQualifierEntry = {
|
|
2144
1918
|
/**
|
|
2145
1919
|
* Agent version ID
|
|
@@ -2171,9 +1945,6 @@ export type RaceQualifierEntry = {
|
|
|
2171
1945
|
race_score?: (number | null);
|
|
2172
1946
|
};
|
|
2173
1947
|
|
|
2174
|
-
/**
|
|
2175
|
-
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2176
|
-
*/
|
|
2177
1948
|
export type RaceQualifierPublic = {
|
|
2178
1949
|
/**
|
|
2179
1950
|
* Agent version ID
|
|
@@ -2204,14 +1975,11 @@ export type RaceQualifierPublic = {
|
|
|
2204
1975
|
*/
|
|
2205
1976
|
race_score?: (number | null);
|
|
2206
1977
|
/**
|
|
2207
|
-
*
|
|
1978
|
+
* Rank within the race
|
|
2208
1979
|
*/
|
|
2209
1980
|
race_rank?: (number | null);
|
|
2210
1981
|
};
|
|
2211
1982
|
|
|
2212
|
-
/**
|
|
2213
|
-
* Summary of a race for the current state view.
|
|
2214
|
-
*/
|
|
2215
1983
|
export type RaceSummary = {
|
|
2216
1984
|
/**
|
|
2217
1985
|
* Race ID
|
|
@@ -2232,18 +2000,15 @@ export type RaceSummary = {
|
|
|
2232
2000
|
winner_agent_version_id?: (string | null);
|
|
2233
2001
|
winner_score?: (number | null);
|
|
2234
2002
|
/**
|
|
2235
|
-
* Number of qualifiers
|
|
2003
|
+
* Number of qualifiers in this race
|
|
2236
2004
|
*/
|
|
2237
2005
|
qualifier_count?: number;
|
|
2238
2006
|
/**
|
|
2239
|
-
* Number of work items
|
|
2007
|
+
* Number of work items in this race
|
|
2240
2008
|
*/
|
|
2241
2009
|
work_item_count?: number;
|
|
2242
2010
|
};
|
|
2243
2011
|
|
|
2244
|
-
/**
|
|
2245
|
-
* A work item in a race.
|
|
2246
|
-
*/
|
|
2247
2012
|
export type RaceWorkItemEntry = {
|
|
2248
2013
|
/**
|
|
2249
2014
|
* Agent version ID
|
|
@@ -2254,34 +2019,31 @@ export type RaceWorkItemEntry = {
|
|
|
2254
2019
|
*/
|
|
2255
2020
|
agent_name?: (string | null);
|
|
2256
2021
|
/**
|
|
2257
|
-
*
|
|
2022
|
+
* Race phase (qualifying or race)
|
|
2258
2023
|
*/
|
|
2259
2024
|
phase: string;
|
|
2260
2025
|
/**
|
|
2261
|
-
* Whether work is
|
|
2026
|
+
* Whether the work item is closed
|
|
2262
2027
|
*/
|
|
2263
2028
|
is_closed: boolean;
|
|
2264
2029
|
/**
|
|
2265
|
-
* Whether work
|
|
2030
|
+
* Whether the work item is cancelled
|
|
2266
2031
|
*/
|
|
2267
2032
|
is_cancelled: boolean;
|
|
2268
2033
|
/**
|
|
2269
|
-
*
|
|
2034
|
+
* Number of included successful runs
|
|
2270
2035
|
*/
|
|
2271
2036
|
included_success_count: number;
|
|
2272
2037
|
/**
|
|
2273
|
-
*
|
|
2038
|
+
* Number of active runs
|
|
2274
2039
|
*/
|
|
2275
2040
|
active_count: number;
|
|
2276
2041
|
/**
|
|
2277
|
-
* Required successful
|
|
2042
|
+
* Required number of successful runs
|
|
2278
2043
|
*/
|
|
2279
2044
|
required_successes: number;
|
|
2280
2045
|
};
|
|
2281
2046
|
|
|
2282
|
-
/**
|
|
2283
|
-
* 429 - Rate limit exceeded.
|
|
2284
|
-
*/
|
|
2285
2047
|
export type RateLimitExceededError = {
|
|
2286
2048
|
/**
|
|
2287
2049
|
* Error message describing what went wrong
|
|
@@ -2293,89 +2055,74 @@ export type RateLimitExceededError = {
|
|
|
2293
2055
|
error_code?: "RATE_LIMIT_EXCEEDED";
|
|
2294
2056
|
};
|
|
2295
2057
|
|
|
2296
|
-
/**
|
|
2297
|
-
* Response for reaper service statistics.
|
|
2298
|
-
*/
|
|
2299
2058
|
export type ReaperStatsResponse = {
|
|
2300
2059
|
/**
|
|
2301
|
-
* Whether the reaper
|
|
2060
|
+
* Whether the reaper is enabled
|
|
2302
2061
|
*/
|
|
2303
2062
|
enabled: boolean;
|
|
2304
2063
|
/**
|
|
2305
|
-
* Whether the reaper
|
|
2064
|
+
* Whether the reaper is currently running
|
|
2306
2065
|
*/
|
|
2307
2066
|
is_running: boolean;
|
|
2308
2067
|
/**
|
|
2309
|
-
*
|
|
2068
|
+
* When the reaper last ran
|
|
2310
2069
|
*/
|
|
2311
2070
|
last_run_at?: (string | null);
|
|
2312
2071
|
/**
|
|
2313
|
-
* Total runs reaped since
|
|
2072
|
+
* Total number of runs reaped since startup
|
|
2314
2073
|
*/
|
|
2315
2074
|
runs_reaped_total: number;
|
|
2316
2075
|
/**
|
|
2317
|
-
*
|
|
2076
|
+
* Number of runs reaped in the last cycle
|
|
2318
2077
|
*/
|
|
2319
2078
|
runs_reaped_last_cycle: number;
|
|
2320
2079
|
/**
|
|
2321
|
-
* Duration of the last reaper cycle in
|
|
2080
|
+
* Duration of the last reaper cycle in milliseconds
|
|
2322
2081
|
*/
|
|
2323
2082
|
last_cycle_duration_ms: number;
|
|
2324
2083
|
/**
|
|
2325
|
-
*
|
|
2084
|
+
* Total number of reaper errors
|
|
2326
2085
|
*/
|
|
2327
2086
|
error_count: number;
|
|
2328
2087
|
/**
|
|
2329
|
-
*
|
|
2088
|
+
* Total number of Redis-related reaper errors
|
|
2330
2089
|
*/
|
|
2331
2090
|
redis_error_count: number;
|
|
2332
2091
|
/**
|
|
2333
|
-
*
|
|
2092
|
+
* Reaper cycle interval in seconds
|
|
2334
2093
|
*/
|
|
2335
2094
|
interval_seconds: number;
|
|
2336
2095
|
};
|
|
2337
2096
|
|
|
2338
|
-
/**
|
|
2339
|
-
* Request to re-evaluate an agent version.
|
|
2340
|
-
*/
|
|
2341
2097
|
export type ReevaluateRequest = {
|
|
2342
2098
|
/**
|
|
2343
2099
|
* Reason for re-evaluation
|
|
2344
2100
|
*/
|
|
2345
2101
|
reason: string;
|
|
2346
2102
|
/**
|
|
2347
|
-
*
|
|
2103
|
+
* Specific suite to re-evaluate against
|
|
2348
2104
|
*/
|
|
2349
2105
|
suite_id?: (number | null);
|
|
2350
2106
|
/**
|
|
2351
|
-
* Override required
|
|
2107
|
+
* Override for number of required successful evaluations
|
|
2352
2108
|
*/
|
|
2353
2109
|
required_successes?: (number | null);
|
|
2354
2110
|
};
|
|
2355
2111
|
|
|
2356
|
-
/**
|
|
2357
|
-
* Response for re-evaluation request.
|
|
2358
|
-
*/
|
|
2359
2112
|
export type ReevaluateResponse = {
|
|
2360
2113
|
/**
|
|
2361
|
-
* Agent version
|
|
2114
|
+
* Agent version queued for re-evaluation
|
|
2362
2115
|
*/
|
|
2363
2116
|
agent_version_id: string;
|
|
2364
2117
|
};
|
|
2365
2118
|
|
|
2366
|
-
/**
|
|
2367
|
-
* Request to reinstate an agent version.
|
|
2368
|
-
*/
|
|
2369
2119
|
export type ReinstateRequest = {
|
|
2370
2120
|
/**
|
|
2371
|
-
*
|
|
2121
|
+
* Specific suite to reinstate for
|
|
2372
2122
|
*/
|
|
2373
2123
|
suite_id?: (number | null);
|
|
2374
2124
|
};
|
|
2375
2125
|
|
|
2376
|
-
/**
|
|
2377
|
-
* 409 - Evaluation run is already complete.
|
|
2378
|
-
*/
|
|
2379
2126
|
export type RunAlreadyCompleteError = {
|
|
2380
2127
|
/**
|
|
2381
2128
|
* Error message describing what went wrong
|
|
@@ -2387,9 +2134,6 @@ export type RunAlreadyCompleteError = {
|
|
|
2387
2134
|
error_code?: "RUN_ALREADY_COMPLETE";
|
|
2388
2135
|
};
|
|
2389
2136
|
|
|
2390
|
-
/**
|
|
2391
|
-
* Representation of a currently running evaluation.
|
|
2392
|
-
*/
|
|
2393
2137
|
export type RunningEvaluation = {
|
|
2394
2138
|
/**
|
|
2395
2139
|
* Unique identifier for this run
|
|
@@ -2437,12 +2181,9 @@ export type RunningEvaluation = {
|
|
|
2437
2181
|
race_id?: (string | null);
|
|
2438
2182
|
};
|
|
2439
2183
|
|
|
2440
|
-
/**
|
|
2441
|
-
* Problems for an evaluation run.
|
|
2442
|
-
*/
|
|
2443
2184
|
export type RunProblemsResponse = {
|
|
2444
2185
|
/**
|
|
2445
|
-
* Problems to evaluate
|
|
2186
|
+
* Problems to evaluate
|
|
2446
2187
|
*/
|
|
2447
2188
|
problems: Array<ProblemPublic>;
|
|
2448
2189
|
};
|
|
@@ -2477,9 +2218,6 @@ export type ScoreBelowThresholdError = {
|
|
|
2477
2218
|
margin: number;
|
|
2478
2219
|
};
|
|
2479
2220
|
|
|
2480
|
-
/**
|
|
2481
|
-
* Request body for session creation endpoint.
|
|
2482
|
-
*/
|
|
2483
2221
|
export type SessionRequest = {
|
|
2484
2222
|
/**
|
|
2485
2223
|
* SS58 hotkey address
|
|
@@ -2495,9 +2233,6 @@ export type SessionRequest = {
|
|
|
2495
2233
|
signature: string;
|
|
2496
2234
|
};
|
|
2497
2235
|
|
|
2498
|
-
/**
|
|
2499
|
-
* Response from session creation endpoint.
|
|
2500
|
-
*/
|
|
2501
2236
|
export type SessionResponse = {
|
|
2502
2237
|
/**
|
|
2503
2238
|
* Session token for authenticated requests
|
|
@@ -2513,89 +2248,74 @@ export type SessionResponse = {
|
|
|
2513
2248
|
role: string;
|
|
2514
2249
|
};
|
|
2515
2250
|
|
|
2516
|
-
/**
|
|
2517
|
-
* Request to set an agent version as the top agent for emissions.
|
|
2518
|
-
*/
|
|
2519
2251
|
export type SetTopRequest = {
|
|
2520
2252
|
/**
|
|
2521
|
-
*
|
|
2253
|
+
* Specific suite to set top agent for
|
|
2522
2254
|
*/
|
|
2523
2255
|
suite_id?: (number | null);
|
|
2524
2256
|
/**
|
|
2525
|
-
*
|
|
2257
|
+
* Force set even if version has lower score
|
|
2526
2258
|
*/
|
|
2527
2259
|
force?: boolean;
|
|
2528
2260
|
};
|
|
2529
2261
|
|
|
2530
|
-
/**
|
|
2531
|
-
* Response for set-top operation.
|
|
2532
|
-
*/
|
|
2533
2262
|
export type SetTopResponse = {
|
|
2534
2263
|
/**
|
|
2535
|
-
*
|
|
2264
|
+
* Agent version set as top
|
|
2536
2265
|
*/
|
|
2537
2266
|
agent_version_id: string;
|
|
2538
2267
|
/**
|
|
2539
|
-
* Suite
|
|
2268
|
+
* Suite the top agent was set for
|
|
2540
2269
|
*/
|
|
2541
2270
|
suite_id: number;
|
|
2542
2271
|
/**
|
|
2543
|
-
* Previous top agent version
|
|
2272
|
+
* Previous top agent version ID, if any
|
|
2544
2273
|
*/
|
|
2545
2274
|
previous_top_agent_version_id?: (string | null);
|
|
2546
2275
|
/**
|
|
2547
|
-
*
|
|
2276
|
+
* Timestamp when the top agent was set
|
|
2548
2277
|
*/
|
|
2549
2278
|
top_at: string;
|
|
2550
2279
|
};
|
|
2551
2280
|
|
|
2552
|
-
/**
|
|
2553
|
-
* Request body for storing a Chutes refresh token.
|
|
2554
|
-
*/
|
|
2555
2281
|
export type StoreChutesTokenRequest = {
|
|
2556
2282
|
/**
|
|
2557
|
-
* Chutes OAuth refresh token
|
|
2283
|
+
* Chutes OAuth refresh token to store
|
|
2558
2284
|
*/
|
|
2559
2285
|
refresh_token: string;
|
|
2560
2286
|
};
|
|
2561
2287
|
|
|
2562
|
-
/**
|
|
2563
|
-
* Response model for agent submission.
|
|
2564
|
-
*/
|
|
2565
2288
|
export type SubmitAgentResponse = {
|
|
2566
2289
|
/**
|
|
2567
|
-
*
|
|
2290
|
+
* Unique identifier for the created agent
|
|
2568
2291
|
*/
|
|
2569
2292
|
agent_id?: (string | null);
|
|
2570
2293
|
/**
|
|
2571
|
-
*
|
|
2294
|
+
* Unique identifier for the created agent version
|
|
2572
2295
|
*/
|
|
2573
2296
|
agent_version_id?: (string | null);
|
|
2574
2297
|
/**
|
|
2575
|
-
* Whether submission was accepted
|
|
2298
|
+
* Whether the submission was accepted or rejected
|
|
2576
2299
|
*/
|
|
2577
2300
|
admission_status: AdmissionStatus;
|
|
2578
2301
|
/**
|
|
2579
|
-
* Reason for rejection if rejected
|
|
2302
|
+
* Reason for rejection, if the submission was rejected
|
|
2580
2303
|
*/
|
|
2581
2304
|
admission_reason?: (AdmissionReason | null);
|
|
2582
2305
|
/**
|
|
2583
|
-
*
|
|
2306
|
+
* Earliest time the miner may submit again after cooldown
|
|
2584
2307
|
*/
|
|
2585
2308
|
next_allowed_at?: (string | null);
|
|
2586
2309
|
/**
|
|
2587
|
-
*
|
|
2310
|
+
* Hotkey of the miner who submitted the agent
|
|
2588
2311
|
*/
|
|
2589
2312
|
hotkey: string;
|
|
2590
2313
|
/**
|
|
2591
|
-
*
|
|
2314
|
+
* Human-readable status message
|
|
2592
2315
|
*/
|
|
2593
2316
|
message?: string;
|
|
2594
2317
|
};
|
|
2595
2318
|
|
|
2596
|
-
/**
|
|
2597
|
-
* 404 - Problem suite not found.
|
|
2598
|
-
*/
|
|
2599
2319
|
export type SuiteNotFoundError = {
|
|
2600
2320
|
/**
|
|
2601
2321
|
* Error message describing what went wrong
|
|
@@ -2607,9 +2327,6 @@ export type SuiteNotFoundError = {
|
|
|
2607
2327
|
error_code?: "SUITE_NOT_FOUND";
|
|
2608
2328
|
};
|
|
2609
2329
|
|
|
2610
|
-
/**
|
|
2611
|
-
* Public representation of a problem suite.
|
|
2612
|
-
*/
|
|
2613
2330
|
export type SuitePublic = {
|
|
2614
2331
|
/**
|
|
2615
2332
|
* Problem suite version/ID
|
|
@@ -2625,9 +2342,6 @@ export type SuitePublic = {
|
|
|
2625
2342
|
is_active: boolean;
|
|
2626
2343
|
};
|
|
2627
2344
|
|
|
2628
|
-
/**
|
|
2629
|
-
* Response for suite with its problems.
|
|
2630
|
-
*/
|
|
2631
2345
|
export type SuiteWithProblemsResponse = {
|
|
2632
2346
|
/**
|
|
2633
2347
|
* Suite information
|
|
@@ -2639,14 +2353,8 @@ export type SuiteWithProblemsResponse = {
|
|
|
2639
2353
|
problems: Array<ProblemPublic>;
|
|
2640
2354
|
};
|
|
2641
2355
|
|
|
2642
|
-
/**
|
|
2643
|
-
* Terminal statuses for evaluation runs.
|
|
2644
|
-
*/
|
|
2645
2356
|
export type TerminalStatus = 'SUCCESS' | 'FAILED' | 'TIMED_OUT';
|
|
2646
2357
|
|
|
2647
|
-
/**
|
|
2648
|
-
* Response for top agent endpoint.
|
|
2649
|
-
*/
|
|
2650
2358
|
export type TopAgentResponse = {
|
|
2651
2359
|
/**
|
|
2652
2360
|
* Active suite ID
|
|
@@ -2688,9 +2396,6 @@ export type TopAgentResponse = {
|
|
|
2688
2396
|
margin?: (number | null);
|
|
2689
2397
|
};
|
|
2690
2398
|
|
|
2691
|
-
/**
|
|
2692
|
-
* A single entry in the top agent history.
|
|
2693
|
-
*/
|
|
2694
2399
|
export type TopHistoryEntry = {
|
|
2695
2400
|
/**
|
|
2696
2401
|
* Agent version ID
|
|
@@ -2730,9 +2435,6 @@ export type TopHistoryEntry = {
|
|
|
2730
2435
|
suite_id: number;
|
|
2731
2436
|
};
|
|
2732
2437
|
|
|
2733
|
-
/**
|
|
2734
|
-
* Response for top agent history endpoint.
|
|
2735
|
-
*/
|
|
2736
2438
|
export type TopHistoryResponse = {
|
|
2737
2439
|
/**
|
|
2738
2440
|
* Suite ID
|
|
@@ -2754,9 +2456,17 @@ export type ValidationError = {
|
|
|
2754
2456
|
};
|
|
2755
2457
|
};
|
|
2756
2458
|
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2459
|
+
export type ValidationErrorError = {
|
|
2460
|
+
/**
|
|
2461
|
+
* Error message describing what went wrong
|
|
2462
|
+
*/
|
|
2463
|
+
detail: string;
|
|
2464
|
+
/**
|
|
2465
|
+
* Error code for programmatic handling
|
|
2466
|
+
*/
|
|
2467
|
+
error_code?: "VALIDATION_ERROR";
|
|
2468
|
+
};
|
|
2469
|
+
|
|
2760
2470
|
export type ValidatorCurrentAgent = {
|
|
2761
2471
|
/**
|
|
2762
2472
|
* Name of the agent being evaluated
|
|
@@ -2776,9 +2486,6 @@ export type ValidatorCurrentAgent = {
|
|
|
2776
2486
|
started_at: string;
|
|
2777
2487
|
};
|
|
2778
2488
|
|
|
2779
|
-
/**
|
|
2780
|
-
* 404 - Validator not found.
|
|
2781
|
-
*/
|
|
2782
2489
|
export type ValidatorNotFoundError = {
|
|
2783
2490
|
/**
|
|
2784
2491
|
* Error message describing what went wrong
|
|
@@ -2790,9 +2497,6 @@ export type ValidatorNotFoundError = {
|
|
|
2790
2497
|
error_code?: "VALIDATOR_NOT_FOUND";
|
|
2791
2498
|
};
|
|
2792
2499
|
|
|
2793
|
-
/**
|
|
2794
|
-
* Result from a single validator for a specific problem.
|
|
2795
|
-
*/
|
|
2796
2500
|
export type ValidatorProblemResult = {
|
|
2797
2501
|
/**
|
|
2798
2502
|
* Evaluation run ID this result belongs to
|
|
@@ -2834,9 +2538,6 @@ export type ValidatorProblemResult = {
|
|
|
2834
2538
|
inference_total?: (number | null);
|
|
2835
2539
|
};
|
|
2836
2540
|
|
|
2837
|
-
/**
|
|
2838
|
-
* Public representation of a validator.
|
|
2839
|
-
*/
|
|
2840
2541
|
export type ValidatorPublic = {
|
|
2841
2542
|
/**
|
|
2842
2543
|
* Validator's SS58 address
|
|
@@ -2887,11 +2588,11 @@ export type ValidatorPublic = {
|
|
|
2887
2588
|
};
|
|
2888
2589
|
|
|
2889
2590
|
/**
|
|
2890
|
-
*
|
|
2591
|
+
* Aggregated validator scoring analysis.
|
|
2891
2592
|
*/
|
|
2892
2593
|
export type ValidatorScoresResponse = {
|
|
2893
2594
|
/**
|
|
2894
|
-
* Per-validator summaries
|
|
2595
|
+
* Per-validator score summaries
|
|
2895
2596
|
*/
|
|
2896
2597
|
validators: Array<ValidatorScoreSummary>;
|
|
2897
2598
|
/**
|
|
@@ -2899,33 +2600,30 @@ export type ValidatorScoresResponse = {
|
|
|
2899
2600
|
*/
|
|
2900
2601
|
global_avg_score: number;
|
|
2901
2602
|
/**
|
|
2902
|
-
* Global standard deviation
|
|
2603
|
+
* Global standard deviation of scores
|
|
2903
2604
|
*/
|
|
2904
2605
|
global_stddev: number;
|
|
2905
2606
|
/**
|
|
2906
|
-
* Global average execution time
|
|
2607
|
+
* Global average execution time in seconds
|
|
2907
2608
|
*/
|
|
2908
2609
|
global_avg_execution_seconds?: number;
|
|
2909
2610
|
};
|
|
2910
2611
|
|
|
2911
|
-
/**
|
|
2912
|
-
* Aggregated scoring and performance stats for a single validator.
|
|
2913
|
-
*/
|
|
2914
2612
|
export type ValidatorScoreSummary = {
|
|
2915
2613
|
/**
|
|
2916
|
-
* Validator hotkey
|
|
2614
|
+
* Validator's SS58 hotkey
|
|
2917
2615
|
*/
|
|
2918
2616
|
validator_hotkey: string;
|
|
2919
2617
|
/**
|
|
2920
|
-
* Total completed runs
|
|
2618
|
+
* Total number of completed runs
|
|
2921
2619
|
*/
|
|
2922
2620
|
total_runs: number;
|
|
2923
2621
|
/**
|
|
2924
|
-
*
|
|
2622
|
+
* Average score across runs
|
|
2925
2623
|
*/
|
|
2926
2624
|
avg_score: number;
|
|
2927
2625
|
/**
|
|
2928
|
-
* Median score
|
|
2626
|
+
* Median score across runs
|
|
2929
2627
|
*/
|
|
2930
2628
|
median_score: number;
|
|
2931
2629
|
/**
|
|
@@ -2941,15 +2639,15 @@ export type ValidatorScoreSummary = {
|
|
|
2941
2639
|
*/
|
|
2942
2640
|
max_score: number;
|
|
2943
2641
|
/**
|
|
2944
|
-
*
|
|
2642
|
+
* Deviation of this validator's average from the global average
|
|
2945
2643
|
*/
|
|
2946
2644
|
deviation_from_global: number;
|
|
2947
2645
|
/**
|
|
2948
|
-
*
|
|
2646
|
+
* Whether this validator is a scoring outlier
|
|
2949
2647
|
*/
|
|
2950
2648
|
is_outlier: boolean;
|
|
2951
2649
|
/**
|
|
2952
|
-
*
|
|
2650
|
+
* Average execution time in seconds
|
|
2953
2651
|
*/
|
|
2954
2652
|
avg_execution_seconds?: number;
|
|
2955
2653
|
/**
|
|
@@ -2957,55 +2655,49 @@ export type ValidatorScoreSummary = {
|
|
|
2957
2655
|
*/
|
|
2958
2656
|
median_execution_seconds?: number;
|
|
2959
2657
|
/**
|
|
2960
|
-
*
|
|
2658
|
+
* Minimum execution time in seconds
|
|
2961
2659
|
*/
|
|
2962
2660
|
min_execution_seconds?: number;
|
|
2963
2661
|
/**
|
|
2964
|
-
*
|
|
2662
|
+
* Maximum execution time in seconds
|
|
2965
2663
|
*/
|
|
2966
2664
|
max_execution_seconds?: number;
|
|
2967
2665
|
/**
|
|
2968
|
-
*
|
|
2666
|
+
* Percentage deviation of execution time from global average
|
|
2969
2667
|
*/
|
|
2970
2668
|
execution_deviation_pct?: number;
|
|
2971
2669
|
/**
|
|
2972
|
-
*
|
|
2670
|
+
* Whether this validator is a slow execution outlier
|
|
2973
2671
|
*/
|
|
2974
2672
|
is_slow_outlier?: boolean;
|
|
2975
2673
|
/**
|
|
2976
|
-
*
|
|
2674
|
+
* Number of successful runs
|
|
2977
2675
|
*/
|
|
2978
2676
|
success_count?: number;
|
|
2979
2677
|
/**
|
|
2980
|
-
*
|
|
2678
|
+
* Number of failed runs
|
|
2981
2679
|
*/
|
|
2982
2680
|
failed_count?: number;
|
|
2983
2681
|
/**
|
|
2984
|
-
*
|
|
2682
|
+
* Number of timed-out runs
|
|
2985
2683
|
*/
|
|
2986
2684
|
timed_out_count?: number;
|
|
2987
2685
|
/**
|
|
2988
|
-
*
|
|
2686
|
+
* Success rate as a fraction
|
|
2989
2687
|
*/
|
|
2990
2688
|
success_rate?: number;
|
|
2991
2689
|
/**
|
|
2992
|
-
*
|
|
2690
|
+
* Reason for the most recent failure
|
|
2993
2691
|
*/
|
|
2994
2692
|
last_failure_reason?: (string | null);
|
|
2995
2693
|
/**
|
|
2996
|
-
* When
|
|
2694
|
+
* When the most recent failure occurred
|
|
2997
2695
|
*/
|
|
2998
2696
|
last_failure_at?: (string | null);
|
|
2999
2697
|
};
|
|
3000
2698
|
|
|
3001
|
-
/**
|
|
3002
|
-
* Status of a validator.
|
|
3003
|
-
*/
|
|
3004
2699
|
export type ValidatorStatus = 'evaluating' | 'available';
|
|
3005
2700
|
|
|
3006
|
-
/**
|
|
3007
|
-
* Request body for waitlist signup.
|
|
3008
|
-
*/
|
|
3009
2701
|
export type WaitlistSignupRequest = {
|
|
3010
2702
|
/**
|
|
3011
2703
|
* Email address to add to the waitlist
|
|
@@ -3017,9 +2709,6 @@ export type WaitlistSignupRequest = {
|
|
|
3017
2709
|
source?: string;
|
|
3018
2710
|
};
|
|
3019
2711
|
|
|
3020
|
-
/**
|
|
3021
|
-
* Response from waitlist signup.
|
|
3022
|
-
*/
|
|
3023
2712
|
export type WaitlistSignupResponse = {
|
|
3024
2713
|
/**
|
|
3025
2714
|
* Whether signup was recorded
|
|
@@ -3027,20 +2716,17 @@ export type WaitlistSignupResponse = {
|
|
|
3027
2716
|
success: boolean;
|
|
3028
2717
|
};
|
|
3029
2718
|
|
|
3030
|
-
/**
|
|
3031
|
-
* Status of the work item after completion.
|
|
3032
|
-
*/
|
|
3033
2719
|
export type WorkItemStatus = {
|
|
3034
2720
|
/**
|
|
3035
|
-
* Number of successful runs
|
|
2721
|
+
* Number of successful runs included so far
|
|
3036
2722
|
*/
|
|
3037
2723
|
included_success_count: number;
|
|
3038
2724
|
/**
|
|
3039
|
-
*
|
|
2725
|
+
* Number of successful runs required to close the work item
|
|
3040
2726
|
*/
|
|
3041
2727
|
required_successes: number;
|
|
3042
2728
|
/**
|
|
3043
|
-
* Whether work item is closed
|
|
2729
|
+
* Whether the work item is closed
|
|
3044
2730
|
*/
|
|
3045
2731
|
is_closed: boolean;
|
|
3046
2732
|
};
|
|
@@ -3398,7 +3084,7 @@ export type PresignUploadData = {
|
|
|
3398
3084
|
|
|
3399
3085
|
export type PresignUploadResponse2 = (PresignUploadResponse);
|
|
3400
3086
|
|
|
3401
|
-
export type PresignUploadError = ((FileTooLargeError |
|
|
3087
|
+
export type PresignUploadError = ((FileTooLargeError | ValidationErrorError) | (EvalRunNotFoundError | ProblemNotFoundError) | NotRunOwnerError | HTTPValidationError);
|
|
3402
3088
|
|
|
3403
3089
|
export type CompleteRunData = {
|
|
3404
3090
|
body: CompleteRunRequest;
|
|
@@ -3412,7 +3098,7 @@ export type CompleteRunData = {
|
|
|
3412
3098
|
|
|
3413
3099
|
export type CompleteRunResponse2 = (CompleteRunResponse);
|
|
3414
3100
|
|
|
3415
|
-
export type CompleteRunError = ((MissingScoreError |
|
|
3101
|
+
export type CompleteRunError = ((MissingScoreError | ValidationErrorError) | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
3416
3102
|
|
|
3417
3103
|
export type GetRunProblemsData = {
|
|
3418
3104
|
path: {
|
|
@@ -3646,9 +3332,7 @@ export type ClearMinerCooldownData = {
|
|
|
3646
3332
|
};
|
|
3647
3333
|
};
|
|
3648
3334
|
|
|
3649
|
-
export type ClearMinerCooldownResponse = (
|
|
3650
|
-
[key: string]: unknown;
|
|
3651
|
-
});
|
|
3335
|
+
export type ClearMinerCooldownResponse = (ClearCooldownResponse);
|
|
3652
3336
|
|
|
3653
3337
|
export type ClearMinerCooldownError = (HTTPValidationError);
|
|
3654
3338
|
|