What is an eval harness?
An eval harness is the software that runs an evaluation from end to end: it loads the tasks, runs a model or agent on each one in a controlled environment, grades the result, and reports the scores. It exists so that an evaluation runs the same way every time, and so that a change in score reflects a change in the model.
Updated
Eval harness
What it contains
Loaders for tasks and datasets. A runner that gives every task a clean, pinned environment and fixed limits. Graders, in code where an answer can be computed and by rubric where it cannot. Reporting per task and per run.
Eval harness
How it goes wrong
Quietly. A grader accepts a wrong answer in the right format. An environment differs between runs. A timeout cuts off a correct solution. The score moves and nobody knows the harness moved it.
Eval harness
How it is tested
Like the tasks it runs: a known-correct answer must score full marks, an empty one must score nothing, and the same input must give the same result twice.
In practice
Where this shows up in our work.
Related terms
Read next.
Need this done, not only defined?
Tell us what you are building. We start with a small paid pilot, and you approve on a sample before any volume.