Who is the oracle when you rewrite a system?

Every rewrite reaches the same moment. The new system produces an answer, the old system produces a different one, and somebody has to decide which is right. Testing research has a name for the thing that decides: the test oracle. Barr and colleagues surveyed the difficulty of building one, “the oracle problem”, in a 2015 paper, and for most software it is a hard problem. A rewrite looks like the easy case. The old system is the answer, isn’t it? I don’t think it is that simple, and I don’t think teams talk about it enough before they start. “Who is the oracle?” is a decision, not a fact, and the choice shapes everything that follows: what you test, what you are allowed to fix, and how long the project takes. ...

November 12, 2026 · 8 min · Bharat Singh