@oro-ai/sdk 1.0.85 → 1.0.87
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 +150 -1
- package/dist/index.d.ts +150 -1
- package/dist/index.js +16 -0
- package/dist/index.mjs +14 -0
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +35 -1
- package/src/generated/types.gen.ts +136 -0
package/dist/index.d.mts
CHANGED
|
@@ -2291,6 +2291,34 @@ type RaceSummary = {
|
|
|
2291
2291
|
*/
|
|
2292
2292
|
work_item_count?: number;
|
|
2293
2293
|
};
|
|
2294
|
+
/**
|
|
2295
|
+
* Per-validator variance stats for a race.
|
|
2296
|
+
*
|
|
2297
|
+
* See ``GET /v1/public/races/{race_id}/validator-variance`` description
|
|
2298
|
+
* for the input filter (included SUCCESS runs, RACE-phase, ≥2 validators).
|
|
2299
|
+
*/
|
|
2300
|
+
type RaceValidatorVarianceResponse = {
|
|
2301
|
+
race_id: string;
|
|
2302
|
+
race_number?: (number | null);
|
|
2303
|
+
/**
|
|
2304
|
+
* Agent-race pairs where ≥2 validators produced included SUCCESS runs
|
|
2305
|
+
*/
|
|
2306
|
+
n_pairs: number;
|
|
2307
|
+
/**
|
|
2308
|
+
* Mean (top validator score − bottom validator score) across pairs. Null when n_pairs == 0.
|
|
2309
|
+
*/
|
|
2310
|
+
mean_spread?: (number | null);
|
|
2311
|
+
median_spread?: (number | null);
|
|
2312
|
+
max_spread?: (number | null);
|
|
2313
|
+
/**
|
|
2314
|
+
* Fraction of pairs at or above given spread thresholds
|
|
2315
|
+
*/
|
|
2316
|
+
spread_buckets?: Array<SpreadBucket>;
|
|
2317
|
+
/**
|
|
2318
|
+
* Per-validator bias statistics (sorted by validator_name)
|
|
2319
|
+
*/
|
|
2320
|
+
validators?: Array<ValidatorVarianceEntry>;
|
|
2321
|
+
};
|
|
2294
2322
|
type RaceWorkItemEntry = {
|
|
2295
2323
|
/**
|
|
2296
2324
|
* Agent version ID
|
|
@@ -2611,6 +2639,20 @@ type SimilarityCheckUnavailableError = {
|
|
|
2611
2639
|
*/
|
|
2612
2640
|
error_code?: "SIMILARITY_CHECK_UNAVAILABLE";
|
|
2613
2641
|
};
|
|
2642
|
+
type SpreadBucket = {
|
|
2643
|
+
/**
|
|
2644
|
+
* Spread threshold in percentage points
|
|
2645
|
+
*/
|
|
2646
|
+
threshold_pp: number;
|
|
2647
|
+
/**
|
|
2648
|
+
* Pairs at or above the threshold
|
|
2649
|
+
*/
|
|
2650
|
+
count: number;
|
|
2651
|
+
/**
|
|
2652
|
+
* Share of pairs at or above the threshold
|
|
2653
|
+
*/
|
|
2654
|
+
pct: number;
|
|
2655
|
+
};
|
|
2614
2656
|
type StoreChutesTokenRequest = {
|
|
2615
2657
|
/**
|
|
2616
2658
|
* Chutes OAuth refresh token to store
|
|
@@ -3170,6 +3212,42 @@ type ValidatorScoreSummary = {
|
|
|
3170
3212
|
last_failure_at?: (string | null);
|
|
3171
3213
|
};
|
|
3172
3214
|
type ValidatorStatus = 'evaluating' | 'available';
|
|
3215
|
+
/**
|
|
3216
|
+
* Per-validator variance statistics for a single race.
|
|
3217
|
+
*
|
|
3218
|
+
* Computed over agent-race pairs where at least two validators produced
|
|
3219
|
+
* included SUCCESS runs. `mean_delta_vs_peers` is the mean of
|
|
3220
|
+
* (this validator's score on an agent − mean score across the other
|
|
3221
|
+
* validators on that same agent) across all such pairs the validator
|
|
3222
|
+
* participated in. A systematically hot or cold validator would show a
|
|
3223
|
+
* persistently non-zero delta; noise sits within ±0.003.
|
|
3224
|
+
*/
|
|
3225
|
+
type ValidatorVarianceEntry = {
|
|
3226
|
+
/**
|
|
3227
|
+
* Validator hotkey (ss58)
|
|
3228
|
+
*/
|
|
3229
|
+
validator_hotkey: string;
|
|
3230
|
+
/**
|
|
3231
|
+
* On-chain identity name, if available
|
|
3232
|
+
*/
|
|
3233
|
+
validator_name?: (string | null);
|
|
3234
|
+
/**
|
|
3235
|
+
* Number of agent-race pairs this validator participated in
|
|
3236
|
+
*/
|
|
3237
|
+
pairs_evaluated: number;
|
|
3238
|
+
/**
|
|
3239
|
+
* Mean of (this validator score − peers mean) across pairs
|
|
3240
|
+
*/
|
|
3241
|
+
mean_delta_vs_peers: number;
|
|
3242
|
+
/**
|
|
3243
|
+
* Standard deviation of the per-pair delta
|
|
3244
|
+
*/
|
|
3245
|
+
std_dev: number;
|
|
3246
|
+
/**
|
|
3247
|
+
* Mean score this validator produced across the pairs
|
|
3248
|
+
*/
|
|
3249
|
+
mean_score: number;
|
|
3250
|
+
};
|
|
3173
3251
|
type WaitlistSignupRequest = {
|
|
3174
3252
|
/**
|
|
3175
3253
|
* Email address to add to the waitlist
|
|
@@ -3186,6 +3264,43 @@ type WaitlistSignupResponse = {
|
|
|
3186
3264
|
*/
|
|
3187
3265
|
success: boolean;
|
|
3188
3266
|
};
|
|
3267
|
+
/**
|
|
3268
|
+
* Per-epoch watermark instruction for the weight setter (ORO-1649).
|
|
3269
|
+
*
|
|
3270
|
+
* ``chosen_decoy_uid is None`` with ``x_share == 0`` is the watermark-free
|
|
3271
|
+
* public default — the validator sets its normal vector. Returned whenever the
|
|
3272
|
+
* mechanism is inactive or this validator has not met the participation gate.
|
|
3273
|
+
*/
|
|
3274
|
+
type WeightSaltResponse = {
|
|
3275
|
+
/**
|
|
3276
|
+
* Whether the watermark mechanism is live
|
|
3277
|
+
*/
|
|
3278
|
+
active: boolean;
|
|
3279
|
+
/**
|
|
3280
|
+
* Whether this validator met the participation gate for the salt
|
|
3281
|
+
*/
|
|
3282
|
+
eligible: boolean;
|
|
3283
|
+
/**
|
|
3284
|
+
* Commit-reveal epoch index the salt is keyed to
|
|
3285
|
+
*/
|
|
3286
|
+
epoch_index: number;
|
|
3287
|
+
/**
|
|
3288
|
+
* Version of the owned decoy uid pool
|
|
3289
|
+
*/
|
|
3290
|
+
decoy_pool_version: number;
|
|
3291
|
+
/**
|
|
3292
|
+
* Owned decoy miner uids the watermark may target
|
|
3293
|
+
*/
|
|
3294
|
+
decoy_uids: Array<(number)>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
|
|
3297
|
+
*/
|
|
3298
|
+
chosen_decoy_uid?: (number | null);
|
|
3299
|
+
/**
|
|
3300
|
+
* Fraction of the vector reserved for the watermark; 0 = none
|
|
3301
|
+
*/
|
|
3302
|
+
x_share: number;
|
|
3303
|
+
};
|
|
3189
3304
|
type WorkItemStatus = {
|
|
3190
3305
|
/**
|
|
3191
3306
|
* Number of successful runs included so far
|
|
@@ -3383,6 +3498,16 @@ type GetRaceDetailData = {
|
|
|
3383
3498
|
};
|
|
3384
3499
|
type GetRaceDetailResponse = (RaceDetailResponse);
|
|
3385
3500
|
type GetRaceDetailError = (RaceNotFoundError | HTTPValidationError);
|
|
3501
|
+
type GetRaceValidatorVarianceData = {
|
|
3502
|
+
path: {
|
|
3503
|
+
/**
|
|
3504
|
+
* Race ID
|
|
3505
|
+
*/
|
|
3506
|
+
race_id: string;
|
|
3507
|
+
};
|
|
3508
|
+
};
|
|
3509
|
+
type GetRaceValidatorVarianceResponse = (RaceValidatorVarianceResponse);
|
|
3510
|
+
type GetRaceValidatorVarianceError = (RaceNotFoundError | HTTPValidationError);
|
|
3386
3511
|
type JoinWaitlistData = {
|
|
3387
3512
|
body: WaitlistSignupRequest;
|
|
3388
3513
|
};
|
|
@@ -3549,6 +3674,8 @@ type GetRunProblemsData = {
|
|
|
3549
3674
|
};
|
|
3550
3675
|
type GetRunProblemsResponse = (RunProblemsResponse);
|
|
3551
3676
|
type GetRunProblemsError = (EvalRunNotFoundError | HTTPValidationError);
|
|
3677
|
+
type GetWeightSaltResponse = (WeightSaltResponse);
|
|
3678
|
+
type GetWeightSaltError = unknown;
|
|
3552
3679
|
type BanMinerData = {
|
|
3553
3680
|
body: BanRequest;
|
|
3554
3681
|
path: {
|
|
@@ -4136,6 +4263,15 @@ declare const getRaceHistory: <ThrowOnError extends boolean = false>(options?: O
|
|
|
4136
4263
|
* Get details for a specific race including qualifiers and results.
|
|
4137
4264
|
*/
|
|
4138
4265
|
declare const getRaceDetail: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceDetailData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceDetailResponse, GetRaceDetailError, ThrowOnError>;
|
|
4266
|
+
/**
|
|
4267
|
+
* Per-validator variance for a race
|
|
4268
|
+
* Per-validator variance statistics for a race, computed over included SUCCESS evaluation runs (`is_included = true`, `invalidated_at IS NULL`) joined via `eval_work_items` on `phase = 'RACE'`. Only agent-race pairs where at least two validators produced a run are counted.
|
|
4269
|
+
*
|
|
4270
|
+
* Available live during a running race. This endpoint aggregates data that `/agent-versions/{av_id}/runs` already exposes per-run — see `_assert_artifact_not_race_gated` for the artifacts that stay hidden until race completion (ORO-1467).
|
|
4271
|
+
*
|
|
4272
|
+
* Announced 2026-07-17 as part of the validator-variance visibility commitment. See the miner announcement thread for background.
|
|
4273
|
+
*/
|
|
4274
|
+
declare const getRaceValidatorVariance: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceValidatorVarianceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceValidatorVarianceResponse, GetRaceValidatorVarianceError, ThrowOnError>;
|
|
4139
4275
|
/**
|
|
4140
4276
|
* Join waitlist
|
|
4141
4277
|
* Submit an email to join the ORO waitlist.
|
|
@@ -4300,6 +4436,19 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4300
4436
|
* Returns the problems that should be evaluated for a given run.
|
|
4301
4437
|
*/
|
|
4302
4438
|
declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
|
|
4439
|
+
/**
|
|
4440
|
+
* Get Weight Salt
|
|
4441
|
+
* Per-epoch consensus-watermark instruction for the weight setter (ORO-1649).
|
|
4442
|
+
*
|
|
4443
|
+
* Participation-gated: only a validator that actually did recent eval work
|
|
4444
|
+
* receives a ``chosen_decoy_uid``. A free-rider that copies the public race
|
|
4445
|
+
* results but does no work gets the watermark-free public default → its vector
|
|
4446
|
+
* omits the watermark → it diverges from consensus → loses vtrust.
|
|
4447
|
+
*
|
|
4448
|
+
* Ships DARK: returns the public default (``chosen_decoy_uid=None``) until
|
|
4449
|
+
* ``watermark_active`` is set AND a decoy pool + secret key are configured.
|
|
4450
|
+
*/
|
|
4451
|
+
declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
|
|
4303
4452
|
/**
|
|
4304
4453
|
* Ban a miner
|
|
4305
4454
|
* Ban a miner from submitting agents.
|
|
@@ -4861,4 +5010,4 @@ declare class SessionAuthManager {
|
|
|
4861
5010
|
*/
|
|
4862
5011
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4863
5012
|
|
|
4864
|
-
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 ClearRaceSelectionError, type ClearRaceSelectionResponse, 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 DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, 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 GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, 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 GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, 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 InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, 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 ListInferenceAuthError, type ListInferenceAuthResponse, 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 MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, 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 RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, 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 SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postValidatorPause, postValidatorResume, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateValidator };
|
|
5013
|
+
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 ClearRaceSelectionError, type ClearRaceSelectionResponse, 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 DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, 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 GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, 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 GetRaceValidatorVarianceData, type GetRaceValidatorVarianceError, type GetRaceValidatorVarianceResponse, 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 GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type GetWeightSaltError, type GetWeightSaltResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, 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 ListInferenceAuthError, type ListInferenceAuthResponse, 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 MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, 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 RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceValidatorVarianceResponse, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, 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 SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type SpreadBucket, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type ValidatorVarianceEntry, type WaitlistSignupRequest, type WaitlistSignupResponse, type WeightSaltResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getRaceValidatorVariance, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, getWeightSalt, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postValidatorPause, postValidatorResume, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateValidator };
|
package/dist/index.d.ts
CHANGED
|
@@ -2291,6 +2291,34 @@ type RaceSummary = {
|
|
|
2291
2291
|
*/
|
|
2292
2292
|
work_item_count?: number;
|
|
2293
2293
|
};
|
|
2294
|
+
/**
|
|
2295
|
+
* Per-validator variance stats for a race.
|
|
2296
|
+
*
|
|
2297
|
+
* See ``GET /v1/public/races/{race_id}/validator-variance`` description
|
|
2298
|
+
* for the input filter (included SUCCESS runs, RACE-phase, ≥2 validators).
|
|
2299
|
+
*/
|
|
2300
|
+
type RaceValidatorVarianceResponse = {
|
|
2301
|
+
race_id: string;
|
|
2302
|
+
race_number?: (number | null);
|
|
2303
|
+
/**
|
|
2304
|
+
* Agent-race pairs where ≥2 validators produced included SUCCESS runs
|
|
2305
|
+
*/
|
|
2306
|
+
n_pairs: number;
|
|
2307
|
+
/**
|
|
2308
|
+
* Mean (top validator score − bottom validator score) across pairs. Null when n_pairs == 0.
|
|
2309
|
+
*/
|
|
2310
|
+
mean_spread?: (number | null);
|
|
2311
|
+
median_spread?: (number | null);
|
|
2312
|
+
max_spread?: (number | null);
|
|
2313
|
+
/**
|
|
2314
|
+
* Fraction of pairs at or above given spread thresholds
|
|
2315
|
+
*/
|
|
2316
|
+
spread_buckets?: Array<SpreadBucket>;
|
|
2317
|
+
/**
|
|
2318
|
+
* Per-validator bias statistics (sorted by validator_name)
|
|
2319
|
+
*/
|
|
2320
|
+
validators?: Array<ValidatorVarianceEntry>;
|
|
2321
|
+
};
|
|
2294
2322
|
type RaceWorkItemEntry = {
|
|
2295
2323
|
/**
|
|
2296
2324
|
* Agent version ID
|
|
@@ -2611,6 +2639,20 @@ type SimilarityCheckUnavailableError = {
|
|
|
2611
2639
|
*/
|
|
2612
2640
|
error_code?: "SIMILARITY_CHECK_UNAVAILABLE";
|
|
2613
2641
|
};
|
|
2642
|
+
type SpreadBucket = {
|
|
2643
|
+
/**
|
|
2644
|
+
* Spread threshold in percentage points
|
|
2645
|
+
*/
|
|
2646
|
+
threshold_pp: number;
|
|
2647
|
+
/**
|
|
2648
|
+
* Pairs at or above the threshold
|
|
2649
|
+
*/
|
|
2650
|
+
count: number;
|
|
2651
|
+
/**
|
|
2652
|
+
* Share of pairs at or above the threshold
|
|
2653
|
+
*/
|
|
2654
|
+
pct: number;
|
|
2655
|
+
};
|
|
2614
2656
|
type StoreChutesTokenRequest = {
|
|
2615
2657
|
/**
|
|
2616
2658
|
* Chutes OAuth refresh token to store
|
|
@@ -3170,6 +3212,42 @@ type ValidatorScoreSummary = {
|
|
|
3170
3212
|
last_failure_at?: (string | null);
|
|
3171
3213
|
};
|
|
3172
3214
|
type ValidatorStatus = 'evaluating' | 'available';
|
|
3215
|
+
/**
|
|
3216
|
+
* Per-validator variance statistics for a single race.
|
|
3217
|
+
*
|
|
3218
|
+
* Computed over agent-race pairs where at least two validators produced
|
|
3219
|
+
* included SUCCESS runs. `mean_delta_vs_peers` is the mean of
|
|
3220
|
+
* (this validator's score on an agent − mean score across the other
|
|
3221
|
+
* validators on that same agent) across all such pairs the validator
|
|
3222
|
+
* participated in. A systematically hot or cold validator would show a
|
|
3223
|
+
* persistently non-zero delta; noise sits within ±0.003.
|
|
3224
|
+
*/
|
|
3225
|
+
type ValidatorVarianceEntry = {
|
|
3226
|
+
/**
|
|
3227
|
+
* Validator hotkey (ss58)
|
|
3228
|
+
*/
|
|
3229
|
+
validator_hotkey: string;
|
|
3230
|
+
/**
|
|
3231
|
+
* On-chain identity name, if available
|
|
3232
|
+
*/
|
|
3233
|
+
validator_name?: (string | null);
|
|
3234
|
+
/**
|
|
3235
|
+
* Number of agent-race pairs this validator participated in
|
|
3236
|
+
*/
|
|
3237
|
+
pairs_evaluated: number;
|
|
3238
|
+
/**
|
|
3239
|
+
* Mean of (this validator score − peers mean) across pairs
|
|
3240
|
+
*/
|
|
3241
|
+
mean_delta_vs_peers: number;
|
|
3242
|
+
/**
|
|
3243
|
+
* Standard deviation of the per-pair delta
|
|
3244
|
+
*/
|
|
3245
|
+
std_dev: number;
|
|
3246
|
+
/**
|
|
3247
|
+
* Mean score this validator produced across the pairs
|
|
3248
|
+
*/
|
|
3249
|
+
mean_score: number;
|
|
3250
|
+
};
|
|
3173
3251
|
type WaitlistSignupRequest = {
|
|
3174
3252
|
/**
|
|
3175
3253
|
* Email address to add to the waitlist
|
|
@@ -3186,6 +3264,43 @@ type WaitlistSignupResponse = {
|
|
|
3186
3264
|
*/
|
|
3187
3265
|
success: boolean;
|
|
3188
3266
|
};
|
|
3267
|
+
/**
|
|
3268
|
+
* Per-epoch watermark instruction for the weight setter (ORO-1649).
|
|
3269
|
+
*
|
|
3270
|
+
* ``chosen_decoy_uid is None`` with ``x_share == 0`` is the watermark-free
|
|
3271
|
+
* public default — the validator sets its normal vector. Returned whenever the
|
|
3272
|
+
* mechanism is inactive or this validator has not met the participation gate.
|
|
3273
|
+
*/
|
|
3274
|
+
type WeightSaltResponse = {
|
|
3275
|
+
/**
|
|
3276
|
+
* Whether the watermark mechanism is live
|
|
3277
|
+
*/
|
|
3278
|
+
active: boolean;
|
|
3279
|
+
/**
|
|
3280
|
+
* Whether this validator met the participation gate for the salt
|
|
3281
|
+
*/
|
|
3282
|
+
eligible: boolean;
|
|
3283
|
+
/**
|
|
3284
|
+
* Commit-reveal epoch index the salt is keyed to
|
|
3285
|
+
*/
|
|
3286
|
+
epoch_index: number;
|
|
3287
|
+
/**
|
|
3288
|
+
* Version of the owned decoy uid pool
|
|
3289
|
+
*/
|
|
3290
|
+
decoy_pool_version: number;
|
|
3291
|
+
/**
|
|
3292
|
+
* Owned decoy miner uids the watermark may target
|
|
3293
|
+
*/
|
|
3294
|
+
decoy_uids: Array<(number)>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
|
|
3297
|
+
*/
|
|
3298
|
+
chosen_decoy_uid?: (number | null);
|
|
3299
|
+
/**
|
|
3300
|
+
* Fraction of the vector reserved for the watermark; 0 = none
|
|
3301
|
+
*/
|
|
3302
|
+
x_share: number;
|
|
3303
|
+
};
|
|
3189
3304
|
type WorkItemStatus = {
|
|
3190
3305
|
/**
|
|
3191
3306
|
* Number of successful runs included so far
|
|
@@ -3383,6 +3498,16 @@ type GetRaceDetailData = {
|
|
|
3383
3498
|
};
|
|
3384
3499
|
type GetRaceDetailResponse = (RaceDetailResponse);
|
|
3385
3500
|
type GetRaceDetailError = (RaceNotFoundError | HTTPValidationError);
|
|
3501
|
+
type GetRaceValidatorVarianceData = {
|
|
3502
|
+
path: {
|
|
3503
|
+
/**
|
|
3504
|
+
* Race ID
|
|
3505
|
+
*/
|
|
3506
|
+
race_id: string;
|
|
3507
|
+
};
|
|
3508
|
+
};
|
|
3509
|
+
type GetRaceValidatorVarianceResponse = (RaceValidatorVarianceResponse);
|
|
3510
|
+
type GetRaceValidatorVarianceError = (RaceNotFoundError | HTTPValidationError);
|
|
3386
3511
|
type JoinWaitlistData = {
|
|
3387
3512
|
body: WaitlistSignupRequest;
|
|
3388
3513
|
};
|
|
@@ -3549,6 +3674,8 @@ type GetRunProblemsData = {
|
|
|
3549
3674
|
};
|
|
3550
3675
|
type GetRunProblemsResponse = (RunProblemsResponse);
|
|
3551
3676
|
type GetRunProblemsError = (EvalRunNotFoundError | HTTPValidationError);
|
|
3677
|
+
type GetWeightSaltResponse = (WeightSaltResponse);
|
|
3678
|
+
type GetWeightSaltError = unknown;
|
|
3552
3679
|
type BanMinerData = {
|
|
3553
3680
|
body: BanRequest;
|
|
3554
3681
|
path: {
|
|
@@ -4136,6 +4263,15 @@ declare const getRaceHistory: <ThrowOnError extends boolean = false>(options?: O
|
|
|
4136
4263
|
* Get details for a specific race including qualifiers and results.
|
|
4137
4264
|
*/
|
|
4138
4265
|
declare const getRaceDetail: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceDetailData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceDetailResponse, GetRaceDetailError, ThrowOnError>;
|
|
4266
|
+
/**
|
|
4267
|
+
* Per-validator variance for a race
|
|
4268
|
+
* Per-validator variance statistics for a race, computed over included SUCCESS evaluation runs (`is_included = true`, `invalidated_at IS NULL`) joined via `eval_work_items` on `phase = 'RACE'`. Only agent-race pairs where at least two validators produced a run are counted.
|
|
4269
|
+
*
|
|
4270
|
+
* Available live during a running race. This endpoint aggregates data that `/agent-versions/{av_id}/runs` already exposes per-run — see `_assert_artifact_not_race_gated` for the artifacts that stay hidden until race completion (ORO-1467).
|
|
4271
|
+
*
|
|
4272
|
+
* Announced 2026-07-17 as part of the validator-variance visibility commitment. See the miner announcement thread for background.
|
|
4273
|
+
*/
|
|
4274
|
+
declare const getRaceValidatorVariance: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceValidatorVarianceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceValidatorVarianceResponse, GetRaceValidatorVarianceError, ThrowOnError>;
|
|
4139
4275
|
/**
|
|
4140
4276
|
* Join waitlist
|
|
4141
4277
|
* Submit an email to join the ORO waitlist.
|
|
@@ -4300,6 +4436,19 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4300
4436
|
* Returns the problems that should be evaluated for a given run.
|
|
4301
4437
|
*/
|
|
4302
4438
|
declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
|
|
4439
|
+
/**
|
|
4440
|
+
* Get Weight Salt
|
|
4441
|
+
* Per-epoch consensus-watermark instruction for the weight setter (ORO-1649).
|
|
4442
|
+
*
|
|
4443
|
+
* Participation-gated: only a validator that actually did recent eval work
|
|
4444
|
+
* receives a ``chosen_decoy_uid``. A free-rider that copies the public race
|
|
4445
|
+
* results but does no work gets the watermark-free public default → its vector
|
|
4446
|
+
* omits the watermark → it diverges from consensus → loses vtrust.
|
|
4447
|
+
*
|
|
4448
|
+
* Ships DARK: returns the public default (``chosen_decoy_uid=None``) until
|
|
4449
|
+
* ``watermark_active`` is set AND a decoy pool + secret key are configured.
|
|
4450
|
+
*/
|
|
4451
|
+
declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
|
|
4303
4452
|
/**
|
|
4304
4453
|
* Ban a miner
|
|
4305
4454
|
* Ban a miner from submitting agents.
|
|
@@ -4861,4 +5010,4 @@ declare class SessionAuthManager {
|
|
|
4861
5010
|
*/
|
|
4862
5011
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4863
5012
|
|
|
4864
|
-
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 ClearRaceSelectionError, type ClearRaceSelectionResponse, 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 DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, 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 GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, 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 GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, 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 InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, 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 ListInferenceAuthError, type ListInferenceAuthResponse, 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 MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, 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 RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, 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 SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postValidatorPause, postValidatorResume, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateValidator };
|
|
5013
|
+
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 ClearRaceSelectionError, type ClearRaceSelectionResponse, 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 DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, 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 GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, 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 GetRaceValidatorVarianceData, type GetRaceValidatorVarianceError, type GetRaceValidatorVarianceResponse, 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 GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type GetWeightSaltError, type GetWeightSaltResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, 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 ListInferenceAuthError, type ListInferenceAuthResponse, 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 MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, 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 RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceValidatorVarianceResponse, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, 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 SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type SpreadBucket, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type ValidatorVarianceEntry, type WaitlistSignupRequest, type WaitlistSignupResponse, type WeightSaltResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getRaceValidatorVariance, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, getWeightSalt, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postValidatorPause, postValidatorResume, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateValidator };
|
package/dist/index.js
CHANGED
|
@@ -79,6 +79,7 @@ __export(index_exports, {
|
|
|
79
79
|
getRaceDetail: () => getRaceDetail,
|
|
80
80
|
getRaceDiagnostics: () => getRaceDiagnostics,
|
|
81
81
|
getRaceHistory: () => getRaceHistory,
|
|
82
|
+
getRaceValidatorVariance: () => getRaceValidatorVariance,
|
|
82
83
|
getReaperStats: () => getReaperStats,
|
|
83
84
|
getRunProblems: () => getRunProblems,
|
|
84
85
|
getRunningEvaluations: () => getRunningEvaluations,
|
|
@@ -91,6 +92,7 @@ __export(index_exports, {
|
|
|
91
92
|
getValidatorResourceSamples: () => getValidatorResourceSamples,
|
|
92
93
|
getValidatorScores: () => getValidatorScores,
|
|
93
94
|
getValidators: () => getValidators,
|
|
95
|
+
getWeightSalt: () => getWeightSalt,
|
|
94
96
|
hasDetail: () => hasDetail,
|
|
95
97
|
hasErrorCode: () => hasErrorCode,
|
|
96
98
|
healthCheck: () => healthCheck,
|
|
@@ -258,6 +260,12 @@ var getRaceDetail = (options) => {
|
|
|
258
260
|
url: "/v1/public/races/{race_id}"
|
|
259
261
|
});
|
|
260
262
|
};
|
|
263
|
+
var getRaceValidatorVariance = (options) => {
|
|
264
|
+
return (options?.client ?? client).get({
|
|
265
|
+
...options,
|
|
266
|
+
url: "/v1/public/races/{race_id}/validator-variance"
|
|
267
|
+
});
|
|
268
|
+
};
|
|
261
269
|
var joinWaitlist = (options) => {
|
|
262
270
|
return (options?.client ?? client).post({
|
|
263
271
|
...options,
|
|
@@ -413,6 +421,12 @@ var getRunProblems = (options) => {
|
|
|
413
421
|
url: "/v1/validator/evaluation-runs/{eval_run_id}/problems"
|
|
414
422
|
});
|
|
415
423
|
};
|
|
424
|
+
var getWeightSalt = (options) => {
|
|
425
|
+
return (options?.client ?? client).get({
|
|
426
|
+
...options,
|
|
427
|
+
url: "/v1/validator/weight-salt"
|
|
428
|
+
});
|
|
429
|
+
};
|
|
416
430
|
var banMiner = (options) => {
|
|
417
431
|
return (options?.client ?? client).post({
|
|
418
432
|
...options,
|
|
@@ -1022,6 +1036,7 @@ function configureSessionAuth(baseUrl, config) {
|
|
|
1022
1036
|
getRaceDetail,
|
|
1023
1037
|
getRaceDiagnostics,
|
|
1024
1038
|
getRaceHistory,
|
|
1039
|
+
getRaceValidatorVariance,
|
|
1025
1040
|
getReaperStats,
|
|
1026
1041
|
getRunProblems,
|
|
1027
1042
|
getRunningEvaluations,
|
|
@@ -1034,6 +1049,7 @@ function configureSessionAuth(baseUrl, config) {
|
|
|
1034
1049
|
getValidatorResourceSamples,
|
|
1035
1050
|
getValidatorScores,
|
|
1036
1051
|
getValidators,
|
|
1052
|
+
getWeightSalt,
|
|
1037
1053
|
hasDetail,
|
|
1038
1054
|
hasErrorCode,
|
|
1039
1055
|
healthCheck,
|
package/dist/index.mjs
CHANGED
|
@@ -127,6 +127,12 @@ var getRaceDetail = (options) => {
|
|
|
127
127
|
url: "/v1/public/races/{race_id}"
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
|
+
var getRaceValidatorVariance = (options) => {
|
|
131
|
+
return (options?.client ?? client).get({
|
|
132
|
+
...options,
|
|
133
|
+
url: "/v1/public/races/{race_id}/validator-variance"
|
|
134
|
+
});
|
|
135
|
+
};
|
|
130
136
|
var joinWaitlist = (options) => {
|
|
131
137
|
return (options?.client ?? client).post({
|
|
132
138
|
...options,
|
|
@@ -282,6 +288,12 @@ var getRunProblems = (options) => {
|
|
|
282
288
|
url: "/v1/validator/evaluation-runs/{eval_run_id}/problems"
|
|
283
289
|
});
|
|
284
290
|
};
|
|
291
|
+
var getWeightSalt = (options) => {
|
|
292
|
+
return (options?.client ?? client).get({
|
|
293
|
+
...options,
|
|
294
|
+
url: "/v1/validator/weight-salt"
|
|
295
|
+
});
|
|
296
|
+
};
|
|
285
297
|
var banMiner = (options) => {
|
|
286
298
|
return (options?.client ?? client).post({
|
|
287
299
|
...options,
|
|
@@ -890,6 +902,7 @@ export {
|
|
|
890
902
|
getRaceDetail,
|
|
891
903
|
getRaceDiagnostics,
|
|
892
904
|
getRaceHistory,
|
|
905
|
+
getRaceValidatorVariance,
|
|
893
906
|
getReaperStats,
|
|
894
907
|
getRunProblems,
|
|
895
908
|
getRunningEvaluations,
|
|
@@ -902,6 +915,7 @@ export {
|
|
|
902
915
|
getValidatorResourceSamples,
|
|
903
916
|
getValidatorScores,
|
|
904
917
|
getValidators,
|
|
918
|
+
getWeightSalt,
|
|
905
919
|
hasDetail,
|
|
906
920
|
hasErrorCode,
|
|
907
921
|
healthCheck,
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
|
|
4
|
-
import type { HealthCheckError, HealthCheckResponse, DeepHealthCheckError, DeepHealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTopMinerPayoutError, GetTopMinerPayoutResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, GetCurrentRaceError, GetCurrentRaceResponse, GetRaceHistoryData, GetRaceHistoryError, GetRaceHistoryResponse, GetRaceDetailData, GetRaceDetailError, GetRaceDetailResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, GetInferenceModelsData, GetInferenceModelsError, GetInferenceModelsResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreInferenceCredentialData, StoreInferenceCredentialError, StoreInferenceCredentialResponse, GetInferenceAuthStatusOneData, GetInferenceAuthStatusOneError, GetInferenceAuthStatusOneResponse, DeleteInferenceCredentialData, DeleteInferenceCredentialError, DeleteInferenceCredentialResponse, ListInferenceAuthError, ListInferenceAuthResponse, SetDefaultInferenceProviderData, SetDefaultInferenceProviderError, SetDefaultInferenceProviderResponse, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ExchangeChutesCodeData, ExchangeChutesCodeError, ExchangeChutesCodeResponse2, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, SetRaceSelectionData, SetRaceSelectionError, SetRaceSelectionResponse, ClearRaceSelectionError, ClearRaceSelectionResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, UpdateValidatorData, UpdateValidatorError, UpdateValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, EliminateAgentVersionData, EliminateAgentVersionError, EliminateAgentVersionResponse, ReinstateEliminationData, ReinstateEliminationError, ReinstateEliminationResponse2, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2, GetValidatorResourceSamplesData, GetValidatorResourceSamplesError, GetValidatorResourceSamplesResponse, GetValidatorFailuresData, GetValidatorFailuresError, GetValidatorFailuresResponse, GetValidatorPauseError, GetValidatorPauseResponse, PostValidatorPauseData, PostValidatorPauseError, PostValidatorPauseResponse, PostValidatorResumeData, PostValidatorResumeError, PostValidatorResumeResponse } from './types.gen';
|
|
4
|
+
import type { HealthCheckError, HealthCheckResponse, DeepHealthCheckError, DeepHealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTopMinerPayoutError, GetTopMinerPayoutResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, GetCurrentRaceError, GetCurrentRaceResponse, GetRaceHistoryData, GetRaceHistoryError, GetRaceHistoryResponse, GetRaceDetailData, GetRaceDetailError, GetRaceDetailResponse, GetRaceValidatorVarianceData, GetRaceValidatorVarianceError, GetRaceValidatorVarianceResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, GetInferenceModelsData, GetInferenceModelsError, GetInferenceModelsResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreInferenceCredentialData, StoreInferenceCredentialError, StoreInferenceCredentialResponse, GetInferenceAuthStatusOneData, GetInferenceAuthStatusOneError, GetInferenceAuthStatusOneResponse, DeleteInferenceCredentialData, DeleteInferenceCredentialError, DeleteInferenceCredentialResponse, ListInferenceAuthError, ListInferenceAuthResponse, SetDefaultInferenceProviderData, SetDefaultInferenceProviderError, SetDefaultInferenceProviderResponse, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ExchangeChutesCodeData, ExchangeChutesCodeError, ExchangeChutesCodeResponse2, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, SetRaceSelectionData, SetRaceSelectionError, SetRaceSelectionResponse, ClearRaceSelectionError, ClearRaceSelectionResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, GetWeightSaltError, GetWeightSaltResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, UpdateValidatorData, UpdateValidatorError, UpdateValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, EliminateAgentVersionData, EliminateAgentVersionError, EliminateAgentVersionResponse, ReinstateEliminationData, ReinstateEliminationError, ReinstateEliminationResponse2, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2, GetValidatorResourceSamplesData, GetValidatorResourceSamplesError, GetValidatorResourceSamplesResponse, GetValidatorFailuresData, GetValidatorFailuresError, GetValidatorFailuresResponse, GetValidatorPauseError, GetValidatorPauseResponse, PostValidatorPauseData, PostValidatorPauseError, PostValidatorPauseResponse, PostValidatorResumeData, PostValidatorResumeError, PostValidatorResumeResponse } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -252,6 +252,21 @@ export const getRaceDetail = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
252
252
|
});
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
+
/**
|
|
256
|
+
* Per-validator variance for a race
|
|
257
|
+
* Per-validator variance statistics for a race, computed over included SUCCESS evaluation runs (`is_included = true`, `invalidated_at IS NULL`) joined via `eval_work_items` on `phase = 'RACE'`. Only agent-race pairs where at least two validators produced a run are counted.
|
|
258
|
+
*
|
|
259
|
+
* Available live during a running race. This endpoint aggregates data that `/agent-versions/{av_id}/runs` already exposes per-run — see `_assert_artifact_not_race_gated` for the artifacts that stay hidden until race completion (ORO-1467).
|
|
260
|
+
*
|
|
261
|
+
* Announced 2026-07-17 as part of the validator-variance visibility commitment. See the miner announcement thread for background.
|
|
262
|
+
*/
|
|
263
|
+
export const getRaceValidatorVariance = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceValidatorVarianceData, ThrowOnError>) => {
|
|
264
|
+
return (options?.client ?? client).get<GetRaceValidatorVarianceResponse, GetRaceValidatorVarianceError, ThrowOnError>({
|
|
265
|
+
...options,
|
|
266
|
+
url: '/v1/public/races/{race_id}/validator-variance'
|
|
267
|
+
});
|
|
268
|
+
};
|
|
269
|
+
|
|
255
270
|
/**
|
|
256
271
|
* Join waitlist
|
|
257
272
|
* Submit an email to join the ORO waitlist.
|
|
@@ -571,6 +586,25 @@ export const getRunProblems = <ThrowOnError extends boolean = false>(options: Op
|
|
|
571
586
|
});
|
|
572
587
|
};
|
|
573
588
|
|
|
589
|
+
/**
|
|
590
|
+
* Get Weight Salt
|
|
591
|
+
* Per-epoch consensus-watermark instruction for the weight setter (ORO-1649).
|
|
592
|
+
*
|
|
593
|
+
* Participation-gated: only a validator that actually did recent eval work
|
|
594
|
+
* receives a ``chosen_decoy_uid``. A free-rider that copies the public race
|
|
595
|
+
* results but does no work gets the watermark-free public default → its vector
|
|
596
|
+
* omits the watermark → it diverges from consensus → loses vtrust.
|
|
597
|
+
*
|
|
598
|
+
* Ships DARK: returns the public default (``chosen_decoy_uid=None``) until
|
|
599
|
+
* ``watermark_active`` is set AND a decoy pool + secret key are configured.
|
|
600
|
+
*/
|
|
601
|
+
export const getWeightSalt = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
|
|
602
|
+
return (options?.client ?? client).get<GetWeightSaltResponse, GetWeightSaltError, ThrowOnError>({
|
|
603
|
+
...options,
|
|
604
|
+
url: '/v1/validator/weight-salt'
|
|
605
|
+
});
|
|
606
|
+
};
|
|
607
|
+
|
|
574
608
|
/**
|
|
575
609
|
* Ban a miner
|
|
576
610
|
* Ban a miner from submitting agents.
|
|
@@ -2404,6 +2404,35 @@ export type RaceSummary = {
|
|
|
2404
2404
|
work_item_count?: number;
|
|
2405
2405
|
};
|
|
2406
2406
|
|
|
2407
|
+
/**
|
|
2408
|
+
* Per-validator variance stats for a race.
|
|
2409
|
+
*
|
|
2410
|
+
* See ``GET /v1/public/races/{race_id}/validator-variance`` description
|
|
2411
|
+
* for the input filter (included SUCCESS runs, RACE-phase, ≥2 validators).
|
|
2412
|
+
*/
|
|
2413
|
+
export type RaceValidatorVarianceResponse = {
|
|
2414
|
+
race_id: string;
|
|
2415
|
+
race_number?: (number | null);
|
|
2416
|
+
/**
|
|
2417
|
+
* Agent-race pairs where ≥2 validators produced included SUCCESS runs
|
|
2418
|
+
*/
|
|
2419
|
+
n_pairs: number;
|
|
2420
|
+
/**
|
|
2421
|
+
* Mean (top validator score − bottom validator score) across pairs. Null when n_pairs == 0.
|
|
2422
|
+
*/
|
|
2423
|
+
mean_spread?: (number | null);
|
|
2424
|
+
median_spread?: (number | null);
|
|
2425
|
+
max_spread?: (number | null);
|
|
2426
|
+
/**
|
|
2427
|
+
* Fraction of pairs at or above given spread thresholds
|
|
2428
|
+
*/
|
|
2429
|
+
spread_buckets?: Array<SpreadBucket>;
|
|
2430
|
+
/**
|
|
2431
|
+
* Per-validator bias statistics (sorted by validator_name)
|
|
2432
|
+
*/
|
|
2433
|
+
validators?: Array<ValidatorVarianceEntry>;
|
|
2434
|
+
};
|
|
2435
|
+
|
|
2407
2436
|
export type RaceWorkItemEntry = {
|
|
2408
2437
|
/**
|
|
2409
2438
|
* Agent version ID
|
|
@@ -2744,6 +2773,21 @@ export type SimilarityCheckUnavailableError = {
|
|
|
2744
2773
|
error_code?: "SIMILARITY_CHECK_UNAVAILABLE";
|
|
2745
2774
|
};
|
|
2746
2775
|
|
|
2776
|
+
export type SpreadBucket = {
|
|
2777
|
+
/**
|
|
2778
|
+
* Spread threshold in percentage points
|
|
2779
|
+
*/
|
|
2780
|
+
threshold_pp: number;
|
|
2781
|
+
/**
|
|
2782
|
+
* Pairs at or above the threshold
|
|
2783
|
+
*/
|
|
2784
|
+
count: number;
|
|
2785
|
+
/**
|
|
2786
|
+
* Share of pairs at or above the threshold
|
|
2787
|
+
*/
|
|
2788
|
+
pct: number;
|
|
2789
|
+
};
|
|
2790
|
+
|
|
2747
2791
|
export type StoreChutesTokenRequest = {
|
|
2748
2792
|
/**
|
|
2749
2793
|
* Chutes OAuth refresh token to store
|
|
@@ -3331,6 +3375,43 @@ export type ValidatorScoreSummary = {
|
|
|
3331
3375
|
|
|
3332
3376
|
export type ValidatorStatus = 'evaluating' | 'available';
|
|
3333
3377
|
|
|
3378
|
+
/**
|
|
3379
|
+
* Per-validator variance statistics for a single race.
|
|
3380
|
+
*
|
|
3381
|
+
* Computed over agent-race pairs where at least two validators produced
|
|
3382
|
+
* included SUCCESS runs. `mean_delta_vs_peers` is the mean of
|
|
3383
|
+
* (this validator's score on an agent − mean score across the other
|
|
3384
|
+
* validators on that same agent) across all such pairs the validator
|
|
3385
|
+
* participated in. A systematically hot or cold validator would show a
|
|
3386
|
+
* persistently non-zero delta; noise sits within ±0.003.
|
|
3387
|
+
*/
|
|
3388
|
+
export type ValidatorVarianceEntry = {
|
|
3389
|
+
/**
|
|
3390
|
+
* Validator hotkey (ss58)
|
|
3391
|
+
*/
|
|
3392
|
+
validator_hotkey: string;
|
|
3393
|
+
/**
|
|
3394
|
+
* On-chain identity name, if available
|
|
3395
|
+
*/
|
|
3396
|
+
validator_name?: (string | null);
|
|
3397
|
+
/**
|
|
3398
|
+
* Number of agent-race pairs this validator participated in
|
|
3399
|
+
*/
|
|
3400
|
+
pairs_evaluated: number;
|
|
3401
|
+
/**
|
|
3402
|
+
* Mean of (this validator score − peers mean) across pairs
|
|
3403
|
+
*/
|
|
3404
|
+
mean_delta_vs_peers: number;
|
|
3405
|
+
/**
|
|
3406
|
+
* Standard deviation of the per-pair delta
|
|
3407
|
+
*/
|
|
3408
|
+
std_dev: number;
|
|
3409
|
+
/**
|
|
3410
|
+
* Mean score this validator produced across the pairs
|
|
3411
|
+
*/
|
|
3412
|
+
mean_score: number;
|
|
3413
|
+
};
|
|
3414
|
+
|
|
3334
3415
|
export type WaitlistSignupRequest = {
|
|
3335
3416
|
/**
|
|
3336
3417
|
* Email address to add to the waitlist
|
|
@@ -3349,6 +3430,44 @@ export type WaitlistSignupResponse = {
|
|
|
3349
3430
|
success: boolean;
|
|
3350
3431
|
};
|
|
3351
3432
|
|
|
3433
|
+
/**
|
|
3434
|
+
* Per-epoch watermark instruction for the weight setter (ORO-1649).
|
|
3435
|
+
*
|
|
3436
|
+
* ``chosen_decoy_uid is None`` with ``x_share == 0`` is the watermark-free
|
|
3437
|
+
* public default — the validator sets its normal vector. Returned whenever the
|
|
3438
|
+
* mechanism is inactive or this validator has not met the participation gate.
|
|
3439
|
+
*/
|
|
3440
|
+
export type WeightSaltResponse = {
|
|
3441
|
+
/**
|
|
3442
|
+
* Whether the watermark mechanism is live
|
|
3443
|
+
*/
|
|
3444
|
+
active: boolean;
|
|
3445
|
+
/**
|
|
3446
|
+
* Whether this validator met the participation gate for the salt
|
|
3447
|
+
*/
|
|
3448
|
+
eligible: boolean;
|
|
3449
|
+
/**
|
|
3450
|
+
* Commit-reveal epoch index the salt is keyed to
|
|
3451
|
+
*/
|
|
3452
|
+
epoch_index: number;
|
|
3453
|
+
/**
|
|
3454
|
+
* Version of the owned decoy uid pool
|
|
3455
|
+
*/
|
|
3456
|
+
decoy_pool_version: number;
|
|
3457
|
+
/**
|
|
3458
|
+
* Owned decoy miner uids the watermark may target
|
|
3459
|
+
*/
|
|
3460
|
+
decoy_uids: Array<(number)>;
|
|
3461
|
+
/**
|
|
3462
|
+
* Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
|
|
3463
|
+
*/
|
|
3464
|
+
chosen_decoy_uid?: (number | null);
|
|
3465
|
+
/**
|
|
3466
|
+
* Fraction of the vector reserved for the watermark; 0 = none
|
|
3467
|
+
*/
|
|
3468
|
+
x_share: number;
|
|
3469
|
+
};
|
|
3470
|
+
|
|
3352
3471
|
export type WorkItemStatus = {
|
|
3353
3472
|
/**
|
|
3354
3473
|
* Number of successful runs included so far
|
|
@@ -3601,6 +3720,19 @@ export type GetRaceDetailResponse = (RaceDetailResponse);
|
|
|
3601
3720
|
|
|
3602
3721
|
export type GetRaceDetailError = (RaceNotFoundError | HTTPValidationError);
|
|
3603
3722
|
|
|
3723
|
+
export type GetRaceValidatorVarianceData = {
|
|
3724
|
+
path: {
|
|
3725
|
+
/**
|
|
3726
|
+
* Race ID
|
|
3727
|
+
*/
|
|
3728
|
+
race_id: string;
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
|
|
3732
|
+
export type GetRaceValidatorVarianceResponse = (RaceValidatorVarianceResponse);
|
|
3733
|
+
|
|
3734
|
+
export type GetRaceValidatorVarianceError = (RaceNotFoundError | HTTPValidationError);
|
|
3735
|
+
|
|
3604
3736
|
export type JoinWaitlistData = {
|
|
3605
3737
|
body: WaitlistSignupRequest;
|
|
3606
3738
|
};
|
|
@@ -3838,6 +3970,10 @@ export type GetRunProblemsResponse = (RunProblemsResponse);
|
|
|
3838
3970
|
|
|
3839
3971
|
export type GetRunProblemsError = (EvalRunNotFoundError | HTTPValidationError);
|
|
3840
3972
|
|
|
3973
|
+
export type GetWeightSaltResponse = (WeightSaltResponse);
|
|
3974
|
+
|
|
3975
|
+
export type GetWeightSaltError = unknown;
|
|
3976
|
+
|
|
3841
3977
|
export type BanMinerData = {
|
|
3842
3978
|
body: BanRequest;
|
|
3843
3979
|
path: {
|