I wanted to test one simple, yet important question: Can a small local model review a support response like a QA lead, catch the risky parts & explain what needs to be fixed?
So, I broke down Support QA into 5 different specialists:
- Source of truth - did the agent use the policy, account data, tool output, or logs?
- SOP/Process adherence - did the agent follow the required support workflow?
- Unsupported promise - did the agent promise a fix, refund, credit, backfill, escalation, or timeline without authority?
- Technical diagnosis - did the technical explanation actually make sense?
- Handoff completeness - could the next agent continue without making the customer repeat everything?
Here, “agent” means the human support rep.
Each judge gives a structured verdict:
- Pass or fail
- how confident it is & its reasoning
- the exact piece of text that caused the failure
- what a safer reply would have looked like.
While this may seem simple & straightforward for anyone who isn't from the Support world, I chose these "judges" because a single good/bad score can hide which requirement failed, so I wanted to test these questions:
- A support call can be polite, helpful, and still ignore policy.
- It can technically be correct, yet still skip a required process step.
- It can give a good customer answer and still leave the next support agent with a useless handoff.
I tried three versions of the review instructions on the same 50 source-of-truth examples, including 30 bad replies:
- Short instructions: missed 4 bad replies.
- Detailed instructions: missed 14.
- Detailed instructions with graded examples: missed 16.
More detail did not help in this run. The question became: which bad replies was the reviewer letting through?
It caught useful mistakes in the fictional examples I gave it, but it also let bad replies pass. I would treat this as a second set of checks for a human reviewer. These tests do not show how reliably it would review a real support operation.
- Each judge is a small AI model with one job: To read a single support reply and decide whether it holds up.
- It gets the same three things every time:
- the customer's question
- the reply the agent sent back
- and the source material the agent was supposed to rely on, which is usually a policy document or the customer's account data.
- In these examples, the judge checks the reply against the supplied policy and account records. It does not independently verify those records.
A fictional support example
- A customer asks, What is your refund policy for annual subscriptions?"
- The supplied policy says the refund window is 30 days.
- The agent writes back that the refund window is 60 days & adds that anything later is handled case-by-case.
- Both are wrong: The agent doubled the window & invented something that the policy never mentions.
Along with the 5 judges, I used:
- A Qwen3-4B-4bit local MLX model as the Primary model
- A Phi-4-mini-instruct-4bit local MLX model as a challenger.
The pipeline can:
- Run one judge on a labelled example set.
- Compare 3 rubric variants with the below. A rubric variant is essentially a set of scoring criteria for the judges.
- Short review instructions
- Detailed review instructions
- Detailed review instructions with sample graded answers
- Compare Qwen vs. Phi
- Save metrics & the disagreement reports.
- Run all 5 judges on a support case.
- Synthesize those verdicts into one readable support QA report
- Run a calibration check to inspect the remaining mistakes before deciding whether another training experiment was worth doing.
The important part is that the report does not hide the evidence. It shows which judge passed or failed, what text caused the failure, what requirement was missing, and when a specific correction rule changed a model verdict.
- Built gold pass/fail examples - essentially, some obvious good and some obvious bad responses for the judge for which the correct answers were pre-decided by me.
- Built red-team examples that sound polished but should fail (think, trick questions)
- Tested the three rubric styles: Vague, Detailed, Detailed with examples.
- Ran Qwen and Phi.
- Measured:
- how often it was right
- how often it let a bad answer through (the false-safe rate)
- how often it failed a good answer
- whether its output came back in the format I asked for
- whether it pointed at the exact text that was wrong, and
- how often it disagreed with the second model.
- Wrote corrected records for the model mistakes.
Reviewing the mistakes A judge was not done when its run finished. For every verdict the model got wrong I classified the miss, wrote a corrected record with the real verdict and the exact failure span, and filed it into the gold set or a future fine-tuning set. Each judge also got a short wind-up note: what it catches, what it misses, and whether the challenger was worth running. These corrected records are evaluation annotations, not new model output or fresh performance evidence.
I tested the same examples using three versions of the review instructions: short, detailed, and detailed with sample graded answers.
For the source-of-truth judge on these 50 examples, the short instructions produced the fewest mistakes. Adding detail did not improve this run. That was worth recording, even though the test does not explain why it happened.
| Rubric | Accuracy | Missed bad answers | Pinpointed the exact problem |
|---|---|---|---|
| Vague | 92% (46/50) | 13% (4/30) | 87% (26/30) |
| Detailed | 72% (36/50) | 47% (14/30) | 53% (16/30) |
| Detailed + examples | 68% (34/50) | 53% (16/30) | 47% (14/30) |
The saved result is clear, but its cause is not. The short rubric produced fewer misses than either detailed variant in this run. The measured difference does not establish that short rubrics are generally better or explain why these prompt variants differed.
- A second model caught different mistakes. On the source-of-truth run, Qwen and Phi disagreed on 14 bad replies. Qwen caught 11 that Phi passed; Phi caught 3 that Qwen passed. Two of those three were deliberately difficult examples.
- A confident explanation could still be wrong. Phi approved a reply promising 90 days of data retention, even though the policy allowed only a 30-day grace period. Its explanation called the two consistent.
- Neither model earned the final say. Comparing them gave me examples to review, not a reason to trust either model on its own.
Then I built the full five-judge support QA pipeline:
support case
|
v
five specialist judges
|
v
calibrated verdict artifacts
|
v
one support QA report
Two fictional B2B support cases are included, each written so that all five judges have something to inspect.
- Acme Analytics: an export keeps timing out, and the customer disputes a bill. The rep blames the browser despite evidence pointing to export size, promises an unauthorised fix and credit, and leaves a thin handoff.
- Northstar Learning: 36 signups stop reaching the customer's system after a security-key change. The rep uses the logs to identify the likely mismatch and avoids promising full recovery. But the reply misses the urgency, does not confirm the receiving system is ready before retrying, and drops key details from the handoff.
The Northstar case is the one I used for the final saved run, and it produces this result:
| Judge | Result |
|---|---|
| Source of truth | PASS |
| SOP/process adherence | FAIL |
| Unsupported promise | PASS after calibration |
| Technical diagnosis | PASS |
| Handoff completeness | FAIL |
That is a useful QA outcome. The agent used the logs and diagnosed the issue correctly, but missed the urgency acknowledgement and wrote a weak handoff.
- A correct diagnosis is not the whole support job. Northstar's reply used the logs well but missed the urgency and left a weak handoff. Separate checks made those failures visible.
- The reviewer needs QA too. It approved “If your team tries logging in again now, it should work” without evidence of recovery. Elsewhere, it wrongly treated “I cannot guarantee a complete backfill” as a promise.
- A correction is not model learning. I added a specific rule for that second mistake and kept the original verdict visible. On a separate set of 40 examples, the corrected result was 38 right instead of 37. It still let one bad answer through.
I need to know which bad replies an AI reviewer approves, not just how often it agrees with the answer key.
These results did not give me a clear reason to start another training project. The remaining mistakes are recorded, and this small set does not show that the reviewer is ready for a real support queue.
I would use this as an extra set of checks for a human reviewer. I would not let it make the final quality decision on its own.
Run all tests:
python3 -m pytestRun one judge baseline:
python3 run_judge.py source_of_truth --rubric vagueRun the five-judge pipeline on a support case:
python3 run_pipeline.py --case data/cases/northstar_learning_webhook_secret_rotation.jsonSynthesize a saved pipeline run:
python3 synthesize_report.py --run-dir reports/pipeline/<run_id>Run the calibration eval:
python3 run_pipeline_calibration.pyMLX inference needs Apple Silicon with Metal access. In a sandboxed session, tests will run, but model inference may need to run outside the sandbox.
judges/registry.yaml judge definitions and rubrics
data/gold/ approved pass/fail examples
data/red_team/ subtle bad answers
data/corrected/ corrected model mistakes
data/future_finetune/ possible future training data
data/cases/ five-judge support cases
src/eval_judges/ parser, prompt builder, scorer, pipeline, synthesis
reports/ saved judge runs and pipeline reports
run_judge.py per-judge runner
run_pipeline.py five-judge support QA runner
synthesize_report.py support QA report generator
run_pipeline_calibration.py fine-tuning decision eval