Manuel Porras

All work / Blind evaluation harness

Case study · Evaluation & measurement

How do you know the AI output is any good?

I built an instrument to find out. Its most valuable output was telling me, repeatedly, that I was wrong.

In short: For my own pipeline that turns written material into narrated video, “we look at it” was the only quality check — it does not scale and it is biased toward your own work. I built an evaluation harness in which a blind judge sees only the rendered output and retells what it understood, and the judge itself is tested with positive controls and a self-agreement check. Across 56 documented test cycles, comprehension in the blind test rose from 3.3 to 7.8 out of 10, with judge self-agreement of r = 0.78.

3.3 → 7.8comprehension in the blind test (/10)
56documented test cycles
r = 0.78judge self-agreement across two runs

Why “we look at it” is not a measurement

Ask a team how they know their AI output is good, and the honest answer is almost always: we look at it. That fails in three specific ways, and I hit all three.

  1. It does not scale. Reviewing a hundred outputs carefully is days of work. So you skim, and skimming only finds catastrophic failures.
  2. It is biased toward your own work. You know what the output was supposed to say, so you fill in what it failed to convey. You are the worst possible judge of whether something communicates — you are the only person who already knows.
  3. A score does not tell you what to fix. “Six out of ten” is not actionable.

I was building a pipeline that turns written material into narrated video with generated imagery. Quality was subjective, failure modes were subtle, and I had no way to tell whether a change helped. So before improving the output, I built something to measure it.

The one decision: the judge never sees the source

The critic only gets the finished, rendered output — exactly as a stranger would encounter it. A judge that has read the script will confirm the video makes sense. Because it does — to someone who read the script.

blocked — this is the designSourcewhat it should sayRendered outputas a stranger sees itBlind judgenever sees the sourceRetellingwhat it understoodComparegap = the line to fix
The blocked path is the design. Everything else follows from it.

Retellings instead of scores, and a test for the test

The load-bearing output is a retelling, not a score. The judge watches and retells what it understood. Comparing that with what the piece was meant to convey shows exactly where comprehension broke: which scene, which transition, which unexplained object. A score says the output is bad. A retelling says why, and points at the line to change.

Positive controls. Known-good and known-bad material goes through the judge to check that it can tell them apart. Without this, an evaluation harness is a random number generator with a confident tone — and I would have trusted it.

Self-agreement. Before trusting the judge, I measured whether it agrees with itself: two runs correlate at r = 0.78, with a mean absolute difference of 0.27.

Five times it proved me wrong

An evaluation harness only earns its cost when it contradicts the person who built it. These are entries from the correction log.

What I believedWhat the harness showed
Character identity held across generated frames — the contact sheet looked fine.Judged at full resolution: 27/100. Three visibly different people played one character. At thumbnail size the differences were invisible.
A cleaner architecture should replace the working one.Calibrated head to head, it lost: 40.0 against the incumbent’s 48.7. I killed it the same day I recommended it.
A fix for unnatural character posing would help.The image score dropped from 36 to 28. I reverted the harmful half and kept the rest.
Quality tracked an input variable monotonically.That held at n = 3 and broke at n = 5. Three points will support almost any story you want to tell.
A piece the harness scored well was good.To a human it read like a dream: fluent, but the parts did not connect. The harness had no axis for coherence.

The last one was the harness catching its own blind spot. It measured whether each part was intelligible, not whether the parts cohered. I added coherence as a separate, heavily weighted axis and re-ran everything. Scores that had looked strong dropped sharply — which was correct.

An evaluation harness is itself software with bugs, and the worst bug is a missing dimension. It never reports an error. It reports a good score for work that fails in a way you forgot to measure.

Outcome: directed instead of hopeful iteration

MeasureBeforeAfter
Comprehension (blind judge, /10)3.37.8
Overall (mean, /140)—103.8
Judge self-agreement (two runs)—r = 0.78
Judge drift (mean absolute difference)—0.27

The last two rows matter as much as the first: I checked whether the measuring device agreed with itself before trusting what it said.

All 56 cycles are documented, including every dead end. Several were expensive. The record is what stops me from running them again.

Without the harness I would have shipped the losing architecture on the strength of my own enthusiasm, and read the posing regression as “still not fixed, try harder”.

Where this applies

Any team with a generative feature in production and no automated notion of output quality — in my experience, most of them. Concretely:

  • regression testing of LLM output before a release
  • A/B evaluation of prompt and model changes
  • detecting quality drift after a model upgrade
  • review that scales past what humans can read

It is also relevant where evaluation has to run locally, because the content being judged cannot be sent to a third-party API.

Technology

LLM-as-judge (blind)Retelling-based evaluationPositive controlsJudge self-agreement (correlation)Multi-axis scoringGenerative image and video pipeline