Benchmarks can substantially distort reported performance when language models are used to fix software vulnerabilities. A paper on arXiv finds that high pass rates on individual tests do not necessarily mean a model has produced a complete patch aligned with the original developers’ intent.
The researchers examine factors at three levels. Prompts, available tools, and detailed instructions can raise success rates without a corresponding improvement in patch quality. Permission errors, infrastructure problems, and timeout handling can also change results without being noticed. At the dataset level, bug reports and single proof-of-concept tests may not show whether a patch fixes the underlying cause.
For controlled experiments, the team assembled 112 historical bugs from 84 open-source projects written in C/C++, Go, and Rust. Each case included proof-of-concept, regression, and additional developer tests. Models often passed PoC tests under favorable conditions, but pass rates on developer tests remained low and improved only marginally with newer models. This suggests that models may suppress symptoms without consistently producing fixes that match developers’ design principles.
The work therefore treats evaluation design as a key factor and offers practical guidance for more reliable, reproducible benchmarks. The original paper provides further detail on the experiments and case studies: Original paper on arXiv.