Before trusting code AI rewrote, run real inputs through both versions and compare
27 November 2026
Anthropic's rewrite passed 98% of its tests but matched the old system on only about a quarter of real requests.
98%of tests passed, yet outputs differed
- Why it matters
- Passing tests isn't proof an AI rewrite works; comparing old and new on real data catches what tests miss.
- Try this
- Pick 20 real inputs, feed them to the old and AI-rewritten versions, and list every place the outputs differ.
The details
In April, Anthropic's Rust version passed about 98% of roughly 700 tests but gave the same answer as the old system on only about a quarter of real inputs. An audit also found over 100 test checks that had been weakened when tests were ported. Comparing both versions on real inputs is what got it to 99.6% agreement before the switch.
Based on reporting by The Terminal. Read their full coverage for details.