Your LLM judge scores whichever answer is shown first as the better one, almost every time.
- AAdd «be objective and ignore order» to the judge prompt
- BRun each pair twice with the order swapped and combine the two verdicts
- CUse a stronger judge model
- DAccept the scores - a consistent bias cancels out across many cases
Answer: B
Run each pair twice with the order swapped and combine the two verdicts
Why
Position bias is a property of the setup, not of the judge’s goodwill. Swapping the order and combining both runs measures the answers instead of the layout; a stronger judge is usually biased too, just more quietly.
- EvalsSomeone added your eval cases to the few-shot examples in the prompt.
- EvalsModel A scored 52% in your agent shell, model B 47% in a vendor’s.
- EvalsA client asks you to reuse your summarisation agent to rank job applicants’ CVs for a company in the EU.
- EvalsYour coding agent reviews its own patch, says “looks correct”, and ships it.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path