( store: PromotionStore, tuple: PromotionTuple )
| 326 | } |
| 327 | |
| 328 | export 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 | |
| 340 | export async function syncPromotionsFromBench( |
| 341 | benchDashboard: BenchDashboard, |
no test coverage detected