Skip to the workspace
Pebellslearn by building
Testing and Improving Prompts  ›  Lesson

LLM Self-Evaluation

LLM Self Evaluation 14 minA model can review and grade output against explicit criteria, which catches many errors but needs a clear rubric and occasional human checks.

prompt engineering / LLM Self-Evaluation

Explore each scene at your own pace.

01 · The rule

The rule

LLM Self-Evaluation

Classification is easy to score: the label is right or wrong. But how do you score two hundred drafted replies a day? Reading them all is not practical. A common answer is to have a model grade them — as long as you give it a precise rubric and keep checking the grader itself.

The rule

A model can grade well — against a rubric, with the facts, and with checks.

LLM self-evaluation means using a model to review output: either its own draft or another model's. It takes several forms:

  • Self-critique — the same model reviews its draft and revises it ("Check your answer against the policy, then fix any problems").
  • Model as judge — a separate call grades the output against criteria and returns a verdict.
  • Pairwise comparison — the judge picks the better of two outputs, useful when comparing prompt versions.

What makes it work is the rubric. "Is this reply good?" gets vague, generous answers. Specific, checkable criteria get useful ones.

Grade the draft reply using the policy and the customer email below.

Criteria:
1. Every factual claim appears in the policy.
2. It answers the question the customer actually asked.
3. It is under 120 words.
4. It does not promise a refund.

For each criterion write PASS or FAIL with a one-line reason.
Then write "Verdict: send" if all pass, otherwise "Verdict: revise".
<policy> ... </policy>  <email> ... </email>  <draft> ... </draft>

Giving the judge the source facts is essential. Without the policy, it can only judge whether the reply sounds right — the same trap that causes hallucination.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.