# Submitting results to CAI-Bench This guide is for CAI-Bench **5.6.0**. It replaces the v2.0/v4 guide. If anything here disagrees with the dataset card, please open a discussion so we can fix it. Every accepted submission gets a row in the `leaderboard` config. We rescore every submission from its raw replies before listing it, so all you need to send is what you ran and what the model said. **Fastest path.** If you ran `run_api.py` or `run_local.py`, one command builds the whole submission and, only if you ask, opens the pull request under your Hugging Face account: ```bash python3 caibench_share.py results/openai_gpt-4.1-mini --name "Ada Example" --model-version 2025-04-14 # builds share/, sends nothing python3 caibench_share.py results/openai_gpt-4.1-mini --name "Ada Example" --model-version 2025-04-14 --open-pr # shows what it will send, asks, then opens the PR ``` It copies the runner's reply files unchanged (a custom `--base-url` is replaced by `"custom"`), runs the official scorer, hashes the data files against `SHA256SUMS`, and refuses to package anything that looks like an API key. The rest of this guide is for runs from other harnesses, or if you prefer to do it by hand. ## 1. Run Use the runner for your split, or any harness through the `prompts` config. ```bash # headline (one number, 1,274 prompts) python3 run_api.py --model openai:gpt-4.1-mini --splits headline python3 score_headline.py results/openai_gpt-4.1-mini # twins and its probes python3 caibench_twins.py run --model anthropic:MODEL python3 caibench_twins.py score --responses results/anthropic_MODEL/twins.jsonl # any other harness: export item_id + reply, then python3 import_replies.py --model my-model replies.jsonl python3 score_all.py results/my-model && python3 score_headline.py results/my-model ``` Defaults that make results comparable: temperature 0, one sample per prompt, the prompts exactly as the `prompts` config renders them, and no extra system prompt. If you change any of these, say so in `submission.json`. Your result will still be listed, marked with the setting that differs. Before submitting, check the data you ran against the release: ```bash sha256sum -c SHA256SUMS ``` ## 2. Lay out the files Add one folder per model and benchmark version: ``` results/submissions/____/cai-bench-5.6.0/ submission.json # what you ran (required) replies.jsonl # raw replies, one record per item_id (required, or raw/ below) raw/.jsonl # instead of replies.jsonl: the native runner's output files, unchanged scores.json # the scorer output, unedited (required) notes.md # anything a reader should know (optional) ``` Use lowercase and replace `/` and `:` with `_`, for example `results/submissions/openai__gpt-4.1-mini__2025-04-14/cai-bench-5.6.0/`. ### `replies.jsonl` One JSON object per line, one line per prompt you ran: ```json {"item_id": "", "reply": "DECISION: YES\n...", "replies_json": null, "tool_calls": null} ``` - `item_id` and `reply` are required. `reply` is the model's full, unedited output, not just the parsed decision. - Multi-turn splits (`dynamics`, `future`): put every turn's reply in `replies_json` as a JSON list. - `claims`: put each tool call in `tool_calls` as `[{"name": ..., "arguments": {...}}]`, or append them to `reply` as `[tool_call] ` lines. - More than one sample per prompt: add `"sample": 0`, `"sample": 1`, ... Partial runs are accepted. The leaderboard lists only the splits you ran, and an index is reported only for scenario groups with every variant answered. ### `submission.json` Every field below is required unless marked optional. ```json { "submitter": {"name": "Ada Example", "organization": "Example Lab"}, "model": { "name": "gpt-4.1-mini", "version": "2025-04-14", "provider": "openai", "access": "api", "parameters": "optional, e.g. 7B", "system_prompt": "none" }, "sampling": { "temperature": 0, "top_p": 1, "max_tokens": 1024, "samples_per_prompt": 1, "seed": null, "reasoning_effort": "optional, if the model has one" }, "benchmark": { "version": "5.6.0", "commit": "f4203e8", "splits": ["headline", "twins", "twins_probes"], "data_sha256": {"data/headline.jsonl": "…", "data/twins.jsonl": "…", "data/twins_probes.jsonl": "…"}, "private_seed": null }, "run": { "runner": "run_api.py", "runner_version": "5.6.0", "harness": "native", "date": "2026-10-28", "errors_or_retries": "optional, e.g. 3 prompts hit rate limits and were retried" } } ``` - `system_prompt`: `"none"`, or the full text, or `"withheld"` plus its SHA-256 in `system_prompt_sha256` if it is confidential. Withheld system prompts are listed but marked. - `data_sha256`: copy each file's line from `SHA256SUMS`. A hash that does not match the release means a different file; we will ask before listing. - `private_seed`: leave `null` until your evaluation is finished, then add the seed so others can regenerate the exact set. ## 3. Open the pull request In the Community tab, open a pull request that adds your folder. Title it `results: (CAI-Bench 5.6.0)`. In the description, give the headline numbers you expect to see and anything unusual about the run. ## 4. What happens next 1. We check the files against the schema and the hashes. 2. We rescore from `replies.jsonl` (or `raw/`) with the official scorers. 3. If every index matches your `scores.json` to within 0.005, we merge, add your rows to `leaderboard`, and mark them **verified**. If not, we comment on the PR with the difference, and the row waits until it is explained. 4. If your run bears on a preregistered prediction, we score the prediction and add the verdict to the `predictions` config, crediting your run. We aim to respond within a week. ## License and credit Merged submissions are published under the dataset's license, and the leaderboard row credits the submitter and organization in `submission.json`. Everything in a pull request is public, so do not put an email address or anything private in the files; we reply in the pull request itself. Do not submit replies you are not allowed to publish, such as outputs from a model whose terms forbid it. ## Older results Results in the v2.0 `procedural` format and the earlier `results/v4/` layout remain valid for those versions. They are not migrated to the current leaderboard. Resubmit in this format to be listed. ## Published results `local-2026-10/`: four local models (qwen2.5:7b, qwen2.5:3b, llama3.2:3b, llama3.1:8b) on nine splits, run with `run_local.py` through Ollama (temperature 0, seed 0, `num_ctx` 4096, except 8192 for 980 of the 1,344 `authority` replies), Oct 15 to 17, 2026. Each reply records its settings in `options`. - `responses.jsonl`: every reply, with the gold answer, the parsed answer and whether it is correct. This file is the `results_local_2026_10` config. - `raw//.jsonl` and `_score.json`: the native responses and scorer output. - `summary.json`, `summary_table.md`: the headline indexes. - `preregistered_predictions_2026-10-17.json`: preregistered predictions scored by `evaluate_predictions.py`. - `consistency_vs_correctness.json`, `forecast.json`: the consistency and forecasting analyses. Rebuild it with `python3 build_results.py OUTDIR` from a folder that holds `results//`. Re-score the preregistered predictions and the live forecasts from the published files: ```bash python3 evaluate_predictions.py --results results/local-2026-10/raw python3 forecast2.py score-live --forecasts forecasts_live_2026-10-16.json --results results/local-2026-10/raw ``` Dynamics was also run, on the 4.x data, but that file was regenerated in 5.0.0, so those results are not published. `release` was not run. `local-2026-10-5.2/` (5.4.0): the same four models on the nine 5.2 splits (`capability`, `observer`, `reasons`, `coherence`, `hysteresis`, `recoverability`, `obligations`, `distinctions`, `currency`), 2,016 replies each, run with `run_local.py` through Ollama on Oct 17–18, 2026 (temperature 0, seed 0, `num_ctx` 8192). - `responses.jsonl`: every reply with gold, parsed answer and correctness (the `results_local_5_2` config). Multi-turn `hysteresis` items keep the final reply; `turns` counts them. - `raw//.jsonl` and `_score.json`: native responses and scorer output. - `summary.json` (every split, every model, from `score_all.py`) and `headline_scores.json` (CAI Headline from `score_headline.py`). - `preregistered_predictions_5_2.*`, `preregistered_predictions_currency.*`: the preregistered predictions scored by `evaluate_predictions_cap_obs.py`. - `omission_commission_5_2.json`, `wdf_pilot_5_2.json`, `currency_deep_exploratory.json`, `restrictive_probe_exploratory.json`: the other preregistered and exploratory analyses. ```bash python3 evaluate_predictions_cap_obs.py --results results/local-2026-10-5.2/raw python3 score_headline.py results/local-2026-10-5.2/raw/qwen2.5_7b ```