results-dashboard
Skill52 starsChanged 5 months agoMITView on GitHub
Turn a test-quality scorecard JSON into a self-contained interactive HTML readout — hero stats, a per-axis Win/Tie/Loss distribution chart, and the full per-suite matrix. Use when the user wants to visualize benchmark/scorecard results, regenerate the results dashboards in docs/, or render a {baselines, arms} scorecard (as emitted by the benchmark's score_quality.py / score_cross_language.py, or the test-quality skill's scorer) as a shareable web page. Produces one standalone .html file (Chart.js via CDN, no build step).
In this repositoryOne other file it gives its agents.
- test-qualitySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
After running score_quality.py / score_cross_language.py (or the test-quality skill's score.py --json …), to publish the numbers.
- Very specific: line 44
Confirm the framing: Ask for (or infer) a --title and a one-line --subtitle.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
results-dashboard
Render a scorecard JSON into one self-contained HTML page you can open in a
browser or commit under docs/. The input is the {baselines, arms} shape the
benchmark's scorers emit (see references/scorecard-json-shape.md); the output
is a dark-themed readout with:
- Hero stats — arms scored, arms that beat their baseline (wins > losses),
and a per-language split when arms carry a
lang. - Per-axis Win / Tie / Loss chart — a stacked bar per quality axis across all arms, so you can see at a glance which axes the generated suites win or lose.
- Per-suite matrix — every arm × every axis; each cell is
genoverbasewith ✓ win / ✗ loss / = tie / · n-a, plus the W/L/T tally and a better? badge.
When to use
- "Regenerate the results dashboard / readout for
<scorecard>.json." - "Visualize these scorecard results as a web page."
- After running
score_quality.py/score_cross_language.py(or thetest-qualityskill'sscore.py --json …), to publish the numbers.
Procedure
- Locate the input. A scorecard JSON with a top-level
armsarray (and usuallybaselines). If the user points at aresults-*-scorecard.json, use it directly. If they only have a raw tests dir, run the relevant scorer first to produce the JSON, then feed it here. - Confirm the framing. Ask for (or infer) a
--titleand a one-line--subtitle. Default title is derived from the filename. - Generate:
python <skill>/scripts/build_dashboard.py <scorecard>.json \ -o docs/<name>.html --title "…" --subtitle "…" - Verify. Open the file (or screenshot it) and check the hero counts match the scorer's own summary line (arms present / beat baseline). The script prints those counts on success — they must agree with the JSON.
Notes
- Self-contained. The only external dependency is Chart.js from a CDN; the page needs network to draw the chart but renders the matrix offline.
- Shape tolerance. Arms with
"present": falserender as anabsentrow;nullaxis values render as·. Axis keys are read from the first present arm, so the columns adapt to whichever axes the scorer measured. - Don't hand-edit generated HTML. Re-run the script after the scorer changes;
the committed
docs/*.htmldashboards in this repo are curated, richer variants of the same idea — treat this skill's output as the reproducible base.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

