The same list is printed by python3 codebench.py --help.
Commands
Without any of these, the script runs the benchmark.
| Option | What it does |
--list | List the tasks and exit |
--selftest | Validate toolchains and tasks with the reference solutions (no model) |
--compare | Rank the latest complete run of each model |
--compare-all | Like --compare, but with every stored run |
--resume DIR | Continue the run stored in DIR |
--records DIR | List the stored records of a run |
--migrate DIR | Copy an older run without the answers of changed tasks |
Server and model
| Option | Default | What it does |
--url URL | http://127.0.0.1:9931 | Server base URL |
--api-key KEY | LLAMA_API_KEY | API key, if the server needs one |
--name NAME | from the server | Model name in reports and folders |
--temperature N | not sent | Override the server's temperature |
--top-p N | not sent | Override the server's top_p |
--extra-json JSON | none | JSON object merged into every request |
--system TEXT | none | System prompt |
--seed N | 1234 | Base seed; run k uses seed+k |
Run control
| Option | Default | What it does |
--runs N | 1 | Answers per task |
--only LIST | all tasks | Task ids or substrings, comma-separated |
--out DIR | results | Results folder |
--max-tokens N | 24576 | Token cap per answer, reasoning included |
--task-timeout S | 1800 | Seconds allowed per answer |
--no-loop-detection | detection on | Do not stop repeating answers |
--time-scale X | 1.0 | Multiply the test time limits |
--csharp auto|mcs|dotnet | auto | C# toolchain |
--skip-missing | off | Skip languages without a toolchain |
--keep-work | off | Keep the build folders |
With --resume and --records
| Option | What it does |
--force | With --resume: continue despite different settings or tasks |
--remove LIST | With --records: delete records by number |
--remove-run LIST | With --records: delete every record of the given runs |