Weighted-average scoring

Combine several graders into one score with a weighted average.

Quality is rarely one number. A good support reply is both helpful (it solves the problem) and empathetic (it sounds like a person cares). You can grade each dimension separately, then combine them into a single score with a compute block.

This walkthrough combines two LLM graders on a customer-support reply into one weighted-average score. It continues the support example from Deterministic code checks.

The two graders

Each grader scores one dimension from 1 to 5. Both are LLM graders on openai/gpt-5.1 at temperature 0.

Rate how well this customer-support reply resolves the customer's problem.
Customer message: {{input}}
Agent reply: {{output}}
Score 1 to 5:
5 = fully resolves the issue with clear next steps
3 = partially helpful but leaves gaps
1 = unhelpful or ignores the problem
Reply with ONLY the number.

The compute block

A compute block combines scores. Use Average to weight every grader equally, or Weighted average to make one dimension matter more. Here Helpfulness carries more weight than Empathy:

Reply quality = 0.6 * Helpfulness + 0.4 * Empathy
A support reply is scored by Helpfulness (weight 0.6) and Empathy (weight 0.4); a weighted average combines them into a single Reply quality score.

Walkthrough

1

Create both graders

In the Graders section, add the Helpfulness and Empathy LLM graders using the definitions above. Set each to Number, range 1 to 5, passing score 3. Test run each one against a sample reply to confirm the scoring.

Helpfulness and Empathy graders
The Helpfulness and Empathy graders, each scoring one dimension of a support reply from 1 to 5.
2

Build the workflow on the canvas

Drag both graders onto the canvas so each scores the same Original input. Add a Weighted average compute block, connect both graders into it, and set the weights to 0.6 for Helpfulness and 0.4 for Empathy. Connect the block to Final result.

Evaluator canvas with two graders feeding a weighted-average block
The full canvas: Helpfulness and Empathy each read the original input and feed a weighted-average block (0.6 / 0.4) that produces the final score.
3

Test and deploy

Test run the full flow. A warm, complete reply scores near 5 on both graders and a weighted-average score near 5; a curt, dismissive reply drops on both. Deploy when the weighted average behaves the way you want.

What’s next