代码基准应优先考虑严谨性、可靠性和可重复性
Code Benchmarks Should Prioritize Rigor, Reliability, and Reproducibility
AI总结:
研究代码基准在评估大语言模型中的作用,指出其质量影响对模型能力的解读。通过对672个代码基准的调查发现实际与认知有差距,提出代码基准应在构建、评估和发布中分别注重严谨性、可靠性和可重复性,并给出准则。
摘要:
与代码相关的基准在评估大语言模型中起着关键作用,但其质量从根本上影响着社区对模型能力的解读。在对672个代码基准进行了十年规模(2014 - 2025年)的调查后,发现认知与实际存在差距。为此提出代码基准应在构建中注重严谨性,评估中注重可靠性,发布中注重可重复性,并引入了有55个清单的代码基准指南HOW2BENCH。
英文摘要:
Code-related benchmarks play a critical role in evaluating large language models (LLMs), yet their quality fundamentally shapes how the community interprets model capabilities. In the past few years, awareness of benchmark quality has grown. Yet, after a decade-scale (2014-2025) survey over 672 code benchmarks, we observed a lag between growing awareness and actual practice. For example, in 2025 alone, the number of benchmarks that ignore code coverage when providing test cases nearly matches the total count accumulated across the previous ten years. In response, we take a clear position: Code benchmarks must prioritize rigor in benchmark construction, reliability in evaluation, and reproducibility in release. To operationalize this position, we introduce a code benchmark guideline HOW2BENCH with 55 checklists. Finally, our further human study also exposed that the current issues not only stem from the significant effort required, but also from a lack of awareness regarding their importance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。