Dev finds his LLM judge scores worse than the agent it grades, shares regression-testing fix

jgarg27 · reddit · 2026-10-27

A developer building a search-query-writing agent with an LLM judge found the judge was less accurate than the agent it graded: the agent got 8/9 on scored cases, the judge 7/9. The cause: each judge failure was patched with a new rule never cross-checked against others, producing false fails (a correct query legitimately returning empty was penalized) and false passes (the agent answering a broader question undetected). His fixes: a fixed labeled set of past runs — including crucial "should return nothing" labels — and decoupling generation from judging by storing agent runs and re-running only the judge, making regression passes cost a fraction of a single agent run.

Original post →

More from coding & agent

coding & agent channel →