Skip to content

Frozen benchmark bundles: agml-full-v1, bench/data commands - #2

Merged
eranario merged 4 commits into
mainfrom
bench-v1
Nov 23, 2026
Merged

eranario merged 4 commits into
mainfrom
bench-v1

Conversation

@eranario

Copy link
Copy Markdown
Contributor

Step 2 of the agml-benchmarks plan (stacked on #1).

  • agml-full-v1: the paper items frozen verbatim (372 datasets, 32,456 items) + manifests pinned to HF revisions + judge prompt hash; no images redistributed
  • agbench bench list|show|freeze, agbench data pull|status|verify
  • Benchmark(..., bench="agml-full-v1") / --benchmark (default); ablations recorded as variant
  • Deterministic ag-task tie-break for detection/segmentation images

Checked: pulled 5 datasets (one per task) from HF, data verify 5/5; items rebuilt from the pulled data match the frozen ones (images, prompts, answers), except mcqa_across distractors from a partial data dir (why items are frozen) and MIRAGE crop metadata.

🤖 Generated with Claude Code

eranario and others added 4 commits November 19, 2026 10:31
A bundle (src/agbench/benchmarks/<name>/) fixes the manifests (HF repo, pinned
revision, sample refs), the evaluation items exactly as scored in the paper
(prompts, options, answers, ground truth) and the judge prompt, with sha256 per
file and a bundle hash. agml-full-v1 is frozen from the paper's runs: 372
datasets, 32,456 items. No images are redistributed.

- agbench bench list | show | freeze
- agbench data pull | status | verify: download exactly the listed samples from
  the source AgML repos at their pinned revisions (manifests/ untouched), check
  revision, sample ids and that every evaluated image is present and readable
- Benchmark(..., bench="agml-full-v1") and eval run/baseline --benchmark
  (default agml-full-v1; 'none' builds items from the data dir). Item ablations
  are built from the data and recorded as variant "ablation"; run.json records
  the benchmark name and hash
- agtask.objects_bucket: deterministic tie-break (was set order, which flipped
  6 cocoa-pod detection items between disease and pest_damage across runs)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…taset ag_task label

research/scripts/replay_paper.py feeds each paper run's saved answers through
the frozen benchmark (no model called), regrades them and compares per-item
scores and metrics.json. Result: 24/24 runs identical. Judge verdicts are
carried over; detection boxes are read at the recomputed sent image size (not
saved by the paper runs). The paper runs disagree among themselves on the
ag_task of 6 cocoa-pod detection items (13 runs: pest_damage, 11: disease, a
tie broken by hash order); the replay scores each run with its own labels and
reports the count.

metrics.compute: a dataset row's ag_task label (its most common bucket) broke
ties by set order; now alphabetical, as in agtask.objects_bucket.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng.md, paper to research/README.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 5 re-uploaded VQA repos

- data pull / sample in a terminal: one progress bar and a done/failed line per
  dataset (details in <data-dir>/_logs/<command>.log); plain lines otherwise.
  The run ends with a table of failed datasets and why; data status shows the
  reasons too.
- pipeline.explain: failure reasons a user can act on (source repo not found,
  pinned revision gone, gated, read-only token, not logged in, timeout).
- agbench bench repin: point a dataset at a re-uploaded repo's current revision.
  Samples are found by the SHA-256 of their images in a reference copy and kept
  only if the downloaded images are byte-identical; sample ids, and so the
  frozen items, are unchanged. Writes a "repinned" record into bundle.yaml.
- build/pipeline: a manifest's sample ids are kept on extraction.
- agml-full-v1: AgroOmni, CDDM, LeafNet, PlantExpertVQA and PlantMicro were
  deleted and re-uploaded on the Hub after sampling (pinned revisions gone);
  re-pinned, all 1,234 images byte-identical. Items unchanged; hash 1876e21c16b413dd.
  AgriBench's repo no longer exists (open).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eranario
eranario changed the base branch from restructure to main November 23, 2026 21:00
@eranario
eranario merged commit f6469cd into main Nov 23, 2026
1 check passed
@eranario
eranario deleted the bench-v1 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