Devin's Code Scans run an Agentic MapReduce over a whole repo and report a 64% Rust build-time cut
Published 2026-09-16, Code Scans take a broad objective ("improve SEO", "reduce maintenance burden") rather than a file target and run four phases: Plan writes rules for identifying relevant code, Shard splits matches into batches, Map fans parallel agents across the batches, Reduce deduplicates and prioritizes into one report. Cognition's published numbers are a clean Rust debug build dropping from 58.6s to 21.0s (64%), an Ahrefs health score moving 87 to 92 with slow pages down 73%, and a Philips Digital Computational Pathology team reporting a 96% PR merge rate and 700+ engineering hours saved. The Plan/Shard/Map/Reduce decomposition is worth copying by hand for any repo-wide sweep, since it keeps each agent's context scoped to one shard.
Source
↳ Follow the thread