Results and Scoring


Files of a run

Each run is stored in results/MODEL/YYYYMMDD-HHMMSS/ (change the base folder with --out):

FileContent
report.mdFinal score, scores by category, language and task, secondary metrics and failed tests
results.jsonSettings, sessions and one record per answer
answers/TASK_runK.mdPrompt, reasoning and answer
answers/TASK_runK.EXTCode extracted from the answer

results.json also records the machine, toolchains, model path and, for a local server, the command that started it. Values of options named like keys, tokens or passwords are masked. Check these files before sharing them.

Compare models

python3 codebench.py --compare         # latest complete run of each model
python3 codebench.py --compare-all     # every stored run

Both write comparison.md and a self-contained comparison.html to the results folder (add --out if you changed it). The report ranks the models, shows cut-off answers and the score per task, and ends with the model files, server settings and benchmark options. It warns when results come from different versions or tasks. A run that misses any task or run (--only, --skip-missing, an interruption) is marked (incomplete), and its Runs column shows how many runs have an answer for every task (4/10); --compare shows it only when the model has no complete run.

How the score works

How tests are run

Report columns

ColumnMeaning
SolvedTasks the model got completely right in every run
BuildsAnswers that compiled, or were accepted by the interpreter; it does not mean the code is correct
Avg tokensMean tokens generated per answer, cut-off ones included
Cut offAnswers not completed: length (token cap), wall-limit (time cap) or loop