Is Your Benchmark (Still) Useful? Dynamic Benchmarking for Code Language Models

Batu Guan, Xiao Wu, Yuanyuan Yuan, Shaohua Li
3/9/2025
cs.SEcs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In this paper, we tackle a critical challenge in model evaluation: how to keep code benchmarks useful when models might have already seen them during training. We introduce a novel solution, dynamic benchmarking framework, to address this challenge. Given a code understanding or reasoning benchmark, our framework dynamically transforms each input, i.e., programs, with various semantic-preserving mutations to build a syntactically new while semantically identical benchmark. We evaluated ten popular language models on our dynamic benchmarks. Our evaluation reveals several interesting or surprising findings: (1) all models perform significantly worse than before, (2) the ranking between some models shifts dramatically, and (3) our dynamic benchmarks can resist against the data contamination problem.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{guan2025your,
  title  = {Is Your Benchmark (Still) Useful? Dynamic Benchmarking for Code Language Models},
  author = {Batu Guan and Xiao Wu and Yuanyuan Yuan and Shaohua Li},
  year   = {2025},
  eprint = {2503.06643},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06643v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06643.svg)](https://codeofpaper.com/paper/2503.06643)

Discussion