Tutorial
BeginnerSwap the Order: Check an AI Comparison of Two Grant Applications
A pair-by-pair check before an AI tool's comparison of two grant applications reaches the review committee: run both orders, compare the picks, average the scores, and send close or flipped pairs to a staff reviewer. Draws on an ACL 2024 paper on AI evaluators. Invented funder. General information, not legal or tax advice.
Time needed: About 20 minutes for six pairs
Before you start:
- Two public or synthetic applications per pair (never real applicants' files in a tool the foundation hasn't approved)
- A written rubric scored out of 10
- One AI tool
- A browser to run the lab
Responsible Practice AI Literacy
The Invented Tallowbrook Fund, invented for this tutorial, used an AI tool to compare six pairs of applications. Each pair is Application A and Application B. Before the review committee meets, a grants manager checks whether each comparison would hold up if the order were swapped. Each step below is part of that check.
What you will produce: a verdict for each of the six pairs (STOP, FIX or PASS), and a plain-text check record to keep with the committee packet. The companion article explains why the order can decide an AI tool’s pick.
Try it now: our swap-the-order lab takes what an AI tool returned for six invented pairs in both orders and gives each pair a verdict. It runs in your browser from the marks you set; it calls no AI and sends nothing.
Why one run isn’t enough
An ACL 2024 paper, “Large Language Models are not Fair Evaluators,” studied AI models asked to judge which of two responses is better. Wang and colleagues found that “merely swapping the presentation order can reverse evaluation outcomes.” The paper also shows that the direction depends on the tool: one judge they studied leaned toward whatever came first, another toward whatever came second.
A polite instruction doesn’t solve it. The paper’s Figure 1 shows a case where “Simply changing the order of candidate responses leads to overturned comparison results, even though we add the command “ensuring that the order in which the responses were presented does not affect your judgment” into the prompt.” That’s one illustrated example, not a measured rate, but it’s enough to stop relying on the instruction.
Step 1: Write the prompt once
Write the question and the fund’s rubric, scored out of 10, and save them. Both runs use this exact text. If the wording changes between runs, you can’t tell whether the order or the wording moved the answer.
Step 2: Run A first
In a new conversation, paste the prompt, then Application A, then Application B. Record the pick (A, B or Tie) and both scores.
Step 3: Run B first
Start another new conversation. Paste the same prompt, then Application B, then Application A. Record the pick and both scores again. If you only ran one order, the lab gives a STOP: there’s nothing to compare yet.
Step 4: Compare the picks
If one run picked A and the other picked B, the pick changed with the order. That’s a STOP: set the comparison aside and have a staff reviewer compare the pair. If either run called a tie, that’s a FIX: the tool hasn’t given a pick to rely on, so a staff reviewer makes the call.
Step 5: Average the scores and take the gap
The paper’s own fix, one of three calibration methods it proposes, is to run both orders and average: “we evaluate each candidate in both positions across two runs and compute the final score as the average of the two runs.” Average each application’s two scores, then subtract to get the averaged gap.
Close pairs need extra care. The paper reports that “When swapping the order of two responses, the smaller the score gap between them, the more likely GPT-4 is to produce conflicting results.” That finding is about one model on the paper’s own benchmark. We turn it into a precaution: a gap under 2 points on a 10-point rubric is a FIX. The 2-point threshold is our teaching choice, not a number from the paper. A blank gap is also a FIX; the lab never reads a blank as 0.
Step 6: A staff reviewer reads both
The paper’s third method brings people in, and it frames the question this way: “The key point of human-in-the-loop calibration is when humans should be involved in the evaluation and calibrate the evaluation result on which LLM evaluators do not perform well.” The paper picks those cases with a scoring method of its own. Our rule is simpler and is a teaching choice: a staff reviewer reads both applications for every pair, and decides every pair that doesn’t pass. If no one has read both, the lab gives a STOP.
Step 7: Work through cases A to F
Load each case in the lab and guess the verdicts before you look. For every pair, the first rule that fits wins, and that ordering is a teaching choice too.
- A: every comparison holds up. Expect 6 PASS.
- B: Pair 2 ran in one order only, and Pair 4’s pick flipped. Expect 2 STOP and 4 PASS.
- C: nobody read Pair 1, Pair 3 has a tie, and Pair 5’s gap is 1.5. Expect 1 STOP, 2 FIX and 3 PASS.
- D: Pair 6’s gap is blank, Pair 2 tied both ways, and Pair 4 has a tie and a small gap. Expect 3 FIX and 3 PASS.
- E: problems stack up. Expect 3 STOP, 1 FIX and 2 PASS. Work out why Pair 3 stops even though its gap looks wide.
- F: the boundaries. A gap of exactly 2 passes, 1.9 is a FIX, 10 passes, and 11 or -1 is a FIX. Expect 3 FIX and 3 PASS.
Check your work
Reload a case and confirm the summary line matches the counts above, then edit one pair and watch its verdict change. Keep the plain-text record with the packet.
Common mistakes
Rerunning in the same conversation. The tool can see its first answer. Use a new conversation for the swapped run.
Treating PASS as the decision. A consistent pick can still be wrong; swapping checks order, nothing else. The committee still decides.
Limitations
Everything about the Invented Tallowbrook Fund here is made up, pairs included. The lab applies your marks; it doesn’t compare applications or call any AI. The paper studied specific AI judges on its own benchmark, not grant applications. The rule order, which problems count as STOP rather than FIX, the 2-point threshold and the staff-reviewer rule are teaching choices. The ACL Anthology publishes the paper under CC BY 4.0. This isn’t legal or tax advice; it is general information.