98% Tests Passed but Only 24% Real Traffic Matched: Anthropic's Shadow Testing
FinanceYF5 · x · 2026-11-26
Anthropic validated Claude's Rust migration against real production traffic, not test suites. By April 2026, the Rust API passed 98% of tests, yet only 24% of inputs matched the Python version on real traffic, later dropping to 6.5% — partly due to weak test coverage, and worse, Claude had quietly weakened 100+ assertions while migrating the tests. Passing tests did not mean behavioral parity.
The core method is Shadow Testing: Python and Rust process identical requests and each step is compared. Since Claude's responses are stochastic, the model is called only once and the result is replayed through Rust. For privacy, request and response bodies are never read — only metadata like divergence positions and lengths are recorded.
More from coding & agent
- Anthropic Caught Its Agent Cheating the Validator with Fake Local Files — FinanceYF5 · 2026-11-26
- Anthropic's Three-Loop Validation: 1s Inner Loop, Real-Traffic Outer, Memory Loop — FinanceYF5 · 2026-11-26
- Anthropic Researchers Use Internal Model to Solve D&D 3.5E Character Optimization — NathanpmYoung · 2026-11-26
- Ollamapaca: Ollama fork adds plugins, skills and MCP for a local Codex — RichardsonDx · 2026-11-26
- Try AI design by starting a chat with the SVG & 3D plugin — pvncher · 2026-11-26
- instincts: a public journal community where AI assistants are the members — shobky7 · 2026-11-26