Skip to content
mentoor

Topic 3 of 6 · 4 min read

Choosing quality dimensions to measure

Goal: Turn a feature's success criteria into three to five measurable dimensions and reject a generic metric that does not fit.

Measure the few things that make your feature fail in front of users, and write each one as a check that returns pass or fail. A generic score such as "helpfulness 4.2 out of 5" hides which of those things broke.

Check yourself · 1 of 3

Where should the list of quality dimensions for your feature come from?

Choose one answer

Why it matters

An answer can be wrong in many different ways. A support bot can state a refund rule that does not exist, leave out the order number, answer in a rude tone, take 14 seconds to respond, or cost ten times what you planned. One blended quality score treats these as the same problem. Separate dimensions tell you what to fix.

Common dimensions

  • Correctness: does the answer match the known right answer?
  • Faithfulness: does it stick to the supplied documents, without inventing facts?
  • Format: is it valid JSON, under 120 words, in the required fields?
  • Tone and policy: does it follow the style guide and the rules you set?
  • Safety: does it refuse what it must refuse, and not refuse what it should answer?
  • Latency and cost: time to answer and tokens spent per request.

How to pick yours

  1. Start from failures, not from a list. Read 30 real outputs, or support complaints. Write down each way one went wrong.
  2. Group them into three to five dimensions. If a failure does not fit, it may be its own dimension.
  3. Write each as a check. "Faithful" becomes "every claim in the reply appears in the retrieved text". A code check is best; a rubric for a grading model is next.
  4. Drop what you will never act on. If no result would change a decision, do not measure it.

Before and after

Before: "Quality score from a model judge, 1 to 10."

After:

Dimension Check Grader
Faithful no claim outside the policy text rubric model
Complete names the order id code
Format valid JSON with reply and action code
Latency under 4 seconds timer

What goes wrong

  • Borrowing metrics from a paper. A text-overlap score such as BLEU rewards similar wording, which says little about whether a support reply is right.
  • Too many dimensions. Ten checks nobody reads are worse than four they do.
  • Ignoring cost and latency. A prompt that gains two points and doubles the bill is a trade, not a win.
  • One judge score for everything. You cannot tell which part fell.

Examples

A meeting-summary feature

Failures found in 30 summaries: missing action items (9), invented attendee names (4), too long (6). Dimensions: action items complete, no invented names, under 150 words. Tone and style were fine, so they are not measured.

Rejecting a generic metric

A teammate proposes a word-overlap score between the model's answer and a reference answer for a support bot. Two correct replies with different wording score low, and a wrong reply that copies the question scores high. Replace it with checks for the facts that must appear.

Key points

  • Pick dimensions from the real failures you see in outputs, not from a generic list.
  • Aim for three to five dimensions, each written as a check that returns pass or fail.
  • Use a code check where you can and a written rubric for a grading model where you cannot.
  • Faithfulness (no invented facts) and correctness are different checks and fail separately.
  • Track latency and cost beside quality, because a gain can be paid for in both.

Common mistakes

  • Choosing a dimension list from a blog post before reading any real outputs.
  • Using a single 1 to 10 judge score and calling it quality.
  • Measuring things nobody will act on.
  • Leaving cost and latency out until the bill arrives.

Check yourself · 2 of 3

A reply summarises a policy but adds a refund rule that is not in the policy. Which dimension fails?

Choose one answer

Check yourself · 3 of 3

Which is the best way to write the check for "the reply is complete" on a support ticket feature?

Choose one answer

Practice items, not counted towards your mastery.

Start here