Implement a pairwise LLM-as-judge harness with position-swap debiasing (run both orders, a

Evaluation: Benchmarks, Judges & Uncertainty2 / 4

Chapter 152 / 4

Evaluation: Benchmarks, Judges & Uncertainty

Implement a pairwise LLM-as-judge harness with position-swap debiasing (run both orders, a

Medium

Implement a pairwise LLM-as-judge harness with position-swap debiasing (run both orders, average).

Target interface
score_from_verdict(verdict, a_is_first)

Implement the function/class skeleton in the editor. Any correct approach is accepted.

Hints0 / 2
Reference solution
Your own code stays in the editor.