Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed bench/harnesses/charts.test.mjs

Steven Enamakeld6237ac619b5
diff --git a/bench/harnesses/charts.test.mjs b/bench/harnesses/charts.test.mjs
index dc46c99b13..3c1a08e5a8 100644
--- a/bench/harnesses/charts.test.mjs
+++ b/bench/harnesses/charts.test.mjs
@@ -13,7 +13,9 @@ test("renders one panel per metric and one column per harness, with a star on th
const svg = renderSvg({ meta, summary: { openhuman: row({}), codex: row({ swe_resolved: 8 }) } });
assert.match(svg, /^<svg /);
for (const m of METRICS) assert.ok(svg.includes(m.title.replace(/&/g, "&amp;")), m.title);
- assert.equal((svg.match(/<path d="M/g) ?? []).length, METRICS.length * 2);
+ assert.equal((svg.match(/<path d="M[^>]*fill="url\(#g-/g) ?? []).length, METRICS.length * 2);
+ // every panel has a winner, drawn with a gold outline and a translucent halo
+ assert.ok((svg.match(/stroke-opacity="0.28"/g) ?? []).length >= METRICS.length);
assert.match(svg, /<polygon/);
});