Scaling Agentic Verifier for Competitive Coding
Abstract
Lay Summary
Large language models can now write computer programs, but they still often make mistakes on difficult coding problems. Existing methods usually test programs using random inputs, but random tests rarely uncover the hidden bugs that distinguish correct solutions from incorrect ones. We introduce Agentic Verifier, a system that actively searches for more informative test cases. Instead of testing programs blindly, it analyzes how different solutions behave and iteratively designs new inputs that are more likely to reveal errors. Across five competitive programming benchmarks, our method consistently identifies correct programs more accurately than existing approaches, improving performance by up to 10–15%. More broadly, our work suggests that AI coding systems can become more reliable by actively searching for challenging corner cases rather than relying on fixed or random tests.