atlas

Research map / Large language models / Agents, code and math

DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination

ICML 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DyCodeEval, a multi-agent pipeline that rewrites HumanEval and MBPP problems into semantically varied, complexity-preserving variants to benchmark Code LLMs under data contamination, plus a DyPass@K metric.

Problem

Static code benchmarks like HumanEval and MBPP are vulnerable to data contamination, and manual contamination-free alternatives require heavy human effort and yield variants whose complexity differs from the originals.

Approach

Applies a metamorphic relation: changing only the complexity-unrelated context of a programming problem preserves its algorithm and complexity. LLM agents (scenario proposer, context generator, prompt rewriter, validator) generate many scenario-context variants of each seed problem, so each benchmark run is fresh.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Evaluate with dynamic DyPass@3 instead of static Pass@3Llama-3.2-1B fine-tuned on leaked data · Contaminated modelsPass@3 / DyPass@3: 0.82 -> 0.13Mixed
Evaluate with dynamic DyPass@3 instead of static Pass@3Llama-3.2-3B fine-tuned on leaked data · Contaminated modelsPass@3 / DyPass@3: 0.88 -> 0.24Mixed
Evaluate with dynamic DyPass@3 instead of static Pass@3CodeLlama-7b-hf · In-the-wild modelsPass@3 / DyPass@3: 0.39 -> 0.34Mixed
Evaluate with dynamic DyPass@3 instead of static Pass@3CodeLlama-13b-hf · In-the-wild modelsPass@3 / DyPass@3: 0.48 -> 0.37Mixed
Evaluate with dynamic DyPass@3 instead of static Pass@3Llama-3.2-1B · In-the-wild modelsPass@3 / DyPass@3: 0.22 -> 0.17Mixed
Evaluate with dynamic DyPass@3 instead of static Pass@3Llama-3.2-3B · In-the-wild modelsPass@3 / DyPass@3: 0.35 -> 0.31Mixed
Evaluate with dynamic DyPass@3 instead of static Pass@3Llama-3.1-8B · In-the-wild modelsPass@3 / DyPass@3: 0.48 -> 0.39Mixed
Evaluate with dynamic DyPass@3 instead of static Pass@3Llama-3.1-8B-Instruct · In-the-wild modelsPass@3 / DyPass@3: 0.72 -> 0.64Mixed
Use Claude-3.5-Haiku instead of Claude-3.5-Sonnet as the foundation modelDyCodeEval · Generated problem consistencyconsistency rate: 95% -> 83%Hurt
Generate variants with LLM-proposed scenarios and contexts rather than rule-based mutationsProblem diversity on HumanEval and MBPP · HumanEval and MBPPBLEU-4 and SemSim: HumanEval internal: 1.00 -> 0.27, 1.00 -> 0.74; MBPP internal: 1.00 -> 0.18, 1.00 -> 0.73Helped

Surprising findings

Limitations

Experimental setup

Datasets: HumanEval MBPP-Sanitized

Benchmarks: HumanEval MBPP-Sanitized DyCodeEval-generated variants

Metrics: Pass@1 Pass@K DyPass@K BLEU-4 cosine similarity of GPT-2 embeddings consistency rate

Baselines: PPM Token Mutation Char Mutation Func Mutation Insert Line CommSyntax Pass@K

Builds on: metamorphic testing DyVal PPM EvalPlus

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy