Add a result to the leaderboard¶
An entry is one JSON file in leaderboard/submissions/. It holds the sessions' counts per scenario and condition. CI recomputes the headline numbers from the counts and rejects an entry whose numbers do not follow.
Steps¶
-
Run the whole frozen track with three repetitions. Do not select suites or scenarios; an entry covers all 108 replications. Pin the run to the benchmark version you want on the leaderboard (
roguebench list versions;1.0is the frozen replications of the paper).roguebench run --model compat/my-model --name my-model --track full --reps 3 --benchmark-version 1.0--benchmark-versionkeeps the run to the scenarios of that version and writes it into the run, so a later benchmark version cannot slip into the entry. Without it the run uses the frozen scenarios of the installed version.Use
--track coreif you only measure the incident condition and controls. Add--defenseor--attackfor a defended or attacked entry; the entry records both. -
Check the report.
roguebench score runs/ -
Write the entry.
roguebench submit runs/ --tag my-model --submitter @your-github-name \ --provider your-org --agent-desc "text-protocol agent" \ --display-name "My Model" --sessions https://example.org/link-to-session-logs \ --price-in 0.15 --price-out 0.60--price-inand--price-outare USD per 1M prompt and completion tokens; give them for the cost column (the list price, or what you paid, say which in--notes). Leave them out and the cost shows as a dash, unless the model has a verified list price insrc/roguebench/data/prices.json.This writes
leaderboard/submissions/<date>_my-model.jsonand validates it.--tagis the tag of the run, the name used in the run's files inruns/. It carries the defense and the attack, for examplemy-model+spotlight@direct. If the entry is not valid, the file is still written, the problems are listed and the command exits with 1. -
Validate and preview.
roguebench leaderboard validate roguebench leaderboard show -
Open a pull request with the file. Link the session logs in
--sessions, or attach them to the pull request. Entries with logs can be checked; entries without can only be checked for internal consistency.
Tracks: standard and custom¶
Every entry is on one track, and the leaderboard has one table for each, so that a scaffold is never ranked beside a plain model.
| Track | What it is |
|---|---|
| standard | A hosted or open model (--model) in the default harness: the suites' text protocol or the provider's native function calling (--tool-mode native), no --defense, no --plugin, the incident's own text (--attack incident, the default). |
| custom | Everything else: your own agent (--agent), a benchmark-wide defense, a plug-in, an attack other than the incident, an intervention. |
roguebench submit sets the track from the run, and validation checks that it agrees with the entry's own fields (agent_kind, defense, plugins, attack, intervention). A custom entry must link its session logs with --sessions https://...; without the link validation fails. The older track values core and full (which conditions the run covered) now live in scope; entries written before the label are read by the same rule.
Tokens and cost¶
roguebench score and roguebench submit add up the prompt and completion tokens of the finished sessions and report tokens per session. Seven suites record measured counts (browser_agent, destructive_actions, multi_agent, ops_agent, personal_assistant, support_agent, wallet_agents). injection_replay writes zeros, and agent_supply_chain and containment_breach write a fixed estimate, so their sessions are left out of the totals; the entry lists them under tokens.not_recorded and the leaderboard marks the figure with an asterisk.
Cost is the counted tokens at one list price per million tokens, without caching or batch discounts, divided by the finished sessions that have tokens. The price is the one you give, or the model's entry in src/roguebench/data/prices.json. That table holds only prices read from the provider's own pricing page, each with its URL and the date it was read; a model that is not in it has no cost unless you give a price. To add one, open a pull request with the price, the page and the date.
When the session logs of an entry are in the repository (leaderboard/sessions/), CI recomputes the tokens from them.
Benchmark version¶
An entry records the benchmark version it was run on (benchmark_version) and the scenario set (scenario_set, for 1.0: the 108 frozen replications). Validation rejects an entry whose scenarios belong to another version, and the leaderboard has one set of tables per version: results of different versions are never in one table. If a run also included live scenarios, the entry says so in live_included (the live versions and the snapshot date of the newest); the metrics are still the frozen replications only.
What validation checks¶
- All required fields are there: schema (
roguebench-submission/1), model, display name, provider, agent, defense, attack, track (standardorcustom), benchmark version, repetitions, date, submitter, metrics, per-scenario counts. - The track agrees with the entry's own fields, and a custom entry links its session logs.
- The benchmark version exists, and every scenario of the entry belongs to it.
tokens, if present, are non-negative counts for suites that record them (and match the logs when these are in the repository); apricehas a source, and one taken from the price table matches it.- Every scenario key exists in the frozen track.
- Each count is
[harmful, finished, errored], non-negative, with harmful not above finished. harm_incident,harm_controlandreproducedin the metrics equal what the per-scenario counts give.- Each of the 108 replications has at least one finished session in the incident condition.
Rules for entries¶
- One file per model, defense and attack setting.
- Say what the agent is. A bare model and a model inside an agent framework are different entries, on different tracks.
- Do not drop scenarios because they are slow or fail. Errored sessions are counted and left out of rates; a large number of them should be explained in
--notes. - Live-track results are not part of entries.