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

Function recomputeModelStatsKiloBench

services/model-eval-ingest/src/sync.ts:328–338  ·  view source on GitHub ↗
(
  store: PromotionStore,
  tuple: PromotionTuple
)

Source from the content-addressed store, hash-verified

326}
327
328export async function recomputeModelStatsKiloBench(
329 store: PromotionStore,
330 tuple: PromotionTuple
331): Promise<void> {
332 const rows = await store.listLatestPromotions({
333 provider: tuple.provider,
334 model: tuple.model,
335 variant: tuple.variant,
336 });
337 await store.writeKiloBenchBenchmarks(tuple.modelStatsId, buildKiloBenchBenchmarks(rows));
338}
339
340export async function syncPromotionsFromBench(
341 benchDashboard: BenchDashboard,

Callers 1

syncPromotionsFromBenchFunction · 0.85

Calls 3

buildKiloBenchBenchmarksFunction · 0.85
listLatestPromotionsMethod · 0.80

Tested by

no test coverage detected