TECHNOLOGY

DeepEval G-Eval: freeze evaluation steps and rubric meaning, not just a metric name

In this article
THE QUICK TAKE

A named G-Eval metric is a judge configuration, not a fixed universal definition of correctness.

Define the property being judged

A metric named correctness can penalize factual contradictions, missing details or deviation from a reference’s wording. These are not identical requirements. DeepEval’s G-Eval reference allows custom criteria, explicit evaluation steps and optional rubric ranges. Write a concrete property and counterexample before running the judge. A familiar metric name should not conceal which kinds of disagreement count as errors in this particular evaluation.

Preserve generated steps when comparing runs

The current reference describes deriving evaluation steps from criteria when explicit steps are absent. Those generated instructions become part of the measurement procedure. If repeated experiments regenerate the procedure, a score difference can reflect changed judgment as well as changed answers. Record the effective steps, or supply reviewed explicit steps using the supported configuration. Follow the installed version’s rules for choosing criteria versus steps rather than copying contradictory parameters from an old example.

Select only fields the criterion needs

The test-case guide distinguishes the actual answer, expected answer and contextual fields. A reference-based correctness criterion needs different evidence from a referenceless style criterion. Declare the selected evaluation fields and verify their contents on a diagnostic case. Supplying more fields is not automatically better: irrelevant or stale context can alter the judge’s task and make the metric answer a different question from its displayed name.

Calibrate rubric categories with examples

The original G-Eval paper motivates model-based evaluation, but it does not validate every custom rubric or every judge model. Treat a rubric as an authored measurement instrument. Test clear success, clear failure and boundary cases against human-reviewed expectations. Record judge identity and configuration alongside the rubric. More detailed instructions can improve interpretability without proving that the resulting scores are unbiased or universally comparable across unrelated tasks.

Keep rubric changes visible in reports

When changing the definition of a category or the penalty for an omission, version the metric even if its short name remains unchanged. Re-evaluate saved diagnostic answers to isolate the measurement change. The guides to reference and judge versions and mandatory acceptance logic provide related context. A useful result identifies the answer, judge and effective instructions, allowing a reviewer to reproduce the criterion rather than merely selecting a similarly named metric.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles