ITeraLoveBook
All articles
AI Training1 min read

Evaluating LLM outputs for code: what reviewers look for

Our engineers review AI-generated code for training projects. This is the rubric we use to judge correctness, safety and clarity.

Priya Nair

AI Evaluation Engineer · ITeraLove

Code evaluation is among the most valuable AI training work, and among the easiest to get wrong. This is the rubric we use internally.

The rubric

CriterionQuestion to ask
CorrectnessDoes it run and handle the edge cases?
Instruction followingDid it do what was asked, and only that?
SafetyAny injection, secrets, or unsafe defaults?
ClarityWould a teammate understand it quickly?
HonestyDoes the explanation match what the code does?

Tips

  • Run the code whenever the task allows it, instead of judging by reading alone.
  • Penalise confident explanations of code that doesn't work.
  • Prefer the simpler correct answer over the clever one.

This rubric is part of the onboarding material in our AI Training Assistance program.

How to handle AI training jobs and do them well

A practical guide for annotators, evaluators and prompt writers: how to read guidelines, keep quality high and work sustainably on AI training projects.

Daniel Okafor1 min read