@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
package/dist/index.d.mts
CHANGED
|
@@ -1,47 +1,38 @@
|
|
|
1
1
|
import * as _hey_api_client_fetch from '@hey-api/client-fetch';
|
|
2
2
|
import { OptionsLegacyParser } from '@hey-api/client-fetch';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Response for suite activation.
|
|
6
|
-
*/
|
|
7
4
|
type ActivateSuiteResponse = {
|
|
8
5
|
/**
|
|
9
|
-
*
|
|
6
|
+
* ID of the created suite
|
|
10
7
|
*/
|
|
11
8
|
suite_id: number;
|
|
12
9
|
/**
|
|
13
|
-
*
|
|
10
|
+
* Version number of the suite
|
|
14
11
|
*/
|
|
15
12
|
suite_version: number;
|
|
16
13
|
/**
|
|
17
|
-
* Whether
|
|
14
|
+
* Whether the suite is active
|
|
18
15
|
*/
|
|
19
16
|
is_active: boolean;
|
|
20
17
|
/**
|
|
21
|
-
* Number of
|
|
18
|
+
* Number of agent versions requeued for evaluation
|
|
22
19
|
*/
|
|
23
20
|
requeued_versions?: number;
|
|
24
21
|
};
|
|
25
|
-
/**
|
|
26
|
-
* Response with presigned download URL for admin agent code access.
|
|
27
|
-
*/
|
|
28
22
|
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
|
-
/**
|
|
43
|
-
* An agent version entry for admin listing.
|
|
44
|
-
*/
|
|
45
36
|
type AdminAgentVersionEntry = {
|
|
46
37
|
/**
|
|
47
38
|
* Agent version ID
|
|
@@ -56,11 +47,11 @@ type AdminAgentVersionEntry = {
|
|
|
56
47
|
*/
|
|
57
48
|
agent_name: string;
|
|
58
49
|
/**
|
|
59
|
-
*
|
|
50
|
+
* Owner's hotkey
|
|
60
51
|
*/
|
|
61
52
|
miner_hotkey: string;
|
|
62
53
|
/**
|
|
63
|
-
* Version number
|
|
54
|
+
* Version number within the agent
|
|
64
55
|
*/
|
|
65
56
|
version_number: number;
|
|
66
57
|
/**
|
|
@@ -68,15 +59,15 @@ type AdminAgentVersionEntry = {
|
|
|
68
59
|
*/
|
|
69
60
|
created_at: string;
|
|
70
61
|
/**
|
|
71
|
-
* Whether version is eligible
|
|
62
|
+
* Whether this version is eligible for scoring
|
|
72
63
|
*/
|
|
73
64
|
is_eligible?: (boolean | null);
|
|
74
65
|
/**
|
|
75
|
-
* Whether version
|
|
66
|
+
* Whether this version has been discarded
|
|
76
67
|
*/
|
|
77
68
|
is_discarded?: (boolean | null);
|
|
78
69
|
/**
|
|
79
|
-
* Final
|
|
70
|
+
* Final qualifying score
|
|
80
71
|
*/
|
|
81
72
|
final_score?: (number | null);
|
|
82
73
|
/**
|
|
@@ -96,20 +87,13 @@ type AdminAgentVersionEntry = {
|
|
|
96
87
|
*/
|
|
97
88
|
is_current_top?: boolean;
|
|
98
89
|
/**
|
|
99
|
-
* Number of included successful runs
|
|
90
|
+
* Number of included successful runs in work item
|
|
100
91
|
*/
|
|
101
92
|
work_item_included_success_count?: (number | null);
|
|
102
93
|
};
|
|
103
|
-
/**
|
|
104
|
-
* Response for admin agent versions listing.
|
|
105
|
-
*/
|
|
106
94
|
type AdminAgentVersionsResponse = {
|
|
107
95
|
/**
|
|
108
|
-
*
|
|
109
|
-
*/
|
|
110
|
-
agent_versions: Array<AdminAgentVersionEntry>;
|
|
111
|
-
/**
|
|
112
|
-
* Total agent versions matching filter
|
|
96
|
+
* Total entries matching filter
|
|
113
97
|
*/
|
|
114
98
|
total: number;
|
|
115
99
|
/**
|
|
@@ -120,10 +104,11 @@ type AdminAgentVersionsResponse = {
|
|
|
120
104
|
* Page offset
|
|
121
105
|
*/
|
|
122
106
|
offset: number;
|
|
107
|
+
/**
|
|
108
|
+
* Agent version entries
|
|
109
|
+
*/
|
|
110
|
+
agent_versions: Array<AdminAgentVersionEntry>;
|
|
123
111
|
};
|
|
124
|
-
/**
|
|
125
|
-
* An evaluation run entry for admin listing.
|
|
126
|
-
*/
|
|
127
112
|
type AdminEvaluationRunEntry = {
|
|
128
113
|
/**
|
|
129
114
|
* Evaluation run ID
|
|
@@ -134,15 +119,15 @@ type AdminEvaluationRunEntry = {
|
|
|
134
119
|
*/
|
|
135
120
|
agent_version_id: string;
|
|
136
121
|
/**
|
|
137
|
-
* Validator performing evaluation
|
|
122
|
+
* Validator performing the evaluation
|
|
138
123
|
*/
|
|
139
124
|
validator_hotkey: string;
|
|
140
125
|
/**
|
|
141
|
-
* Problem suite
|
|
126
|
+
* Problem suite ID
|
|
142
127
|
*/
|
|
143
128
|
suite_id: number;
|
|
144
129
|
/**
|
|
145
|
-
*
|
|
130
|
+
* Current run status
|
|
146
131
|
*/
|
|
147
132
|
status: string;
|
|
148
133
|
/**
|
|
@@ -154,15 +139,15 @@ type AdminEvaluationRunEntry = {
|
|
|
154
139
|
*/
|
|
155
140
|
completed_at?: (string | null);
|
|
156
141
|
/**
|
|
157
|
-
* Last heartbeat
|
|
142
|
+
* Last heartbeat from the validator
|
|
158
143
|
*/
|
|
159
144
|
last_heartbeat_at?: (string | null);
|
|
160
145
|
/**
|
|
161
|
-
*
|
|
146
|
+
* When the lease expires
|
|
162
147
|
*/
|
|
163
148
|
lease_expires_at?: (string | null);
|
|
164
149
|
/**
|
|
165
|
-
* Whether run is included in
|
|
150
|
+
* Whether this run is included in scoring
|
|
166
151
|
*/
|
|
167
152
|
is_included: boolean;
|
|
168
153
|
/**
|
|
@@ -174,11 +159,11 @@ type AdminEvaluationRunEntry = {
|
|
|
174
159
|
*/
|
|
175
160
|
invalidated_at?: (string | null);
|
|
176
161
|
/**
|
|
177
|
-
* Reason
|
|
162
|
+
* Reason the run was invalidated
|
|
178
163
|
*/
|
|
179
164
|
invalidation_reason?: (string | null);
|
|
180
165
|
/**
|
|
181
|
-
* Reason
|
|
166
|
+
* Reason the run failed
|
|
182
167
|
*/
|
|
183
168
|
failure_reason?: (string | null);
|
|
184
169
|
/**
|
|
@@ -186,16 +171,9 @@ type AdminEvaluationRunEntry = {
|
|
|
186
171
|
*/
|
|
187
172
|
created_at: string;
|
|
188
173
|
};
|
|
189
|
-
/**
|
|
190
|
-
* Response for admin evaluation runs listing.
|
|
191
|
-
*/
|
|
192
174
|
type AdminEvaluationRunsResponse = {
|
|
193
175
|
/**
|
|
194
|
-
*
|
|
195
|
-
*/
|
|
196
|
-
evaluation_runs: Array<AdminEvaluationRunEntry>;
|
|
197
|
-
/**
|
|
198
|
-
* Total evaluation runs matching filter
|
|
176
|
+
* Total entries matching filter
|
|
199
177
|
*/
|
|
200
178
|
total: number;
|
|
201
179
|
/**
|
|
@@ -206,21 +184,22 @@ type AdminEvaluationRunsResponse = {
|
|
|
206
184
|
* Page offset
|
|
207
185
|
*/
|
|
208
186
|
offset: number;
|
|
187
|
+
/**
|
|
188
|
+
* Evaluation run entries
|
|
189
|
+
*/
|
|
190
|
+
evaluation_runs: Array<AdminEvaluationRunEntry>;
|
|
209
191
|
};
|
|
210
|
-
/**
|
|
211
|
-
* A miner entry for admin listing.
|
|
212
|
-
*/
|
|
213
192
|
type AdminMinerEntry = {
|
|
214
193
|
/**
|
|
215
|
-
* Miner
|
|
194
|
+
* Miner's SS58 hotkey
|
|
216
195
|
*/
|
|
217
196
|
miner_hotkey: string;
|
|
218
197
|
/**
|
|
219
|
-
* Whether the miner is
|
|
198
|
+
* Whether the miner is banned
|
|
220
199
|
*/
|
|
221
200
|
is_banned: boolean;
|
|
222
201
|
/**
|
|
223
|
-
* Reason for ban
|
|
202
|
+
* Reason for the ban
|
|
224
203
|
*/
|
|
225
204
|
ban_reason?: (string | null);
|
|
226
205
|
/**
|
|
@@ -228,7 +207,7 @@ type AdminMinerEntry = {
|
|
|
228
207
|
*/
|
|
229
208
|
banned_at?: (string | null);
|
|
230
209
|
/**
|
|
231
|
-
* Number of agents
|
|
210
|
+
* Number of agents submitted by this miner
|
|
232
211
|
*/
|
|
233
212
|
agent_count: number;
|
|
234
213
|
/**
|
|
@@ -236,20 +215,13 @@ type AdminMinerEntry = {
|
|
|
236
215
|
*/
|
|
237
216
|
last_submitted_at?: (string | null);
|
|
238
217
|
/**
|
|
239
|
-
* When the miner
|
|
218
|
+
* When the miner registered on-chain
|
|
240
219
|
*/
|
|
241
220
|
registered_at?: (string | null);
|
|
242
221
|
};
|
|
243
|
-
/**
|
|
244
|
-
* Response for admin miners listing.
|
|
245
|
-
*/
|
|
246
222
|
type AdminMinersResponse = {
|
|
247
223
|
/**
|
|
248
|
-
*
|
|
249
|
-
*/
|
|
250
|
-
miners: Array<AdminMinerEntry>;
|
|
251
|
-
/**
|
|
252
|
-
* Total miners matching filter
|
|
224
|
+
* Total entries matching filter
|
|
253
225
|
*/
|
|
254
226
|
total: number;
|
|
255
227
|
/**
|
|
@@ -260,10 +232,11 @@ type AdminMinersResponse = {
|
|
|
260
232
|
* Page offset
|
|
261
233
|
*/
|
|
262
234
|
offset: number;
|
|
235
|
+
/**
|
|
236
|
+
* Miner entries
|
|
237
|
+
*/
|
|
238
|
+
miners: Array<AdminMinerEntry>;
|
|
263
239
|
};
|
|
264
|
-
/**
|
|
265
|
-
* Extends ValidatorPublic with admin-only fields (ban status).
|
|
266
|
-
*/
|
|
267
240
|
type AdminValidatorEntry = {
|
|
268
241
|
/**
|
|
269
242
|
* Validator's SS58 address
|
|
@@ -312,28 +285,21 @@ type AdminValidatorEntry = {
|
|
|
312
285
|
*/
|
|
313
286
|
identity_description?: (string | null);
|
|
314
287
|
/**
|
|
315
|
-
* Whether banned
|
|
288
|
+
* Whether the validator is banned
|
|
316
289
|
*/
|
|
317
290
|
is_banned: boolean;
|
|
318
291
|
/**
|
|
319
|
-
*
|
|
292
|
+
* Reason for the ban
|
|
320
293
|
*/
|
|
321
294
|
ban_reason?: (string | null);
|
|
322
295
|
/**
|
|
323
|
-
* When banned
|
|
296
|
+
* When the validator was banned
|
|
324
297
|
*/
|
|
325
298
|
banned_at?: (string | null);
|
|
326
299
|
};
|
|
327
|
-
/**
|
|
328
|
-
* Response for admin validators listing.
|
|
329
|
-
*/
|
|
330
300
|
type AdminValidatorsResponse = {
|
|
331
301
|
/**
|
|
332
|
-
*
|
|
333
|
-
*/
|
|
334
|
-
validators: Array<AdminValidatorEntry>;
|
|
335
|
-
/**
|
|
336
|
-
* Total matching filter
|
|
302
|
+
* Total entries matching filter
|
|
337
303
|
*/
|
|
338
304
|
total: number;
|
|
339
305
|
/**
|
|
@@ -344,18 +310,13 @@ type AdminValidatorsResponse = {
|
|
|
344
310
|
* Page offset
|
|
345
311
|
*/
|
|
346
312
|
offset: number;
|
|
313
|
+
/**
|
|
314
|
+
* Validator entries
|
|
315
|
+
*/
|
|
316
|
+
validators: Array<AdminValidatorEntry>;
|
|
347
317
|
};
|
|
348
|
-
/**
|
|
349
|
-
* Reason for rejection of agent submission.
|
|
350
|
-
*/
|
|
351
318
|
type AdmissionReason = 'COOLDOWN' | 'INVALID_FILE' | 'NOT_REGISTERED_ONCHAIN' | 'BANNED' | 'NO_ACTIVE_SUITE';
|
|
352
|
-
/**
|
|
353
|
-
* Status of agent submission admission.
|
|
354
|
-
*/
|
|
355
319
|
type AdmissionStatus = 'ACCEPTED' | 'REJECTED';
|
|
356
|
-
/**
|
|
357
|
-
* Latest version summary, inlined in agent list responses.
|
|
358
|
-
*/
|
|
359
320
|
type AgentLatestVersion = {
|
|
360
321
|
/**
|
|
361
322
|
* Version ID
|
|
@@ -378,9 +339,6 @@ type AgentLatestVersion = {
|
|
|
378
339
|
*/
|
|
379
340
|
final_score?: (number | null);
|
|
380
341
|
};
|
|
381
|
-
/**
|
|
382
|
-
* 404 - Agent not found.
|
|
383
|
-
*/
|
|
384
342
|
type AgentNotFoundError = {
|
|
385
343
|
/**
|
|
386
344
|
* Error message describing what went wrong
|
|
@@ -391,9 +349,6 @@ type AgentNotFoundError = {
|
|
|
391
349
|
*/
|
|
392
350
|
error_code?: "AGENT_NOT_FOUND";
|
|
393
351
|
};
|
|
394
|
-
/**
|
|
395
|
-
* Public representation of an agent.
|
|
396
|
-
*/
|
|
397
352
|
type AgentPublic = {
|
|
398
353
|
/**
|
|
399
354
|
* Unique identifier for the agent
|
|
@@ -416,16 +371,13 @@ type AgentPublic = {
|
|
|
416
371
|
*/
|
|
417
372
|
latest_version?: (AgentLatestVersion | null);
|
|
418
373
|
};
|
|
419
|
-
/**
|
|
420
|
-
* Entry in agent version history list.
|
|
421
|
-
*/
|
|
422
374
|
type AgentVersionHistoryEntry = {
|
|
423
375
|
/**
|
|
424
376
|
* Version ID
|
|
425
377
|
*/
|
|
426
378
|
agent_version_id: string;
|
|
427
379
|
/**
|
|
428
|
-
* Version number
|
|
380
|
+
* Version number (v1, v2, etc.)
|
|
429
381
|
*/
|
|
430
382
|
version_number: number;
|
|
431
383
|
/**
|
|
@@ -441,9 +393,6 @@ type AgentVersionHistoryEntry = {
|
|
|
441
393
|
*/
|
|
442
394
|
final_score?: (number | null);
|
|
443
395
|
};
|
|
444
|
-
/**
|
|
445
|
-
* 404 - Agent version not found.
|
|
446
|
-
*/
|
|
447
396
|
type AgentVersionNotFoundError = {
|
|
448
397
|
/**
|
|
449
398
|
* Error message describing what went wrong
|
|
@@ -454,9 +403,6 @@ type AgentVersionNotFoundError = {
|
|
|
454
403
|
*/
|
|
455
404
|
error_code?: "AGENT_VERSION_NOT_FOUND";
|
|
456
405
|
};
|
|
457
|
-
/**
|
|
458
|
-
* Response for agent version problem progress.
|
|
459
|
-
*/
|
|
460
406
|
type AgentVersionProblemsResponse = {
|
|
461
407
|
/**
|
|
462
408
|
* Agent version ID
|
|
@@ -471,9 +417,6 @@ type AgentVersionProblemsResponse = {
|
|
|
471
417
|
*/
|
|
472
418
|
problems: Array<ProblemProgressEntry>;
|
|
473
419
|
};
|
|
474
|
-
/**
|
|
475
|
-
* Public representation of an agent version.
|
|
476
|
-
*/
|
|
477
420
|
type AgentVersionPublic = {
|
|
478
421
|
/**
|
|
479
422
|
* Unique identifier for this version
|
|
@@ -508,16 +451,13 @@ type AgentVersionPublic = {
|
|
|
508
451
|
*/
|
|
509
452
|
latest_final_score?: (number | null);
|
|
510
453
|
};
|
|
511
|
-
/**
|
|
512
|
-
* Per-validator score for an agent version.
|
|
513
|
-
*/
|
|
514
454
|
type AgentVersionScoreEntry = {
|
|
515
455
|
/**
|
|
516
|
-
* Validator hotkey
|
|
456
|
+
* Validator's SS58 hotkey
|
|
517
457
|
*/
|
|
518
458
|
validator_hotkey: string;
|
|
519
459
|
/**
|
|
520
|
-
* Score
|
|
460
|
+
* Score assigned by this validator
|
|
521
461
|
*/
|
|
522
462
|
score: number;
|
|
523
463
|
/**
|
|
@@ -529,9 +469,6 @@ type AgentVersionScoreEntry = {
|
|
|
529
469
|
* State of an agent version evaluation.
|
|
530
470
|
*/
|
|
531
471
|
type AgentVersionState = 'RECEIVED' | 'QUEUED' | 'RUNNING' | 'ELIGIBLE' | 'DISCARDED' | 'CANCELLED';
|
|
532
|
-
/**
|
|
533
|
-
* Status response for an agent version.
|
|
534
|
-
*/
|
|
535
472
|
type AgentVersionStatus = {
|
|
536
473
|
/**
|
|
537
474
|
* Unique identifier for this version
|
|
@@ -604,9 +541,6 @@ type AgentVersionStatus = {
|
|
|
604
541
|
[key: string]: (number);
|
|
605
542
|
} | null);
|
|
606
543
|
};
|
|
607
|
-
/**
|
|
608
|
-
* Score variance across validators for a single agent version.
|
|
609
|
-
*/
|
|
610
544
|
type AgentVersionVariance = {
|
|
611
545
|
/**
|
|
612
546
|
* Agent version ID
|
|
@@ -617,7 +551,7 @@ type AgentVersionVariance = {
|
|
|
617
551
|
*/
|
|
618
552
|
agent_name: string;
|
|
619
553
|
/**
|
|
620
|
-
*
|
|
554
|
+
* Owner's hotkey
|
|
621
555
|
*/
|
|
622
556
|
miner_hotkey: string;
|
|
623
557
|
/**
|
|
@@ -625,46 +559,40 @@ type AgentVersionVariance = {
|
|
|
625
559
|
*/
|
|
626
560
|
validator_count: number;
|
|
627
561
|
/**
|
|
628
|
-
*
|
|
562
|
+
* Average score across validators
|
|
629
563
|
*/
|
|
630
564
|
avg_score: number;
|
|
631
565
|
/**
|
|
632
|
-
* Minimum score
|
|
566
|
+
* Minimum validator score
|
|
633
567
|
*/
|
|
634
568
|
min_score: number;
|
|
635
569
|
/**
|
|
636
|
-
* Maximum score
|
|
570
|
+
* Maximum validator score
|
|
637
571
|
*/
|
|
638
572
|
max_score: number;
|
|
639
573
|
/**
|
|
640
|
-
*
|
|
574
|
+
* Spread between min and max scores
|
|
641
575
|
*/
|
|
642
576
|
spread: number;
|
|
643
577
|
/**
|
|
644
|
-
*
|
|
578
|
+
* Whether the variance exceeds the threshold
|
|
645
579
|
*/
|
|
646
580
|
is_high_variance: boolean;
|
|
647
581
|
/**
|
|
648
|
-
*
|
|
582
|
+
* Per-validator score breakdown
|
|
649
583
|
*/
|
|
650
|
-
per_validator
|
|
584
|
+
per_validator?: Array<AgentVersionScoreEntry>;
|
|
651
585
|
};
|
|
652
|
-
/**
|
|
653
|
-
* Response for agent version score variance analytics.
|
|
654
|
-
*/
|
|
655
586
|
type AgentVersionVarianceResponse = {
|
|
656
587
|
/**
|
|
657
|
-
* Per-version variance
|
|
588
|
+
* Per-version variance entries
|
|
658
589
|
*/
|
|
659
590
|
agent_versions: Array<AgentVersionVariance>;
|
|
660
591
|
/**
|
|
661
|
-
*
|
|
592
|
+
* Threshold used to flag high-variance versions
|
|
662
593
|
*/
|
|
663
594
|
variance_threshold: number;
|
|
664
595
|
};
|
|
665
|
-
/**
|
|
666
|
-
* 409 - Resource is already invalidated.
|
|
667
|
-
*/
|
|
668
596
|
type AlreadyInvalidatedError = {
|
|
669
597
|
/**
|
|
670
598
|
* Error message describing what went wrong
|
|
@@ -675,9 +603,6 @@ type AlreadyInvalidatedError = {
|
|
|
675
603
|
*/
|
|
676
604
|
error_code?: "ALREADY_INVALIDATED";
|
|
677
605
|
};
|
|
678
|
-
/**
|
|
679
|
-
* Request for artifact download URL.
|
|
680
|
-
*/
|
|
681
606
|
type ArtifactDownloadRequest = {
|
|
682
607
|
/**
|
|
683
608
|
* Type of artifact to download
|
|
@@ -696,9 +621,6 @@ type ArtifactDownloadRequest = {
|
|
|
696
621
|
*/
|
|
697
622
|
problem_id?: (string | null);
|
|
698
623
|
};
|
|
699
|
-
/**
|
|
700
|
-
* Response with presigned download URL.
|
|
701
|
-
*/
|
|
702
624
|
type ArtifactDownloadResponse = {
|
|
703
625
|
/**
|
|
704
626
|
* Presigned download URL
|
|
@@ -709,9 +631,6 @@ type ArtifactDownloadResponse = {
|
|
|
709
631
|
*/
|
|
710
632
|
expires_at: string;
|
|
711
633
|
};
|
|
712
|
-
/**
|
|
713
|
-
* 404 - Artifact not found or not available.
|
|
714
|
-
*/
|
|
715
634
|
type ArtifactNotFoundError = {
|
|
716
635
|
/**
|
|
717
636
|
* Error message describing what went wrong
|
|
@@ -722,9 +641,6 @@ type ArtifactNotFoundError = {
|
|
|
722
641
|
*/
|
|
723
642
|
error_code?: "ARTIFACT_NOT_FOUND";
|
|
724
643
|
};
|
|
725
|
-
/**
|
|
726
|
-
* 404 - Artifact exists but is not yet released.
|
|
727
|
-
*/
|
|
728
644
|
type ArtifactNotReleasedError = {
|
|
729
645
|
/**
|
|
730
646
|
* Error message describing what went wrong
|
|
@@ -739,13 +655,7 @@ type ArtifactNotReleasedError = {
|
|
|
739
655
|
* Release state of agent version artifacts.
|
|
740
656
|
*/
|
|
741
657
|
type ArtifactReleaseState = 'HIDDEN' | 'RELEASED';
|
|
742
|
-
/**
|
|
743
|
-
* Type of artifact for download.
|
|
744
|
-
*/
|
|
745
658
|
type ArtifactType = 'AGENT_CODE' | 'EVAL_LOGS_BUNDLE' | 'EVAL_PROBLEM_LOGS' | 'REASONING_DETAILS';
|
|
746
|
-
/**
|
|
747
|
-
* 409 - Validator is at maximum concurrent evaluation capacity.
|
|
748
|
-
*/
|
|
749
659
|
type AtCapacityError = {
|
|
750
660
|
/**
|
|
751
661
|
* Error message describing what went wrong
|
|
@@ -756,36 +666,33 @@ type AtCapacityError = {
|
|
|
756
666
|
*/
|
|
757
667
|
error_code?: "AT_CAPACITY";
|
|
758
668
|
};
|
|
759
|
-
/**
|
|
760
|
-
* Audit event log entry.
|
|
761
|
-
*/
|
|
762
669
|
type AuditEventEntry = {
|
|
763
670
|
/**
|
|
764
|
-
*
|
|
671
|
+
* Unique event identifier
|
|
765
672
|
*/
|
|
766
673
|
event_id: string;
|
|
767
674
|
/**
|
|
768
|
-
* Action performed
|
|
675
|
+
* Action that was performed
|
|
769
676
|
*/
|
|
770
677
|
action: string;
|
|
771
678
|
/**
|
|
772
|
-
* Type of
|
|
679
|
+
* Type of entity targeted
|
|
773
680
|
*/
|
|
774
681
|
target_type: string;
|
|
775
682
|
/**
|
|
776
|
-
*
|
|
683
|
+
* Identifier of the targeted entity
|
|
777
684
|
*/
|
|
778
685
|
target_id: string;
|
|
779
686
|
/**
|
|
780
|
-
*
|
|
687
|
+
* Hotkey of the admin who performed the action
|
|
781
688
|
*/
|
|
782
689
|
actor_hotkey: string;
|
|
783
690
|
/**
|
|
784
|
-
* Reason
|
|
691
|
+
* Reason for the action
|
|
785
692
|
*/
|
|
786
693
|
reason?: (string | null);
|
|
787
694
|
/**
|
|
788
|
-
* Additional
|
|
695
|
+
* Additional event details
|
|
789
696
|
*/
|
|
790
697
|
details?: ({
|
|
791
698
|
[key: string]: unknown;
|
|
@@ -795,16 +702,9 @@ type AuditEventEntry = {
|
|
|
795
702
|
*/
|
|
796
703
|
created_at: string;
|
|
797
704
|
};
|
|
798
|
-
/**
|
|
799
|
-
* Response for audit events list.
|
|
800
|
-
*/
|
|
801
705
|
type AuditEventsResponse = {
|
|
802
706
|
/**
|
|
803
|
-
*
|
|
804
|
-
*/
|
|
805
|
-
events: Array<AuditEventEntry>;
|
|
806
|
-
/**
|
|
807
|
-
* Total events matching filter
|
|
707
|
+
* Total entries matching filter
|
|
808
708
|
*/
|
|
809
709
|
total: number;
|
|
810
710
|
/**
|
|
@@ -815,26 +715,24 @@ type AuditEventsResponse = {
|
|
|
815
715
|
* Page offset
|
|
816
716
|
*/
|
|
817
717
|
offset: number;
|
|
718
|
+
/**
|
|
719
|
+
* Audit event entries
|
|
720
|
+
*/
|
|
721
|
+
events: Array<AuditEventEntry>;
|
|
818
722
|
};
|
|
819
|
-
/**
|
|
820
|
-
* Request to ban a miner or validator.
|
|
821
|
-
*/
|
|
822
723
|
type BanRequest = {
|
|
823
724
|
/**
|
|
824
725
|
* Reason for the ban
|
|
825
726
|
*/
|
|
826
727
|
reason: string;
|
|
827
728
|
};
|
|
828
|
-
/**
|
|
829
|
-
* Response for ban/unban operations.
|
|
830
|
-
*/
|
|
831
729
|
type BanResponse = {
|
|
832
730
|
/**
|
|
833
|
-
*
|
|
731
|
+
* Hotkey of the banned/unbanned entity
|
|
834
732
|
*/
|
|
835
733
|
hotkey: string;
|
|
836
734
|
/**
|
|
837
|
-
*
|
|
735
|
+
* Current ban status after the operation
|
|
838
736
|
*/
|
|
839
737
|
is_banned: boolean;
|
|
840
738
|
};
|
|
@@ -848,21 +746,15 @@ type Body_submit_agent = {
|
|
|
848
746
|
*/
|
|
849
747
|
file: (Blob | File);
|
|
850
748
|
};
|
|
851
|
-
/**
|
|
852
|
-
* Request to cancel an agent version's evaluation.
|
|
853
|
-
*/
|
|
854
749
|
type CancelRequest = {
|
|
855
750
|
/**
|
|
856
751
|
* Reason for cancellation
|
|
857
752
|
*/
|
|
858
753
|
reason: string;
|
|
859
754
|
};
|
|
860
|
-
/**
|
|
861
|
-
* Response for cancel operation.
|
|
862
|
-
*/
|
|
863
755
|
type CancelResponse = {
|
|
864
756
|
/**
|
|
865
|
-
* Agent version
|
|
757
|
+
* Agent version whose runs were cancelled
|
|
866
758
|
*/
|
|
867
759
|
agent_version_id: string;
|
|
868
760
|
/**
|
|
@@ -870,18 +762,12 @@ type CancelResponse = {
|
|
|
870
762
|
*/
|
|
871
763
|
cancelled_runs: number;
|
|
872
764
|
};
|
|
873
|
-
/**
|
|
874
|
-
* Request body for challenge endpoint.
|
|
875
|
-
*/
|
|
876
765
|
type ChallengeRequest = {
|
|
877
766
|
/**
|
|
878
767
|
* SS58 hotkey address
|
|
879
768
|
*/
|
|
880
769
|
hotkey: string;
|
|
881
770
|
};
|
|
882
|
-
/**
|
|
883
|
-
* Response from challenge endpoint.
|
|
884
|
-
*/
|
|
885
771
|
type ChallengeResponse = {
|
|
886
772
|
/**
|
|
887
773
|
* Challenge string to sign
|
|
@@ -892,25 +778,19 @@ type ChallengeResponse = {
|
|
|
892
778
|
*/
|
|
893
779
|
expires_at: number;
|
|
894
780
|
};
|
|
895
|
-
/**
|
|
896
|
-
* Response for Chutes auth status check.
|
|
897
|
-
*/
|
|
898
781
|
type ChutesAuthStatusResponse = {
|
|
899
782
|
/**
|
|
900
|
-
* Whether the miner has a
|
|
783
|
+
* Whether the miner has a valid Chutes token stored
|
|
901
784
|
*/
|
|
902
785
|
connected: boolean;
|
|
903
786
|
/**
|
|
904
|
-
* When the token was last
|
|
787
|
+
* When the Chutes token was last updated
|
|
905
788
|
*/
|
|
906
789
|
updated_at?: (string | null);
|
|
907
790
|
};
|
|
908
|
-
/**
|
|
909
|
-
* Response for successful work claim.
|
|
910
|
-
*/
|
|
911
791
|
type ClaimWorkResponse = {
|
|
912
792
|
/**
|
|
913
|
-
*
|
|
793
|
+
* Evaluation run ID assigned to this claim
|
|
914
794
|
*/
|
|
915
795
|
eval_run_id: string;
|
|
916
796
|
/**
|
|
@@ -918,11 +798,11 @@ type ClaimWorkResponse = {
|
|
|
918
798
|
*/
|
|
919
799
|
agent_version_id: string;
|
|
920
800
|
/**
|
|
921
|
-
* Problem suite ID
|
|
801
|
+
* Problem suite ID for this evaluation
|
|
922
802
|
*/
|
|
923
803
|
suite_id: number;
|
|
924
804
|
/**
|
|
925
|
-
* When the lease expires
|
|
805
|
+
* When the lease expires if not renewed
|
|
926
806
|
*/
|
|
927
807
|
lease_expires_at: string;
|
|
928
808
|
/**
|
|
@@ -930,16 +810,31 @@ type ClaimWorkResponse = {
|
|
|
930
810
|
*/
|
|
931
811
|
code_download_url: string;
|
|
932
812
|
/**
|
|
933
|
-
*
|
|
813
|
+
* Optional Chutes access token for sandboxed execution
|
|
934
814
|
*/
|
|
935
815
|
chutes_access_token?: (string | null);
|
|
936
816
|
};
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
817
|
+
type ClearCooldownResponse = {
|
|
818
|
+
/**
|
|
819
|
+
* Whether the cooldown was cleared
|
|
820
|
+
*/
|
|
821
|
+
cleared: boolean;
|
|
822
|
+
/**
|
|
823
|
+
* Hotkey whose cooldown was cleared
|
|
824
|
+
*/
|
|
825
|
+
hotkey?: (string | null);
|
|
826
|
+
/**
|
|
827
|
+
* Seconds remaining on the cooldown before clearing
|
|
828
|
+
*/
|
|
829
|
+
seconds_remaining_was?: (number | null);
|
|
830
|
+
/**
|
|
831
|
+
* Human-readable status message
|
|
832
|
+
*/
|
|
833
|
+
message?: (string | null);
|
|
834
|
+
};
|
|
940
835
|
type CloseQualifyingResponse = {
|
|
941
836
|
/**
|
|
942
|
-
* Race
|
|
837
|
+
* Race ID
|
|
943
838
|
*/
|
|
944
839
|
race_id: string;
|
|
945
840
|
/**
|
|
@@ -947,11 +842,11 @@ type CloseQualifyingResponse = {
|
|
|
947
842
|
*/
|
|
948
843
|
previous_closes_at: string;
|
|
949
844
|
/**
|
|
950
|
-
*
|
|
845
|
+
* New qualifying close time
|
|
951
846
|
*/
|
|
952
847
|
new_closes_at: string;
|
|
953
848
|
/**
|
|
954
|
-
* Race status after
|
|
849
|
+
* Race status after closing qualifying
|
|
955
850
|
*/
|
|
956
851
|
status: string;
|
|
957
852
|
};
|
|
@@ -979,60 +874,57 @@ type CodeAnalysisError = {
|
|
|
979
874
|
remaining_seconds?: (number | null);
|
|
980
875
|
};
|
|
981
876
|
/**
|
|
982
|
-
*
|
|
877
|
+
* Sent by the validator when an evaluation run finishes.
|
|
983
878
|
*/
|
|
984
879
|
type CompleteRunRequest = {
|
|
985
880
|
/**
|
|
986
|
-
* Final status of the run
|
|
881
|
+
* Final status of the evaluation run
|
|
987
882
|
*/
|
|
988
883
|
terminal_status: TerminalStatus;
|
|
989
884
|
/**
|
|
990
|
-
*
|
|
885
|
+
* Aggregate score computed by the validator
|
|
991
886
|
*/
|
|
992
887
|
validator_score?: (number | null);
|
|
993
888
|
/**
|
|
994
|
-
*
|
|
889
|
+
* Detailed score component breakdown
|
|
995
890
|
*/
|
|
996
891
|
score_components?: ({
|
|
997
892
|
[key: string]: unknown;
|
|
998
893
|
} | null);
|
|
999
894
|
/**
|
|
1000
|
-
* S3 key for
|
|
895
|
+
* S3 key for the uploaded results bundle
|
|
1001
896
|
*/
|
|
1002
897
|
results_s3_key?: (string | null);
|
|
1003
898
|
/**
|
|
1004
|
-
*
|
|
899
|
+
* Human-readable failure reason
|
|
1005
900
|
*/
|
|
1006
901
|
failure_reason?: (string | null);
|
|
1007
902
|
/**
|
|
1008
|
-
*
|
|
903
|
+
* Metadata about the sandbox environment used
|
|
1009
904
|
*/
|
|
1010
905
|
sandbox_metadata?: ({
|
|
1011
906
|
[key: string]: unknown;
|
|
1012
907
|
} | null);
|
|
1013
908
|
};
|
|
1014
|
-
/**
|
|
1015
|
-
* Response for run completion.
|
|
1016
|
-
*/
|
|
1017
909
|
type CompleteRunResponse = {
|
|
1018
910
|
/**
|
|
1019
|
-
* Evaluation run
|
|
911
|
+
* Evaluation run that was completed
|
|
1020
912
|
*/
|
|
1021
913
|
eval_run_id: string;
|
|
1022
914
|
/**
|
|
1023
|
-
*
|
|
915
|
+
* Recorded terminal status
|
|
1024
916
|
*/
|
|
1025
917
|
status: string;
|
|
1026
918
|
/**
|
|
1027
|
-
*
|
|
919
|
+
* Current work-item completion counters
|
|
1028
920
|
*/
|
|
1029
921
|
work_item: WorkItemStatus;
|
|
1030
922
|
/**
|
|
1031
|
-
* Whether agent version
|
|
923
|
+
* Whether this run caused the agent version to become eligible
|
|
1032
924
|
*/
|
|
1033
925
|
agent_version_became_eligible: boolean;
|
|
1034
926
|
/**
|
|
1035
|
-
* Final score if became eligible
|
|
927
|
+
* Final qualifying score if the version became eligible
|
|
1036
928
|
*/
|
|
1037
929
|
final_score?: (number | null);
|
|
1038
930
|
};
|
|
@@ -1053,78 +945,60 @@ type CooldownActiveError = {
|
|
|
1053
945
|
*/
|
|
1054
946
|
remaining_seconds: number;
|
|
1055
947
|
};
|
|
1056
|
-
/**
|
|
1057
|
-
* Request to create a new problem suite.
|
|
1058
|
-
*/
|
|
1059
948
|
type CreateSuiteRequest = {
|
|
1060
949
|
/**
|
|
1061
|
-
* URI
|
|
950
|
+
* URI of the problem suite to import
|
|
1062
951
|
*/
|
|
1063
952
|
problem_suite_uri: string;
|
|
1064
953
|
/**
|
|
1065
|
-
* Whether
|
|
954
|
+
* Whether the suite is publicly visible
|
|
1066
955
|
*/
|
|
1067
956
|
is_public?: boolean;
|
|
1068
957
|
};
|
|
1069
|
-
/**
|
|
1070
|
-
* Response for suite creation.
|
|
1071
|
-
*/
|
|
1072
958
|
type CreateSuiteResponse = {
|
|
1073
959
|
/**
|
|
1074
|
-
*
|
|
960
|
+
* ID of the created suite
|
|
1075
961
|
*/
|
|
1076
962
|
suite_id: number;
|
|
1077
963
|
/**
|
|
1078
|
-
*
|
|
964
|
+
* Version number of the suite
|
|
1079
965
|
*/
|
|
1080
966
|
suite_version: number;
|
|
1081
967
|
/**
|
|
1082
|
-
* Whether
|
|
968
|
+
* Whether the suite is active
|
|
1083
969
|
*/
|
|
1084
970
|
is_active: boolean;
|
|
1085
971
|
};
|
|
1086
|
-
/**
|
|
1087
|
-
* Response for current race state.
|
|
1088
|
-
*/
|
|
1089
972
|
type CurrentRacesResponse = {
|
|
1090
973
|
/**
|
|
1091
974
|
* Active races
|
|
1092
975
|
*/
|
|
1093
976
|
races: Array<RaceSummary>;
|
|
1094
977
|
};
|
|
1095
|
-
/**
|
|
1096
|
-
* Request to discard an agent version.
|
|
1097
|
-
*/
|
|
1098
978
|
type DiscardRequest = {
|
|
1099
979
|
/**
|
|
1100
|
-
* Reason for discarding
|
|
980
|
+
* Reason for discarding the version
|
|
1101
981
|
*/
|
|
1102
982
|
reason: string;
|
|
1103
983
|
/**
|
|
1104
|
-
*
|
|
984
|
+
* Specific suite to discard from
|
|
1105
985
|
*/
|
|
1106
986
|
suite_id?: (number | null);
|
|
1107
987
|
};
|
|
1108
|
-
/**
|
|
1109
|
-
* Response for discard/reinstate operations.
|
|
1110
|
-
*/
|
|
1111
988
|
type DiscardResponse = {
|
|
1112
989
|
/**
|
|
1113
|
-
*
|
|
990
|
+
* Discarded agent version ID
|
|
1114
991
|
*/
|
|
1115
992
|
agent_version_id: string;
|
|
1116
993
|
/**
|
|
1117
|
-
* Suite
|
|
994
|
+
* Suite the version was discarded from
|
|
1118
995
|
*/
|
|
1119
996
|
suite_id: number;
|
|
1120
997
|
/**
|
|
1121
|
-
*
|
|
998
|
+
* Current discard status
|
|
1122
999
|
*/
|
|
1123
1000
|
is_discarded: boolean;
|
|
1124
1001
|
};
|
|
1125
|
-
/**
|
|
1126
|
-
* 404 - Evaluation run not found.
|
|
1127
|
-
*/
|
|
1128
1002
|
type EvalRunNotFoundError = {
|
|
1129
1003
|
/**
|
|
1130
1004
|
* Error message describing what went wrong
|
|
@@ -1135,9 +1009,6 @@ type EvalRunNotFoundError = {
|
|
|
1135
1009
|
*/
|
|
1136
1010
|
error_code?: "EVAL_RUN_NOT_FOUND";
|
|
1137
1011
|
};
|
|
1138
|
-
/**
|
|
1139
|
-
* Detailed representation of a single evaluation run.
|
|
1140
|
-
*/
|
|
1141
1012
|
type EvaluationRunDetail = {
|
|
1142
1013
|
/**
|
|
1143
1014
|
* Unique identifier for this run
|
|
@@ -1204,9 +1075,6 @@ type EvaluationRunDetail = {
|
|
|
1204
1075
|
[key: string]: unknown;
|
|
1205
1076
|
} | null);
|
|
1206
1077
|
};
|
|
1207
|
-
/**
|
|
1208
|
-
* Public representation of an evaluation run.
|
|
1209
|
-
*/
|
|
1210
1078
|
type EvaluationRunPublic = {
|
|
1211
1079
|
/**
|
|
1212
1080
|
* Unique identifier for this run
|
|
@@ -1302,17 +1170,18 @@ type EvaluationRunPublic = {
|
|
|
1302
1170
|
* Race ID if this is a race-phase evaluation
|
|
1303
1171
|
*/
|
|
1304
1172
|
race_id?: (string | null);
|
|
1173
|
+
/**
|
|
1174
|
+
* Race number if this is a race-phase evaluation
|
|
1175
|
+
*/
|
|
1176
|
+
race_number?: (number | null);
|
|
1305
1177
|
};
|
|
1306
1178
|
/**
|
|
1307
1179
|
* Status of an evaluation run through its lifecycle.
|
|
1308
1180
|
*/
|
|
1309
1181
|
type EvaluationRunStatus = 'CLAIMED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'TIMED_OUT' | 'STALE' | 'CANCELLED';
|
|
1310
|
-
/**
|
|
1311
|
-
* Status representation of an evaluation run (for admin operations).
|
|
1312
|
-
*/
|
|
1313
1182
|
type EvaluationRunStatusPublic = {
|
|
1314
1183
|
/**
|
|
1315
|
-
*
|
|
1184
|
+
* Evaluation run ID
|
|
1316
1185
|
*/
|
|
1317
1186
|
eval_run_id: string;
|
|
1318
1187
|
/**
|
|
@@ -1320,15 +1189,15 @@ type EvaluationRunStatusPublic = {
|
|
|
1320
1189
|
*/
|
|
1321
1190
|
agent_version_id: string;
|
|
1322
1191
|
/**
|
|
1323
|
-
*
|
|
1192
|
+
* Problem suite ID
|
|
1324
1193
|
*/
|
|
1325
1194
|
suite_id: number;
|
|
1326
1195
|
/**
|
|
1327
|
-
* Validator performing evaluation
|
|
1196
|
+
* Validator performing the evaluation
|
|
1328
1197
|
*/
|
|
1329
1198
|
validator_hotkey: string;
|
|
1330
1199
|
/**
|
|
1331
|
-
*
|
|
1200
|
+
* Current run status
|
|
1332
1201
|
*/
|
|
1333
1202
|
status: EvaluationRunStatus;
|
|
1334
1203
|
/**
|
|
@@ -1336,47 +1205,44 @@ type EvaluationRunStatusPublic = {
|
|
|
1336
1205
|
*/
|
|
1337
1206
|
claimed_at: string;
|
|
1338
1207
|
/**
|
|
1339
|
-
*
|
|
1208
|
+
* When the lease expires
|
|
1340
1209
|
*/
|
|
1341
1210
|
lease_expires_at: string;
|
|
1342
1211
|
/**
|
|
1343
|
-
* Whether run is included in
|
|
1212
|
+
* Whether this run is included in scoring
|
|
1344
1213
|
*/
|
|
1345
1214
|
is_included: boolean;
|
|
1346
1215
|
/**
|
|
1347
|
-
* Last heartbeat
|
|
1216
|
+
* Last heartbeat from the validator
|
|
1348
1217
|
*/
|
|
1349
1218
|
last_heartbeat_at?: (string | null);
|
|
1350
1219
|
/**
|
|
1351
|
-
*
|
|
1220
|
+
* When the run completed
|
|
1352
1221
|
*/
|
|
1353
1222
|
completed_at?: (string | null);
|
|
1354
1223
|
/**
|
|
1355
|
-
* When run was invalidated
|
|
1224
|
+
* When the run was invalidated
|
|
1356
1225
|
*/
|
|
1357
1226
|
invalidated_at?: (string | null);
|
|
1358
1227
|
/**
|
|
1359
|
-
*
|
|
1228
|
+
* Hotkey of the admin who invalidated the run
|
|
1360
1229
|
*/
|
|
1361
1230
|
invalidated_by?: (string | null);
|
|
1362
1231
|
/**
|
|
1363
|
-
* Reason
|
|
1232
|
+
* Reason the run was invalidated
|
|
1364
1233
|
*/
|
|
1365
1234
|
invalidation_reason?: (string | null);
|
|
1366
1235
|
/**
|
|
1367
|
-
* Score
|
|
1236
|
+
* Score assigned by the validator
|
|
1368
1237
|
*/
|
|
1369
1238
|
validator_score?: (number | null);
|
|
1370
1239
|
/**
|
|
1371
|
-
*
|
|
1240
|
+
* Summary of score components
|
|
1372
1241
|
*/
|
|
1373
1242
|
score_components_summary?: ({
|
|
1374
1243
|
[key: string]: unknown;
|
|
1375
1244
|
} | null);
|
|
1376
1245
|
};
|
|
1377
|
-
/**
|
|
1378
|
-
* 400 - Upload file exceeds size limit.
|
|
1379
|
-
*/
|
|
1380
1246
|
type FileTooLargeError = {
|
|
1381
1247
|
/**
|
|
1382
1248
|
* Error message describing what went wrong
|
|
@@ -1387,9 +1253,6 @@ type FileTooLargeError = {
|
|
|
1387
1253
|
*/
|
|
1388
1254
|
error_code?: "FILE_TOO_LARGE";
|
|
1389
1255
|
};
|
|
1390
|
-
/**
|
|
1391
|
-
* Optional request body for heartbeat with service version info.
|
|
1392
|
-
*/
|
|
1393
1256
|
type HeartbeatRequest = {
|
|
1394
1257
|
/**
|
|
1395
1258
|
* Docker image digests for validator stack services
|
|
@@ -1398,21 +1261,15 @@ type HeartbeatRequest = {
|
|
|
1398
1261
|
[key: string]: (string);
|
|
1399
1262
|
} | null);
|
|
1400
1263
|
};
|
|
1401
|
-
/**
|
|
1402
|
-
* Response for heartbeat.
|
|
1403
|
-
*/
|
|
1404
1264
|
type HeartbeatResponse = {
|
|
1405
1265
|
/**
|
|
1406
|
-
* New lease
|
|
1266
|
+
* New lease expiry after heartbeat
|
|
1407
1267
|
*/
|
|
1408
1268
|
lease_expires_at: string;
|
|
1409
1269
|
};
|
|
1410
1270
|
type HTTPValidationError = {
|
|
1411
1271
|
detail?: Array<ValidationError>;
|
|
1412
1272
|
};
|
|
1413
|
-
/**
|
|
1414
|
-
* 400 - Agent name validation failed.
|
|
1415
|
-
*/
|
|
1416
1273
|
type InvalidAgentNameError = {
|
|
1417
1274
|
/**
|
|
1418
1275
|
* Error message describing what went wrong
|
|
@@ -1423,9 +1280,6 @@ type InvalidAgentNameError = {
|
|
|
1423
1280
|
*/
|
|
1424
1281
|
error_code?: "INVALID_AGENT_NAME";
|
|
1425
1282
|
};
|
|
1426
|
-
/**
|
|
1427
|
-
* 400 - Unknown or unsupported artifact type.
|
|
1428
|
-
*/
|
|
1429
1283
|
type InvalidArtifactTypeError = {
|
|
1430
1284
|
/**
|
|
1431
1285
|
* Error message describing what went wrong
|
|
@@ -1436,18 +1290,12 @@ type InvalidArtifactTypeError = {
|
|
|
1436
1290
|
*/
|
|
1437
1291
|
error_code?: "INVALID_ARTIFACT_TYPE";
|
|
1438
1292
|
};
|
|
1439
|
-
/**
|
|
1440
|
-
* Request to invalidate an evaluation run (irreversible).
|
|
1441
|
-
*/
|
|
1442
1293
|
type InvalidateRunRequest = {
|
|
1443
1294
|
/**
|
|
1444
|
-
* Reason for
|
|
1295
|
+
* Reason for invalidating the run
|
|
1445
1296
|
*/
|
|
1446
1297
|
reason: string;
|
|
1447
1298
|
};
|
|
1448
|
-
/**
|
|
1449
|
-
* 400 - File content validation failed.
|
|
1450
|
-
*/
|
|
1451
1299
|
type InvalidFileError = {
|
|
1452
1300
|
/**
|
|
1453
1301
|
* Error message describing what went wrong
|
|
@@ -1458,9 +1306,6 @@ type InvalidFileError = {
|
|
|
1458
1306
|
*/
|
|
1459
1307
|
error_code?: "INVALID_FILE";
|
|
1460
1308
|
};
|
|
1461
|
-
/**
|
|
1462
|
-
* 400 - Problem ID is not valid for this suite.
|
|
1463
|
-
*/
|
|
1464
1309
|
type InvalidProblemIdError = {
|
|
1465
1310
|
/**
|
|
1466
1311
|
* Error message describing what went wrong
|
|
@@ -1471,9 +1316,6 @@ type InvalidProblemIdError = {
|
|
|
1471
1316
|
*/
|
|
1472
1317
|
error_code?: "INVALID_PROBLEM_ID";
|
|
1473
1318
|
};
|
|
1474
|
-
/**
|
|
1475
|
-
* Entry in the leaderboard.
|
|
1476
|
-
*/
|
|
1477
1319
|
type LeaderboardEntry = {
|
|
1478
1320
|
/**
|
|
1479
1321
|
* Leaderboard rank
|
|
@@ -1528,42 +1370,36 @@ type LeaderboardEntry = {
|
|
|
1528
1370
|
*/
|
|
1529
1371
|
top_at?: (string | null);
|
|
1530
1372
|
};
|
|
1531
|
-
/**
|
|
1532
|
-
* Response for leaderboard endpoint.
|
|
1533
|
-
*/
|
|
1534
1373
|
type LeaderboardResponse = {
|
|
1535
1374
|
/**
|
|
1536
|
-
*
|
|
1375
|
+
* Total entries matching filter
|
|
1537
1376
|
*/
|
|
1538
|
-
|
|
1377
|
+
total: number;
|
|
1539
1378
|
/**
|
|
1540
|
-
*
|
|
1379
|
+
* Page size
|
|
1541
1380
|
*/
|
|
1542
|
-
|
|
1381
|
+
limit: number;
|
|
1543
1382
|
/**
|
|
1544
|
-
*
|
|
1383
|
+
* Page offset
|
|
1545
1384
|
*/
|
|
1546
|
-
|
|
1385
|
+
offset: number;
|
|
1547
1386
|
/**
|
|
1548
|
-
*
|
|
1387
|
+
* Suite information
|
|
1549
1388
|
*/
|
|
1550
|
-
|
|
1389
|
+
suite: SuitePublic;
|
|
1551
1390
|
/**
|
|
1552
|
-
*
|
|
1391
|
+
* Leaderboard entries
|
|
1553
1392
|
*/
|
|
1554
|
-
|
|
1393
|
+
entries: Array<LeaderboardEntry>;
|
|
1555
1394
|
/**
|
|
1556
|
-
*
|
|
1395
|
+
* Distinct miner hotkeys on leaderboard
|
|
1557
1396
|
*/
|
|
1558
|
-
|
|
1397
|
+
unique_miners: number;
|
|
1559
1398
|
/**
|
|
1560
1399
|
* Score required to dethrone current top
|
|
1561
1400
|
*/
|
|
1562
1401
|
challenge_threshold?: (number | null);
|
|
1563
1402
|
};
|
|
1564
|
-
/**
|
|
1565
|
-
* 409 - Evaluation run lease has expired.
|
|
1566
|
-
*/
|
|
1567
1403
|
type LeaseExpiredError = {
|
|
1568
1404
|
/**
|
|
1569
1405
|
* Error message describing what went wrong
|
|
@@ -1574,35 +1410,26 @@ type LeaseExpiredError = {
|
|
|
1574
1410
|
*/
|
|
1575
1411
|
error_code?: "LEASE_EXPIRED";
|
|
1576
1412
|
};
|
|
1577
|
-
/**
|
|
1578
|
-
* Response from logout endpoint.
|
|
1579
|
-
*/
|
|
1580
1413
|
type LogoutResponse = {
|
|
1581
1414
|
/**
|
|
1582
1415
|
* Whether logout was successful
|
|
1583
1416
|
*/
|
|
1584
1417
|
success: boolean;
|
|
1585
1418
|
};
|
|
1586
|
-
/**
|
|
1587
|
-
* Envelope response for GET /v1/miner/agents with cooldown status.
|
|
1588
|
-
*/
|
|
1589
1419
|
type MinerAgentsResponse = {
|
|
1590
1420
|
/**
|
|
1591
|
-
*
|
|
1421
|
+
* List of agents owned by the miner
|
|
1592
1422
|
*/
|
|
1593
1423
|
agents: Array<AgentPublic>;
|
|
1594
1424
|
/**
|
|
1595
|
-
* Whether the miner
|
|
1425
|
+
* Whether the miner is currently allowed to submit a new agent
|
|
1596
1426
|
*/
|
|
1597
1427
|
can_submit: boolean;
|
|
1598
1428
|
/**
|
|
1599
|
-
*
|
|
1429
|
+
* Earliest time the miner may submit again, if on cooldown
|
|
1600
1430
|
*/
|
|
1601
1431
|
next_allowed_at?: (string | null);
|
|
1602
1432
|
};
|
|
1603
|
-
/**
|
|
1604
|
-
* 404 - Miner not found.
|
|
1605
|
-
*/
|
|
1606
1433
|
type MinerNotFoundError = {
|
|
1607
1434
|
/**
|
|
1608
1435
|
* Error message describing what went wrong
|
|
@@ -1613,9 +1440,6 @@ type MinerNotFoundError = {
|
|
|
1613
1440
|
*/
|
|
1614
1441
|
error_code?: "MINER_NOT_FOUND";
|
|
1615
1442
|
};
|
|
1616
|
-
/**
|
|
1617
|
-
* 400 - Required parameter is missing.
|
|
1618
|
-
*/
|
|
1619
1443
|
type MissingParameterError = {
|
|
1620
1444
|
/**
|
|
1621
1445
|
* Error message describing what went wrong
|
|
@@ -1626,9 +1450,6 @@ type MissingParameterError = {
|
|
|
1626
1450
|
*/
|
|
1627
1451
|
error_code?: "MISSING_PARAMETER";
|
|
1628
1452
|
};
|
|
1629
|
-
/**
|
|
1630
|
-
* 400 - Score is required for SUCCESS status.
|
|
1631
|
-
*/
|
|
1632
1453
|
type MissingScoreError = {
|
|
1633
1454
|
/**
|
|
1634
1455
|
* Error message describing what went wrong
|
|
@@ -1639,9 +1460,6 @@ type MissingScoreError = {
|
|
|
1639
1460
|
*/
|
|
1640
1461
|
error_code?: "MISSING_SCORE";
|
|
1641
1462
|
};
|
|
1642
|
-
/**
|
|
1643
|
-
* 503 - No active problem suite available.
|
|
1644
|
-
*/
|
|
1645
1463
|
type NoActiveSuiteError = {
|
|
1646
1464
|
/**
|
|
1647
1465
|
* Error message describing what went wrong
|
|
@@ -1652,9 +1470,6 @@ type NoActiveSuiteError = {
|
|
|
1652
1470
|
*/
|
|
1653
1471
|
error_code?: "NO_ACTIVE_SUITE";
|
|
1654
1472
|
};
|
|
1655
|
-
/**
|
|
1656
|
-
* 409 - Caller does not own this evaluation run.
|
|
1657
|
-
*/
|
|
1658
1473
|
type NotRunOwnerError = {
|
|
1659
1474
|
/**
|
|
1660
1475
|
* Error message describing what went wrong
|
|
@@ -1665,9 +1480,6 @@ type NotRunOwnerError = {
|
|
|
1665
1480
|
*/
|
|
1666
1481
|
error_code?: "NOT_RUN_OWNER";
|
|
1667
1482
|
};
|
|
1668
|
-
/**
|
|
1669
|
-
* A work item awaiting validator evaluations.
|
|
1670
|
-
*/
|
|
1671
1483
|
type PendingEvaluation = {
|
|
1672
1484
|
/**
|
|
1673
1485
|
* Unique work item identifier
|
|
@@ -1722,9 +1534,6 @@ type PendingEvaluation = {
|
|
|
1722
1534
|
*/
|
|
1723
1535
|
race_id?: (string | null);
|
|
1724
1536
|
};
|
|
1725
|
-
/**
|
|
1726
|
-
* Response for pending evaluations endpoint.
|
|
1727
|
-
*/
|
|
1728
1537
|
type PendingEvaluationsResponse = {
|
|
1729
1538
|
/**
|
|
1730
1539
|
* Aggregate queue statistics
|
|
@@ -1735,9 +1544,6 @@ type PendingEvaluationsResponse = {
|
|
|
1735
1544
|
*/
|
|
1736
1545
|
items: Array<PendingEvaluation>;
|
|
1737
1546
|
};
|
|
1738
|
-
/**
|
|
1739
|
-
* Aggregate statistics for pending evaluations.
|
|
1740
|
-
*/
|
|
1741
1547
|
type PendingEvaluationSummary = {
|
|
1742
1548
|
/**
|
|
1743
1549
|
* Number of open work items
|
|
@@ -1752,41 +1558,35 @@ type PendingEvaluationSummary = {
|
|
|
1752
1558
|
*/
|
|
1753
1559
|
total_runs_active: number;
|
|
1754
1560
|
};
|
|
1755
|
-
/**
|
|
1756
|
-
* Request for presigned upload URL.
|
|
1757
|
-
*/
|
|
1758
1561
|
type PresignUploadRequest = {
|
|
1759
1562
|
/**
|
|
1760
|
-
*
|
|
1563
|
+
* MIME type of the upload
|
|
1761
1564
|
*/
|
|
1762
1565
|
content_type?: string;
|
|
1763
1566
|
/**
|
|
1764
|
-
* Size of the upload
|
|
1567
|
+
* Size in bytes of the upload payload
|
|
1765
1568
|
*/
|
|
1766
1569
|
content_length: number;
|
|
1767
1570
|
/**
|
|
1768
|
-
* Evaluation run
|
|
1571
|
+
* Evaluation run these results belong to
|
|
1769
1572
|
*/
|
|
1770
1573
|
eval_run_id: string;
|
|
1771
1574
|
/**
|
|
1772
|
-
* Problem
|
|
1575
|
+
* Problem these results belong to
|
|
1773
1576
|
*/
|
|
1774
1577
|
problem_id: string;
|
|
1775
1578
|
};
|
|
1776
|
-
/**
|
|
1777
|
-
* Response with presigned upload URL.
|
|
1778
|
-
*/
|
|
1779
1579
|
type PresignUploadResponse = {
|
|
1780
1580
|
/**
|
|
1781
|
-
* Presigned
|
|
1581
|
+
* Presigned URL to upload to
|
|
1782
1582
|
*/
|
|
1783
1583
|
upload_url: string;
|
|
1784
1584
|
/**
|
|
1785
|
-
* HTTP method to use
|
|
1585
|
+
* HTTP method to use for upload
|
|
1786
1586
|
*/
|
|
1787
1587
|
method?: string;
|
|
1788
1588
|
/**
|
|
1789
|
-
* S3 key where the
|
|
1589
|
+
* S3 key where the results will be stored
|
|
1790
1590
|
*/
|
|
1791
1591
|
results_s3_key: string;
|
|
1792
1592
|
/**
|
|
@@ -1794,9 +1594,6 @@ type PresignUploadResponse = {
|
|
|
1794
1594
|
*/
|
|
1795
1595
|
expires_at: string;
|
|
1796
1596
|
};
|
|
1797
|
-
/**
|
|
1798
|
-
* 404 - Problem not found in suite.
|
|
1799
|
-
*/
|
|
1800
1597
|
type ProblemNotFoundError = {
|
|
1801
1598
|
/**
|
|
1802
1599
|
* Error message describing what went wrong
|
|
@@ -1807,9 +1604,6 @@ type ProblemNotFoundError = {
|
|
|
1807
1604
|
*/
|
|
1808
1605
|
error_code?: "PROBLEM_NOT_FOUND";
|
|
1809
1606
|
};
|
|
1810
|
-
/**
|
|
1811
|
-
* Progress entry for a single problem showing results from all validators.
|
|
1812
|
-
*/
|
|
1813
1607
|
type ProblemProgressEntry = {
|
|
1814
1608
|
/**
|
|
1815
1609
|
* Problem ID
|
|
@@ -1832,12 +1626,9 @@ type ProblemProgressEntry = {
|
|
|
1832
1626
|
*/
|
|
1833
1627
|
validator_results?: Array<ValidatorProblemResult>;
|
|
1834
1628
|
};
|
|
1835
|
-
/**
|
|
1836
|
-
* Progress update for a single problem.
|
|
1837
|
-
*/
|
|
1838
1629
|
type ProblemProgressUpdate = {
|
|
1839
1630
|
/**
|
|
1840
|
-
* Problem
|
|
1631
|
+
* Problem being reported on
|
|
1841
1632
|
*/
|
|
1842
1633
|
problem_id: string;
|
|
1843
1634
|
/**
|
|
@@ -1845,35 +1636,32 @@ type ProblemProgressUpdate = {
|
|
|
1845
1636
|
*/
|
|
1846
1637
|
status: ProblemStatus;
|
|
1847
1638
|
/**
|
|
1848
|
-
*
|
|
1639
|
+
* Normalised score for this problem
|
|
1849
1640
|
*/
|
|
1850
1641
|
score?: (number | null);
|
|
1851
1642
|
/**
|
|
1852
|
-
*
|
|
1643
|
+
* Breakdown of score components
|
|
1853
1644
|
*/
|
|
1854
1645
|
score_components_summary?: ({
|
|
1855
1646
|
[key: string]: unknown;
|
|
1856
1647
|
} | null);
|
|
1857
1648
|
/**
|
|
1858
|
-
* S3 key for
|
|
1649
|
+
* S3 key for problem-level logs
|
|
1859
1650
|
*/
|
|
1860
1651
|
logs_s3_key?: (string | null);
|
|
1861
1652
|
/**
|
|
1862
|
-
* Reasoning quality score
|
|
1653
|
+
* Reasoning quality score
|
|
1863
1654
|
*/
|
|
1864
1655
|
reasoning_score?: (number | null);
|
|
1865
1656
|
/**
|
|
1866
|
-
* Number of failed inference calls
|
|
1657
|
+
* Number of failed inference calls
|
|
1867
1658
|
*/
|
|
1868
1659
|
inference_failure_count?: (number | null);
|
|
1869
1660
|
/**
|
|
1870
|
-
* Total number of inference calls
|
|
1661
|
+
* Total number of inference calls
|
|
1871
1662
|
*/
|
|
1872
1663
|
inference_total?: (number | null);
|
|
1873
1664
|
};
|
|
1874
|
-
/**
|
|
1875
|
-
* Public representation of a problem.
|
|
1876
|
-
*/
|
|
1877
1665
|
type ProblemPublic = {
|
|
1878
1666
|
/**
|
|
1879
1667
|
* Unique identifier for the problem
|
|
@@ -1890,57 +1678,39 @@ type ProblemPublic = {
|
|
|
1890
1678
|
[key: string]: unknown;
|
|
1891
1679
|
};
|
|
1892
1680
|
};
|
|
1893
|
-
/**
|
|
1894
|
-
* Status of problem evaluation.
|
|
1895
|
-
*/
|
|
1896
1681
|
type ProblemStatus = 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'SKIPPED' | 'TIMED_OUT';
|
|
1897
|
-
/**
|
|
1898
|
-
* Request to update per-problem progress.
|
|
1899
|
-
*/
|
|
1900
1682
|
type ProgressUpdateRequest = {
|
|
1901
1683
|
/**
|
|
1902
|
-
*
|
|
1684
|
+
* Per-problem progress updates
|
|
1903
1685
|
*/
|
|
1904
1686
|
problems: Array<ProblemProgressUpdate>;
|
|
1905
1687
|
};
|
|
1906
|
-
/**
|
|
1907
|
-
* Response for progress update.
|
|
1908
|
-
*/
|
|
1909
1688
|
type ProgressUpdateResponse = {
|
|
1910
1689
|
/**
|
|
1911
|
-
* Whether
|
|
1690
|
+
* Whether the update was accepted
|
|
1912
1691
|
*/
|
|
1913
1692
|
accepted?: boolean;
|
|
1914
1693
|
};
|
|
1915
|
-
/**
|
|
1916
|
-
* Response for current race state.
|
|
1917
|
-
*/
|
|
1918
1694
|
type RaceCurrentResponse = {
|
|
1919
1695
|
/**
|
|
1920
|
-
*
|
|
1696
|
+
* Current race, if any
|
|
1921
1697
|
*/
|
|
1922
1698
|
race?: (RacePublic | null);
|
|
1923
1699
|
/**
|
|
1924
|
-
*
|
|
1700
|
+
* Race qualifiers
|
|
1925
1701
|
*/
|
|
1926
1702
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
1927
1703
|
};
|
|
1928
|
-
/**
|
|
1929
|
-
* Detailed view of a single race.
|
|
1930
|
-
*/
|
|
1931
1704
|
type RaceDetailResponse = {
|
|
1932
1705
|
/**
|
|
1933
|
-
* Race
|
|
1706
|
+
* Race details
|
|
1934
1707
|
*/
|
|
1935
1708
|
race: RacePublic;
|
|
1936
1709
|
/**
|
|
1937
|
-
*
|
|
1710
|
+
* Race qualifiers
|
|
1938
1711
|
*/
|
|
1939
1712
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
1940
1713
|
};
|
|
1941
|
-
/**
|
|
1942
|
-
* Detailed diagnostics for a specific race.
|
|
1943
|
-
*/
|
|
1944
1714
|
type RaceDiagnosticsResponse = {
|
|
1945
1715
|
/**
|
|
1946
1716
|
* Race ID
|
|
@@ -1960,26 +1730,34 @@ type RaceDiagnosticsResponse = {
|
|
|
1960
1730
|
race_completed_at?: (string | null);
|
|
1961
1731
|
winner_agent_version_id?: (string | null);
|
|
1962
1732
|
winner_score?: (number | null);
|
|
1733
|
+
/**
|
|
1734
|
+
* Score threshold for qualifying
|
|
1735
|
+
*/
|
|
1963
1736
|
qualifying_threshold?: (number | null);
|
|
1737
|
+
/**
|
|
1738
|
+
* Current incumbent agent version ID
|
|
1739
|
+
*/
|
|
1964
1740
|
incumbent_agent_version_id?: (string | null);
|
|
1741
|
+
/**
|
|
1742
|
+
* Seed used for problem selection
|
|
1743
|
+
*/
|
|
1965
1744
|
problem_seed?: (string | null);
|
|
1966
1745
|
/**
|
|
1967
|
-
* Number of race
|
|
1746
|
+
* Number of problems in the race
|
|
1968
1747
|
*/
|
|
1969
1748
|
problem_count?: number;
|
|
1749
|
+
/**
|
|
1750
|
+
* Qualified agent versions
|
|
1751
|
+
*/
|
|
1970
1752
|
qualifiers?: Array<RaceQualifierEntry>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Race work items
|
|
1755
|
+
*/
|
|
1971
1756
|
work_items?: Array<RaceWorkItemEntry>;
|
|
1972
1757
|
};
|
|
1973
|
-
/**
|
|
1974
|
-
* Paginated list of completed races.
|
|
1975
|
-
*/
|
|
1976
1758
|
type RaceHistoryResponse = {
|
|
1977
1759
|
/**
|
|
1978
|
-
*
|
|
1979
|
-
*/
|
|
1980
|
-
races: Array<RacePublic>;
|
|
1981
|
-
/**
|
|
1982
|
-
* Total count
|
|
1760
|
+
* Total entries matching filter
|
|
1983
1761
|
*/
|
|
1984
1762
|
total: number;
|
|
1985
1763
|
/**
|
|
@@ -1990,10 +1768,11 @@ type RaceHistoryResponse = {
|
|
|
1990
1768
|
* Page offset
|
|
1991
1769
|
*/
|
|
1992
1770
|
offset: number;
|
|
1771
|
+
/**
|
|
1772
|
+
* Historical races
|
|
1773
|
+
*/
|
|
1774
|
+
races: Array<RacePublic>;
|
|
1993
1775
|
};
|
|
1994
|
-
/**
|
|
1995
|
-
* 404 - Race not found.
|
|
1996
|
-
*/
|
|
1997
1776
|
type RaceNotFoundError = {
|
|
1998
1777
|
/**
|
|
1999
1778
|
* Error message describing what went wrong
|
|
@@ -2004,9 +1783,6 @@ type RaceNotFoundError = {
|
|
|
2004
1783
|
*/
|
|
2005
1784
|
error_code?: "RACE_NOT_FOUND";
|
|
2006
1785
|
};
|
|
2007
|
-
/**
|
|
2008
|
-
* Public view of a race — extends RaceBase with public-facing fields.
|
|
2009
|
-
*/
|
|
2010
1786
|
type RacePublic = {
|
|
2011
1787
|
/**
|
|
2012
1788
|
* Race ID
|
|
@@ -2027,25 +1803,22 @@ type RacePublic = {
|
|
|
2027
1803
|
winner_agent_version_id?: (string | null);
|
|
2028
1804
|
winner_score?: (number | null);
|
|
2029
1805
|
/**
|
|
2030
|
-
*
|
|
1806
|
+
* Score threshold for qualifying
|
|
2031
1807
|
*/
|
|
2032
1808
|
qualifying_threshold?: (number | null);
|
|
2033
1809
|
/**
|
|
2034
|
-
*
|
|
1810
|
+
* Name of the winning agent
|
|
2035
1811
|
*/
|
|
2036
1812
|
winner_agent_name?: (string | null);
|
|
2037
1813
|
/**
|
|
2038
|
-
* Number of qualifiers
|
|
1814
|
+
* Number of qualifiers in this race
|
|
2039
1815
|
*/
|
|
2040
1816
|
qualifier_count?: number;
|
|
2041
1817
|
/**
|
|
2042
|
-
* When race was created
|
|
1818
|
+
* When the race was created
|
|
2043
1819
|
*/
|
|
2044
|
-
created_at
|
|
1820
|
+
created_at?: (string | null);
|
|
2045
1821
|
};
|
|
2046
|
-
/**
|
|
2047
|
-
* A qualifier in a race.
|
|
2048
|
-
*/
|
|
2049
1822
|
type RaceQualifierEntry = {
|
|
2050
1823
|
/**
|
|
2051
1824
|
* Agent version ID
|
|
@@ -2076,9 +1849,6 @@ type RaceQualifierEntry = {
|
|
|
2076
1849
|
*/
|
|
2077
1850
|
race_score?: (number | null);
|
|
2078
1851
|
};
|
|
2079
|
-
/**
|
|
2080
|
-
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2081
|
-
*/
|
|
2082
1852
|
type RaceQualifierPublic = {
|
|
2083
1853
|
/**
|
|
2084
1854
|
* Agent version ID
|
|
@@ -2109,13 +1879,10 @@ type RaceQualifierPublic = {
|
|
|
2109
1879
|
*/
|
|
2110
1880
|
race_score?: (number | null);
|
|
2111
1881
|
/**
|
|
2112
|
-
*
|
|
1882
|
+
* Rank within the race
|
|
2113
1883
|
*/
|
|
2114
1884
|
race_rank?: (number | null);
|
|
2115
1885
|
};
|
|
2116
|
-
/**
|
|
2117
|
-
* Summary of a race for the current state view.
|
|
2118
|
-
*/
|
|
2119
1886
|
type RaceSummary = {
|
|
2120
1887
|
/**
|
|
2121
1888
|
* Race ID
|
|
@@ -2136,17 +1903,14 @@ type RaceSummary = {
|
|
|
2136
1903
|
winner_agent_version_id?: (string | null);
|
|
2137
1904
|
winner_score?: (number | null);
|
|
2138
1905
|
/**
|
|
2139
|
-
* Number of qualifiers
|
|
1906
|
+
* Number of qualifiers in this race
|
|
2140
1907
|
*/
|
|
2141
1908
|
qualifier_count?: number;
|
|
2142
1909
|
/**
|
|
2143
|
-
* Number of work items
|
|
1910
|
+
* Number of work items in this race
|
|
2144
1911
|
*/
|
|
2145
1912
|
work_item_count?: number;
|
|
2146
1913
|
};
|
|
2147
|
-
/**
|
|
2148
|
-
* A work item in a race.
|
|
2149
|
-
*/
|
|
2150
1914
|
type RaceWorkItemEntry = {
|
|
2151
1915
|
/**
|
|
2152
1916
|
* Agent version ID
|
|
@@ -2157,33 +1921,30 @@ type RaceWorkItemEntry = {
|
|
|
2157
1921
|
*/
|
|
2158
1922
|
agent_name?: (string | null);
|
|
2159
1923
|
/**
|
|
2160
|
-
*
|
|
1924
|
+
* Race phase (qualifying or race)
|
|
2161
1925
|
*/
|
|
2162
1926
|
phase: string;
|
|
2163
1927
|
/**
|
|
2164
|
-
* Whether work is
|
|
1928
|
+
* Whether the work item is closed
|
|
2165
1929
|
*/
|
|
2166
1930
|
is_closed: boolean;
|
|
2167
1931
|
/**
|
|
2168
|
-
* Whether work
|
|
1932
|
+
* Whether the work item is cancelled
|
|
2169
1933
|
*/
|
|
2170
1934
|
is_cancelled: boolean;
|
|
2171
1935
|
/**
|
|
2172
|
-
*
|
|
1936
|
+
* Number of included successful runs
|
|
2173
1937
|
*/
|
|
2174
1938
|
included_success_count: number;
|
|
2175
1939
|
/**
|
|
2176
|
-
*
|
|
1940
|
+
* Number of active runs
|
|
2177
1941
|
*/
|
|
2178
1942
|
active_count: number;
|
|
2179
1943
|
/**
|
|
2180
|
-
* Required successful
|
|
1944
|
+
* Required number of successful runs
|
|
2181
1945
|
*/
|
|
2182
1946
|
required_successes: number;
|
|
2183
1947
|
};
|
|
2184
|
-
/**
|
|
2185
|
-
* 429 - Rate limit exceeded.
|
|
2186
|
-
*/
|
|
2187
1948
|
type RateLimitExceededError = {
|
|
2188
1949
|
/**
|
|
2189
1950
|
* Error message describing what went wrong
|
|
@@ -2194,85 +1955,70 @@ type RateLimitExceededError = {
|
|
|
2194
1955
|
*/
|
|
2195
1956
|
error_code?: "RATE_LIMIT_EXCEEDED";
|
|
2196
1957
|
};
|
|
2197
|
-
/**
|
|
2198
|
-
* Response for reaper service statistics.
|
|
2199
|
-
*/
|
|
2200
1958
|
type ReaperStatsResponse = {
|
|
2201
1959
|
/**
|
|
2202
|
-
* Whether the reaper
|
|
1960
|
+
* Whether the reaper is enabled
|
|
2203
1961
|
*/
|
|
2204
1962
|
enabled: boolean;
|
|
2205
1963
|
/**
|
|
2206
|
-
* Whether the reaper
|
|
1964
|
+
* Whether the reaper is currently running
|
|
2207
1965
|
*/
|
|
2208
1966
|
is_running: boolean;
|
|
2209
1967
|
/**
|
|
2210
|
-
*
|
|
1968
|
+
* When the reaper last ran
|
|
2211
1969
|
*/
|
|
2212
1970
|
last_run_at?: (string | null);
|
|
2213
1971
|
/**
|
|
2214
|
-
* Total runs reaped since
|
|
1972
|
+
* Total number of runs reaped since startup
|
|
2215
1973
|
*/
|
|
2216
1974
|
runs_reaped_total: number;
|
|
2217
1975
|
/**
|
|
2218
|
-
*
|
|
1976
|
+
* Number of runs reaped in the last cycle
|
|
2219
1977
|
*/
|
|
2220
1978
|
runs_reaped_last_cycle: number;
|
|
2221
1979
|
/**
|
|
2222
|
-
* Duration of the last reaper cycle in
|
|
1980
|
+
* Duration of the last reaper cycle in milliseconds
|
|
2223
1981
|
*/
|
|
2224
1982
|
last_cycle_duration_ms: number;
|
|
2225
1983
|
/**
|
|
2226
|
-
*
|
|
1984
|
+
* Total number of reaper errors
|
|
2227
1985
|
*/
|
|
2228
1986
|
error_count: number;
|
|
2229
1987
|
/**
|
|
2230
|
-
*
|
|
1988
|
+
* Total number of Redis-related reaper errors
|
|
2231
1989
|
*/
|
|
2232
1990
|
redis_error_count: number;
|
|
2233
1991
|
/**
|
|
2234
|
-
*
|
|
1992
|
+
* Reaper cycle interval in seconds
|
|
2235
1993
|
*/
|
|
2236
1994
|
interval_seconds: number;
|
|
2237
1995
|
};
|
|
2238
|
-
/**
|
|
2239
|
-
* Request to re-evaluate an agent version.
|
|
2240
|
-
*/
|
|
2241
1996
|
type ReevaluateRequest = {
|
|
2242
1997
|
/**
|
|
2243
1998
|
* Reason for re-evaluation
|
|
2244
1999
|
*/
|
|
2245
2000
|
reason: string;
|
|
2246
2001
|
/**
|
|
2247
|
-
*
|
|
2002
|
+
* Specific suite to re-evaluate against
|
|
2248
2003
|
*/
|
|
2249
2004
|
suite_id?: (number | null);
|
|
2250
2005
|
/**
|
|
2251
|
-
* Override required
|
|
2006
|
+
* Override for number of required successful evaluations
|
|
2252
2007
|
*/
|
|
2253
2008
|
required_successes?: (number | null);
|
|
2254
2009
|
};
|
|
2255
|
-
/**
|
|
2256
|
-
* Response for re-evaluation request.
|
|
2257
|
-
*/
|
|
2258
2010
|
type ReevaluateResponse = {
|
|
2259
2011
|
/**
|
|
2260
|
-
* Agent version
|
|
2012
|
+
* Agent version queued for re-evaluation
|
|
2261
2013
|
*/
|
|
2262
2014
|
agent_version_id: string;
|
|
2263
2015
|
};
|
|
2264
|
-
/**
|
|
2265
|
-
* Request to reinstate an agent version.
|
|
2266
|
-
*/
|
|
2267
2016
|
type ReinstateRequest = {
|
|
2268
2017
|
/**
|
|
2269
|
-
*
|
|
2018
|
+
* Specific suite to reinstate for
|
|
2270
2019
|
*/
|
|
2271
2020
|
suite_id?: (number | null);
|
|
2272
2021
|
};
|
|
2273
|
-
/**
|
|
2274
|
-
* 409 - Evaluation run is already complete.
|
|
2275
|
-
*/
|
|
2276
2022
|
type RunAlreadyCompleteError = {
|
|
2277
2023
|
/**
|
|
2278
2024
|
* Error message describing what went wrong
|
|
@@ -2283,9 +2029,6 @@ type RunAlreadyCompleteError = {
|
|
|
2283
2029
|
*/
|
|
2284
2030
|
error_code?: "RUN_ALREADY_COMPLETE";
|
|
2285
2031
|
};
|
|
2286
|
-
/**
|
|
2287
|
-
* Representation of a currently running evaluation.
|
|
2288
|
-
*/
|
|
2289
2032
|
type RunningEvaluation = {
|
|
2290
2033
|
/**
|
|
2291
2034
|
* Unique identifier for this run
|
|
@@ -2332,12 +2075,9 @@ type RunningEvaluation = {
|
|
|
2332
2075
|
*/
|
|
2333
2076
|
race_id?: (string | null);
|
|
2334
2077
|
};
|
|
2335
|
-
/**
|
|
2336
|
-
* Problems for an evaluation run.
|
|
2337
|
-
*/
|
|
2338
2078
|
type RunProblemsResponse = {
|
|
2339
2079
|
/**
|
|
2340
|
-
* Problems to evaluate
|
|
2080
|
+
* Problems to evaluate
|
|
2341
2081
|
*/
|
|
2342
2082
|
problems: Array<ProblemPublic>;
|
|
2343
2083
|
};
|
|
@@ -2370,9 +2110,6 @@ type ScoreBelowThresholdError = {
|
|
|
2370
2110
|
*/
|
|
2371
2111
|
margin: number;
|
|
2372
2112
|
};
|
|
2373
|
-
/**
|
|
2374
|
-
* Request body for session creation endpoint.
|
|
2375
|
-
*/
|
|
2376
2113
|
type SessionRequest = {
|
|
2377
2114
|
/**
|
|
2378
2115
|
* SS58 hotkey address
|
|
@@ -2387,9 +2124,6 @@ type SessionRequest = {
|
|
|
2387
2124
|
*/
|
|
2388
2125
|
signature: string;
|
|
2389
2126
|
};
|
|
2390
|
-
/**
|
|
2391
|
-
* Response from session creation endpoint.
|
|
2392
|
-
*/
|
|
2393
2127
|
type SessionResponse = {
|
|
2394
2128
|
/**
|
|
2395
2129
|
* Session token for authenticated requests
|
|
@@ -2404,85 +2138,70 @@ type SessionResponse = {
|
|
|
2404
2138
|
*/
|
|
2405
2139
|
role: string;
|
|
2406
2140
|
};
|
|
2407
|
-
/**
|
|
2408
|
-
* Request to set an agent version as the top agent for emissions.
|
|
2409
|
-
*/
|
|
2410
2141
|
type SetTopRequest = {
|
|
2411
2142
|
/**
|
|
2412
|
-
*
|
|
2143
|
+
* Specific suite to set top agent for
|
|
2413
2144
|
*/
|
|
2414
2145
|
suite_id?: (number | null);
|
|
2415
2146
|
/**
|
|
2416
|
-
*
|
|
2147
|
+
* Force set even if version has lower score
|
|
2417
2148
|
*/
|
|
2418
2149
|
force?: boolean;
|
|
2419
2150
|
};
|
|
2420
|
-
/**
|
|
2421
|
-
* Response for set-top operation.
|
|
2422
|
-
*/
|
|
2423
2151
|
type SetTopResponse = {
|
|
2424
2152
|
/**
|
|
2425
|
-
*
|
|
2153
|
+
* Agent version set as top
|
|
2426
2154
|
*/
|
|
2427
2155
|
agent_version_id: string;
|
|
2428
2156
|
/**
|
|
2429
|
-
* Suite
|
|
2157
|
+
* Suite the top agent was set for
|
|
2430
2158
|
*/
|
|
2431
2159
|
suite_id: number;
|
|
2432
2160
|
/**
|
|
2433
|
-
* Previous top agent version
|
|
2161
|
+
* Previous top agent version ID, if any
|
|
2434
2162
|
*/
|
|
2435
2163
|
previous_top_agent_version_id?: (string | null);
|
|
2436
2164
|
/**
|
|
2437
|
-
*
|
|
2165
|
+
* Timestamp when the top agent was set
|
|
2438
2166
|
*/
|
|
2439
2167
|
top_at: string;
|
|
2440
2168
|
};
|
|
2441
|
-
/**
|
|
2442
|
-
* Request body for storing a Chutes refresh token.
|
|
2443
|
-
*/
|
|
2444
2169
|
type StoreChutesTokenRequest = {
|
|
2445
2170
|
/**
|
|
2446
|
-
* Chutes OAuth refresh token
|
|
2171
|
+
* Chutes OAuth refresh token to store
|
|
2447
2172
|
*/
|
|
2448
2173
|
refresh_token: string;
|
|
2449
2174
|
};
|
|
2450
|
-
/**
|
|
2451
|
-
* Response model for agent submission.
|
|
2452
|
-
*/
|
|
2453
2175
|
type SubmitAgentResponse = {
|
|
2454
2176
|
/**
|
|
2455
|
-
*
|
|
2177
|
+
* Unique identifier for the created agent
|
|
2456
2178
|
*/
|
|
2457
2179
|
agent_id?: (string | null);
|
|
2458
2180
|
/**
|
|
2459
|
-
*
|
|
2181
|
+
* Unique identifier for the created agent version
|
|
2460
2182
|
*/
|
|
2461
2183
|
agent_version_id?: (string | null);
|
|
2462
2184
|
/**
|
|
2463
|
-
* Whether submission was accepted
|
|
2185
|
+
* Whether the submission was accepted or rejected
|
|
2464
2186
|
*/
|
|
2465
2187
|
admission_status: AdmissionStatus;
|
|
2466
2188
|
/**
|
|
2467
|
-
* Reason for rejection if rejected
|
|
2189
|
+
* Reason for rejection, if the submission was rejected
|
|
2468
2190
|
*/
|
|
2469
2191
|
admission_reason?: (AdmissionReason | null);
|
|
2470
2192
|
/**
|
|
2471
|
-
*
|
|
2193
|
+
* Earliest time the miner may submit again after cooldown
|
|
2472
2194
|
*/
|
|
2473
2195
|
next_allowed_at?: (string | null);
|
|
2474
2196
|
/**
|
|
2475
|
-
*
|
|
2197
|
+
* Hotkey of the miner who submitted the agent
|
|
2476
2198
|
*/
|
|
2477
2199
|
hotkey: string;
|
|
2478
2200
|
/**
|
|
2479
|
-
*
|
|
2201
|
+
* Human-readable status message
|
|
2480
2202
|
*/
|
|
2481
2203
|
message?: string;
|
|
2482
2204
|
};
|
|
2483
|
-
/**
|
|
2484
|
-
* 404 - Problem suite not found.
|
|
2485
|
-
*/
|
|
2486
2205
|
type SuiteNotFoundError = {
|
|
2487
2206
|
/**
|
|
2488
2207
|
* Error message describing what went wrong
|
|
@@ -2493,9 +2212,6 @@ type SuiteNotFoundError = {
|
|
|
2493
2212
|
*/
|
|
2494
2213
|
error_code?: "SUITE_NOT_FOUND";
|
|
2495
2214
|
};
|
|
2496
|
-
/**
|
|
2497
|
-
* Public representation of a problem suite.
|
|
2498
|
-
*/
|
|
2499
2215
|
type SuitePublic = {
|
|
2500
2216
|
/**
|
|
2501
2217
|
* Problem suite version/ID
|
|
@@ -2510,9 +2226,6 @@ type SuitePublic = {
|
|
|
2510
2226
|
*/
|
|
2511
2227
|
is_active: boolean;
|
|
2512
2228
|
};
|
|
2513
|
-
/**
|
|
2514
|
-
* Response for suite with its problems.
|
|
2515
|
-
*/
|
|
2516
2229
|
type SuiteWithProblemsResponse = {
|
|
2517
2230
|
/**
|
|
2518
2231
|
* Suite information
|
|
@@ -2523,13 +2236,7 @@ type SuiteWithProblemsResponse = {
|
|
|
2523
2236
|
*/
|
|
2524
2237
|
problems: Array<ProblemPublic>;
|
|
2525
2238
|
};
|
|
2526
|
-
/**
|
|
2527
|
-
* Terminal statuses for evaluation runs.
|
|
2528
|
-
*/
|
|
2529
2239
|
type TerminalStatus = 'SUCCESS' | 'FAILED' | 'TIMED_OUT';
|
|
2530
|
-
/**
|
|
2531
|
-
* Response for top agent endpoint.
|
|
2532
|
-
*/
|
|
2533
2240
|
type TopAgentResponse = {
|
|
2534
2241
|
/**
|
|
2535
2242
|
* Active suite ID
|
|
@@ -2570,9 +2277,6 @@ type TopAgentResponse = {
|
|
|
2570
2277
|
*/
|
|
2571
2278
|
margin?: (number | null);
|
|
2572
2279
|
};
|
|
2573
|
-
/**
|
|
2574
|
-
* A single entry in the top agent history.
|
|
2575
|
-
*/
|
|
2576
2280
|
type TopHistoryEntry = {
|
|
2577
2281
|
/**
|
|
2578
2282
|
* Agent version ID
|
|
@@ -2611,9 +2315,6 @@ type TopHistoryEntry = {
|
|
|
2611
2315
|
*/
|
|
2612
2316
|
suite_id: number;
|
|
2613
2317
|
};
|
|
2614
|
-
/**
|
|
2615
|
-
* Response for top agent history endpoint.
|
|
2616
|
-
*/
|
|
2617
2318
|
type TopHistoryResponse = {
|
|
2618
2319
|
/**
|
|
2619
2320
|
* Suite ID
|
|
@@ -2633,9 +2334,16 @@ type ValidationError = {
|
|
|
2633
2334
|
[key: string]: unknown;
|
|
2634
2335
|
};
|
|
2635
2336
|
};
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2337
|
+
type ValidationErrorError = {
|
|
2338
|
+
/**
|
|
2339
|
+
* Error message describing what went wrong
|
|
2340
|
+
*/
|
|
2341
|
+
detail: string;
|
|
2342
|
+
/**
|
|
2343
|
+
* Error code for programmatic handling
|
|
2344
|
+
*/
|
|
2345
|
+
error_code?: "VALIDATION_ERROR";
|
|
2346
|
+
};
|
|
2639
2347
|
type ValidatorCurrentAgent = {
|
|
2640
2348
|
/**
|
|
2641
2349
|
* Name of the agent being evaluated
|
|
@@ -2654,9 +2362,6 @@ type ValidatorCurrentAgent = {
|
|
|
2654
2362
|
*/
|
|
2655
2363
|
started_at: string;
|
|
2656
2364
|
};
|
|
2657
|
-
/**
|
|
2658
|
-
* 404 - Validator not found.
|
|
2659
|
-
*/
|
|
2660
2365
|
type ValidatorNotFoundError = {
|
|
2661
2366
|
/**
|
|
2662
2367
|
* Error message describing what went wrong
|
|
@@ -2667,9 +2372,6 @@ type ValidatorNotFoundError = {
|
|
|
2667
2372
|
*/
|
|
2668
2373
|
error_code?: "VALIDATOR_NOT_FOUND";
|
|
2669
2374
|
};
|
|
2670
|
-
/**
|
|
2671
|
-
* Result from a single validator for a specific problem.
|
|
2672
|
-
*/
|
|
2673
2375
|
type ValidatorProblemResult = {
|
|
2674
2376
|
/**
|
|
2675
2377
|
* Evaluation run ID this result belongs to
|
|
@@ -2710,9 +2412,6 @@ type ValidatorProblemResult = {
|
|
|
2710
2412
|
*/
|
|
2711
2413
|
inference_total?: (number | null);
|
|
2712
2414
|
};
|
|
2713
|
-
/**
|
|
2714
|
-
* Public representation of a validator.
|
|
2715
|
-
*/
|
|
2716
2415
|
type ValidatorPublic = {
|
|
2717
2416
|
/**
|
|
2718
2417
|
* Validator's SS58 address
|
|
@@ -2762,11 +2461,11 @@ type ValidatorPublic = {
|
|
|
2762
2461
|
identity_description?: (string | null);
|
|
2763
2462
|
};
|
|
2764
2463
|
/**
|
|
2765
|
-
*
|
|
2464
|
+
* Aggregated validator scoring analysis.
|
|
2766
2465
|
*/
|
|
2767
2466
|
type ValidatorScoresResponse = {
|
|
2768
2467
|
/**
|
|
2769
|
-
* Per-validator summaries
|
|
2468
|
+
* Per-validator score summaries
|
|
2770
2469
|
*/
|
|
2771
2470
|
validators: Array<ValidatorScoreSummary>;
|
|
2772
2471
|
/**
|
|
@@ -2774,32 +2473,29 @@ type ValidatorScoresResponse = {
|
|
|
2774
2473
|
*/
|
|
2775
2474
|
global_avg_score: number;
|
|
2776
2475
|
/**
|
|
2777
|
-
* Global standard deviation
|
|
2476
|
+
* Global standard deviation of scores
|
|
2778
2477
|
*/
|
|
2779
2478
|
global_stddev: number;
|
|
2780
2479
|
/**
|
|
2781
|
-
* Global average execution time
|
|
2480
|
+
* Global average execution time in seconds
|
|
2782
2481
|
*/
|
|
2783
2482
|
global_avg_execution_seconds?: number;
|
|
2784
2483
|
};
|
|
2785
|
-
/**
|
|
2786
|
-
* Aggregated scoring and performance stats for a single validator.
|
|
2787
|
-
*/
|
|
2788
2484
|
type ValidatorScoreSummary = {
|
|
2789
2485
|
/**
|
|
2790
|
-
* Validator hotkey
|
|
2486
|
+
* Validator's SS58 hotkey
|
|
2791
2487
|
*/
|
|
2792
2488
|
validator_hotkey: string;
|
|
2793
2489
|
/**
|
|
2794
|
-
* Total completed runs
|
|
2490
|
+
* Total number of completed runs
|
|
2795
2491
|
*/
|
|
2796
2492
|
total_runs: number;
|
|
2797
2493
|
/**
|
|
2798
|
-
*
|
|
2494
|
+
* Average score across runs
|
|
2799
2495
|
*/
|
|
2800
2496
|
avg_score: number;
|
|
2801
2497
|
/**
|
|
2802
|
-
* Median score
|
|
2498
|
+
* Median score across runs
|
|
2803
2499
|
*/
|
|
2804
2500
|
median_score: number;
|
|
2805
2501
|
/**
|
|
@@ -2815,15 +2511,15 @@ type ValidatorScoreSummary = {
|
|
|
2815
2511
|
*/
|
|
2816
2512
|
max_score: number;
|
|
2817
2513
|
/**
|
|
2818
|
-
*
|
|
2514
|
+
* Deviation of this validator's average from the global average
|
|
2819
2515
|
*/
|
|
2820
2516
|
deviation_from_global: number;
|
|
2821
2517
|
/**
|
|
2822
|
-
*
|
|
2518
|
+
* Whether this validator is a scoring outlier
|
|
2823
2519
|
*/
|
|
2824
2520
|
is_outlier: boolean;
|
|
2825
2521
|
/**
|
|
2826
|
-
*
|
|
2522
|
+
* Average execution time in seconds
|
|
2827
2523
|
*/
|
|
2828
2524
|
avg_execution_seconds?: number;
|
|
2829
2525
|
/**
|
|
@@ -2831,53 +2527,47 @@ type ValidatorScoreSummary = {
|
|
|
2831
2527
|
*/
|
|
2832
2528
|
median_execution_seconds?: number;
|
|
2833
2529
|
/**
|
|
2834
|
-
*
|
|
2530
|
+
* Minimum execution time in seconds
|
|
2835
2531
|
*/
|
|
2836
2532
|
min_execution_seconds?: number;
|
|
2837
2533
|
/**
|
|
2838
|
-
*
|
|
2534
|
+
* Maximum execution time in seconds
|
|
2839
2535
|
*/
|
|
2840
2536
|
max_execution_seconds?: number;
|
|
2841
2537
|
/**
|
|
2842
|
-
*
|
|
2538
|
+
* Percentage deviation of execution time from global average
|
|
2843
2539
|
*/
|
|
2844
2540
|
execution_deviation_pct?: number;
|
|
2845
2541
|
/**
|
|
2846
|
-
*
|
|
2542
|
+
* Whether this validator is a slow execution outlier
|
|
2847
2543
|
*/
|
|
2848
2544
|
is_slow_outlier?: boolean;
|
|
2849
2545
|
/**
|
|
2850
|
-
*
|
|
2546
|
+
* Number of successful runs
|
|
2851
2547
|
*/
|
|
2852
2548
|
success_count?: number;
|
|
2853
2549
|
/**
|
|
2854
|
-
*
|
|
2550
|
+
* Number of failed runs
|
|
2855
2551
|
*/
|
|
2856
2552
|
failed_count?: number;
|
|
2857
2553
|
/**
|
|
2858
|
-
*
|
|
2554
|
+
* Number of timed-out runs
|
|
2859
2555
|
*/
|
|
2860
2556
|
timed_out_count?: number;
|
|
2861
2557
|
/**
|
|
2862
|
-
*
|
|
2558
|
+
* Success rate as a fraction
|
|
2863
2559
|
*/
|
|
2864
2560
|
success_rate?: number;
|
|
2865
2561
|
/**
|
|
2866
|
-
*
|
|
2562
|
+
* Reason for the most recent failure
|
|
2867
2563
|
*/
|
|
2868
2564
|
last_failure_reason?: (string | null);
|
|
2869
2565
|
/**
|
|
2870
|
-
* When
|
|
2566
|
+
* When the most recent failure occurred
|
|
2871
2567
|
*/
|
|
2872
2568
|
last_failure_at?: (string | null);
|
|
2873
2569
|
};
|
|
2874
|
-
/**
|
|
2875
|
-
* Status of a validator.
|
|
2876
|
-
*/
|
|
2877
2570
|
type ValidatorStatus = 'evaluating' | 'available';
|
|
2878
|
-
/**
|
|
2879
|
-
* Request body for waitlist signup.
|
|
2880
|
-
*/
|
|
2881
2571
|
type WaitlistSignupRequest = {
|
|
2882
2572
|
/**
|
|
2883
2573
|
* Email address to add to the waitlist
|
|
@@ -2888,29 +2578,23 @@ type WaitlistSignupRequest = {
|
|
|
2888
2578
|
*/
|
|
2889
2579
|
source?: string;
|
|
2890
2580
|
};
|
|
2891
|
-
/**
|
|
2892
|
-
* Response from waitlist signup.
|
|
2893
|
-
*/
|
|
2894
2581
|
type WaitlistSignupResponse = {
|
|
2895
2582
|
/**
|
|
2896
2583
|
* Whether signup was recorded
|
|
2897
2584
|
*/
|
|
2898
2585
|
success: boolean;
|
|
2899
2586
|
};
|
|
2900
|
-
/**
|
|
2901
|
-
* Status of the work item after completion.
|
|
2902
|
-
*/
|
|
2903
2587
|
type WorkItemStatus = {
|
|
2904
2588
|
/**
|
|
2905
|
-
* Number of successful runs
|
|
2589
|
+
* Number of successful runs included so far
|
|
2906
2590
|
*/
|
|
2907
2591
|
included_success_count: number;
|
|
2908
2592
|
/**
|
|
2909
|
-
*
|
|
2593
|
+
* Number of successful runs required to close the work item
|
|
2910
2594
|
*/
|
|
2911
2595
|
required_successes: number;
|
|
2912
2596
|
/**
|
|
2913
|
-
* Whether work item is closed
|
|
2597
|
+
* Whether the work item is closed
|
|
2914
2598
|
*/
|
|
2915
2599
|
is_closed: boolean;
|
|
2916
2600
|
};
|
|
@@ -3178,7 +2862,7 @@ type PresignUploadData = {
|
|
|
3178
2862
|
body: PresignUploadRequest;
|
|
3179
2863
|
};
|
|
3180
2864
|
type PresignUploadResponse2 = (PresignUploadResponse);
|
|
3181
|
-
type PresignUploadError = ((FileTooLargeError |
|
|
2865
|
+
type PresignUploadError = ((FileTooLargeError | ValidationErrorError) | (EvalRunNotFoundError | ProblemNotFoundError) | NotRunOwnerError | HTTPValidationError);
|
|
3182
2866
|
type CompleteRunData = {
|
|
3183
2867
|
body: CompleteRunRequest;
|
|
3184
2868
|
path: {
|
|
@@ -3189,7 +2873,7 @@ type CompleteRunData = {
|
|
|
3189
2873
|
};
|
|
3190
2874
|
};
|
|
3191
2875
|
type CompleteRunResponse2 = (CompleteRunResponse);
|
|
3192
|
-
type CompleteRunError = ((MissingScoreError |
|
|
2876
|
+
type CompleteRunError = ((MissingScoreError | ValidationErrorError) | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
3193
2877
|
type GetRunProblemsData = {
|
|
3194
2878
|
path: {
|
|
3195
2879
|
/**
|
|
@@ -3377,9 +3061,7 @@ type ClearMinerCooldownData = {
|
|
|
3377
3061
|
hotkey: string;
|
|
3378
3062
|
};
|
|
3379
3063
|
};
|
|
3380
|
-
type ClearMinerCooldownResponse = (
|
|
3381
|
-
[key: string]: unknown;
|
|
3382
|
-
});
|
|
3064
|
+
type ClearMinerCooldownResponse = (ClearCooldownResponse);
|
|
3383
3065
|
type ClearMinerCooldownError = (HTTPValidationError);
|
|
3384
3066
|
type ListMinersData = {
|
|
3385
3067
|
query?: {
|
|
@@ -3857,7 +3539,7 @@ declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: O
|
|
|
3857
3539
|
* Clear miner cooldown
|
|
3858
3540
|
* Clear the submission cooldown for a miner.
|
|
3859
3541
|
*/
|
|
3860
|
-
declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
3542
|
+
declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearCooldownResponse, HTTPValidationError, ThrowOnError>;
|
|
3861
3543
|
/**
|
|
3862
3544
|
* List miners with ban status and agent count
|
|
3863
3545
|
* List all miners with their ban status, agent count, and last submission time.
|
|
@@ -3918,7 +3600,7 @@ declare const closeQualifying: <ThrowOnError extends boolean = false>(options?:
|
|
|
3918
3600
|
*
|
|
3919
3601
|
* DO NOT EDIT — regenerate with: python3 scripts/extract-errors.py
|
|
3920
3602
|
*/
|
|
3921
|
-
type OroErrorCode = 'AGENT_NOT_FOUND' | 'AGENT_VERSION_NOT_FOUND' | 'ALREADY_INVALIDATED' | 'ARTIFACT_NOT_FOUND' | 'ARTIFACT_NOT_RELEASED' | 'AT_CAPACITY' | 'CODE_ANALYSIS_ERROR' | 'COOLDOWN_ACTIVE' | 'EVAL_RUN_NOT_FOUND' | 'FILE_TOO_LARGE' | 'INVALID_AGENT_NAME' | 'INVALID_ARTIFACT_TYPE' | 'INVALID_FILE' | 'INVALID_PROBLEM_ID' | 'LEASE_EXPIRED' | 'MINER_NOT_FOUND' | 'MISSING_PARAMETER' | 'MISSING_SCORE' | 'NO_ACTIVE_SUITE' | 'NOT_RUN_OWNER' | 'PROBLEM_NOT_FOUND' | 'RACE_NOT_FOUND' | 'RATE_LIMIT_EXCEEDED' | 'RUN_ALREADY_COMPLETE' | 'SCORE_BELOW_THRESHOLD' | 'SUITE_NOT_FOUND' | 'VALIDATOR_NOT_FOUND';
|
|
3603
|
+
type OroErrorCode = 'AGENT_NOT_FOUND' | 'AGENT_VERSION_NOT_FOUND' | 'ALREADY_INVALIDATED' | 'ARTIFACT_NOT_FOUND' | 'ARTIFACT_NOT_RELEASED' | 'AT_CAPACITY' | 'CODE_ANALYSIS_ERROR' | 'COOLDOWN_ACTIVE' | 'EVAL_RUN_NOT_FOUND' | 'FILE_TOO_LARGE' | 'INVALID_AGENT_NAME' | 'INVALID_ARTIFACT_TYPE' | 'INVALID_FILE' | 'INVALID_PROBLEM_ID' | 'LEASE_EXPIRED' | 'MINER_NOT_FOUND' | 'MISSING_PARAMETER' | 'MISSING_SCORE' | 'NO_ACTIVE_SUITE' | 'NOT_RUN_OWNER' | 'PROBLEM_NOT_FOUND' | 'RACE_NOT_FOUND' | 'RATE_LIMIT_EXCEEDED' | 'RUN_ALREADY_COMPLETE' | 'SCORE_BELOW_THRESHOLD' | 'SUITE_NOT_FOUND' | 'VALIDATION_ERROR' | 'VALIDATOR_NOT_FOUND';
|
|
3922
3604
|
|
|
3923
3605
|
/**
|
|
3924
3606
|
* Error classification utilities for the ORO SDK.
|
|
@@ -4264,4 +3946,4 @@ declare class SessionAuthManager {
|
|
|
4264
3946
|
*/
|
|
4265
3947
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4266
3948
|
|
|
4267
|
-
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
|
3949
|
+
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|