Skip to content

Run manifest, run check, hosted APIs, pluggable judge; AgriBench marked unavailable - #3

Merged
eranario merged 2 commits into
mainfrom
step3
Nov 23, 2026
Merged

eranario merged 2 commits into
mainfrom
step3

Conversation

@eranario

Copy link
Copy Markdown
Contributor

Step 3 of the plan, plus the AgriBench notice.

  • AgriBench stays in agml-full-v1 and is marked unavailable in bundle.yaml (removed from Hugging Face). data pull, data status, data verify and eval run show the notice. A local copy from before the removal is still used. The bundle hash is unchanged.
  • run_manifest.json is written with every metrics.json. It records the agbench version, the benchmark name, hash and variant, the method and sampling, the seeds, the judge, coverage, and comparable with its reasons.
  • agbench eval check RUN... checks the files and prediction schema, the items against the frozen benchmark, metrics.json against the predictions, and coverage. It runs at the end of eval run, and --strict makes problems fail the run. --rescore rewrites the derived files.
  • Hosted APIs: --endpoint URL --api-key-env VAR. The key is never saved, only the variable name. The client falls back to max_completion_tokens and drops unsupported sampling fields. A 401/403/404 stops the run instead of recording an error for every item.
  • Judge: --judge-model, --judge-endpoint and --judge-api-key-env accept any OpenAI-compatible judge. Only the reference judge and prompt count as comparable. Mixing judges in one run needs --redo.

Tests: 48 pass (mock OpenAI server for the hosted-API paths, check catches edited items, predictions and metrics). Checked end to end on local data with a toy method and the chance baseline. Not tested against live hosted APIs (no keys here).

🤖 Generated with Claude Code

eranario and others added 2 commits November 23, 2026 13:02
…ging Face); pull, status, verify and eval show the notice

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…luggable judge with comparability

- run_manifest.json on every finalize: version, benchmark name/hash/variant, method, seeds, judge, coverage, comparable + reasons
- agbench eval check: files and prediction schema, items vs frozen benchmark, metrics vs predictions, coverage; runs after eval run (--strict)
- Client: API key from an env var, hosted base URLs, max_completion_tokens / unsupported-parameter fallback, 401/403/404 stop the run, longer backoff on 429
- judge: any OpenAI-compatible judge (--judge-model/--judge-endpoint/--judge-api-key-env); records prompt sha; refuses to mix judges without --redo

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eranario
eranario merged commit a8bba37 into main Nov 23, 2026
1 check passed
@eranario
eranario deleted the step3 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