MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / buildRunMeta

Function buildRunMeta

tests/loadtest/tools/dashboard/app.js:1057–1067  ·  view source on GitHub ↗
(run, points)

Source from the content-addressed store, hash-verified

1055}
1056
1057function buildRunMeta(run, points) {
1058 const parts = [];
1059 if (run.source) {
1060 parts.push(run.source);
1061 }
1062 if (run.collectedAt) {
1063 parts.push(formatDate(run.collectedAt));
1064 }
1065 parts.push(points.length ? `${points.length} data points` : "aggregate summary");
1066 return parts.join(" · ");
1067}
1068
1069function hasSeries(run, key) {
1070 return (run.series || []).filter((point) => point[key] !== null && point[key] !== undefined).length >= 2;

Callers 1

renderDashboardFunction · 0.85

Calls 1

formatDateFunction · 0.85

Tested by

no test coverage detected