EvaluationLLM and Agent Evaluation
LLM and Agent Evaluation
Each LLM agent in ClayDiary is evaluated in the same loop, described in Evaluation Methodology. These terms and rules apply to each agent evaluation.
Terms and general rules
- Case: one row of the evaluation data, for example a message and the conversation before it.
- Prompt: the instruction for the LLM. Each change makes a new prompt version.
- Trace: what the LLM returned for one case under one prompt version, saved together with what was sent.
- Rubric: the instruction for the human: the rules for deciding the correct answer.
- Human response: what the human decides for a case under one rubric. It is the ground truth.
- Pass / fail: whether the LLM's response is correct according to the human response.
- Note (critique): what the human writes on a failed trace about what went wrong.
- Failure mode: a group of failed traces with the same cause, named from the notes.
- The human response doesn't change when the prompt changes, only when the rubric changes, which happens much less often.
- The traces of different prompt versions can be compared only when they are evaluated under the same rubric.
- After a rubric change, the traces of the previous prompt version are re-evaluated under the new rubric before they are compared with the new version's traces. The LLM is not run again. The traces stay the same. The human checks only the cases whose human response changed and writes notes on the new fails.