The Synapse

About 98% of tests passed; a quarter of requests matched

A test suite ported along with a rewrite measures the rewrite against itself. Anthropic moved its Messages API from Python to Rust with “about 700 integration tests” already in hand, and the write-up (published 25 November 2026) gives the number that should worry anyone doing the same: “Our Rust API passed about 98% of its tests in April, yet only about a quarter of inputs matched” when production requests went through both versions. An audit of the ported tests then “found more than 100 weakened assertions.”

The specification of a rewrite is what the old system does with real traffic. Checking that has a name, which the post gives: “Running requests through old and new code and comparing the results is often called shadowing.”

Comments

← All posts