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