Anthropic describes migrating its Messages API from Python to Rust. The existing API was used to verify the new version.
According to the description, teams of Claude agents tracked down and fixed differences between the Python and Rust versions. The available description does not say what those differences were or how the verification was carried out.
The original source offers a deeper account of how Anthropic used the existing API to verify the new version and had teams address differences between the implementations.