Command Reference


The same list is printed by python3 codebench.py --help.

Commands

Without any of these, the script runs the benchmark.

OptionWhat it does
--listList the tasks and exit
--selftestValidate toolchains and tasks with the reference solutions (no model)
--compareRank the latest complete run of each model
--compare-allLike --compare, but with every stored run
--resume DIRContinue the run stored in DIR
--records DIRList the stored records of a run
--migrate DIRCopy an older run without the answers of changed tasks

Server and model

OptionDefaultWhat it does
--url URLhttp://127.0.0.1:9931Server base URL
--api-key KEYLLAMA_API_KEYAPI key, if the server needs one
--name NAMEfrom the serverModel name in reports and folders
--temperature Nnot sentOverride the server's temperature
--top-p Nnot sentOverride the server's top_p
--extra-json JSONnoneJSON object merged into every request
--system TEXTnoneSystem prompt
--seed N1234Base seed; run k uses seed+k

Run control

OptionDefaultWhat it does
--runs N1Answers per task
--only LISTall tasksTask ids or substrings, comma-separated
--out DIRresultsResults folder
--max-tokens N24576Token cap per answer, reasoning included
--task-timeout S1800Seconds allowed per answer
--no-loop-detectiondetection onDo not stop repeating answers
--time-scale X1.0Multiply the test time limits
--csharp auto|mcs|dotnetautoC# toolchain
--skip-missingoffSkip languages without a toolchain
--keep-workoffKeep the build folders

With --resume and --records

OptionWhat it does
--forceWith --resume: continue despite different settings or tasks
--remove LISTWith --records: delete records by number
--remove-run LISTWith --records: delete every record of the given runs