@oro-ai/sdk 1.0.34 → 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 +283 -601
- package/dist/index.d.ts +283 -601
- package/package.json +1 -1
- package/src/generated/types.gen.ts +282 -598
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
|
|
@@ -578,9 +515,13 @@ type AgentVersionStatus = {
|
|
|
578
515
|
*/
|
|
579
516
|
is_closed?: boolean;
|
|
580
517
|
/**
|
|
581
|
-
*
|
|
518
|
+
* Qualifying score if eligible
|
|
582
519
|
*/
|
|
583
520
|
final_score?: (number | null);
|
|
521
|
+
/**
|
|
522
|
+
* Race score
|
|
523
|
+
*/
|
|
524
|
+
race_score?: (number | null);
|
|
584
525
|
/**
|
|
585
526
|
* Average reasoning coefficient from included successful runs
|
|
586
527
|
*/
|
|
@@ -600,9 +541,6 @@ type AgentVersionStatus = {
|
|
|
600
541
|
[key: string]: (number);
|
|
601
542
|
} | null);
|
|
602
543
|
};
|
|
603
|
-
/**
|
|
604
|
-
* Score variance across validators for a single agent version.
|
|
605
|
-
*/
|
|
606
544
|
type AgentVersionVariance = {
|
|
607
545
|
/**
|
|
608
546
|
* Agent version ID
|
|
@@ -613,7 +551,7 @@ type AgentVersionVariance = {
|
|
|
613
551
|
*/
|
|
614
552
|
agent_name: string;
|
|
615
553
|
/**
|
|
616
|
-
*
|
|
554
|
+
* Owner's hotkey
|
|
617
555
|
*/
|
|
618
556
|
miner_hotkey: string;
|
|
619
557
|
/**
|
|
@@ -621,46 +559,40 @@ type AgentVersionVariance = {
|
|
|
621
559
|
*/
|
|
622
560
|
validator_count: number;
|
|
623
561
|
/**
|
|
624
|
-
*
|
|
562
|
+
* Average score across validators
|
|
625
563
|
*/
|
|
626
564
|
avg_score: number;
|
|
627
565
|
/**
|
|
628
|
-
* Minimum score
|
|
566
|
+
* Minimum validator score
|
|
629
567
|
*/
|
|
630
568
|
min_score: number;
|
|
631
569
|
/**
|
|
632
|
-
* Maximum score
|
|
570
|
+
* Maximum validator score
|
|
633
571
|
*/
|
|
634
572
|
max_score: number;
|
|
635
573
|
/**
|
|
636
|
-
*
|
|
574
|
+
* Spread between min and max scores
|
|
637
575
|
*/
|
|
638
576
|
spread: number;
|
|
639
577
|
/**
|
|
640
|
-
*
|
|
578
|
+
* Whether the variance exceeds the threshold
|
|
641
579
|
*/
|
|
642
580
|
is_high_variance: boolean;
|
|
643
581
|
/**
|
|
644
|
-
*
|
|
582
|
+
* Per-validator score breakdown
|
|
645
583
|
*/
|
|
646
|
-
per_validator
|
|
584
|
+
per_validator?: Array<AgentVersionScoreEntry>;
|
|
647
585
|
};
|
|
648
|
-
/**
|
|
649
|
-
* Response for agent version score variance analytics.
|
|
650
|
-
*/
|
|
651
586
|
type AgentVersionVarianceResponse = {
|
|
652
587
|
/**
|
|
653
|
-
* Per-version variance
|
|
588
|
+
* Per-version variance entries
|
|
654
589
|
*/
|
|
655
590
|
agent_versions: Array<AgentVersionVariance>;
|
|
656
591
|
/**
|
|
657
|
-
*
|
|
592
|
+
* Threshold used to flag high-variance versions
|
|
658
593
|
*/
|
|
659
594
|
variance_threshold: number;
|
|
660
595
|
};
|
|
661
|
-
/**
|
|
662
|
-
* 409 - Resource is already invalidated.
|
|
663
|
-
*/
|
|
664
596
|
type AlreadyInvalidatedError = {
|
|
665
597
|
/**
|
|
666
598
|
* Error message describing what went wrong
|
|
@@ -671,9 +603,6 @@ type AlreadyInvalidatedError = {
|
|
|
671
603
|
*/
|
|
672
604
|
error_code?: "ALREADY_INVALIDATED";
|
|
673
605
|
};
|
|
674
|
-
/**
|
|
675
|
-
* Request for artifact download URL.
|
|
676
|
-
*/
|
|
677
606
|
type ArtifactDownloadRequest = {
|
|
678
607
|
/**
|
|
679
608
|
* Type of artifact to download
|
|
@@ -692,9 +621,6 @@ type ArtifactDownloadRequest = {
|
|
|
692
621
|
*/
|
|
693
622
|
problem_id?: (string | null);
|
|
694
623
|
};
|
|
695
|
-
/**
|
|
696
|
-
* Response with presigned download URL.
|
|
697
|
-
*/
|
|
698
624
|
type ArtifactDownloadResponse = {
|
|
699
625
|
/**
|
|
700
626
|
* Presigned download URL
|
|
@@ -705,9 +631,6 @@ type ArtifactDownloadResponse = {
|
|
|
705
631
|
*/
|
|
706
632
|
expires_at: string;
|
|
707
633
|
};
|
|
708
|
-
/**
|
|
709
|
-
* 404 - Artifact not found or not available.
|
|
710
|
-
*/
|
|
711
634
|
type ArtifactNotFoundError = {
|
|
712
635
|
/**
|
|
713
636
|
* Error message describing what went wrong
|
|
@@ -718,9 +641,6 @@ type ArtifactNotFoundError = {
|
|
|
718
641
|
*/
|
|
719
642
|
error_code?: "ARTIFACT_NOT_FOUND";
|
|
720
643
|
};
|
|
721
|
-
/**
|
|
722
|
-
* 404 - Artifact exists but is not yet released.
|
|
723
|
-
*/
|
|
724
644
|
type ArtifactNotReleasedError = {
|
|
725
645
|
/**
|
|
726
646
|
* Error message describing what went wrong
|
|
@@ -735,13 +655,7 @@ type ArtifactNotReleasedError = {
|
|
|
735
655
|
* Release state of agent version artifacts.
|
|
736
656
|
*/
|
|
737
657
|
type ArtifactReleaseState = 'HIDDEN' | 'RELEASED';
|
|
738
|
-
/**
|
|
739
|
-
* Type of artifact for download.
|
|
740
|
-
*/
|
|
741
658
|
type ArtifactType = 'AGENT_CODE' | 'EVAL_LOGS_BUNDLE' | 'EVAL_PROBLEM_LOGS' | 'REASONING_DETAILS';
|
|
742
|
-
/**
|
|
743
|
-
* 409 - Validator is at maximum concurrent evaluation capacity.
|
|
744
|
-
*/
|
|
745
659
|
type AtCapacityError = {
|
|
746
660
|
/**
|
|
747
661
|
* Error message describing what went wrong
|
|
@@ -752,36 +666,33 @@ type AtCapacityError = {
|
|
|
752
666
|
*/
|
|
753
667
|
error_code?: "AT_CAPACITY";
|
|
754
668
|
};
|
|
755
|
-
/**
|
|
756
|
-
* Audit event log entry.
|
|
757
|
-
*/
|
|
758
669
|
type AuditEventEntry = {
|
|
759
670
|
/**
|
|
760
|
-
*
|
|
671
|
+
* Unique event identifier
|
|
761
672
|
*/
|
|
762
673
|
event_id: string;
|
|
763
674
|
/**
|
|
764
|
-
* Action performed
|
|
675
|
+
* Action that was performed
|
|
765
676
|
*/
|
|
766
677
|
action: string;
|
|
767
678
|
/**
|
|
768
|
-
* Type of
|
|
679
|
+
* Type of entity targeted
|
|
769
680
|
*/
|
|
770
681
|
target_type: string;
|
|
771
682
|
/**
|
|
772
|
-
*
|
|
683
|
+
* Identifier of the targeted entity
|
|
773
684
|
*/
|
|
774
685
|
target_id: string;
|
|
775
686
|
/**
|
|
776
|
-
*
|
|
687
|
+
* Hotkey of the admin who performed the action
|
|
777
688
|
*/
|
|
778
689
|
actor_hotkey: string;
|
|
779
690
|
/**
|
|
780
|
-
* Reason
|
|
691
|
+
* Reason for the action
|
|
781
692
|
*/
|
|
782
693
|
reason?: (string | null);
|
|
783
694
|
/**
|
|
784
|
-
* Additional
|
|
695
|
+
* Additional event details
|
|
785
696
|
*/
|
|
786
697
|
details?: ({
|
|
787
698
|
[key: string]: unknown;
|
|
@@ -791,16 +702,9 @@ type AuditEventEntry = {
|
|
|
791
702
|
*/
|
|
792
703
|
created_at: string;
|
|
793
704
|
};
|
|
794
|
-
/**
|
|
795
|
-
* Response for audit events list.
|
|
796
|
-
*/
|
|
797
705
|
type AuditEventsResponse = {
|
|
798
706
|
/**
|
|
799
|
-
*
|
|
800
|
-
*/
|
|
801
|
-
events: Array<AuditEventEntry>;
|
|
802
|
-
/**
|
|
803
|
-
* Total events matching filter
|
|
707
|
+
* Total entries matching filter
|
|
804
708
|
*/
|
|
805
709
|
total: number;
|
|
806
710
|
/**
|
|
@@ -811,26 +715,24 @@ type AuditEventsResponse = {
|
|
|
811
715
|
* Page offset
|
|
812
716
|
*/
|
|
813
717
|
offset: number;
|
|
718
|
+
/**
|
|
719
|
+
* Audit event entries
|
|
720
|
+
*/
|
|
721
|
+
events: Array<AuditEventEntry>;
|
|
814
722
|
};
|
|
815
|
-
/**
|
|
816
|
-
* Request to ban a miner or validator.
|
|
817
|
-
*/
|
|
818
723
|
type BanRequest = {
|
|
819
724
|
/**
|
|
820
725
|
* Reason for the ban
|
|
821
726
|
*/
|
|
822
727
|
reason: string;
|
|
823
728
|
};
|
|
824
|
-
/**
|
|
825
|
-
* Response for ban/unban operations.
|
|
826
|
-
*/
|
|
827
729
|
type BanResponse = {
|
|
828
730
|
/**
|
|
829
|
-
*
|
|
731
|
+
* Hotkey of the banned/unbanned entity
|
|
830
732
|
*/
|
|
831
733
|
hotkey: string;
|
|
832
734
|
/**
|
|
833
|
-
*
|
|
735
|
+
* Current ban status after the operation
|
|
834
736
|
*/
|
|
835
737
|
is_banned: boolean;
|
|
836
738
|
};
|
|
@@ -844,21 +746,15 @@ type Body_submit_agent = {
|
|
|
844
746
|
*/
|
|
845
747
|
file: (Blob | File);
|
|
846
748
|
};
|
|
847
|
-
/**
|
|
848
|
-
* Request to cancel an agent version's evaluation.
|
|
849
|
-
*/
|
|
850
749
|
type CancelRequest = {
|
|
851
750
|
/**
|
|
852
751
|
* Reason for cancellation
|
|
853
752
|
*/
|
|
854
753
|
reason: string;
|
|
855
754
|
};
|
|
856
|
-
/**
|
|
857
|
-
* Response for cancel operation.
|
|
858
|
-
*/
|
|
859
755
|
type CancelResponse = {
|
|
860
756
|
/**
|
|
861
|
-
* Agent version
|
|
757
|
+
* Agent version whose runs were cancelled
|
|
862
758
|
*/
|
|
863
759
|
agent_version_id: string;
|
|
864
760
|
/**
|
|
@@ -866,18 +762,12 @@ type CancelResponse = {
|
|
|
866
762
|
*/
|
|
867
763
|
cancelled_runs: number;
|
|
868
764
|
};
|
|
869
|
-
/**
|
|
870
|
-
* Request body for challenge endpoint.
|
|
871
|
-
*/
|
|
872
765
|
type ChallengeRequest = {
|
|
873
766
|
/**
|
|
874
767
|
* SS58 hotkey address
|
|
875
768
|
*/
|
|
876
769
|
hotkey: string;
|
|
877
770
|
};
|
|
878
|
-
/**
|
|
879
|
-
* Response from challenge endpoint.
|
|
880
|
-
*/
|
|
881
771
|
type ChallengeResponse = {
|
|
882
772
|
/**
|
|
883
773
|
* Challenge string to sign
|
|
@@ -888,25 +778,19 @@ type ChallengeResponse = {
|
|
|
888
778
|
*/
|
|
889
779
|
expires_at: number;
|
|
890
780
|
};
|
|
891
|
-
/**
|
|
892
|
-
* Response for Chutes auth status check.
|
|
893
|
-
*/
|
|
894
781
|
type ChutesAuthStatusResponse = {
|
|
895
782
|
/**
|
|
896
|
-
* Whether the miner has a
|
|
783
|
+
* Whether the miner has a valid Chutes token stored
|
|
897
784
|
*/
|
|
898
785
|
connected: boolean;
|
|
899
786
|
/**
|
|
900
|
-
* When the token was last
|
|
787
|
+
* When the Chutes token was last updated
|
|
901
788
|
*/
|
|
902
789
|
updated_at?: (string | null);
|
|
903
790
|
};
|
|
904
|
-
/**
|
|
905
|
-
* Response for successful work claim.
|
|
906
|
-
*/
|
|
907
791
|
type ClaimWorkResponse = {
|
|
908
792
|
/**
|
|
909
|
-
*
|
|
793
|
+
* Evaluation run ID assigned to this claim
|
|
910
794
|
*/
|
|
911
795
|
eval_run_id: string;
|
|
912
796
|
/**
|
|
@@ -914,11 +798,11 @@ type ClaimWorkResponse = {
|
|
|
914
798
|
*/
|
|
915
799
|
agent_version_id: string;
|
|
916
800
|
/**
|
|
917
|
-
* Problem suite ID
|
|
801
|
+
* Problem suite ID for this evaluation
|
|
918
802
|
*/
|
|
919
803
|
suite_id: number;
|
|
920
804
|
/**
|
|
921
|
-
* When the lease expires
|
|
805
|
+
* When the lease expires if not renewed
|
|
922
806
|
*/
|
|
923
807
|
lease_expires_at: string;
|
|
924
808
|
/**
|
|
@@ -926,16 +810,31 @@ type ClaimWorkResponse = {
|
|
|
926
810
|
*/
|
|
927
811
|
code_download_url: string;
|
|
928
812
|
/**
|
|
929
|
-
*
|
|
813
|
+
* Optional Chutes access token for sandboxed execution
|
|
930
814
|
*/
|
|
931
815
|
chutes_access_token?: (string | null);
|
|
932
816
|
};
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
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
|
+
};
|
|
936
835
|
type CloseQualifyingResponse = {
|
|
937
836
|
/**
|
|
938
|
-
* Race
|
|
837
|
+
* Race ID
|
|
939
838
|
*/
|
|
940
839
|
race_id: string;
|
|
941
840
|
/**
|
|
@@ -943,11 +842,11 @@ type CloseQualifyingResponse = {
|
|
|
943
842
|
*/
|
|
944
843
|
previous_closes_at: string;
|
|
945
844
|
/**
|
|
946
|
-
*
|
|
845
|
+
* New qualifying close time
|
|
947
846
|
*/
|
|
948
847
|
new_closes_at: string;
|
|
949
848
|
/**
|
|
950
|
-
* Race status after
|
|
849
|
+
* Race status after closing qualifying
|
|
951
850
|
*/
|
|
952
851
|
status: string;
|
|
953
852
|
};
|
|
@@ -975,60 +874,57 @@ type CodeAnalysisError = {
|
|
|
975
874
|
remaining_seconds?: (number | null);
|
|
976
875
|
};
|
|
977
876
|
/**
|
|
978
|
-
*
|
|
877
|
+
* Sent by the validator when an evaluation run finishes.
|
|
979
878
|
*/
|
|
980
879
|
type CompleteRunRequest = {
|
|
981
880
|
/**
|
|
982
|
-
* Final status of the run
|
|
881
|
+
* Final status of the evaluation run
|
|
983
882
|
*/
|
|
984
883
|
terminal_status: TerminalStatus;
|
|
985
884
|
/**
|
|
986
|
-
*
|
|
885
|
+
* Aggregate score computed by the validator
|
|
987
886
|
*/
|
|
988
887
|
validator_score?: (number | null);
|
|
989
888
|
/**
|
|
990
|
-
*
|
|
889
|
+
* Detailed score component breakdown
|
|
991
890
|
*/
|
|
992
891
|
score_components?: ({
|
|
993
892
|
[key: string]: unknown;
|
|
994
893
|
} | null);
|
|
995
894
|
/**
|
|
996
|
-
* S3 key for
|
|
895
|
+
* S3 key for the uploaded results bundle
|
|
997
896
|
*/
|
|
998
897
|
results_s3_key?: (string | null);
|
|
999
898
|
/**
|
|
1000
|
-
*
|
|
899
|
+
* Human-readable failure reason
|
|
1001
900
|
*/
|
|
1002
901
|
failure_reason?: (string | null);
|
|
1003
902
|
/**
|
|
1004
|
-
*
|
|
903
|
+
* Metadata about the sandbox environment used
|
|
1005
904
|
*/
|
|
1006
905
|
sandbox_metadata?: ({
|
|
1007
906
|
[key: string]: unknown;
|
|
1008
907
|
} | null);
|
|
1009
908
|
};
|
|
1010
|
-
/**
|
|
1011
|
-
* Response for run completion.
|
|
1012
|
-
*/
|
|
1013
909
|
type CompleteRunResponse = {
|
|
1014
910
|
/**
|
|
1015
|
-
* Evaluation run
|
|
911
|
+
* Evaluation run that was completed
|
|
1016
912
|
*/
|
|
1017
913
|
eval_run_id: string;
|
|
1018
914
|
/**
|
|
1019
|
-
*
|
|
915
|
+
* Recorded terminal status
|
|
1020
916
|
*/
|
|
1021
917
|
status: string;
|
|
1022
918
|
/**
|
|
1023
|
-
*
|
|
919
|
+
* Current work-item completion counters
|
|
1024
920
|
*/
|
|
1025
921
|
work_item: WorkItemStatus;
|
|
1026
922
|
/**
|
|
1027
|
-
* Whether agent version
|
|
923
|
+
* Whether this run caused the agent version to become eligible
|
|
1028
924
|
*/
|
|
1029
925
|
agent_version_became_eligible: boolean;
|
|
1030
926
|
/**
|
|
1031
|
-
* Final score if became eligible
|
|
927
|
+
* Final qualifying score if the version became eligible
|
|
1032
928
|
*/
|
|
1033
929
|
final_score?: (number | null);
|
|
1034
930
|
};
|
|
@@ -1049,78 +945,60 @@ type CooldownActiveError = {
|
|
|
1049
945
|
*/
|
|
1050
946
|
remaining_seconds: number;
|
|
1051
947
|
};
|
|
1052
|
-
/**
|
|
1053
|
-
* Request to create a new problem suite.
|
|
1054
|
-
*/
|
|
1055
948
|
type CreateSuiteRequest = {
|
|
1056
949
|
/**
|
|
1057
|
-
* URI
|
|
950
|
+
* URI of the problem suite to import
|
|
1058
951
|
*/
|
|
1059
952
|
problem_suite_uri: string;
|
|
1060
953
|
/**
|
|
1061
|
-
* Whether
|
|
954
|
+
* Whether the suite is publicly visible
|
|
1062
955
|
*/
|
|
1063
956
|
is_public?: boolean;
|
|
1064
957
|
};
|
|
1065
|
-
/**
|
|
1066
|
-
* Response for suite creation.
|
|
1067
|
-
*/
|
|
1068
958
|
type CreateSuiteResponse = {
|
|
1069
959
|
/**
|
|
1070
|
-
*
|
|
960
|
+
* ID of the created suite
|
|
1071
961
|
*/
|
|
1072
962
|
suite_id: number;
|
|
1073
963
|
/**
|
|
1074
|
-
*
|
|
964
|
+
* Version number of the suite
|
|
1075
965
|
*/
|
|
1076
966
|
suite_version: number;
|
|
1077
967
|
/**
|
|
1078
|
-
* Whether
|
|
968
|
+
* Whether the suite is active
|
|
1079
969
|
*/
|
|
1080
970
|
is_active: boolean;
|
|
1081
971
|
};
|
|
1082
|
-
/**
|
|
1083
|
-
* Response for current race state.
|
|
1084
|
-
*/
|
|
1085
972
|
type CurrentRacesResponse = {
|
|
1086
973
|
/**
|
|
1087
974
|
* Active races
|
|
1088
975
|
*/
|
|
1089
976
|
races: Array<RaceSummary>;
|
|
1090
977
|
};
|
|
1091
|
-
/**
|
|
1092
|
-
* Request to discard an agent version.
|
|
1093
|
-
*/
|
|
1094
978
|
type DiscardRequest = {
|
|
1095
979
|
/**
|
|
1096
|
-
* Reason for discarding
|
|
980
|
+
* Reason for discarding the version
|
|
1097
981
|
*/
|
|
1098
982
|
reason: string;
|
|
1099
983
|
/**
|
|
1100
|
-
*
|
|
984
|
+
* Specific suite to discard from
|
|
1101
985
|
*/
|
|
1102
986
|
suite_id?: (number | null);
|
|
1103
987
|
};
|
|
1104
|
-
/**
|
|
1105
|
-
* Response for discard/reinstate operations.
|
|
1106
|
-
*/
|
|
1107
988
|
type DiscardResponse = {
|
|
1108
989
|
/**
|
|
1109
|
-
*
|
|
990
|
+
* Discarded agent version ID
|
|
1110
991
|
*/
|
|
1111
992
|
agent_version_id: string;
|
|
1112
993
|
/**
|
|
1113
|
-
* Suite
|
|
994
|
+
* Suite the version was discarded from
|
|
1114
995
|
*/
|
|
1115
996
|
suite_id: number;
|
|
1116
997
|
/**
|
|
1117
|
-
*
|
|
998
|
+
* Current discard status
|
|
1118
999
|
*/
|
|
1119
1000
|
is_discarded: boolean;
|
|
1120
1001
|
};
|
|
1121
|
-
/**
|
|
1122
|
-
* 404 - Evaluation run not found.
|
|
1123
|
-
*/
|
|
1124
1002
|
type EvalRunNotFoundError = {
|
|
1125
1003
|
/**
|
|
1126
1004
|
* Error message describing what went wrong
|
|
@@ -1131,9 +1009,6 @@ type EvalRunNotFoundError = {
|
|
|
1131
1009
|
*/
|
|
1132
1010
|
error_code?: "EVAL_RUN_NOT_FOUND";
|
|
1133
1011
|
};
|
|
1134
|
-
/**
|
|
1135
|
-
* Detailed representation of a single evaluation run.
|
|
1136
|
-
*/
|
|
1137
1012
|
type EvaluationRunDetail = {
|
|
1138
1013
|
/**
|
|
1139
1014
|
* Unique identifier for this run
|
|
@@ -1200,9 +1075,6 @@ type EvaluationRunDetail = {
|
|
|
1200
1075
|
[key: string]: unknown;
|
|
1201
1076
|
} | null);
|
|
1202
1077
|
};
|
|
1203
|
-
/**
|
|
1204
|
-
* Public representation of an evaluation run.
|
|
1205
|
-
*/
|
|
1206
1078
|
type EvaluationRunPublic = {
|
|
1207
1079
|
/**
|
|
1208
1080
|
* Unique identifier for this run
|
|
@@ -1303,12 +1175,9 @@ type EvaluationRunPublic = {
|
|
|
1303
1175
|
* Status of an evaluation run through its lifecycle.
|
|
1304
1176
|
*/
|
|
1305
1177
|
type EvaluationRunStatus = 'CLAIMED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'TIMED_OUT' | 'STALE' | 'CANCELLED';
|
|
1306
|
-
/**
|
|
1307
|
-
* Status representation of an evaluation run (for admin operations).
|
|
1308
|
-
*/
|
|
1309
1178
|
type EvaluationRunStatusPublic = {
|
|
1310
1179
|
/**
|
|
1311
|
-
*
|
|
1180
|
+
* Evaluation run ID
|
|
1312
1181
|
*/
|
|
1313
1182
|
eval_run_id: string;
|
|
1314
1183
|
/**
|
|
@@ -1316,15 +1185,15 @@ type EvaluationRunStatusPublic = {
|
|
|
1316
1185
|
*/
|
|
1317
1186
|
agent_version_id: string;
|
|
1318
1187
|
/**
|
|
1319
|
-
*
|
|
1188
|
+
* Problem suite ID
|
|
1320
1189
|
*/
|
|
1321
1190
|
suite_id: number;
|
|
1322
1191
|
/**
|
|
1323
|
-
* Validator performing evaluation
|
|
1192
|
+
* Validator performing the evaluation
|
|
1324
1193
|
*/
|
|
1325
1194
|
validator_hotkey: string;
|
|
1326
1195
|
/**
|
|
1327
|
-
*
|
|
1196
|
+
* Current run status
|
|
1328
1197
|
*/
|
|
1329
1198
|
status: EvaluationRunStatus;
|
|
1330
1199
|
/**
|
|
@@ -1332,47 +1201,44 @@ type EvaluationRunStatusPublic = {
|
|
|
1332
1201
|
*/
|
|
1333
1202
|
claimed_at: string;
|
|
1334
1203
|
/**
|
|
1335
|
-
*
|
|
1204
|
+
* When the lease expires
|
|
1336
1205
|
*/
|
|
1337
1206
|
lease_expires_at: string;
|
|
1338
1207
|
/**
|
|
1339
|
-
* Whether run is included in
|
|
1208
|
+
* Whether this run is included in scoring
|
|
1340
1209
|
*/
|
|
1341
1210
|
is_included: boolean;
|
|
1342
1211
|
/**
|
|
1343
|
-
* Last heartbeat
|
|
1212
|
+
* Last heartbeat from the validator
|
|
1344
1213
|
*/
|
|
1345
1214
|
last_heartbeat_at?: (string | null);
|
|
1346
1215
|
/**
|
|
1347
|
-
*
|
|
1216
|
+
* When the run completed
|
|
1348
1217
|
*/
|
|
1349
1218
|
completed_at?: (string | null);
|
|
1350
1219
|
/**
|
|
1351
|
-
* When run was invalidated
|
|
1220
|
+
* When the run was invalidated
|
|
1352
1221
|
*/
|
|
1353
1222
|
invalidated_at?: (string | null);
|
|
1354
1223
|
/**
|
|
1355
|
-
*
|
|
1224
|
+
* Hotkey of the admin who invalidated the run
|
|
1356
1225
|
*/
|
|
1357
1226
|
invalidated_by?: (string | null);
|
|
1358
1227
|
/**
|
|
1359
|
-
* Reason
|
|
1228
|
+
* Reason the run was invalidated
|
|
1360
1229
|
*/
|
|
1361
1230
|
invalidation_reason?: (string | null);
|
|
1362
1231
|
/**
|
|
1363
|
-
* Score
|
|
1232
|
+
* Score assigned by the validator
|
|
1364
1233
|
*/
|
|
1365
1234
|
validator_score?: (number | null);
|
|
1366
1235
|
/**
|
|
1367
|
-
*
|
|
1236
|
+
* Summary of score components
|
|
1368
1237
|
*/
|
|
1369
1238
|
score_components_summary?: ({
|
|
1370
1239
|
[key: string]: unknown;
|
|
1371
1240
|
} | null);
|
|
1372
1241
|
};
|
|
1373
|
-
/**
|
|
1374
|
-
* 400 - Upload file exceeds size limit.
|
|
1375
|
-
*/
|
|
1376
1242
|
type FileTooLargeError = {
|
|
1377
1243
|
/**
|
|
1378
1244
|
* Error message describing what went wrong
|
|
@@ -1383,9 +1249,6 @@ type FileTooLargeError = {
|
|
|
1383
1249
|
*/
|
|
1384
1250
|
error_code?: "FILE_TOO_LARGE";
|
|
1385
1251
|
};
|
|
1386
|
-
/**
|
|
1387
|
-
* Optional request body for heartbeat with service version info.
|
|
1388
|
-
*/
|
|
1389
1252
|
type HeartbeatRequest = {
|
|
1390
1253
|
/**
|
|
1391
1254
|
* Docker image digests for validator stack services
|
|
@@ -1394,21 +1257,15 @@ type HeartbeatRequest = {
|
|
|
1394
1257
|
[key: string]: (string);
|
|
1395
1258
|
} | null);
|
|
1396
1259
|
};
|
|
1397
|
-
/**
|
|
1398
|
-
* Response for heartbeat.
|
|
1399
|
-
*/
|
|
1400
1260
|
type HeartbeatResponse = {
|
|
1401
1261
|
/**
|
|
1402
|
-
* New lease
|
|
1262
|
+
* New lease expiry after heartbeat
|
|
1403
1263
|
*/
|
|
1404
1264
|
lease_expires_at: string;
|
|
1405
1265
|
};
|
|
1406
1266
|
type HTTPValidationError = {
|
|
1407
1267
|
detail?: Array<ValidationError>;
|
|
1408
1268
|
};
|
|
1409
|
-
/**
|
|
1410
|
-
* 400 - Agent name validation failed.
|
|
1411
|
-
*/
|
|
1412
1269
|
type InvalidAgentNameError = {
|
|
1413
1270
|
/**
|
|
1414
1271
|
* Error message describing what went wrong
|
|
@@ -1419,9 +1276,6 @@ type InvalidAgentNameError = {
|
|
|
1419
1276
|
*/
|
|
1420
1277
|
error_code?: "INVALID_AGENT_NAME";
|
|
1421
1278
|
};
|
|
1422
|
-
/**
|
|
1423
|
-
* 400 - Unknown or unsupported artifact type.
|
|
1424
|
-
*/
|
|
1425
1279
|
type InvalidArtifactTypeError = {
|
|
1426
1280
|
/**
|
|
1427
1281
|
* Error message describing what went wrong
|
|
@@ -1432,18 +1286,12 @@ type InvalidArtifactTypeError = {
|
|
|
1432
1286
|
*/
|
|
1433
1287
|
error_code?: "INVALID_ARTIFACT_TYPE";
|
|
1434
1288
|
};
|
|
1435
|
-
/**
|
|
1436
|
-
* Request to invalidate an evaluation run (irreversible).
|
|
1437
|
-
*/
|
|
1438
1289
|
type InvalidateRunRequest = {
|
|
1439
1290
|
/**
|
|
1440
|
-
* Reason for
|
|
1291
|
+
* Reason for invalidating the run
|
|
1441
1292
|
*/
|
|
1442
1293
|
reason: string;
|
|
1443
1294
|
};
|
|
1444
|
-
/**
|
|
1445
|
-
* 400 - File content validation failed.
|
|
1446
|
-
*/
|
|
1447
1295
|
type InvalidFileError = {
|
|
1448
1296
|
/**
|
|
1449
1297
|
* Error message describing what went wrong
|
|
@@ -1454,9 +1302,6 @@ type InvalidFileError = {
|
|
|
1454
1302
|
*/
|
|
1455
1303
|
error_code?: "INVALID_FILE";
|
|
1456
1304
|
};
|
|
1457
|
-
/**
|
|
1458
|
-
* 400 - Problem ID is not valid for this suite.
|
|
1459
|
-
*/
|
|
1460
1305
|
type InvalidProblemIdError = {
|
|
1461
1306
|
/**
|
|
1462
1307
|
* Error message describing what went wrong
|
|
@@ -1467,9 +1312,6 @@ type InvalidProblemIdError = {
|
|
|
1467
1312
|
*/
|
|
1468
1313
|
error_code?: "INVALID_PROBLEM_ID";
|
|
1469
1314
|
};
|
|
1470
|
-
/**
|
|
1471
|
-
* Entry in the leaderboard.
|
|
1472
|
-
*/
|
|
1473
1315
|
type LeaderboardEntry = {
|
|
1474
1316
|
/**
|
|
1475
1317
|
* Leaderboard rank
|
|
@@ -1524,42 +1366,36 @@ type LeaderboardEntry = {
|
|
|
1524
1366
|
*/
|
|
1525
1367
|
top_at?: (string | null);
|
|
1526
1368
|
};
|
|
1527
|
-
/**
|
|
1528
|
-
* Response for leaderboard endpoint.
|
|
1529
|
-
*/
|
|
1530
1369
|
type LeaderboardResponse = {
|
|
1531
1370
|
/**
|
|
1532
|
-
*
|
|
1371
|
+
* Total entries matching filter
|
|
1533
1372
|
*/
|
|
1534
|
-
|
|
1373
|
+
total: number;
|
|
1535
1374
|
/**
|
|
1536
|
-
*
|
|
1375
|
+
* Page size
|
|
1537
1376
|
*/
|
|
1538
|
-
|
|
1377
|
+
limit: number;
|
|
1539
1378
|
/**
|
|
1540
|
-
*
|
|
1379
|
+
* Page offset
|
|
1541
1380
|
*/
|
|
1542
|
-
|
|
1381
|
+
offset: number;
|
|
1543
1382
|
/**
|
|
1544
|
-
*
|
|
1383
|
+
* Suite information
|
|
1545
1384
|
*/
|
|
1546
|
-
|
|
1385
|
+
suite: SuitePublic;
|
|
1547
1386
|
/**
|
|
1548
|
-
*
|
|
1387
|
+
* Leaderboard entries
|
|
1549
1388
|
*/
|
|
1550
|
-
|
|
1389
|
+
entries: Array<LeaderboardEntry>;
|
|
1551
1390
|
/**
|
|
1552
|
-
*
|
|
1391
|
+
* Distinct miner hotkeys on leaderboard
|
|
1553
1392
|
*/
|
|
1554
|
-
|
|
1393
|
+
unique_miners: number;
|
|
1555
1394
|
/**
|
|
1556
1395
|
* Score required to dethrone current top
|
|
1557
1396
|
*/
|
|
1558
1397
|
challenge_threshold?: (number | null);
|
|
1559
1398
|
};
|
|
1560
|
-
/**
|
|
1561
|
-
* 409 - Evaluation run lease has expired.
|
|
1562
|
-
*/
|
|
1563
1399
|
type LeaseExpiredError = {
|
|
1564
1400
|
/**
|
|
1565
1401
|
* Error message describing what went wrong
|
|
@@ -1570,35 +1406,26 @@ type LeaseExpiredError = {
|
|
|
1570
1406
|
*/
|
|
1571
1407
|
error_code?: "LEASE_EXPIRED";
|
|
1572
1408
|
};
|
|
1573
|
-
/**
|
|
1574
|
-
* Response from logout endpoint.
|
|
1575
|
-
*/
|
|
1576
1409
|
type LogoutResponse = {
|
|
1577
1410
|
/**
|
|
1578
1411
|
* Whether logout was successful
|
|
1579
1412
|
*/
|
|
1580
1413
|
success: boolean;
|
|
1581
1414
|
};
|
|
1582
|
-
/**
|
|
1583
|
-
* Envelope response for GET /v1/miner/agents with cooldown status.
|
|
1584
|
-
*/
|
|
1585
1415
|
type MinerAgentsResponse = {
|
|
1586
1416
|
/**
|
|
1587
|
-
*
|
|
1417
|
+
* List of agents owned by the miner
|
|
1588
1418
|
*/
|
|
1589
1419
|
agents: Array<AgentPublic>;
|
|
1590
1420
|
/**
|
|
1591
|
-
* Whether the miner
|
|
1421
|
+
* Whether the miner is currently allowed to submit a new agent
|
|
1592
1422
|
*/
|
|
1593
1423
|
can_submit: boolean;
|
|
1594
1424
|
/**
|
|
1595
|
-
*
|
|
1425
|
+
* Earliest time the miner may submit again, if on cooldown
|
|
1596
1426
|
*/
|
|
1597
1427
|
next_allowed_at?: (string | null);
|
|
1598
1428
|
};
|
|
1599
|
-
/**
|
|
1600
|
-
* 404 - Miner not found.
|
|
1601
|
-
*/
|
|
1602
1429
|
type MinerNotFoundError = {
|
|
1603
1430
|
/**
|
|
1604
1431
|
* Error message describing what went wrong
|
|
@@ -1609,9 +1436,6 @@ type MinerNotFoundError = {
|
|
|
1609
1436
|
*/
|
|
1610
1437
|
error_code?: "MINER_NOT_FOUND";
|
|
1611
1438
|
};
|
|
1612
|
-
/**
|
|
1613
|
-
* 400 - Required parameter is missing.
|
|
1614
|
-
*/
|
|
1615
1439
|
type MissingParameterError = {
|
|
1616
1440
|
/**
|
|
1617
1441
|
* Error message describing what went wrong
|
|
@@ -1622,9 +1446,6 @@ type MissingParameterError = {
|
|
|
1622
1446
|
*/
|
|
1623
1447
|
error_code?: "MISSING_PARAMETER";
|
|
1624
1448
|
};
|
|
1625
|
-
/**
|
|
1626
|
-
* 400 - Score is required for SUCCESS status.
|
|
1627
|
-
*/
|
|
1628
1449
|
type MissingScoreError = {
|
|
1629
1450
|
/**
|
|
1630
1451
|
* Error message describing what went wrong
|
|
@@ -1635,9 +1456,6 @@ type MissingScoreError = {
|
|
|
1635
1456
|
*/
|
|
1636
1457
|
error_code?: "MISSING_SCORE";
|
|
1637
1458
|
};
|
|
1638
|
-
/**
|
|
1639
|
-
* 503 - No active problem suite available.
|
|
1640
|
-
*/
|
|
1641
1459
|
type NoActiveSuiteError = {
|
|
1642
1460
|
/**
|
|
1643
1461
|
* Error message describing what went wrong
|
|
@@ -1648,9 +1466,6 @@ type NoActiveSuiteError = {
|
|
|
1648
1466
|
*/
|
|
1649
1467
|
error_code?: "NO_ACTIVE_SUITE";
|
|
1650
1468
|
};
|
|
1651
|
-
/**
|
|
1652
|
-
* 409 - Caller does not own this evaluation run.
|
|
1653
|
-
*/
|
|
1654
1469
|
type NotRunOwnerError = {
|
|
1655
1470
|
/**
|
|
1656
1471
|
* Error message describing what went wrong
|
|
@@ -1661,9 +1476,6 @@ type NotRunOwnerError = {
|
|
|
1661
1476
|
*/
|
|
1662
1477
|
error_code?: "NOT_RUN_OWNER";
|
|
1663
1478
|
};
|
|
1664
|
-
/**
|
|
1665
|
-
* A work item awaiting validator evaluations.
|
|
1666
|
-
*/
|
|
1667
1479
|
type PendingEvaluation = {
|
|
1668
1480
|
/**
|
|
1669
1481
|
* Unique work item identifier
|
|
@@ -1718,9 +1530,6 @@ type PendingEvaluation = {
|
|
|
1718
1530
|
*/
|
|
1719
1531
|
race_id?: (string | null);
|
|
1720
1532
|
};
|
|
1721
|
-
/**
|
|
1722
|
-
* Response for pending evaluations endpoint.
|
|
1723
|
-
*/
|
|
1724
1533
|
type PendingEvaluationsResponse = {
|
|
1725
1534
|
/**
|
|
1726
1535
|
* Aggregate queue statistics
|
|
@@ -1731,9 +1540,6 @@ type PendingEvaluationsResponse = {
|
|
|
1731
1540
|
*/
|
|
1732
1541
|
items: Array<PendingEvaluation>;
|
|
1733
1542
|
};
|
|
1734
|
-
/**
|
|
1735
|
-
* Aggregate statistics for pending evaluations.
|
|
1736
|
-
*/
|
|
1737
1543
|
type PendingEvaluationSummary = {
|
|
1738
1544
|
/**
|
|
1739
1545
|
* Number of open work items
|
|
@@ -1748,41 +1554,35 @@ type PendingEvaluationSummary = {
|
|
|
1748
1554
|
*/
|
|
1749
1555
|
total_runs_active: number;
|
|
1750
1556
|
};
|
|
1751
|
-
/**
|
|
1752
|
-
* Request for presigned upload URL.
|
|
1753
|
-
*/
|
|
1754
1557
|
type PresignUploadRequest = {
|
|
1755
1558
|
/**
|
|
1756
|
-
*
|
|
1559
|
+
* MIME type of the upload
|
|
1757
1560
|
*/
|
|
1758
1561
|
content_type?: string;
|
|
1759
1562
|
/**
|
|
1760
|
-
* Size of the upload
|
|
1563
|
+
* Size in bytes of the upload payload
|
|
1761
1564
|
*/
|
|
1762
1565
|
content_length: number;
|
|
1763
1566
|
/**
|
|
1764
|
-
* Evaluation run
|
|
1567
|
+
* Evaluation run these results belong to
|
|
1765
1568
|
*/
|
|
1766
1569
|
eval_run_id: string;
|
|
1767
1570
|
/**
|
|
1768
|
-
* Problem
|
|
1571
|
+
* Problem these results belong to
|
|
1769
1572
|
*/
|
|
1770
1573
|
problem_id: string;
|
|
1771
1574
|
};
|
|
1772
|
-
/**
|
|
1773
|
-
* Response with presigned upload URL.
|
|
1774
|
-
*/
|
|
1775
1575
|
type PresignUploadResponse = {
|
|
1776
1576
|
/**
|
|
1777
|
-
* Presigned
|
|
1577
|
+
* Presigned URL to upload to
|
|
1778
1578
|
*/
|
|
1779
1579
|
upload_url: string;
|
|
1780
1580
|
/**
|
|
1781
|
-
* HTTP method to use
|
|
1581
|
+
* HTTP method to use for upload
|
|
1782
1582
|
*/
|
|
1783
1583
|
method?: string;
|
|
1784
1584
|
/**
|
|
1785
|
-
* S3 key where the
|
|
1585
|
+
* S3 key where the results will be stored
|
|
1786
1586
|
*/
|
|
1787
1587
|
results_s3_key: string;
|
|
1788
1588
|
/**
|
|
@@ -1790,9 +1590,6 @@ type PresignUploadResponse = {
|
|
|
1790
1590
|
*/
|
|
1791
1591
|
expires_at: string;
|
|
1792
1592
|
};
|
|
1793
|
-
/**
|
|
1794
|
-
* 404 - Problem not found in suite.
|
|
1795
|
-
*/
|
|
1796
1593
|
type ProblemNotFoundError = {
|
|
1797
1594
|
/**
|
|
1798
1595
|
* Error message describing what went wrong
|
|
@@ -1803,9 +1600,6 @@ type ProblemNotFoundError = {
|
|
|
1803
1600
|
*/
|
|
1804
1601
|
error_code?: "PROBLEM_NOT_FOUND";
|
|
1805
1602
|
};
|
|
1806
|
-
/**
|
|
1807
|
-
* Progress entry for a single problem showing results from all validators.
|
|
1808
|
-
*/
|
|
1809
1603
|
type ProblemProgressEntry = {
|
|
1810
1604
|
/**
|
|
1811
1605
|
* Problem ID
|
|
@@ -1828,12 +1622,9 @@ type ProblemProgressEntry = {
|
|
|
1828
1622
|
*/
|
|
1829
1623
|
validator_results?: Array<ValidatorProblemResult>;
|
|
1830
1624
|
};
|
|
1831
|
-
/**
|
|
1832
|
-
* Progress update for a single problem.
|
|
1833
|
-
*/
|
|
1834
1625
|
type ProblemProgressUpdate = {
|
|
1835
1626
|
/**
|
|
1836
|
-
* Problem
|
|
1627
|
+
* Problem being reported on
|
|
1837
1628
|
*/
|
|
1838
1629
|
problem_id: string;
|
|
1839
1630
|
/**
|
|
@@ -1841,35 +1632,32 @@ type ProblemProgressUpdate = {
|
|
|
1841
1632
|
*/
|
|
1842
1633
|
status: ProblemStatus;
|
|
1843
1634
|
/**
|
|
1844
|
-
*
|
|
1635
|
+
* Normalised score for this problem
|
|
1845
1636
|
*/
|
|
1846
1637
|
score?: (number | null);
|
|
1847
1638
|
/**
|
|
1848
|
-
*
|
|
1639
|
+
* Breakdown of score components
|
|
1849
1640
|
*/
|
|
1850
1641
|
score_components_summary?: ({
|
|
1851
1642
|
[key: string]: unknown;
|
|
1852
1643
|
} | null);
|
|
1853
1644
|
/**
|
|
1854
|
-
* S3 key for
|
|
1645
|
+
* S3 key for problem-level logs
|
|
1855
1646
|
*/
|
|
1856
1647
|
logs_s3_key?: (string | null);
|
|
1857
1648
|
/**
|
|
1858
|
-
* Reasoning quality score
|
|
1649
|
+
* Reasoning quality score
|
|
1859
1650
|
*/
|
|
1860
1651
|
reasoning_score?: (number | null);
|
|
1861
1652
|
/**
|
|
1862
|
-
* Number of failed inference calls
|
|
1653
|
+
* Number of failed inference calls
|
|
1863
1654
|
*/
|
|
1864
1655
|
inference_failure_count?: (number | null);
|
|
1865
1656
|
/**
|
|
1866
|
-
* Total number of inference calls
|
|
1657
|
+
* Total number of inference calls
|
|
1867
1658
|
*/
|
|
1868
1659
|
inference_total?: (number | null);
|
|
1869
1660
|
};
|
|
1870
|
-
/**
|
|
1871
|
-
* Public representation of a problem.
|
|
1872
|
-
*/
|
|
1873
1661
|
type ProblemPublic = {
|
|
1874
1662
|
/**
|
|
1875
1663
|
* Unique identifier for the problem
|
|
@@ -1886,57 +1674,39 @@ type ProblemPublic = {
|
|
|
1886
1674
|
[key: string]: unknown;
|
|
1887
1675
|
};
|
|
1888
1676
|
};
|
|
1889
|
-
/**
|
|
1890
|
-
* Status of problem evaluation.
|
|
1891
|
-
*/
|
|
1892
1677
|
type ProblemStatus = 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'SKIPPED' | 'TIMED_OUT';
|
|
1893
|
-
/**
|
|
1894
|
-
* Request to update per-problem progress.
|
|
1895
|
-
*/
|
|
1896
1678
|
type ProgressUpdateRequest = {
|
|
1897
1679
|
/**
|
|
1898
|
-
*
|
|
1680
|
+
* Per-problem progress updates
|
|
1899
1681
|
*/
|
|
1900
1682
|
problems: Array<ProblemProgressUpdate>;
|
|
1901
1683
|
};
|
|
1902
|
-
/**
|
|
1903
|
-
* Response for progress update.
|
|
1904
|
-
*/
|
|
1905
1684
|
type ProgressUpdateResponse = {
|
|
1906
1685
|
/**
|
|
1907
|
-
* Whether
|
|
1686
|
+
* Whether the update was accepted
|
|
1908
1687
|
*/
|
|
1909
1688
|
accepted?: boolean;
|
|
1910
1689
|
};
|
|
1911
|
-
/**
|
|
1912
|
-
* Response for current race state.
|
|
1913
|
-
*/
|
|
1914
1690
|
type RaceCurrentResponse = {
|
|
1915
1691
|
/**
|
|
1916
|
-
*
|
|
1692
|
+
* Current race, if any
|
|
1917
1693
|
*/
|
|
1918
1694
|
race?: (RacePublic | null);
|
|
1919
1695
|
/**
|
|
1920
|
-
*
|
|
1696
|
+
* Race qualifiers
|
|
1921
1697
|
*/
|
|
1922
1698
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
1923
1699
|
};
|
|
1924
|
-
/**
|
|
1925
|
-
* Detailed view of a single race.
|
|
1926
|
-
*/
|
|
1927
1700
|
type RaceDetailResponse = {
|
|
1928
1701
|
/**
|
|
1929
|
-
* Race
|
|
1702
|
+
* Race details
|
|
1930
1703
|
*/
|
|
1931
1704
|
race: RacePublic;
|
|
1932
1705
|
/**
|
|
1933
|
-
*
|
|
1706
|
+
* Race qualifiers
|
|
1934
1707
|
*/
|
|
1935
1708
|
qualifiers?: Array<RaceQualifierPublic>;
|
|
1936
1709
|
};
|
|
1937
|
-
/**
|
|
1938
|
-
* Detailed diagnostics for a specific race.
|
|
1939
|
-
*/
|
|
1940
1710
|
type RaceDiagnosticsResponse = {
|
|
1941
1711
|
/**
|
|
1942
1712
|
* Race ID
|
|
@@ -1956,26 +1726,34 @@ type RaceDiagnosticsResponse = {
|
|
|
1956
1726
|
race_completed_at?: (string | null);
|
|
1957
1727
|
winner_agent_version_id?: (string | null);
|
|
1958
1728
|
winner_score?: (number | null);
|
|
1729
|
+
/**
|
|
1730
|
+
* Score threshold for qualifying
|
|
1731
|
+
*/
|
|
1959
1732
|
qualifying_threshold?: (number | null);
|
|
1733
|
+
/**
|
|
1734
|
+
* Current incumbent agent version ID
|
|
1735
|
+
*/
|
|
1960
1736
|
incumbent_agent_version_id?: (string | null);
|
|
1737
|
+
/**
|
|
1738
|
+
* Seed used for problem selection
|
|
1739
|
+
*/
|
|
1961
1740
|
problem_seed?: (string | null);
|
|
1962
1741
|
/**
|
|
1963
|
-
* Number of race
|
|
1742
|
+
* Number of problems in the race
|
|
1964
1743
|
*/
|
|
1965
1744
|
problem_count?: number;
|
|
1745
|
+
/**
|
|
1746
|
+
* Qualified agent versions
|
|
1747
|
+
*/
|
|
1966
1748
|
qualifiers?: Array<RaceQualifierEntry>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Race work items
|
|
1751
|
+
*/
|
|
1967
1752
|
work_items?: Array<RaceWorkItemEntry>;
|
|
1968
1753
|
};
|
|
1969
|
-
/**
|
|
1970
|
-
* Paginated list of completed races.
|
|
1971
|
-
*/
|
|
1972
1754
|
type RaceHistoryResponse = {
|
|
1973
1755
|
/**
|
|
1974
|
-
*
|
|
1975
|
-
*/
|
|
1976
|
-
races: Array<RacePublic>;
|
|
1977
|
-
/**
|
|
1978
|
-
* Total count
|
|
1756
|
+
* Total entries matching filter
|
|
1979
1757
|
*/
|
|
1980
1758
|
total: number;
|
|
1981
1759
|
/**
|
|
@@ -1986,10 +1764,11 @@ type RaceHistoryResponse = {
|
|
|
1986
1764
|
* Page offset
|
|
1987
1765
|
*/
|
|
1988
1766
|
offset: number;
|
|
1767
|
+
/**
|
|
1768
|
+
* Historical races
|
|
1769
|
+
*/
|
|
1770
|
+
races: Array<RacePublic>;
|
|
1989
1771
|
};
|
|
1990
|
-
/**
|
|
1991
|
-
* 404 - Race not found.
|
|
1992
|
-
*/
|
|
1993
1772
|
type RaceNotFoundError = {
|
|
1994
1773
|
/**
|
|
1995
1774
|
* Error message describing what went wrong
|
|
@@ -2000,9 +1779,6 @@ type RaceNotFoundError = {
|
|
|
2000
1779
|
*/
|
|
2001
1780
|
error_code?: "RACE_NOT_FOUND";
|
|
2002
1781
|
};
|
|
2003
|
-
/**
|
|
2004
|
-
* Public view of a race — extends RaceBase with public-facing fields.
|
|
2005
|
-
*/
|
|
2006
1782
|
type RacePublic = {
|
|
2007
1783
|
/**
|
|
2008
1784
|
* Race ID
|
|
@@ -2023,25 +1799,22 @@ type RacePublic = {
|
|
|
2023
1799
|
winner_agent_version_id?: (string | null);
|
|
2024
1800
|
winner_score?: (number | null);
|
|
2025
1801
|
/**
|
|
2026
|
-
*
|
|
1802
|
+
* Score threshold for qualifying
|
|
2027
1803
|
*/
|
|
2028
1804
|
qualifying_threshold?: (number | null);
|
|
2029
1805
|
/**
|
|
2030
|
-
*
|
|
1806
|
+
* Name of the winning agent
|
|
2031
1807
|
*/
|
|
2032
1808
|
winner_agent_name?: (string | null);
|
|
2033
1809
|
/**
|
|
2034
|
-
* Number of qualifiers
|
|
1810
|
+
* Number of qualifiers in this race
|
|
2035
1811
|
*/
|
|
2036
1812
|
qualifier_count?: number;
|
|
2037
1813
|
/**
|
|
2038
|
-
* When race was created
|
|
1814
|
+
* When the race was created
|
|
2039
1815
|
*/
|
|
2040
|
-
created_at
|
|
1816
|
+
created_at?: (string | null);
|
|
2041
1817
|
};
|
|
2042
|
-
/**
|
|
2043
|
-
* A qualifier in a race.
|
|
2044
|
-
*/
|
|
2045
1818
|
type RaceQualifierEntry = {
|
|
2046
1819
|
/**
|
|
2047
1820
|
* Agent version ID
|
|
@@ -2072,9 +1845,6 @@ type RaceQualifierEntry = {
|
|
|
2072
1845
|
*/
|
|
2073
1846
|
race_score?: (number | null);
|
|
2074
1847
|
};
|
|
2075
|
-
/**
|
|
2076
|
-
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2077
|
-
*/
|
|
2078
1848
|
type RaceQualifierPublic = {
|
|
2079
1849
|
/**
|
|
2080
1850
|
* Agent version ID
|
|
@@ -2105,13 +1875,10 @@ type RaceQualifierPublic = {
|
|
|
2105
1875
|
*/
|
|
2106
1876
|
race_score?: (number | null);
|
|
2107
1877
|
/**
|
|
2108
|
-
*
|
|
1878
|
+
* Rank within the race
|
|
2109
1879
|
*/
|
|
2110
1880
|
race_rank?: (number | null);
|
|
2111
1881
|
};
|
|
2112
|
-
/**
|
|
2113
|
-
* Summary of a race for the current state view.
|
|
2114
|
-
*/
|
|
2115
1882
|
type RaceSummary = {
|
|
2116
1883
|
/**
|
|
2117
1884
|
* Race ID
|
|
@@ -2132,17 +1899,14 @@ type RaceSummary = {
|
|
|
2132
1899
|
winner_agent_version_id?: (string | null);
|
|
2133
1900
|
winner_score?: (number | null);
|
|
2134
1901
|
/**
|
|
2135
|
-
* Number of qualifiers
|
|
1902
|
+
* Number of qualifiers in this race
|
|
2136
1903
|
*/
|
|
2137
1904
|
qualifier_count?: number;
|
|
2138
1905
|
/**
|
|
2139
|
-
* Number of work items
|
|
1906
|
+
* Number of work items in this race
|
|
2140
1907
|
*/
|
|
2141
1908
|
work_item_count?: number;
|
|
2142
1909
|
};
|
|
2143
|
-
/**
|
|
2144
|
-
* A work item in a race.
|
|
2145
|
-
*/
|
|
2146
1910
|
type RaceWorkItemEntry = {
|
|
2147
1911
|
/**
|
|
2148
1912
|
* Agent version ID
|
|
@@ -2153,33 +1917,30 @@ type RaceWorkItemEntry = {
|
|
|
2153
1917
|
*/
|
|
2154
1918
|
agent_name?: (string | null);
|
|
2155
1919
|
/**
|
|
2156
|
-
*
|
|
1920
|
+
* Race phase (qualifying or race)
|
|
2157
1921
|
*/
|
|
2158
1922
|
phase: string;
|
|
2159
1923
|
/**
|
|
2160
|
-
* Whether work is
|
|
1924
|
+
* Whether the work item is closed
|
|
2161
1925
|
*/
|
|
2162
1926
|
is_closed: boolean;
|
|
2163
1927
|
/**
|
|
2164
|
-
* Whether work
|
|
1928
|
+
* Whether the work item is cancelled
|
|
2165
1929
|
*/
|
|
2166
1930
|
is_cancelled: boolean;
|
|
2167
1931
|
/**
|
|
2168
|
-
*
|
|
1932
|
+
* Number of included successful runs
|
|
2169
1933
|
*/
|
|
2170
1934
|
included_success_count: number;
|
|
2171
1935
|
/**
|
|
2172
|
-
*
|
|
1936
|
+
* Number of active runs
|
|
2173
1937
|
*/
|
|
2174
1938
|
active_count: number;
|
|
2175
1939
|
/**
|
|
2176
|
-
* Required successful
|
|
1940
|
+
* Required number of successful runs
|
|
2177
1941
|
*/
|
|
2178
1942
|
required_successes: number;
|
|
2179
1943
|
};
|
|
2180
|
-
/**
|
|
2181
|
-
* 429 - Rate limit exceeded.
|
|
2182
|
-
*/
|
|
2183
1944
|
type RateLimitExceededError = {
|
|
2184
1945
|
/**
|
|
2185
1946
|
* Error message describing what went wrong
|
|
@@ -2190,85 +1951,70 @@ type RateLimitExceededError = {
|
|
|
2190
1951
|
*/
|
|
2191
1952
|
error_code?: "RATE_LIMIT_EXCEEDED";
|
|
2192
1953
|
};
|
|
2193
|
-
/**
|
|
2194
|
-
* Response for reaper service statistics.
|
|
2195
|
-
*/
|
|
2196
1954
|
type ReaperStatsResponse = {
|
|
2197
1955
|
/**
|
|
2198
|
-
* Whether the reaper
|
|
1956
|
+
* Whether the reaper is enabled
|
|
2199
1957
|
*/
|
|
2200
1958
|
enabled: boolean;
|
|
2201
1959
|
/**
|
|
2202
|
-
* Whether the reaper
|
|
1960
|
+
* Whether the reaper is currently running
|
|
2203
1961
|
*/
|
|
2204
1962
|
is_running: boolean;
|
|
2205
1963
|
/**
|
|
2206
|
-
*
|
|
1964
|
+
* When the reaper last ran
|
|
2207
1965
|
*/
|
|
2208
1966
|
last_run_at?: (string | null);
|
|
2209
1967
|
/**
|
|
2210
|
-
* Total runs reaped since
|
|
1968
|
+
* Total number of runs reaped since startup
|
|
2211
1969
|
*/
|
|
2212
1970
|
runs_reaped_total: number;
|
|
2213
1971
|
/**
|
|
2214
|
-
*
|
|
1972
|
+
* Number of runs reaped in the last cycle
|
|
2215
1973
|
*/
|
|
2216
1974
|
runs_reaped_last_cycle: number;
|
|
2217
1975
|
/**
|
|
2218
|
-
* Duration of the last reaper cycle in
|
|
1976
|
+
* Duration of the last reaper cycle in milliseconds
|
|
2219
1977
|
*/
|
|
2220
1978
|
last_cycle_duration_ms: number;
|
|
2221
1979
|
/**
|
|
2222
|
-
*
|
|
1980
|
+
* Total number of reaper errors
|
|
2223
1981
|
*/
|
|
2224
1982
|
error_count: number;
|
|
2225
1983
|
/**
|
|
2226
|
-
*
|
|
1984
|
+
* Total number of Redis-related reaper errors
|
|
2227
1985
|
*/
|
|
2228
1986
|
redis_error_count: number;
|
|
2229
1987
|
/**
|
|
2230
|
-
*
|
|
1988
|
+
* Reaper cycle interval in seconds
|
|
2231
1989
|
*/
|
|
2232
1990
|
interval_seconds: number;
|
|
2233
1991
|
};
|
|
2234
|
-
/**
|
|
2235
|
-
* Request to re-evaluate an agent version.
|
|
2236
|
-
*/
|
|
2237
1992
|
type ReevaluateRequest = {
|
|
2238
1993
|
/**
|
|
2239
1994
|
* Reason for re-evaluation
|
|
2240
1995
|
*/
|
|
2241
1996
|
reason: string;
|
|
2242
1997
|
/**
|
|
2243
|
-
*
|
|
1998
|
+
* Specific suite to re-evaluate against
|
|
2244
1999
|
*/
|
|
2245
2000
|
suite_id?: (number | null);
|
|
2246
2001
|
/**
|
|
2247
|
-
* Override required
|
|
2002
|
+
* Override for number of required successful evaluations
|
|
2248
2003
|
*/
|
|
2249
2004
|
required_successes?: (number | null);
|
|
2250
2005
|
};
|
|
2251
|
-
/**
|
|
2252
|
-
* Response for re-evaluation request.
|
|
2253
|
-
*/
|
|
2254
2006
|
type ReevaluateResponse = {
|
|
2255
2007
|
/**
|
|
2256
|
-
* Agent version
|
|
2008
|
+
* Agent version queued for re-evaluation
|
|
2257
2009
|
*/
|
|
2258
2010
|
agent_version_id: string;
|
|
2259
2011
|
};
|
|
2260
|
-
/**
|
|
2261
|
-
* Request to reinstate an agent version.
|
|
2262
|
-
*/
|
|
2263
2012
|
type ReinstateRequest = {
|
|
2264
2013
|
/**
|
|
2265
|
-
*
|
|
2014
|
+
* Specific suite to reinstate for
|
|
2266
2015
|
*/
|
|
2267
2016
|
suite_id?: (number | null);
|
|
2268
2017
|
};
|
|
2269
|
-
/**
|
|
2270
|
-
* 409 - Evaluation run is already complete.
|
|
2271
|
-
*/
|
|
2272
2018
|
type RunAlreadyCompleteError = {
|
|
2273
2019
|
/**
|
|
2274
2020
|
* Error message describing what went wrong
|
|
@@ -2279,9 +2025,6 @@ type RunAlreadyCompleteError = {
|
|
|
2279
2025
|
*/
|
|
2280
2026
|
error_code?: "RUN_ALREADY_COMPLETE";
|
|
2281
2027
|
};
|
|
2282
|
-
/**
|
|
2283
|
-
* Representation of a currently running evaluation.
|
|
2284
|
-
*/
|
|
2285
2028
|
type RunningEvaluation = {
|
|
2286
2029
|
/**
|
|
2287
2030
|
* Unique identifier for this run
|
|
@@ -2328,12 +2071,9 @@ type RunningEvaluation = {
|
|
|
2328
2071
|
*/
|
|
2329
2072
|
race_id?: (string | null);
|
|
2330
2073
|
};
|
|
2331
|
-
/**
|
|
2332
|
-
* Problems for an evaluation run.
|
|
2333
|
-
*/
|
|
2334
2074
|
type RunProblemsResponse = {
|
|
2335
2075
|
/**
|
|
2336
|
-
* Problems to evaluate
|
|
2076
|
+
* Problems to evaluate
|
|
2337
2077
|
*/
|
|
2338
2078
|
problems: Array<ProblemPublic>;
|
|
2339
2079
|
};
|
|
@@ -2366,9 +2106,6 @@ type ScoreBelowThresholdError = {
|
|
|
2366
2106
|
*/
|
|
2367
2107
|
margin: number;
|
|
2368
2108
|
};
|
|
2369
|
-
/**
|
|
2370
|
-
* Request body for session creation endpoint.
|
|
2371
|
-
*/
|
|
2372
2109
|
type SessionRequest = {
|
|
2373
2110
|
/**
|
|
2374
2111
|
* SS58 hotkey address
|
|
@@ -2383,9 +2120,6 @@ type SessionRequest = {
|
|
|
2383
2120
|
*/
|
|
2384
2121
|
signature: string;
|
|
2385
2122
|
};
|
|
2386
|
-
/**
|
|
2387
|
-
* Response from session creation endpoint.
|
|
2388
|
-
*/
|
|
2389
2123
|
type SessionResponse = {
|
|
2390
2124
|
/**
|
|
2391
2125
|
* Session token for authenticated requests
|
|
@@ -2400,85 +2134,70 @@ type SessionResponse = {
|
|
|
2400
2134
|
*/
|
|
2401
2135
|
role: string;
|
|
2402
2136
|
};
|
|
2403
|
-
/**
|
|
2404
|
-
* Request to set an agent version as the top agent for emissions.
|
|
2405
|
-
*/
|
|
2406
2137
|
type SetTopRequest = {
|
|
2407
2138
|
/**
|
|
2408
|
-
*
|
|
2139
|
+
* Specific suite to set top agent for
|
|
2409
2140
|
*/
|
|
2410
2141
|
suite_id?: (number | null);
|
|
2411
2142
|
/**
|
|
2412
|
-
*
|
|
2143
|
+
* Force set even if version has lower score
|
|
2413
2144
|
*/
|
|
2414
2145
|
force?: boolean;
|
|
2415
2146
|
};
|
|
2416
|
-
/**
|
|
2417
|
-
* Response for set-top operation.
|
|
2418
|
-
*/
|
|
2419
2147
|
type SetTopResponse = {
|
|
2420
2148
|
/**
|
|
2421
|
-
*
|
|
2149
|
+
* Agent version set as top
|
|
2422
2150
|
*/
|
|
2423
2151
|
agent_version_id: string;
|
|
2424
2152
|
/**
|
|
2425
|
-
* Suite
|
|
2153
|
+
* Suite the top agent was set for
|
|
2426
2154
|
*/
|
|
2427
2155
|
suite_id: number;
|
|
2428
2156
|
/**
|
|
2429
|
-
* Previous top agent version
|
|
2157
|
+
* Previous top agent version ID, if any
|
|
2430
2158
|
*/
|
|
2431
2159
|
previous_top_agent_version_id?: (string | null);
|
|
2432
2160
|
/**
|
|
2433
|
-
*
|
|
2161
|
+
* Timestamp when the top agent was set
|
|
2434
2162
|
*/
|
|
2435
2163
|
top_at: string;
|
|
2436
2164
|
};
|
|
2437
|
-
/**
|
|
2438
|
-
* Request body for storing a Chutes refresh token.
|
|
2439
|
-
*/
|
|
2440
2165
|
type StoreChutesTokenRequest = {
|
|
2441
2166
|
/**
|
|
2442
|
-
* Chutes OAuth refresh token
|
|
2167
|
+
* Chutes OAuth refresh token to store
|
|
2443
2168
|
*/
|
|
2444
2169
|
refresh_token: string;
|
|
2445
2170
|
};
|
|
2446
|
-
/**
|
|
2447
|
-
* Response model for agent submission.
|
|
2448
|
-
*/
|
|
2449
2171
|
type SubmitAgentResponse = {
|
|
2450
2172
|
/**
|
|
2451
|
-
*
|
|
2173
|
+
* Unique identifier for the created agent
|
|
2452
2174
|
*/
|
|
2453
2175
|
agent_id?: (string | null);
|
|
2454
2176
|
/**
|
|
2455
|
-
*
|
|
2177
|
+
* Unique identifier for the created agent version
|
|
2456
2178
|
*/
|
|
2457
2179
|
agent_version_id?: (string | null);
|
|
2458
2180
|
/**
|
|
2459
|
-
* Whether submission was accepted
|
|
2181
|
+
* Whether the submission was accepted or rejected
|
|
2460
2182
|
*/
|
|
2461
2183
|
admission_status: AdmissionStatus;
|
|
2462
2184
|
/**
|
|
2463
|
-
* Reason for rejection if rejected
|
|
2185
|
+
* Reason for rejection, if the submission was rejected
|
|
2464
2186
|
*/
|
|
2465
2187
|
admission_reason?: (AdmissionReason | null);
|
|
2466
2188
|
/**
|
|
2467
|
-
*
|
|
2189
|
+
* Earliest time the miner may submit again after cooldown
|
|
2468
2190
|
*/
|
|
2469
2191
|
next_allowed_at?: (string | null);
|
|
2470
2192
|
/**
|
|
2471
|
-
*
|
|
2193
|
+
* Hotkey of the miner who submitted the agent
|
|
2472
2194
|
*/
|
|
2473
2195
|
hotkey: string;
|
|
2474
2196
|
/**
|
|
2475
|
-
*
|
|
2197
|
+
* Human-readable status message
|
|
2476
2198
|
*/
|
|
2477
2199
|
message?: string;
|
|
2478
2200
|
};
|
|
2479
|
-
/**
|
|
2480
|
-
* 404 - Problem suite not found.
|
|
2481
|
-
*/
|
|
2482
2201
|
type SuiteNotFoundError = {
|
|
2483
2202
|
/**
|
|
2484
2203
|
* Error message describing what went wrong
|
|
@@ -2489,9 +2208,6 @@ type SuiteNotFoundError = {
|
|
|
2489
2208
|
*/
|
|
2490
2209
|
error_code?: "SUITE_NOT_FOUND";
|
|
2491
2210
|
};
|
|
2492
|
-
/**
|
|
2493
|
-
* Public representation of a problem suite.
|
|
2494
|
-
*/
|
|
2495
2211
|
type SuitePublic = {
|
|
2496
2212
|
/**
|
|
2497
2213
|
* Problem suite version/ID
|
|
@@ -2506,9 +2222,6 @@ type SuitePublic = {
|
|
|
2506
2222
|
*/
|
|
2507
2223
|
is_active: boolean;
|
|
2508
2224
|
};
|
|
2509
|
-
/**
|
|
2510
|
-
* Response for suite with its problems.
|
|
2511
|
-
*/
|
|
2512
2225
|
type SuiteWithProblemsResponse = {
|
|
2513
2226
|
/**
|
|
2514
2227
|
* Suite information
|
|
@@ -2519,13 +2232,7 @@ type SuiteWithProblemsResponse = {
|
|
|
2519
2232
|
*/
|
|
2520
2233
|
problems: Array<ProblemPublic>;
|
|
2521
2234
|
};
|
|
2522
|
-
/**
|
|
2523
|
-
* Terminal statuses for evaluation runs.
|
|
2524
|
-
*/
|
|
2525
2235
|
type TerminalStatus = 'SUCCESS' | 'FAILED' | 'TIMED_OUT';
|
|
2526
|
-
/**
|
|
2527
|
-
* Response for top agent endpoint.
|
|
2528
|
-
*/
|
|
2529
2236
|
type TopAgentResponse = {
|
|
2530
2237
|
/**
|
|
2531
2238
|
* Active suite ID
|
|
@@ -2566,9 +2273,6 @@ type TopAgentResponse = {
|
|
|
2566
2273
|
*/
|
|
2567
2274
|
margin?: (number | null);
|
|
2568
2275
|
};
|
|
2569
|
-
/**
|
|
2570
|
-
* A single entry in the top agent history.
|
|
2571
|
-
*/
|
|
2572
2276
|
type TopHistoryEntry = {
|
|
2573
2277
|
/**
|
|
2574
2278
|
* Agent version ID
|
|
@@ -2607,9 +2311,6 @@ type TopHistoryEntry = {
|
|
|
2607
2311
|
*/
|
|
2608
2312
|
suite_id: number;
|
|
2609
2313
|
};
|
|
2610
|
-
/**
|
|
2611
|
-
* Response for top agent history endpoint.
|
|
2612
|
-
*/
|
|
2613
2314
|
type TopHistoryResponse = {
|
|
2614
2315
|
/**
|
|
2615
2316
|
* Suite ID
|
|
@@ -2629,9 +2330,16 @@ type ValidationError = {
|
|
|
2629
2330
|
[key: string]: unknown;
|
|
2630
2331
|
};
|
|
2631
2332
|
};
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
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
|
+
};
|
|
2635
2343
|
type ValidatorCurrentAgent = {
|
|
2636
2344
|
/**
|
|
2637
2345
|
* Name of the agent being evaluated
|
|
@@ -2650,9 +2358,6 @@ type ValidatorCurrentAgent = {
|
|
|
2650
2358
|
*/
|
|
2651
2359
|
started_at: string;
|
|
2652
2360
|
};
|
|
2653
|
-
/**
|
|
2654
|
-
* 404 - Validator not found.
|
|
2655
|
-
*/
|
|
2656
2361
|
type ValidatorNotFoundError = {
|
|
2657
2362
|
/**
|
|
2658
2363
|
* Error message describing what went wrong
|
|
@@ -2663,9 +2368,6 @@ type ValidatorNotFoundError = {
|
|
|
2663
2368
|
*/
|
|
2664
2369
|
error_code?: "VALIDATOR_NOT_FOUND";
|
|
2665
2370
|
};
|
|
2666
|
-
/**
|
|
2667
|
-
* Result from a single validator for a specific problem.
|
|
2668
|
-
*/
|
|
2669
2371
|
type ValidatorProblemResult = {
|
|
2670
2372
|
/**
|
|
2671
2373
|
* Evaluation run ID this result belongs to
|
|
@@ -2706,9 +2408,6 @@ type ValidatorProblemResult = {
|
|
|
2706
2408
|
*/
|
|
2707
2409
|
inference_total?: (number | null);
|
|
2708
2410
|
};
|
|
2709
|
-
/**
|
|
2710
|
-
* Public representation of a validator.
|
|
2711
|
-
*/
|
|
2712
2411
|
type ValidatorPublic = {
|
|
2713
2412
|
/**
|
|
2714
2413
|
* Validator's SS58 address
|
|
@@ -2758,11 +2457,11 @@ type ValidatorPublic = {
|
|
|
2758
2457
|
identity_description?: (string | null);
|
|
2759
2458
|
};
|
|
2760
2459
|
/**
|
|
2761
|
-
*
|
|
2460
|
+
* Aggregated validator scoring analysis.
|
|
2762
2461
|
*/
|
|
2763
2462
|
type ValidatorScoresResponse = {
|
|
2764
2463
|
/**
|
|
2765
|
-
* Per-validator summaries
|
|
2464
|
+
* Per-validator score summaries
|
|
2766
2465
|
*/
|
|
2767
2466
|
validators: Array<ValidatorScoreSummary>;
|
|
2768
2467
|
/**
|
|
@@ -2770,32 +2469,29 @@ type ValidatorScoresResponse = {
|
|
|
2770
2469
|
*/
|
|
2771
2470
|
global_avg_score: number;
|
|
2772
2471
|
/**
|
|
2773
|
-
* Global standard deviation
|
|
2472
|
+
* Global standard deviation of scores
|
|
2774
2473
|
*/
|
|
2775
2474
|
global_stddev: number;
|
|
2776
2475
|
/**
|
|
2777
|
-
* Global average execution time
|
|
2476
|
+
* Global average execution time in seconds
|
|
2778
2477
|
*/
|
|
2779
2478
|
global_avg_execution_seconds?: number;
|
|
2780
2479
|
};
|
|
2781
|
-
/**
|
|
2782
|
-
* Aggregated scoring and performance stats for a single validator.
|
|
2783
|
-
*/
|
|
2784
2480
|
type ValidatorScoreSummary = {
|
|
2785
2481
|
/**
|
|
2786
|
-
* Validator hotkey
|
|
2482
|
+
* Validator's SS58 hotkey
|
|
2787
2483
|
*/
|
|
2788
2484
|
validator_hotkey: string;
|
|
2789
2485
|
/**
|
|
2790
|
-
* Total completed runs
|
|
2486
|
+
* Total number of completed runs
|
|
2791
2487
|
*/
|
|
2792
2488
|
total_runs: number;
|
|
2793
2489
|
/**
|
|
2794
|
-
*
|
|
2490
|
+
* Average score across runs
|
|
2795
2491
|
*/
|
|
2796
2492
|
avg_score: number;
|
|
2797
2493
|
/**
|
|
2798
|
-
* Median score
|
|
2494
|
+
* Median score across runs
|
|
2799
2495
|
*/
|
|
2800
2496
|
median_score: number;
|
|
2801
2497
|
/**
|
|
@@ -2811,15 +2507,15 @@ type ValidatorScoreSummary = {
|
|
|
2811
2507
|
*/
|
|
2812
2508
|
max_score: number;
|
|
2813
2509
|
/**
|
|
2814
|
-
*
|
|
2510
|
+
* Deviation of this validator's average from the global average
|
|
2815
2511
|
*/
|
|
2816
2512
|
deviation_from_global: number;
|
|
2817
2513
|
/**
|
|
2818
|
-
*
|
|
2514
|
+
* Whether this validator is a scoring outlier
|
|
2819
2515
|
*/
|
|
2820
2516
|
is_outlier: boolean;
|
|
2821
2517
|
/**
|
|
2822
|
-
*
|
|
2518
|
+
* Average execution time in seconds
|
|
2823
2519
|
*/
|
|
2824
2520
|
avg_execution_seconds?: number;
|
|
2825
2521
|
/**
|
|
@@ -2827,53 +2523,47 @@ type ValidatorScoreSummary = {
|
|
|
2827
2523
|
*/
|
|
2828
2524
|
median_execution_seconds?: number;
|
|
2829
2525
|
/**
|
|
2830
|
-
*
|
|
2526
|
+
* Minimum execution time in seconds
|
|
2831
2527
|
*/
|
|
2832
2528
|
min_execution_seconds?: number;
|
|
2833
2529
|
/**
|
|
2834
|
-
*
|
|
2530
|
+
* Maximum execution time in seconds
|
|
2835
2531
|
*/
|
|
2836
2532
|
max_execution_seconds?: number;
|
|
2837
2533
|
/**
|
|
2838
|
-
*
|
|
2534
|
+
* Percentage deviation of execution time from global average
|
|
2839
2535
|
*/
|
|
2840
2536
|
execution_deviation_pct?: number;
|
|
2841
2537
|
/**
|
|
2842
|
-
*
|
|
2538
|
+
* Whether this validator is a slow execution outlier
|
|
2843
2539
|
*/
|
|
2844
2540
|
is_slow_outlier?: boolean;
|
|
2845
2541
|
/**
|
|
2846
|
-
*
|
|
2542
|
+
* Number of successful runs
|
|
2847
2543
|
*/
|
|
2848
2544
|
success_count?: number;
|
|
2849
2545
|
/**
|
|
2850
|
-
*
|
|
2546
|
+
* Number of failed runs
|
|
2851
2547
|
*/
|
|
2852
2548
|
failed_count?: number;
|
|
2853
2549
|
/**
|
|
2854
|
-
*
|
|
2550
|
+
* Number of timed-out runs
|
|
2855
2551
|
*/
|
|
2856
2552
|
timed_out_count?: number;
|
|
2857
2553
|
/**
|
|
2858
|
-
*
|
|
2554
|
+
* Success rate as a fraction
|
|
2859
2555
|
*/
|
|
2860
2556
|
success_rate?: number;
|
|
2861
2557
|
/**
|
|
2862
|
-
*
|
|
2558
|
+
* Reason for the most recent failure
|
|
2863
2559
|
*/
|
|
2864
2560
|
last_failure_reason?: (string | null);
|
|
2865
2561
|
/**
|
|
2866
|
-
* When
|
|
2562
|
+
* When the most recent failure occurred
|
|
2867
2563
|
*/
|
|
2868
2564
|
last_failure_at?: (string | null);
|
|
2869
2565
|
};
|
|
2870
|
-
/**
|
|
2871
|
-
* Status of a validator.
|
|
2872
|
-
*/
|
|
2873
2566
|
type ValidatorStatus = 'evaluating' | 'available';
|
|
2874
|
-
/**
|
|
2875
|
-
* Request body for waitlist signup.
|
|
2876
|
-
*/
|
|
2877
2567
|
type WaitlistSignupRequest = {
|
|
2878
2568
|
/**
|
|
2879
2569
|
* Email address to add to the waitlist
|
|
@@ -2884,29 +2574,23 @@ type WaitlistSignupRequest = {
|
|
|
2884
2574
|
*/
|
|
2885
2575
|
source?: string;
|
|
2886
2576
|
};
|
|
2887
|
-
/**
|
|
2888
|
-
* Response from waitlist signup.
|
|
2889
|
-
*/
|
|
2890
2577
|
type WaitlistSignupResponse = {
|
|
2891
2578
|
/**
|
|
2892
2579
|
* Whether signup was recorded
|
|
2893
2580
|
*/
|
|
2894
2581
|
success: boolean;
|
|
2895
2582
|
};
|
|
2896
|
-
/**
|
|
2897
|
-
* Status of the work item after completion.
|
|
2898
|
-
*/
|
|
2899
2583
|
type WorkItemStatus = {
|
|
2900
2584
|
/**
|
|
2901
|
-
* Number of successful runs
|
|
2585
|
+
* Number of successful runs included so far
|
|
2902
2586
|
*/
|
|
2903
2587
|
included_success_count: number;
|
|
2904
2588
|
/**
|
|
2905
|
-
*
|
|
2589
|
+
* Number of successful runs required to close the work item
|
|
2906
2590
|
*/
|
|
2907
2591
|
required_successes: number;
|
|
2908
2592
|
/**
|
|
2909
|
-
* Whether work item is closed
|
|
2593
|
+
* Whether the work item is closed
|
|
2910
2594
|
*/
|
|
2911
2595
|
is_closed: boolean;
|
|
2912
2596
|
};
|
|
@@ -3174,7 +2858,7 @@ type PresignUploadData = {
|
|
|
3174
2858
|
body: PresignUploadRequest;
|
|
3175
2859
|
};
|
|
3176
2860
|
type PresignUploadResponse2 = (PresignUploadResponse);
|
|
3177
|
-
type PresignUploadError = ((FileTooLargeError |
|
|
2861
|
+
type PresignUploadError = ((FileTooLargeError | ValidationErrorError) | (EvalRunNotFoundError | ProblemNotFoundError) | NotRunOwnerError | HTTPValidationError);
|
|
3178
2862
|
type CompleteRunData = {
|
|
3179
2863
|
body: CompleteRunRequest;
|
|
3180
2864
|
path: {
|
|
@@ -3185,7 +2869,7 @@ type CompleteRunData = {
|
|
|
3185
2869
|
};
|
|
3186
2870
|
};
|
|
3187
2871
|
type CompleteRunResponse2 = (CompleteRunResponse);
|
|
3188
|
-
type CompleteRunError = ((MissingScoreError |
|
|
2872
|
+
type CompleteRunError = ((MissingScoreError | ValidationErrorError) | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
3189
2873
|
type GetRunProblemsData = {
|
|
3190
2874
|
path: {
|
|
3191
2875
|
/**
|
|
@@ -3373,9 +3057,7 @@ type ClearMinerCooldownData = {
|
|
|
3373
3057
|
hotkey: string;
|
|
3374
3058
|
};
|
|
3375
3059
|
};
|
|
3376
|
-
type ClearMinerCooldownResponse = (
|
|
3377
|
-
[key: string]: unknown;
|
|
3378
|
-
});
|
|
3060
|
+
type ClearMinerCooldownResponse = (ClearCooldownResponse);
|
|
3379
3061
|
type ClearMinerCooldownError = (HTTPValidationError);
|
|
3380
3062
|
type ListMinersData = {
|
|
3381
3063
|
query?: {
|
|
@@ -3853,7 +3535,7 @@ declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: O
|
|
|
3853
3535
|
* Clear miner cooldown
|
|
3854
3536
|
* Clear the submission cooldown for a miner.
|
|
3855
3537
|
*/
|
|
3856
|
-
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>;
|
|
3857
3539
|
/**
|
|
3858
3540
|
* List miners with ban status and agent count
|
|
3859
3541
|
* List all miners with their ban status, agent count, and last submission time.
|
|
@@ -3914,7 +3596,7 @@ declare const closeQualifying: <ThrowOnError extends boolean = false>(options?:
|
|
|
3914
3596
|
*
|
|
3915
3597
|
* DO NOT EDIT — regenerate with: python3 scripts/extract-errors.py
|
|
3916
3598
|
*/
|
|
3917
|
-
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';
|
|
3918
3600
|
|
|
3919
3601
|
/**
|
|
3920
3602
|
* Error classification utilities for the ORO SDK.
|
|
@@ -4260,4 +3942,4 @@ declare class SessionAuthManager {
|
|
|
4260
3942
|
*/
|
|
4261
3943
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4262
3944
|
|
|
4263
|
-
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 };
|