Skip to content

Charts and HTML report for any runs (agbench.viz) - #4

Merged
eranario merged 1 commit into
mainfrom
step4
Nov 24, 2026
Merged

eranario merged 1 commit into
mainfrom
step4

Conversation

@eranario

Copy link
Copy Markdown
Contributor

Step 4, reduced to what this repo needs as a benchmarking base. There is no results release and no reference comparison: results are published through the paper and a separate project.

  • agbench.viz.aggregate groups runs into entries. Runs that differ only in their sampling seed count as replicates. Scores are aggregated as in the paper: the mean per dataset, averaged over replicates, then the macro mean over datasets with a 95% bootstrap CI. YOLO gets top-1 accuracy in the classification columns, and chance runs become reference lines. On the paper's runs it reproduces all 183 main, agricultural-task, fuzzy-match and YOLO numbers in research/paper/numbers.json, CIs included, with exact=True.
  • agbench.viz.figures draws fig_main_results.png and fig_agtask.png with the paper's layout and a colour-blind-checked palette. It needs uv sync --extra viz (matplotlib).
  • agbench.viz.html writes one offline HTML file with inlined data, SVG charts, hover tooltips and light/dark themes. Tabs: overview (chart plus a table with CIs), agricultural tasks, datasets (filterable and sortable), runs (benchmark, hash, judge, coverage, comparable).
  • agbench eval report gains --html, --figures, --label METHOD=LABEL and --title.

Tests: 52 pass. The figure test skips without matplotlib, as in CI.

🤖 Generated with Claude Code

- viz.aggregate: runs grouped into entries (seed replicates), per-dataset mean, macro over datasets, 95% bootstrap CI;
  YOLO top-1 and chance handled as in the paper; reproduces all 183 main/ag-task/fuzzy/YOLO numbers in numbers.json
- viz.figures: fig_main_results and fig_agtask (matplotlib, uv sync --extra viz), CVD-checked palette
- viz.html: one offline file (inlined data, SVG charts, hover, light/dark): overview, ag tasks, datasets, runs
- agbench eval report --html / --figures / --label / --title

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eranario
eranario merged commit 1006770 into main Nov 24, 2026
1 check passed
@eranario
eranario deleted the step4 branch November 25, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant