1. Pairwise judge with position swap
hard50 XPWrite parse_verdict(text) -> "A" | "B" | "tie" | None reading the last <verdict>X</verdict> tag (case-insensitive X, tolerate whitespace). Then write compare(question, out1, out2, judge) -> "1" | "2" | "tie" | "inconsistent": call judge(prompt) twice — once with out1 as A, once swapped. If both runs agree on the same underlying output, return it; if both say tie return "tie"; if either verdict is unparseable or they disagree return "inconsistent". Build prompts with make_prompt(question, a, b) (given).
Ctrl/⌘ + Enter runs the tests · Esc then Tab leaves the editor