Comment on 'What's the Matter with Tie-Breaking: Improving Efficiency in School Choice'

This paper identifies and corrects a bug in the code used by Erdil & Ergin (2008) to compute stable improvement cycles, revealing that while their theoretical findings remain valid, the actual fraction of students benefiting from tie-breaking is slightly lower and their average rank improvement is slightly higher than originally reported.

Tom Demeulemeester

Published Thu, 12 Ma
📖 3 min read☕ Coffee break read

Imagine a high-stakes game of musical chairs, but instead of chairs, the prizes are spots in popular schools. Everyone has a list of which schools they want most, and every school has a list of which students they prefer most.

In 2008, two researchers named Erdil and Ergin wrote a famous paper about how to fix this game when there are ties (when two students are equally good for a school). They created a "magic algorithm" to shuffle students around so that everyone ends up happier without anyone being unfairly bumped out. They even wrote computer code to prove how well this magic worked.

The Plot Twist: A Tiny Bug in the Magic Wand

Fast forward to 2026. A researcher named Tom Demeulemeester decided to check the math behind that magic wand. He found a tiny, almost invisible glitch in the code Erdil and Ergin used.

Think of the algorithm like a referee in a game. When a student gets a better seat, the referee is supposed to say, "Okay, you're happy with this new seat, so stop looking at the other seats you wanted."

The Bug:
In the original code, the referee was a bit lazy. If a student moved from School A to their dream School B, the referee told them to stop looking at School B. But the referee forgot to tell them to stop looking at School C, which was in between A and B.

The Result:
Because the student was still "looking" at School C (even though they already had a better seat at B), the computer got confused. It thought, "Oh, this student still wants School C!" and swapped them again. This time, they got moved from their dream School B to the "okay" School C.

In the worst case, this caused a student to end up in a seat they liked less than the one they started with, breaking the rules of fairness (stability) that the whole system was supposed to protect.

The Fix
Tom found the bug and wrote a patch. It's like giving the referee a better checklist. Now, when a student moves up to a better school, the referee immediately crosses off every school on their list that is worse than the new one but better than the old one. No more confusion.

Did the Original Research Fail?
Here is the good news: No. The big ideas in the original 2008 paper are still 100% true. The "magic" still works; it just wasn't quite as powerful as the original computer simulation suggested.

When Tom ran the numbers with the fixed code:

  • Fewer people got a "lucky break" than the original paper claimed (the number of happy campers dropped slightly).
  • But, for the people who did get a better spot, the improvement was bigger than originally thought. They didn't just get a slightly better school; they got a much better one.

The Bottom Line
It's like finding out that a recipe for a cake was slightly off. The cake still tastes delicious (the theory is sound), and the general idea of the cake is correct. But now, with the corrected recipe, we know exactly how much sugar to use to get the perfect result. The original authors didn't lose their reputation; they just got a little help from a new generation of researchers to make their math perfect.