@oro-ai/sdk 1.0.35 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +278 -600
- package/dist/index.d.ts +278 -600
- package/package.json +1 -1
- package/src/generated/types.gen.ts +277 -597
package/dist/index.d.ts
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
|
|
@@ -1307,12 +1175,9 @@ type EvaluationRunPublic = {
|
|
|
1307
1175
|
* Status of an evaluation run through its lifecycle.
|
|
1308
1176
|
*/
|
|
1309
1177
|
type EvaluationRunStatus = 'CLAIMED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'TIMED_OUT' | 'STALE' | 'CANCELLED';
|
|
1310
|
-
/**
|
|
1311
|
-
* Status representation of an evaluation run (for admin operations).
|
|
1312
|
-
*/
|
|
1313
1178
|
type EvaluationRunStatusPublic = {
|
|
1314
1179
|
/**
|
|
1315
|
-
*
|
|
1180
|
+
* Evaluation run ID
|
|
1316
1181
|
*/
|
|
1317
1182
|
eval_run_id: string;
|
|
1318
1183
|
/**
|
|
@@ -1320,15 +1185,15 @@ type EvaluationRunStatusPublic = {
|
|
|
1320
1185
|
*/
|
|
1321
1186
|
agent_version_id: string;
|
|
1322
1187
|
/**
|
|
1323
|
-
*
|
|
1188
|
+
* Problem suite ID
|
|
1324
1189
|
*/
|
|
1325
1190
|
suite_id: number;
|
|
1326
1191
|
/**
|
|
1327
|
-
* Validator performing evaluation
|
|
1192
|
+
* Validator performing the evaluation
|
|
1328
1193
|
*/
|
|
1329
1194
|
validator_hotkey: string;
|
|
1330
1195
|
/**
|
|
1331
|
-
*
|
|
1196
|
+
* Current run status
|
|
1332
1197
|
*/
|
|
1333
1198
|
status: EvaluationRunStatus;
|
|
1334
1199
|
/**
|
|
@@ -1336,47 +1201,44 @@ type EvaluationRunStatusPublic = {
|
|
|
1336
1201
|
*/
|
|
1337
1202
|
claimed_at: string;
|
|
1338
1203
|
/**
|
|
1339
|
-
*
|
|
1204
|
+
* When the lease expires
|
|
1340
1205
|
*/
|
|
1341
1206
|
lease_expires_at: string;
|
|
1342
1207
|
/**
|
|
1343
|
-
* Whether run is included in
|
|
1208
|
+
* Whether this run is included in scoring
|
|
1344
1209
|
*/
|
|
1345
1210
|
is_included: boolean;
|
|
1346
1211
|
/**
|
|
1347
|
-
* Last heartbeat
|
|
1212
|
+
* Last heartbeat from the validator
|
|
1348
1213
|
*/
|
|
1349
1214
|
last_heartbeat_at?: (string | null);
|
|
1350
1215
|
/**
|
|
1351
|
-
*
|
|
1216
|
+
* When the run completed
|
|
1352
1217
|
*/
|
|
1353
1218
|
completed_at?: (string | null);
|
|
1354
1219
|
/**
|
|
1355
|
-
* When run was invalidated
|
|
1220
|
+
* When the run was invalidated
|
|
1356
1221
|
*/
|
|
1357
1222
|
invalidated_at?: (string | null);
|
|
1358
1223
|
/**
|
|
1359
|
-
*
|
|
1224
|
+
* Hotkey of the admin who invalidated the run
|
|
1360
1225
|
*/
|
|
1361
1226
|
invalidated_by?: (string | null);
|
|
1362
1227
|
/**
|
|
1363
|
-
* Reason
|
|
1228
|
+
* Reason the run was invalidated
|
|
1364
1229
|
*/
|
|
1365
1230
|
invalidation_reason?: (string | null);
|
|
1366
1231
|
/**
|
|
1367
|
-
* Score
|
|
1232
|
+
* Score assigned by the validator
|
|
1368
1233
|
*/
|
|
1369
1234
|
validator_score?: (number | null);
|
|
1370
1235
|
/**
|
|
1371
|
-
*
|
|
1236
|
+
* Summary of score components
|
|
1372
1237
|
*/
|
|
1373
1238
|
score_components_summary?: ({
|
|
1374
1239
|
[key: string]: unknown;
|
|
1375
1240
|
} | null);
|
|
1376
1241
|
};
|
|
1377
|
-
/**
|
|
1378
|
-
* 400 - Upload file exceeds size limit.
|
|
1379
|
-
*/
|
|
1380
1242
|
type FileTooLargeError = {
|
|
1381
1243
|
/**
|
|
1382
1244
|
* Error message describing what went wrong
|
|
@@ -1387,9 +1249,6 @@ type FileTooLargeError = {
|
|
|
1387
1249
|
*/
|
|
1388
1250
|
error_code?: "FILE_TOO_LARGE";
|
|
1389
1251
|
};
|
|
1390
|
-
/**
|
|
1391
|
-
* Optional request body for heartbeat with service version info.
|
|
1392
|
-
*/
|
|
1393
1252
|
type HeartbeatRequest = {
|
|
1394
1253
|
/**
|
|
1395
1254
|
* Docker image digests for validator stack services
|
|
@@ -1398,21 +1257,15 @@ type HeartbeatRequest = {
|
|
|
1398
1257
|
[key: string]: (string);
|
|
1399
1258
|
} | null);
|
|
1400
1259
|
};
|
|
1401
|
-
/**
|
|
1402
|
-
* Response for heartbeat.
|
|
1403
|
-
*/
|
|
1404
1260
|
type HeartbeatResponse = {
|
|
1405
1261
|
/**
|
|
1406
|
-
* New lease
|
|
1262
|
+
* New lease expiry after heartbeat
|
|
1407
1263
|
*/
|
|
1408
1264
|
lease_expires_at: string;
|
|
1409
1265
|
};
|
|
1410
1266
|
type HTTPValidationError = {
|
|
1411
1267
|
detail?: Array<ValidationError>;
|
|
1412
1268
|
};
|
|
1413
|
-
/**
|
|
1414
|
-
* 400 - Agent name validation failed.
|
|
1415
|
-
*/
|
|
1416
1269
|
type InvalidAgentNameError = {
|
|
1417
1270
|
/**
|
|
1418
1271
|
* Error message describing what went wrong
|
|
@@ -1423,9 +1276,6 @@ type InvalidAgentNameError = {
|
|
|
1423
1276
|
*/
|
|
1424
1277
|
error_code?: "INVALID_AGENT_NAME";
|
|
1425
1278
|
};
|
|
1426
|
-
/**
|
|
1427
|
-
* 400 - Unknown or unsupported artifact type.
|
|
1428
|
-
*/
|
|
1429
1279
|
type InvalidArtifactTypeError = {
|
|
1430
1280
|
/**
|
|
1431
1281
|
* Error message describing what went wrong
|
|
@@ -1436,18 +1286,12 @@ type InvalidArtifactTypeError = {
|
|
|
1436
1286
|
*/
|
|
1437
1287
|
error_code?: "INVALID_ARTIFACT_TYPE";
|
|
1438
1288
|
};
|
|
1439
|
-
/**
|
|
1440
|
-
* Request to invalidate an evaluation run (irreversible).
|
|
1441
|
-
*/
|
|
1442
1289
|
type InvalidateRunRequest = {
|
|
1443
1290
|
/**
|
|
1444
|
-
* Reason for
|
|
1291
|
+
* Reason for invalidating the run
|
|
1445
1292
|
*/
|
|
1446
1293
|
reason: string;
|
|
1447
1294
|
};
|
|
1448
|
-
/**
|
|
1449
|
-
* 400 - File content validation failed.
|
|
1450
|
-
*/
|
|
1451
1295
|
type InvalidFileError = {
|
|
1452
1296
|
/**
|
|
1453
1297
|
* Error message describing what went wrong
|
|
@@ -1458,9 +1302,6 @@ type InvalidFileError = {
|
|
|
1458
1302
|
*/
|
|
1459
1303
|
error_code?: "INVALID_FILE";
|
|
1460
1304
|
};
|
|
1461
|
-
/**
|
|
1462
|
-
* 400 - Problem ID is not valid for this suite.
|
|
1463
|
-
*/
|
|
1464
1305
|
type InvalidProblemIdError = {
|
|
1465
1306
|
/**
|
|
1466
1307
|
* Error message describing what went wrong
|
|
@@ -1471,9 +1312,6 @@ type InvalidProblemIdError = {
|
|
|
1471
1312
|
*/
|
|
1472
1313
|
error_code?: "INVALID_PROBLEM_ID";
|
|
1473
1314
|
};
|
|
1474
|
-
/**
|
|
1475
|
-
* Entry in the leaderboard.
|
|
1476
|
-
*/
|
|
1477
1315
|
type LeaderboardEntry = {
|
|
1478
1316
|
/**
|
|
1479
1317
|
* Leaderboard rank
|
|
@@ -1528,42 +1366,36 @@ type LeaderboardEntry = {
|
|
|
1528
1366
|
*/
|
|
1529
1367
|
top_at?: (string | null);
|
|
1530
1368
|
};
|
|
1531
|
-
/**
|
|
1532
|
-
* Response for leaderboard endpoint.
|
|
1533
|
-
*/
|
|
1534
1369
|
type LeaderboardResponse = {
|
|
1535
1370
|
/**
|
|
1536
|
-
*
|
|
1371
|
+
* Total entries matching filter
|
|
1537
1372
|
*/
|
|
1538
|
-
|
|
1373
|
+
total: number;
|
|
1539
1374
|
/**
|
|
1540
|
-
*
|
|
1375
|
+
* Page size
|
|
1541
1376
|
*/
|
|
1542
|
-
|
|
1377
|
+
limit: number;
|
|
1543
1378
|
/**
|
|
1544
|
-
*
|
|
1379
|
+
* Page offset
|
|
1545
1380
|
*/
|
|
1546
|
-
|
|
1381
|
+
offset: number;
|
|
1547
1382
|
/**
|
|
1548
|
-
*
|
|
1383
|
+
* Suite information
|
|
1549
1384
|
*/
|
|
1550
|
-
|
|
1385
|
+
suite: SuitePublic;
|
|
1551
1386
|
/**
|
|
1552
|
-
*
|
|
1387
|
+
* Leaderboard entries
|
|
1553
1388
|
*/
|
|
1554
|
-
|
|
1389
|
+
entries: Array<LeaderboardEntry>;
|
|
1555
1390
|
/**
|
|
1556
|
-
*
|
|
1391
|
+
* Distinct miner hotkeys on leaderboard
|
|
1557
1392
|
*/
|
|
1558
|
-
|
|
1393
|
+
unique_miners: number;
|
|
1559
1394
|
/**
|
|
1560
1395
|
* Score required to dethrone current top
|
|
1561
1396
|
*/
|
|
1562
1397
|
challenge_threshold?: (number | null);
|
|
1563
1398
|
};
|
|
1564
|
-
/**
|
|
1565
|
-
* 409 - Evaluation run lease has expired.
|
|
1566
|
-
*/
|
|
1567
1399
|
type LeaseExpiredError = {
|
|
1568
1400
|
/**
|
|
1569
1401
|
* Error message describing what went wrong
|
|
@@ -1574,35 +1406,26 @@ type LeaseExpiredError = {
|
|
|
1574
1406
|
*/
|
|
1575
1407
|
error_code?: "LEASE_EXPIRED";
|
|
1576
1408
|
};
|
|
1577
|
-
/**
|
|
1578
|
-
* Response from logout endpoint.
|
|
1579
|
-
*/
|
|
1580
1409
|
type LogoutResponse = {
|
|
1581
1410
|
/**
|
|
1582
1411
|
* Whether logout was successful
|
|
1583
1412
|
*/
|
|
1584
1413
|
success: boolean;
|
|
1585
1414
|
};
|
|
1586
|
-
/**
|
|
1587
|
-
* Envelope response for GET /v1/miner/agents with cooldown status.
|
|
1588
|
-
*/
|
|
1589
1415
|
type MinerAgentsResponse = {
|
|
1590
1416
|
/**
|
|
1591
|
-
*
|
|
1417
|
+
* List of agents owned by the miner
|
|
1592
1418
|
*/
|
|
1593
1419
|
agents: Array<AgentPublic>;
|
|
1594
1420
|
/**
|
|
1595
|
-
* Whether the miner
|
|
1421
|
+
* Whether the miner is currently allowed to submit a new agent
|
|
1596
1422
|
*/
|
|
1597
1423
|
can_submit: boolean;
|
|
1598
1424
|
/**
|
|
1599
|
-
*
|
|
1425
|
+
* Earliest time the miner may submit again, if on cooldown
|
|
1600
1426
|
*/
|
|
1601
1427
|
next_allowed_at?: (string | null);
|
|
1602
1428
|
};
|
|
1603
|
-
/**
|
|
1604
|
-
* 404 - Miner not found.
|
|
1605
|
-
*/
|
|
1606
1429
|
type MinerNotFoundError = {
|
|
1607
1430
|
/**
|
|
1608
1431
|
* Error message describing what went wrong
|
|
@@ -1613,9 +1436,6 @@ type MinerNotFoundError = {
|
|
|
1613
1436
|
*/
|
|
1614
1437
|
error_code?: "MINER_NOT_FOUND";
|
|
1615
1438
|
};
|
|
1616
|
-
/**
|
|
1617
|
-
* 400 - Required parameter is missing.
|
|
1618
|
-
*/
|
|
1619
1439
|
type MissingParameterError = {
|
|
1620
1440
|
/**
|
|
1621
1441
|
* Error message describing what went wrong
|
|
@@ -1626,9 +1446,6 @@ type MissingParameterError = {
|
|
|
1626
1446
|
*/
|
|
1627
1447
|
error_code?: "MISSING_PARAMETER";
|
|
1628
1448
|
};
|
|
1629
|
-
/**
|
|
1630
|
-
* 400 - Score is required for SUCCESS status.
|
|
1631
|
-
*/
|
|
1632
1449
|
type MissingScoreError = {
|
|
1633
1450
|
/**
|
|
1634
1451
|
* Error message describing what went wrong
|
|
@@ -1639,9 +1456,6 @@ type MissingScoreError = {
|
|
|
1639
1456
|
*/
|
|
1640
1457
|
error_code?: "MISSING_SCORE";
|
|
1641
1458
|
};
|
|
1642
|
-
/**
|
|
1643
|
-
* 503 - No active problem suite available.
|
|
1644
|
-
*/
|
|
1645
1459
|
type NoActiveSuiteError = {
|
|
1646
1460
|
/**
|
|
1647
1461
|
* Error message describing what went wrong
|
|
@@ -1652,9 +1466,6 @@ type NoActiveSuiteError = {
|
|
|
1652
1466
|
*/
|
|
1653
1467
|
error_code?: "NO_ACTIVE_SUITE";
|
|
1654
1468
|
};
|
|
1655
|
-
/**
|
|
1656
|
-
* 409 - Caller does not own this evaluation run.
|
|
1657
|
-
*/
|
|
1658
1469
|
type NotRunOwnerError = {
|
|
1659
1470
|
/**
|
|
1660
1471
|
* Error message describing what went wrong
|
|
@@ -1665,9 +1476,6 @@ type NotRunOwnerError = {
|
|
|
1665
1476
|
*/
|
|
1666
1477
|
error_code?: "NOT_RUN_OWNER";
|
|
1667
1478
|
};
|
|
1668
|
-
/**
|
|
1669
|
-
* A work item awaiting validator evaluations.
|
|
1670
|
-
*/
|
|
1671
1479
|
type PendingEvaluation = {
|
|
1672
1480
|
/**
|
|
1673
1481
|
* Unique work item identifier
|
|
@@ -1722,9 +1530,6 @@ type PendingEvaluation = {
|
|
|
1722
1530
|
*/
|
|
1723
1531
|
race_id?: (string | null);
|
|
1724
1532
|
};
|
|
1725
|
-
/**
|
|
1726
|
-
* Response for pending evaluations endpoint.
|
|
1727
|
-
*/
|
|
1728
1533
|
type PendingEvaluationsResponse = {
|
|
1729
1534
|
/**
|
|
1730
1535
|
* Aggregate queue statistics
|
|
@@ -1735,9 +1540,6 @@ type PendingEvaluationsResponse = {
|
|
|
1735
1540
|
*/
|
|
1736
1541
|
items: Array<PendingEvaluation>;
|
|
1737
1542
|
};
|
|
1738
|
-
/**
|
|
1739
|
-
* Aggregate statistics for pending evaluations.
|
|
1740
|
-
*/
|
|
1741
1543
|
type PendingEvaluationSummary = {
|
|
1742
1544
|
/**
|
|
1743
1545
|
* Number of open work items
|
|
@@ -1752,41 +1554,35 @@ type PendingEvaluationSummary = {
|
|
|
1752
1554
|
*/
|
|
1753
1555
|
total_runs_active: number;
|
|
1754
1556
|
};
|
|
1755
|
-
/**
|
|
1756
|
-
* Request for presigned upload URL.
|
|
1757
|
-
*/
|
|
1758
1557
|
type PresignUploadRequest = {
|
|
1759
1558
|
/**
|
|
1760
|
-
*
|
|
1559
|
+
* MIME type of the upload
|
|
1761
1560
|
*/
|
|
1762
1561
|
content_type?: string;
|
|
1763
1562
|
/**
|
|
1764
|
-
* Size of the upload
|
|
1563
|
+
* Size in bytes of the upload payload
|
|
1765
1564
|
*/
|
|
1766
1565
|
content_length: number;
|
|
1767
1566
|
/**
|
|
1768
|
-
* Evaluation run
|
|
1567
|
+
* Evaluation run these results belong to
|
|
1769
1568
|
*/
|
|
1770
1569
|
eval_run_id: string;
|
|
1771
1570
|
/**
|
|
1772
|
-
* Problem
|
|
1571
|
+
* Problem these results belong to
|
|
1773
1572
|
*/
|
|
1774
1573
|
problem_id: string;
|
|
1775
1574
|
};
|
|
1776
|
-
/**
|
|
1777
|
-
* Response with presigned upload URL.
|
|
1778
|
-
*/
|
|
1779
1575
|
type PresignUploadResponse = {
|
|
1780
1576
|
/**
|
|
1781
|
-
* Presigned
|
|
1577
|
+
* Presigned URL to upload to
|
|
1782
1578
|
*/
|
|
1783
1579
|
upload_url: string;
|
|
1784
1580
|
/**
|
|
1785
|
-
* HTTP method to use
|
|
1581
|
+
* HTTP method to use for upload
|
|
1786
1582
|
*/
|
|
1787
1583
|
method?: string;
|
|
1788
1584
|
/**
|
|
1789
|
-
* S3 key where the
|
|
1585
|
+
* S3 key where the results will be stored
|
|
1790
1586
|
*/
|
|
1791
1587
|
results_s3_key: string;
|
|
1792
1588
|
/**
|
|
@@ -1794,9 +1590,6 @@ type PresignUploadResponse = {
|
|
|
1794
1590
|
*/
|
|
1795
1591
|
expires_at: string;
|
|
1796
1592
|
};
|
|
1797
|
-
/**
|
|
1798
|
-
* 404 - Problem not found in suite.
|
|
1799
|
-
*/
|
|
1800
1593
|
type ProblemNotFoundError = {
|
|
1801
1594
|
/**
|
|
1802
1595
|
* Error message describing what went wrong
|
|
@@ -1807,9 +1600,6 @@ type ProblemNotFoundError = {
|
|
|
1807
1600
|
*/
|
|
1808
1601
|
error_code?: "PROBLEM_NOT_FOUND";
|
|
1809
1602
|
};
|
|
1810
|
-
/**
|
|
1811
|
-
* Progress entry for a single problem showing results from all validators.
|
|
1812
|
-
*/
|
|
1813
1603
|
type ProblemProgressEntry = {
|
|
1814
1604
|
/**
|
|
1815
1605
|
* Problem ID
|
|
@@ -1832,12 +1622,9 @@ type ProblemProgressEntry = {
|
|
|
1832
1622
|
*/
|
|
1833
1623
|
validator_results?: Array<ValidatorProblemResult>;
|
|
1834
1624
|
};
|
|
1835
|
-
/**
|
|
1836
|
-
* Progress update for a single problem.
|
|
1837
|
-
*/
|
|
1838
1625
|
type ProblemProgressUpdate = {
|
|
1839
1626
|
/**
|
|
1840
|
-
* Problem
|
|
1627
|
+
* Problem being reported on
|
|
1841
1628
|
*/
|
|
1842
1629
|
problem_id: string;
|
|
1843
1630
|
/**
|
|
@@ -1845,35 +1632,32 @@ type ProblemProgressUpdate = {
|
|
|
1845
1632
|
*/
|
|
1846
1633
|
status: ProblemStatus;
|
|
1847
1634
|
/**
|
|
1848
|
-
*
|
|
1635
|
+
* Normalised score for this problem
|
|
1849
1636
|
*/
|
|
1850
1637
|
score?: (number | null);
|
|
1851
1638
|
/**
|
|
1852
|
-
*
|
|
1639
|
+
* Breakdown of score components
|
|
1853
1640
|
*/
|
|
1854
1641
|
score_components_summary?: ({
|
|
1855
1642
|
[key: string]: unknown;
|
|
1856
1643
|
} | null);
|
|
1857
1644
|
/**
|
|
1858
|
-
* S3 key for
|
|
1645
|
+
* S3 key for problem-level logs
|
|
1859
1646
|
*/
|
|
1860
1647
|
logs_s3_key?: (string | null);
|
|
1861
1648
|
/**
|
|
1862
|
-
* Reasoning quality score
|
|
1649
|
+
* Reasoning quality score
|
|
1863
1650
|
*/
|
|
1864
1651
|
reasoning_score?: (number | null);
|
|
1865
1652
|
/**
|
|
1866
|
-
* Number of failed inference calls
|
|
1653
|
+
* Number of failed inference calls
|
|
1867
1654
|
*/
|
|
1868
1655
|
inference_failure_count?: (number | null);
|
|
1869
1656
|
/**
|
|
1870
|
-
* Total number of inference calls
|
|
1657
|
+
* Total number of inference calls
|
|
1871
1658
|
*/
|
|
1872
1659
|
inference_total?: (number | null);
|
|
1873
1660
|
};
|
|
1874
|
-
/**
|
|
1875
|
-
* Public representation of a problem.
|
|
1876
|
-
*/
|
|
1877
1661
|
type ProblemPublic = {
|
|
1878
1662
|
/**
|
|
1879
1663
|
* Unique identifier for the problem
|
|
@@ -1890,57 +1674,39 @@ type ProblemPublic = {
|
|
|
1890
1674
|
[key: string]: unknown;
|
|
1891
1675
|
};
|
|
1892
1676
|
};
|
|
1893
|
-
/**
|
|
1894
|
-
* Status of problem evaluation.
|
|
1895
|
-
*/
|
|
1896
1677
|
type ProblemStatus = 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'SKIPPED' | 'TIMED_OUT';
|
|
1897
|
-
/**
|
|
1898
|
-
* Request to update per-problem progress.
|
|
1899
|
-
*/
|
|
1900
1678
|
type ProgressUpdateRequest = {
|
|
1901
1679
|
/**
|
|
1902
|
-
*
|
|
1680
|
+
* Per-problem progress updates
|
|
1903
1681
|
*/
|
|
1904
1682
|
problems: Array<ProblemProgressUpdate>;
|
|
1905
1683
|
};
|
|
1906
|
-
/**
|
|
1907
|
-
* Response for progress update.
|
|
1908
|
-
*/
|
|
1909
1684
|
type ProgressUpdateResponse = {
|
|
1910
1685
|
/**
|
|
1911
|
-
* Whether
|
|
1686
|
+
* Whether the update was accepted
|
|
1912
1687
|
*/
|
|
1913
1688
|
accepted?: boolean;
|
|
1914
1689
|
};
|
|
1915
|
-
/**
|
|
1916
|
-
* Response for current race state.
|
|
1917
|
-
*/
|
|
1918
1690
|
type RaceCurrentResponse = {
|
|
1919
1691
|
/**
|
|
1920
|
-
*
|
|
1692
|
+
* Current race, if any
|
|
1921
1693
|
*/
|
|
1922
1694
|
race?: (RacePublic | null);
|
|
1923
1695
|
/**
|
|
1924
|
-
*
|
|
1696
|
+
* Race qualifiers
|
|
1925
1697
|
*/
|
|
1926
1698
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
1927
1699
|
};
|
|
1928
|
-
/**
|
|
1929
|
-
* Detailed view of a single race.
|
|
1930
|
-
*/
|
|
1931
1700
|
type RaceDetailResponse = {
|
|
1932
1701
|
/**
|
|
1933
|
-
* Race
|
|
1702
|
+
* Race details
|
|
1934
1703
|
*/
|
|
1935
1704
|
race: RacePublic;
|
|
1936
1705
|
/**
|
|
1937
|
-
*
|
|
1706
|
+
* Race qualifiers
|
|
1938
1707
|
*/
|
|
1939
1708
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
1940
1709
|
};
|
|
1941
|
-
/**
|
|
1942
|
-
* Detailed diagnostics for a specific race.
|
|
1943
|
-
*/
|
|
1944
1710
|
type RaceDiagnosticsResponse = {
|
|
1945
1711
|
/**
|
|
1946
1712
|
* Race ID
|
|
@@ -1960,26 +1726,34 @@ type RaceDiagnosticsResponse = {
|
|
|
1960
1726
|
race_completed_at?: (string | null);
|
|
1961
1727
|
winner_agent_version_id?: (string | null);
|
|
1962
1728
|
winner_score?: (number | null);
|
|
1729
|
+
/**
|
|
1730
|
+
* Score threshold for qualifying
|
|
1731
|
+
*/
|
|
1963
1732
|
qualifying_threshold?: (number | null);
|
|
1733
|
+
/**
|
|
1734
|
+
* Current incumbent agent version ID
|
|
1735
|
+
*/
|
|
1964
1736
|
incumbent_agent_version_id?: (string | null);
|
|
1737
|
+
/**
|
|
1738
|
+
* Seed used for problem selection
|
|
1739
|
+
*/
|
|
1965
1740
|
problem_seed?: (string | null);
|
|
1966
1741
|
/**
|
|
1967
|
-
* Number of race
|
|
1742
|
+
* Number of problems in the race
|
|
1968
1743
|
*/
|
|
1969
1744
|
problem_count?: number;
|
|
1745
|
+
/**
|
|
1746
|
+
* Qualified agent versions
|
|
1747
|
+
*/
|
|
1970
1748
|
qualifiers?: Array<RaceQualifierEntry>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Race work items
|
|
1751
|
+
*/
|
|
1971
1752
|
work_items?: Array<RaceWorkItemEntry>;
|
|
1972
1753
|
};
|
|
1973
|
-
/**
|
|
1974
|
-
* Paginated list of completed races.
|
|
1975
|
-
*/
|
|
1976
1754
|
type RaceHistoryResponse = {
|
|
1977
1755
|
/**
|
|
1978
|
-
*
|
|
1979
|
-
*/
|
|
1980
|
-
races: Array<RacePublic>;
|
|
1981
|
-
/**
|
|
1982
|
-
* Total count
|
|
1756
|
+
* Total entries matching filter
|
|
1983
1757
|
*/
|
|
1984
1758
|
total: number;
|
|
1985
1759
|
/**
|
|
@@ -1990,10 +1764,11 @@ type RaceHistoryResponse = {
|
|
|
1990
1764
|
* Page offset
|
|
1991
1765
|
*/
|
|
1992
1766
|
offset: number;
|
|
1767
|
+
/**
|
|
1768
|
+
* Historical races
|
|
1769
|
+
*/
|
|
1770
|
+
races: Array<RacePublic>;
|
|
1993
1771
|
};
|
|
1994
|
-
/**
|
|
1995
|
-
* 404 - Race not found.
|
|
1996
|
-
*/
|
|
1997
1772
|
type RaceNotFoundError = {
|
|
1998
1773
|
/**
|
|
1999
1774
|
* Error message describing what went wrong
|
|
@@ -2004,9 +1779,6 @@ type RaceNotFoundError = {
|
|
|
2004
1779
|
*/
|
|
2005
1780
|
error_code?: "RACE_NOT_FOUND";
|
|
2006
1781
|
};
|
|
2007
|
-
/**
|
|
2008
|
-
* Public view of a race — extends RaceBase with public-facing fields.
|
|
2009
|
-
*/
|
|
2010
1782
|
type RacePublic = {
|
|
2011
1783
|
/**
|
|
2012
1784
|
* Race ID
|
|
@@ -2027,25 +1799,22 @@ type RacePublic = {
|
|
|
2027
1799
|
winner_agent_version_id?: (string | null);
|
|
2028
1800
|
winner_score?: (number | null);
|
|
2029
1801
|
/**
|
|
2030
|
-
*
|
|
1802
|
+
* Score threshold for qualifying
|
|
2031
1803
|
*/
|
|
2032
1804
|
qualifying_threshold?: (number | null);
|
|
2033
1805
|
/**
|
|
2034
|
-
*
|
|
1806
|
+
* Name of the winning agent
|
|
2035
1807
|
*/
|
|
2036
1808
|
winner_agent_name?: (string | null);
|
|
2037
1809
|
/**
|
|
2038
|
-
* Number of qualifiers
|
|
1810
|
+
* Number of qualifiers in this race
|
|
2039
1811
|
*/
|
|
2040
1812
|
qualifier_count?: number;
|
|
2041
1813
|
/**
|
|
2042
|
-
* When race was created
|
|
1814
|
+
* When the race was created
|
|
2043
1815
|
*/
|
|
2044
|
-
created_at
|
|
1816
|
+
created_at?: (string | null);
|
|
2045
1817
|
};
|
|
2046
|
-
/**
|
|
2047
|
-
* A qualifier in a race.
|
|
2048
|
-
*/
|
|
2049
1818
|
type RaceQualifierEntry = {
|
|
2050
1819
|
/**
|
|
2051
1820
|
* Agent version ID
|
|
@@ -2076,9 +1845,6 @@ type RaceQualifierEntry = {
|
|
|
2076
1845
|
*/
|
|
2077
1846
|
race_score?: (number | null);
|
|
2078
1847
|
};
|
|
2079
|
-
/**
|
|
2080
|
-
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2081
|
-
*/
|
|
2082
1848
|
type RaceQualifierPublic = {
|
|
2083
1849
|
/**
|
|
2084
1850
|
* Agent version ID
|
|
@@ -2109,13 +1875,10 @@ type RaceQualifierPublic = {
|
|
|
2109
1875
|
*/
|
|
2110
1876
|
race_score?: (number | null);
|
|
2111
1877
|
/**
|
|
2112
|
-
*
|
|
1878
|
+
* Rank within the race
|
|
2113
1879
|
*/
|
|
2114
1880
|
race_rank?: (number | null);
|
|
2115
1881
|
};
|
|
2116
|
-
/**
|
|
2117
|
-
* Summary of a race for the current state view.
|
|
2118
|
-
*/
|
|
2119
1882
|
type RaceSummary = {
|
|
2120
1883
|
/**
|
|
2121
1884
|
* Race ID
|
|
@@ -2136,17 +1899,14 @@ type RaceSummary = {
|
|
|
2136
1899
|
winner_agent_version_id?: (string | null);
|
|
2137
1900
|
winner_score?: (number | null);
|
|
2138
1901
|
/**
|
|
2139
|
-
* Number of qualifiers
|
|
1902
|
+
* Number of qualifiers in this race
|
|
2140
1903
|
*/
|
|
2141
1904
|
qualifier_count?: number;
|
|
2142
1905
|
/**
|
|
2143
|
-
* Number of work items
|
|
1906
|
+
* Number of work items in this race
|
|
2144
1907
|
*/
|
|
2145
1908
|
work_item_count?: number;
|
|
2146
1909
|
};
|
|
2147
|
-
/**
|
|
2148
|
-
* A work item in a race.
|
|
2149
|
-
*/
|
|
2150
1910
|
type RaceWorkItemEntry = {
|
|
2151
1911
|
/**
|
|
2152
1912
|
* Agent version ID
|
|
@@ -2157,33 +1917,30 @@ type RaceWorkItemEntry = {
|
|
|
2157
1917
|
*/
|
|
2158
1918
|
agent_name?: (string | null);
|
|
2159
1919
|
/**
|
|
2160
|
-
*
|
|
1920
|
+
* Race phase (qualifying or race)
|
|
2161
1921
|
*/
|
|
2162
1922
|
phase: string;
|
|
2163
1923
|
/**
|
|
2164
|
-
* Whether work is
|
|
1924
|
+
* Whether the work item is closed
|
|
2165
1925
|
*/
|
|
2166
1926
|
is_closed: boolean;
|
|
2167
1927
|
/**
|
|
2168
|
-
* Whether work
|
|
1928
|
+
* Whether the work item is cancelled
|
|
2169
1929
|
*/
|
|
2170
1930
|
is_cancelled: boolean;
|
|
2171
1931
|
/**
|
|
2172
|
-
*
|
|
1932
|
+
* Number of included successful runs
|
|
2173
1933
|
*/
|
|
2174
1934
|
included_success_count: number;
|
|
2175
1935
|
/**
|
|
2176
|
-
*
|
|
1936
|
+
* Number of active runs
|
|
2177
1937
|
*/
|
|
2178
1938
|
active_count: number;
|
|
2179
1939
|
/**
|
|
2180
|
-
* Required successful
|
|
1940
|
+
* Required number of successful runs
|
|
2181
1941
|
*/
|
|
2182
1942
|
required_successes: number;
|
|
2183
1943
|
};
|
|
2184
|
-
/**
|
|
2185
|
-
* 429 - Rate limit exceeded.
|
|
2186
|
-
*/
|
|
2187
1944
|
type RateLimitExceededError = {
|
|
2188
1945
|
/**
|
|
2189
1946
|
* Error message describing what went wrong
|
|
@@ -2194,85 +1951,70 @@ type RateLimitExceededError = {
|
|
|
2194
1951
|
*/
|
|
2195
1952
|
error_code?: "RATE_LIMIT_EXCEEDED";
|
|
2196
1953
|
};
|
|
2197
|
-
/**
|
|
2198
|
-
* Response for reaper service statistics.
|
|
2199
|
-
*/
|
|
2200
1954
|
type ReaperStatsResponse = {
|
|
2201
1955
|
/**
|
|
2202
|
-
* Whether the reaper
|
|
1956
|
+
* Whether the reaper is enabled
|
|
2203
1957
|
*/
|
|
2204
1958
|
enabled: boolean;
|
|
2205
1959
|
/**
|
|
2206
|
-
* Whether the reaper
|
|
1960
|
+
* Whether the reaper is currently running
|
|
2207
1961
|
*/
|
|
2208
1962
|
is_running: boolean;
|
|
2209
1963
|
/**
|
|
2210
|
-
*
|
|
1964
|
+
* When the reaper last ran
|
|
2211
1965
|
*/
|
|
2212
1966
|
last_run_at?: (string | null);
|
|
2213
1967
|
/**
|
|
2214
|
-
* Total runs reaped since
|
|
1968
|
+
* Total number of runs reaped since startup
|
|
2215
1969
|
*/
|
|
2216
1970
|
runs_reaped_total: number;
|
|
2217
1971
|
/**
|
|
2218
|
-
*
|
|
1972
|
+
* Number of runs reaped in the last cycle
|
|
2219
1973
|
*/
|
|
2220
1974
|
runs_reaped_last_cycle: number;
|
|
2221
1975
|
/**
|
|
2222
|
-
* Duration of the last reaper cycle in
|
|
1976
|
+
* Duration of the last reaper cycle in milliseconds
|
|
2223
1977
|
*/
|
|
2224
1978
|
last_cycle_duration_ms: number;
|
|
2225
1979
|
/**
|
|
2226
|
-
*
|
|
1980
|
+
* Total number of reaper errors
|
|
2227
1981
|
*/
|
|
2228
1982
|
error_count: number;
|
|
2229
1983
|
/**
|
|
2230
|
-
*
|
|
1984
|
+
* Total number of Redis-related reaper errors
|
|
2231
1985
|
*/
|
|
2232
1986
|
redis_error_count: number;
|
|
2233
1987
|
/**
|
|
2234
|
-
*
|
|
1988
|
+
* Reaper cycle interval in seconds
|
|
2235
1989
|
*/
|
|
2236
1990
|
interval_seconds: number;
|
|
2237
1991
|
};
|
|
2238
|
-
/**
|
|
2239
|
-
* Request to re-evaluate an agent version.
|
|
2240
|
-
*/
|
|
2241
1992
|
type ReevaluateRequest = {
|
|
2242
1993
|
/**
|
|
2243
1994
|
* Reason for re-evaluation
|
|
2244
1995
|
*/
|
|
2245
1996
|
reason: string;
|
|
2246
1997
|
/**
|
|
2247
|
-
*
|
|
1998
|
+
* Specific suite to re-evaluate against
|
|
2248
1999
|
*/
|
|
2249
2000
|
suite_id?: (number | null);
|
|
2250
2001
|
/**
|
|
2251
|
-
* Override required
|
|
2002
|
+
* Override for number of required successful evaluations
|
|
2252
2003
|
*/
|
|
2253
2004
|
required_successes?: (number | null);
|
|
2254
2005
|
};
|
|
2255
|
-
/**
|
|
2256
|
-
* Response for re-evaluation request.
|
|
2257
|
-
*/
|
|
2258
2006
|
type ReevaluateResponse = {
|
|
2259
2007
|
/**
|
|
2260
|
-
* Agent version
|
|
2008
|
+
* Agent version queued for re-evaluation
|
|
2261
2009
|
*/
|
|
2262
2010
|
agent_version_id: string;
|
|
2263
2011
|
};
|
|
2264
|
-
/**
|
|
2265
|
-
* Request to reinstate an agent version.
|
|
2266
|
-
*/
|
|
2267
2012
|
type ReinstateRequest = {
|
|
2268
2013
|
/**
|
|
2269
|
-
*
|
|
2014
|
+
* Specific suite to reinstate for
|
|
2270
2015
|
*/
|
|
2271
2016
|
suite_id?: (number | null);
|
|
2272
2017
|
};
|
|
2273
|
-
/**
|
|
2274
|
-
* 409 - Evaluation run is already complete.
|
|
2275
|
-
*/
|
|
2276
2018
|
type RunAlreadyCompleteError = {
|
|
2277
2019
|
/**
|
|
2278
2020
|
* Error message describing what went wrong
|
|
@@ -2283,9 +2025,6 @@ type RunAlreadyCompleteError = {
|
|
|
2283
2025
|
*/
|
|
2284
2026
|
error_code?: "RUN_ALREADY_COMPLETE";
|
|
2285
2027
|
};
|
|
2286
|
-
/**
|
|
2287
|
-
* Representation of a currently running evaluation.
|
|
2288
|
-
*/
|
|
2289
2028
|
type RunningEvaluation = {
|
|
2290
2029
|
/**
|
|
2291
2030
|
* Unique identifier for this run
|
|
@@ -2332,12 +2071,9 @@ type RunningEvaluation = {
|
|
|
2332
2071
|
*/
|
|
2333
2072
|
race_id?: (string | null);
|
|
2334
2073
|
};
|
|
2335
|
-
/**
|
|
2336
|
-
* Problems for an evaluation run.
|
|
2337
|
-
*/
|
|
2338
2074
|
type RunProblemsResponse = {
|
|
2339
2075
|
/**
|
|
2340
|
-
* Problems to evaluate
|
|
2076
|
+
* Problems to evaluate
|
|
2341
2077
|
*/
|
|
2342
2078
|
problems: Array<ProblemPublic>;
|
|
2343
2079
|
};
|
|
@@ -2370,9 +2106,6 @@ type ScoreBelowThresholdError = {
|
|
|
2370
2106
|
*/
|
|
2371
2107
|
margin: number;
|
|
2372
2108
|
};
|
|
2373
|
-
/**
|
|
2374
|
-
* Request body for session creation endpoint.
|
|
2375
|
-
*/
|
|
2376
2109
|
type SessionRequest = {
|
|
2377
2110
|
/**
|
|
2378
2111
|
* SS58 hotkey address
|
|
@@ -2387,9 +2120,6 @@ type SessionRequest = {
|
|
|
2387
2120
|
*/
|
|
2388
2121
|
signature: string;
|
|
2389
2122
|
};
|
|
2390
|
-
/**
|
|
2391
|
-
* Response from session creation endpoint.
|
|
2392
|
-
*/
|
|
2393
2123
|
type SessionResponse = {
|
|
2394
2124
|
/**
|
|
2395
2125
|
* Session token for authenticated requests
|
|
@@ -2404,85 +2134,70 @@ type SessionResponse = {
|
|
|
2404
2134
|
*/
|
|
2405
2135
|
role: string;
|
|
2406
2136
|
};
|
|
2407
|
-
/**
|
|
2408
|
-
* Request to set an agent version as the top agent for emissions.
|
|
2409
|
-
*/
|
|
2410
2137
|
type SetTopRequest = {
|
|
2411
2138
|
/**
|
|
2412
|
-
*
|
|
2139
|
+
* Specific suite to set top agent for
|
|
2413
2140
|
*/
|
|
2414
2141
|
suite_id?: (number | null);
|
|
2415
2142
|
/**
|
|
2416
|
-
*
|
|
2143
|
+
* Force set even if version has lower score
|
|
2417
2144
|
*/
|
|
2418
2145
|
force?: boolean;
|
|
2419
2146
|
};
|
|
2420
|
-
/**
|
|
2421
|
-
* Response for set-top operation.
|
|
2422
|
-
*/
|
|
2423
2147
|
type SetTopResponse = {
|
|
2424
2148
|
/**
|
|
2425
|
-
*
|
|
2149
|
+
* Agent version set as top
|
|
2426
2150
|
*/
|
|
2427
2151
|
agent_version_id: string;
|
|
2428
2152
|
/**
|
|
2429
|
-
* Suite
|
|
2153
|
+
* Suite the top agent was set for
|
|
2430
2154
|
*/
|
|
2431
2155
|
suite_id: number;
|
|
2432
2156
|
/**
|
|
2433
|
-
* Previous top agent version
|
|
2157
|
+
* Previous top agent version ID, if any
|
|
2434
2158
|
*/
|
|
2435
2159
|
previous_top_agent_version_id?: (string | null);
|
|
2436
2160
|
/**
|
|
2437
|
-
*
|
|
2161
|
+
* Timestamp when the top agent was set
|
|
2438
2162
|
*/
|
|
2439
2163
|
top_at: string;
|
|
2440
2164
|
};
|
|
2441
|
-
/**
|
|
2442
|
-
* Request body for storing a Chutes refresh token.
|
|
2443
|
-
*/
|
|
2444
2165
|
type StoreChutesTokenRequest = {
|
|
2445
2166
|
/**
|
|
2446
|
-
* Chutes OAuth refresh token
|
|
2167
|
+
* Chutes OAuth refresh token to store
|
|
2447
2168
|
*/
|
|
2448
2169
|
refresh_token: string;
|
|
2449
2170
|
};
|
|
2450
|
-
/**
|
|
2451
|
-
* Response model for agent submission.
|
|
2452
|
-
*/
|
|
2453
2171
|
type SubmitAgentResponse = {
|
|
2454
2172
|
/**
|
|
2455
|
-
*
|
|
2173
|
+
* Unique identifier for the created agent
|
|
2456
2174
|
*/
|
|
2457
2175
|
agent_id?: (string | null);
|
|
2458
2176
|
/**
|
|
2459
|
-
*
|
|
2177
|
+
* Unique identifier for the created agent version
|
|
2460
2178
|
*/
|
|
2461
2179
|
agent_version_id?: (string | null);
|
|
2462
2180
|
/**
|
|
2463
|
-
* Whether submission was accepted
|
|
2181
|
+
* Whether the submission was accepted or rejected
|
|
2464
2182
|
*/
|
|
2465
2183
|
admission_status: AdmissionStatus;
|
|
2466
2184
|
/**
|
|
2467
|
-
* Reason for rejection if rejected
|
|
2185
|
+
* Reason for rejection, if the submission was rejected
|
|
2468
2186
|
*/
|
|
2469
2187
|
admission_reason?: (AdmissionReason | null);
|
|
2470
2188
|
/**
|
|
2471
|
-
*
|
|
2189
|
+
* Earliest time the miner may submit again after cooldown
|
|
2472
2190
|
*/
|
|
2473
2191
|
next_allowed_at?: (string | null);
|
|
2474
2192
|
/**
|
|
2475
|
-
*
|
|
2193
|
+
* Hotkey of the miner who submitted the agent
|
|
2476
2194
|
*/
|
|
2477
2195
|
hotkey: string;
|
|
2478
2196
|
/**
|
|
2479
|
-
*
|
|
2197
|
+
* Human-readable status message
|
|
2480
2198
|
*/
|
|
2481
2199
|
message?: string;
|
|
2482
2200
|
};
|
|
2483
|
-
/**
|
|
2484
|
-
* 404 - Problem suite not found.
|
|
2485
|
-
*/
|
|
2486
2201
|
type SuiteNotFoundError = {
|
|
2487
2202
|
/**
|
|
2488
2203
|
* Error message describing what went wrong
|
|
@@ -2493,9 +2208,6 @@ type SuiteNotFoundError = {
|
|
|
2493
2208
|
*/
|
|
2494
2209
|
error_code?: "SUITE_NOT_FOUND";
|
|
2495
2210
|
};
|
|
2496
|
-
/**
|
|
2497
|
-
* Public representation of a problem suite.
|
|
2498
|
-
*/
|
|
2499
2211
|
type SuitePublic = {
|
|
2500
2212
|
/**
|
|
2501
2213
|
* Problem suite version/ID
|
|
@@ -2510,9 +2222,6 @@ type SuitePublic = {
|
|
|
2510
2222
|
*/
|
|
2511
2223
|
is_active: boolean;
|
|
2512
2224
|
};
|
|
2513
|
-
/**
|
|
2514
|
-
* Response for suite with its problems.
|
|
2515
|
-
*/
|
|
2516
2225
|
type SuiteWithProblemsResponse = {
|
|
2517
2226
|
/**
|
|
2518
2227
|
* Suite information
|
|
@@ -2523,13 +2232,7 @@ type SuiteWithProblemsResponse = {
|
|
|
2523
2232
|
*/
|
|
2524
2233
|
problems: Array<ProblemPublic>;
|
|
2525
2234
|
};
|
|
2526
|
-
/**
|
|
2527
|
-
* Terminal statuses for evaluation runs.
|
|
2528
|
-
*/
|
|
2529
2235
|
type TerminalStatus = 'SUCCESS' | 'FAILED' | 'TIMED_OUT';
|
|
2530
|
-
/**
|
|
2531
|
-
* Response for top agent endpoint.
|
|
2532
|
-
*/
|
|
2533
2236
|
type TopAgentResponse = {
|
|
2534
2237
|
/**
|
|
2535
2238
|
* Active suite ID
|
|
@@ -2570,9 +2273,6 @@ type TopAgentResponse = {
|
|
|
2570
2273
|
*/
|
|
2571
2274
|
margin?: (number | null);
|
|
2572
2275
|
};
|
|
2573
|
-
/**
|
|
2574
|
-
* A single entry in the top agent history.
|
|
2575
|
-
*/
|
|
2576
2276
|
type TopHistoryEntry = {
|
|
2577
2277
|
/**
|
|
2578
2278
|
* Agent version ID
|
|
@@ -2611,9 +2311,6 @@ type TopHistoryEntry = {
|
|
|
2611
2311
|
*/
|
|
2612
2312
|
suite_id: number;
|
|
2613
2313
|
};
|
|
2614
|
-
/**
|
|
2615
|
-
* Response for top agent history endpoint.
|
|
2616
|
-
*/
|
|
2617
2314
|
type TopHistoryResponse = {
|
|
2618
2315
|
/**
|
|
2619
2316
|
* Suite ID
|
|
@@ -2633,9 +2330,16 @@ type ValidationError = {
|
|
|
2633
2330
|
[key: string]: unknown;
|
|
2634
2331
|
};
|
|
2635
2332
|
};
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2333
|
+
type ValidationErrorError = {
|
|
2334
|
+
/**
|
|
2335
|
+
* Error message describing what went wrong
|
|
2336
|
+
*/
|
|
2337
|
+
detail: string;
|
|
2338
|
+
/**
|
|
2339
|
+
* Error code for programmatic handling
|
|
2340
|
+
*/
|
|
2341
|
+
error_code?: "VALIDATION_ERROR";
|
|
2342
|
+
};
|
|
2639
2343
|
type ValidatorCurrentAgent = {
|
|
2640
2344
|
/**
|
|
2641
2345
|
* Name of the agent being evaluated
|
|
@@ -2654,9 +2358,6 @@ type ValidatorCurrentAgent = {
|
|
|
2654
2358
|
*/
|
|
2655
2359
|
started_at: string;
|
|
2656
2360
|
};
|
|
2657
|
-
/**
|
|
2658
|
-
* 404 - Validator not found.
|
|
2659
|
-
*/
|
|
2660
2361
|
type ValidatorNotFoundError = {
|
|
2661
2362
|
/**
|
|
2662
2363
|
* Error message describing what went wrong
|
|
@@ -2667,9 +2368,6 @@ type ValidatorNotFoundError = {
|
|
|
2667
2368
|
*/
|
|
2668
2369
|
error_code?: "VALIDATOR_NOT_FOUND";
|
|
2669
2370
|
};
|
|
2670
|
-
/**
|
|
2671
|
-
* Result from a single validator for a specific problem.
|
|
2672
|
-
*/
|
|
2673
2371
|
type ValidatorProblemResult = {
|
|
2674
2372
|
/**
|
|
2675
2373
|
* Evaluation run ID this result belongs to
|
|
@@ -2710,9 +2408,6 @@ type ValidatorProblemResult = {
|
|
|
2710
2408
|
*/
|
|
2711
2409
|
inference_total?: (number | null);
|
|
2712
2410
|
};
|
|
2713
|
-
/**
|
|
2714
|
-
* Public representation of a validator.
|
|
2715
|
-
*/
|
|
2716
2411
|
type ValidatorPublic = {
|
|
2717
2412
|
/**
|
|
2718
2413
|
* Validator's SS58 address
|
|
@@ -2762,11 +2457,11 @@ type ValidatorPublic = {
|
|
|
2762
2457
|
identity_description?: (string | null);
|
|
2763
2458
|
};
|
|
2764
2459
|
/**
|
|
2765
|
-
*
|
|
2460
|
+
* Aggregated validator scoring analysis.
|
|
2766
2461
|
*/
|
|
2767
2462
|
type ValidatorScoresResponse = {
|
|
2768
2463
|
/**
|
|
2769
|
-
* Per-validator summaries
|
|
2464
|
+
* Per-validator score summaries
|
|
2770
2465
|
*/
|
|
2771
2466
|
validators: Array<ValidatorScoreSummary>;
|
|
2772
2467
|
/**
|
|
@@ -2774,32 +2469,29 @@ type ValidatorScoresResponse = {
|
|
|
2774
2469
|
*/
|
|
2775
2470
|
global_avg_score: number;
|
|
2776
2471
|
/**
|
|
2777
|
-
* Global standard deviation
|
|
2472
|
+
* Global standard deviation of scores
|
|
2778
2473
|
*/
|
|
2779
2474
|
global_stddev: number;
|
|
2780
2475
|
/**
|
|
2781
|
-
* Global average execution time
|
|
2476
|
+
* Global average execution time in seconds
|
|
2782
2477
|
*/
|
|
2783
2478
|
global_avg_execution_seconds?: number;
|
|
2784
2479
|
};
|
|
2785
|
-
/**
|
|
2786
|
-
* Aggregated scoring and performance stats for a single validator.
|
|
2787
|
-
*/
|
|
2788
2480
|
type ValidatorScoreSummary = {
|
|
2789
2481
|
/**
|
|
2790
|
-
* Validator hotkey
|
|
2482
|
+
* Validator's SS58 hotkey
|
|
2791
2483
|
*/
|
|
2792
2484
|
validator_hotkey: string;
|
|
2793
2485
|
/**
|
|
2794
|
-
* Total completed runs
|
|
2486
|
+
* Total number of completed runs
|
|
2795
2487
|
*/
|
|
2796
2488
|
total_runs: number;
|
|
2797
2489
|
/**
|
|
2798
|
-
*
|
|
2490
|
+
* Average score across runs
|
|
2799
2491
|
*/
|
|
2800
2492
|
avg_score: number;
|
|
2801
2493
|
/**
|
|
2802
|
-
* Median score
|
|
2494
|
+
* Median score across runs
|
|
2803
2495
|
*/
|
|
2804
2496
|
median_score: number;
|
|
2805
2497
|
/**
|
|
@@ -2815,15 +2507,15 @@ type ValidatorScoreSummary = {
|
|
|
2815
2507
|
*/
|
|
2816
2508
|
max_score: number;
|
|
2817
2509
|
/**
|
|
2818
|
-
*
|
|
2510
|
+
* Deviation of this validator's average from the global average
|
|
2819
2511
|
*/
|
|
2820
2512
|
deviation_from_global: number;
|
|
2821
2513
|
/**
|
|
2822
|
-
*
|
|
2514
|
+
* Whether this validator is a scoring outlier
|
|
2823
2515
|
*/
|
|
2824
2516
|
is_outlier: boolean;
|
|
2825
2517
|
/**
|
|
2826
|
-
*
|
|
2518
|
+
* Average execution time in seconds
|
|
2827
2519
|
*/
|
|
2828
2520
|
avg_execution_seconds?: number;
|
|
2829
2521
|
/**
|
|
@@ -2831,53 +2523,47 @@ type ValidatorScoreSummary = {
|
|
|
2831
2523
|
*/
|
|
2832
2524
|
median_execution_seconds?: number;
|
|
2833
2525
|
/**
|
|
2834
|
-
*
|
|
2526
|
+
* Minimum execution time in seconds
|
|
2835
2527
|
*/
|
|
2836
2528
|
min_execution_seconds?: number;
|
|
2837
2529
|
/**
|
|
2838
|
-
*
|
|
2530
|
+
* Maximum execution time in seconds
|
|
2839
2531
|
*/
|
|
2840
2532
|
max_execution_seconds?: number;
|
|
2841
2533
|
/**
|
|
2842
|
-
*
|
|
2534
|
+
* Percentage deviation of execution time from global average
|
|
2843
2535
|
*/
|
|
2844
2536
|
execution_deviation_pct?: number;
|
|
2845
2537
|
/**
|
|
2846
|
-
*
|
|
2538
|
+
* Whether this validator is a slow execution outlier
|
|
2847
2539
|
*/
|
|
2848
2540
|
is_slow_outlier?: boolean;
|
|
2849
2541
|
/**
|
|
2850
|
-
*
|
|
2542
|
+
* Number of successful runs
|
|
2851
2543
|
*/
|
|
2852
2544
|
success_count?: number;
|
|
2853
2545
|
/**
|
|
2854
|
-
*
|
|
2546
|
+
* Number of failed runs
|
|
2855
2547
|
*/
|
|
2856
2548
|
failed_count?: number;
|
|
2857
2549
|
/**
|
|
2858
|
-
*
|
|
2550
|
+
* Number of timed-out runs
|
|
2859
2551
|
*/
|
|
2860
2552
|
timed_out_count?: number;
|
|
2861
2553
|
/**
|
|
2862
|
-
*
|
|
2554
|
+
* Success rate as a fraction
|
|
2863
2555
|
*/
|
|
2864
2556
|
success_rate?: number;
|
|
2865
2557
|
/**
|
|
2866
|
-
*
|
|
2558
|
+
* Reason for the most recent failure
|
|
2867
2559
|
*/
|
|
2868
2560
|
last_failure_reason?: (string | null);
|
|
2869
2561
|
/**
|
|
2870
|
-
* When
|
|
2562
|
+
* When the most recent failure occurred
|
|
2871
2563
|
*/
|
|
2872
2564
|
last_failure_at?: (string | null);
|
|
2873
2565
|
};
|
|
2874
|
-
/**
|
|
2875
|
-
* Status of a validator.
|
|
2876
|
-
*/
|
|
2877
2566
|
type ValidatorStatus = 'evaluating' | 'available';
|
|
2878
|
-
/**
|
|
2879
|
-
* Request body for waitlist signup.
|
|
2880
|
-
*/
|
|
2881
2567
|
type WaitlistSignupRequest = {
|
|
2882
2568
|
/**
|
|
2883
2569
|
* Email address to add to the waitlist
|
|
@@ -2888,29 +2574,23 @@ type WaitlistSignupRequest = {
|
|
|
2888
2574
|
*/
|
|
2889
2575
|
source?: string;
|
|
2890
2576
|
};
|
|
2891
|
-
/**
|
|
2892
|
-
* Response from waitlist signup.
|
|
2893
|
-
*/
|
|
2894
2577
|
type WaitlistSignupResponse = {
|
|
2895
2578
|
/**
|
|
2896
2579
|
* Whether signup was recorded
|
|
2897
2580
|
*/
|
|
2898
2581
|
success: boolean;
|
|
2899
2582
|
};
|
|
2900
|
-
/**
|
|
2901
|
-
* Status of the work item after completion.
|
|
2902
|
-
*/
|
|
2903
2583
|
type WorkItemStatus = {
|
|
2904
2584
|
/**
|
|
2905
|
-
* Number of successful runs
|
|
2585
|
+
* Number of successful runs included so far
|
|
2906
2586
|
*/
|
|
2907
2587
|
included_success_count: number;
|
|
2908
2588
|
/**
|
|
2909
|
-
*
|
|
2589
|
+
* Number of successful runs required to close the work item
|
|
2910
2590
|
*/
|
|
2911
2591
|
required_successes: number;
|
|
2912
2592
|
/**
|
|
2913
|
-
* Whether work item is closed
|
|
2593
|
+
* Whether the work item is closed
|
|
2914
2594
|
*/
|
|
2915
2595
|
is_closed: boolean;
|
|
2916
2596
|
};
|
|
@@ -3178,7 +2858,7 @@ type PresignUploadData = {
|
|
|
3178
2858
|
body: PresignUploadRequest;
|
|
3179
2859
|
};
|
|
3180
2860
|
type PresignUploadResponse2 = (PresignUploadResponse);
|
|
3181
|
-
type PresignUploadError = ((FileTooLargeError |
|
|
2861
|
+
type PresignUploadError = ((FileTooLargeError | ValidationErrorError) | (EvalRunNotFoundError | ProblemNotFoundError) | NotRunOwnerError | HTTPValidationError);
|
|
3182
2862
|
type CompleteRunData = {
|
|
3183
2863
|
body: CompleteRunRequest;
|
|
3184
2864
|
path: {
|
|
@@ -3189,7 +2869,7 @@ type CompleteRunData = {
|
|
|
3189
2869
|
};
|
|
3190
2870
|
};
|
|
3191
2871
|
type CompleteRunResponse2 = (CompleteRunResponse);
|
|
3192
|
-
type CompleteRunError = ((MissingScoreError |
|
|
2872
|
+
type CompleteRunError = ((MissingScoreError | ValidationErrorError) | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
3193
2873
|
type GetRunProblemsData = {
|
|
3194
2874
|
path: {
|
|
3195
2875
|
/**
|
|
@@ -3377,9 +3057,7 @@ type ClearMinerCooldownData = {
|
|
|
3377
3057
|
hotkey: string;
|
|
3378
3058
|
};
|
|
3379
3059
|
};
|
|
3380
|
-
type ClearMinerCooldownResponse = (
|
|
3381
|
-
[key: string]: unknown;
|
|
3382
|
-
});
|
|
3060
|
+
type ClearMinerCooldownResponse = (ClearCooldownResponse);
|
|
3383
3061
|
type ClearMinerCooldownError = (HTTPValidationError);
|
|
3384
3062
|
type ListMinersData = {
|
|
3385
3063
|
query?: {
|
|
@@ -3857,7 +3535,7 @@ declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: O
|
|
|
3857
3535
|
* Clear miner cooldown
|
|
3858
3536
|
* Clear the submission cooldown for a miner.
|
|
3859
3537
|
*/
|
|
3860
|
-
declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
3538
|
+
declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearCooldownResponse, HTTPValidationError, ThrowOnError>;
|
|
3861
3539
|
/**
|
|
3862
3540
|
* List miners with ban status and agent count
|
|
3863
3541
|
* List all miners with their ban status, agent count, and last submission time.
|
|
@@ -3918,7 +3596,7 @@ declare const closeQualifying: <ThrowOnError extends boolean = false>(options?:
|
|
|
3918
3596
|
*
|
|
3919
3597
|
* DO NOT EDIT — regenerate with: python3 scripts/extract-errors.py
|
|
3920
3598
|
*/
|
|
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';
|
|
3599
|
+
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
3600
|
|
|
3923
3601
|
/**
|
|
3924
3602
|
* Error classification utilities for the ORO SDK.
|
|
@@ -4264,4 +3942,4 @@ declare class SessionAuthManager {
|
|
|
4264
3942
|
*/
|
|
4265
3943
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4266
3944
|
|
|
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 };
|
|
3945
|
+
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 };
|