feat(evaluation): add reproducible accessible leaderboard charts - #501
Open
CurtisBaldwinson wants to merge 1 commit into
Open
feat(evaluation): add reproducible accessible leaderboard charts#501CurtisBaldwinson wants to merge 1 commit into
CurtisBaldwinson wants to merge 1 commit into
Conversation
Signed-off-by: Curtis Baldwinson <curtis@baldwinson.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I came across the AssetOpsBench leaderboard and had a surprisingly hard time telling the model series apart. With several models represented using closely related shades of purple-blue or such (see image below), comparing results at a glance gets difficult pretty quickly.
The mildly amusing part is that IBM has already documented the solution: Carbon recommends categorical palettes for discrete data series, with the sequence chosen specifically for visual differentiation, and its accessibility guidance recommends not relying on color alone.
So rather than just replacing the current chart with a prettier image, this PR fixes the underlying problem: leaderboard figures can now be generated reproducibly from the canonical
EvalReport.What this adds
evaluate --chartsgeneration under<reports-dir>/charts.ScenarioResult.score.detailsvalues, excluding missing and non-Boolean values from denominators.visualizationdependency group, keeping Matplotlib out of the default evaluation install.The historical README image is intentionally unchanged because the repository does not contain a canonical historical
EvalReportcapable of reproducing its published values. Future leaderboard figures can now be generated directly from evaluation data rather than from hand-maintained percentages or image reconstruction.No benchmark values or scoring behavior are changed — only the path from evaluation data to pixels.
Type of Change
Industry Relevance
Benchmark figures should make differences between models easier to see, not become another part of the benchmark.
For AssetOpsBench in particular, leaderboard comparisons need to remain understandable across larger model sets, runner types, reduced README rendering, grayscale printing, and common color-vision differences.
This change also removes manually maintained visualization data from the future publication path: leaderboard figures can be reproduced from the evaluation system's durable report.
Related Issues
Testing & Validation
pytest src/evaluation/tests/test_visualization.py src/evaluation/tests/test_cli.py src/evaluation/tests/test_report.py -qpassed, 26 tests.llm_judge, once without--chartsand once with it. The default run wrote only_aggregate.json; the chart run wrote the aggregate, manifest, SVG, and PNG without a real LLM call.ruff format --checkandruff checkpassed for all changed Python files.uv lock --checkpassed.gitleaks,detect-secrets, and CouchDB data hooks passed.evaluate --helpexposes the new opt-in flag.The complete evaluation directory currently reports 105 passed and six existing failures in static JSON CAR-metadata tests. Those unchanged tests call an
evaluation_metadataargument and expectcar_score, but the currentorigin/mainscorer does not implement either behavior. This PR does not modify that scorer or those tests.Checklist
/docsaccordingly.