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

Function roundAverage

services/model-eval-ingest/src/sync.ts:25–27  ·  view source on GitHub ↗
(value: number | null)

Source from the content-addressed store, hash-verified

23}
24
25export function roundAverage(value: number | null): number | null {
26 return value === null ? null : Math.round(value);
27}
28
29function microdollarsToUsd(value: number | null): number | null {
30 return value === null ? null : value / MICRODOLLARS_PER_DOLLAR;

Callers 2

listLatestPromotionsMethod · 0.85
storedPromotionValuesFunction · 0.85

Calls

no outgoing calls

Tested by 1

listLatestPromotionsMethod · 0.68