MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / fill

Function fill

telemetry-dashboard/src/api.ts:669–670  ·  view source on GitHub ↗
(byDay: Map<string, number>)

Source from the content-addressed store, hash-verified

667 }
668
669 const fill = (byDay: Map<string, number>): (number | null)[] =>
670 spec.live ? densify(labels, byDay) : densifyCovered(labels, byDay, coveredThrough);
671 const usersFrom = spec.newUsers ? newUsersFrom(env) : '';
672 const first = fill(a).map((value, i) => (notCounted.has(labels[i]!) || labels[i]! < usersFrom ? null : value));
673 const datasets = [{ label: spec.labels[0], data: first }];

Callers 1

timeseriesFunction · 0.70

Calls 2

densifyFunction · 0.85
densifyCoveredFunction · 0.85

Tested by

no test coverage detected