MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / averagePerAttempt

Function averagePerAttempt

services/model-eval-ingest/src/sync.ts:33–35  ·  view source on GitHub ↗
(total: number | null, nAttempts: number | null)

Source from the content-addressed store, hash-verified

31}
32
33function averagePerAttempt(total: number | null, nAttempts: number | null): number | null {
34 return total === null || nAttempts === null || nAttempts <= 0 ? null : total / nAttempts;
35}
36
37type BenchDashboard = {
38 listPromotions(opts?: { sinceMs?: number; limit?: number }): Promise<PromotionRecord[]>;

Callers 1

buildKiloBenchBenchmarksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected