Multi-Docker-Eval: A 'Shovel of the Gold Rush' Benchmark on Automatic Environment Building for Software Engineering

Kelin Fu, Tianyu Liu, Zeyu Shang, Yingwei Ma, Jian Yang, Jiaheng Liu, Kaigui BianarXiv 2025 · DOI

Abstract

While the AI community is obsessed with "gold" (automated code fixes), this paper focuses on the "shovels": the automated environment configurations required to actually run and test that code. The authors introduce Multi-Docker-Eval, a multi-language benchmark revealing that even top-tier LLMs struggle to build executable environments, with the best models failing more than 60% of the time.

Introduction

In the "Gold Rush" of AI-driven Software Engineering (SWE), the industry seeks agents capable of autonomous bug fixing and feature implementation. However, a significant bottleneck remains: environment configuration. To verify a code fix, an agent must first construct a functional environment—managing dependencies, build tools, and system-level configurations. If the environment setup fails, the verification process cannot proceed. Existing benchmarks often limit their scope to Python or synthetic data, failing to capture the complexity of real-world, multi-language repository setups.

The Multi-Docker-Eval Benchmark

To address these gaps, the authors introduced Multi-Docker-Eval, a benchmark designed to test the limits of automated environment building.

Distribution of instances and repositories across languages and difficulty levels.

The benchmark comprises:

  • Scope: 40 real-world open-source repositories.
  • Diversity: Spans 9 programming languages, including Python, Go, Java, C, C++, JavaScript, PHP, Rust, and Ruby.
  • Scale: 334 specific issue instances.
  • Difficulty Split: Instances are categorized as "Easy" (standard command-based builds) or "Hard" (requiring complex, custom dependency reasoning).

Methodology: Evaluating LLM Agents

The research evaluates how effectively LLM agents transition from a problem statement to a functional Docker environment and a valid test script.

The evaluation workflow for LLM agents in Multi-Docker-Eval.

Two primary agent architectures were compared:

  1. SWE-Builder (Multi-agent): A collaborative framework utilizing four specialized agents (Explorer, Environment Manager, Test Manager, and Analyst). This approach includes a "memory pool" for successful configurations and a feedback loop for error correction.
  2. RepoLaunch (Single-agent): A sequential approach where a single agent executes bash commands within a container.

The study benchmarked 10 state-of-the-art models, including closed-source leaders like Claude-3.5-Sonnet and GPT-5-Mini, alongside open-source models such as DeepSeek-v3.1 and Kimi-K2.

Key Insights and Results

The evaluation revealed several critical findings regarding the current state of AI in software engineering:

The Environment as a Bottleneck

The primary cause of failure is often not the code itself, but the inability to build the Docker image, accounting for 36% of failures. Without a working "shovel," the "gold" of a code fix cannot be extracted.

  • Success Rates: The highest Fail-to-Pass (F2P) rate—the primary success metric—was only 37.72%, achieved by DeepSeek-v3.1 using the SWE-Builder framework.
  • Open-Source Strength: Surprisingly, model size was not the sole determinant of success. Open-source models like DeepSeek-v3.1 and Kimi-K2-0905 matched or outperformed larger closed-source models.
  • Architecture Impact: Multi-agent systems (SWE-Builder) significantly outperformed single-agent systems due to their iterative self-correction capabilities.
  • Language Disparity: Ecosystems with standardized build systems (Go, Python, JS) proved much easier for AI to navigate than fragmented ones (C++, Rust).

The "Thinking" Paradox

While reasoning-focused models (e.g., DeepSeek-R1) excelled at generating test scripts, they did not show a significant advantage in resolving complex, real-world system dependencies compared to standard models.

Conclusion

The Multi-Docker-Eval benchmark demonstrates that we are still far from fully automated software engineering. Current agents lack systematic dependency reasoning, often relying on trial-and-error. Future work must focus on developing "language-aware" agents with better self-evaluation and robust memory mechanisms to handle the intricacies of diverse build cycles.

Summary updated

BibTeX
@misc{fu2025multi,
  author = {Kelin Fu and Tianyu Liu and Zeyu Shang and Yingwei Ma and Jian Yang and Jiaheng Liu and Kaigui Bian},
  title = {{Multi-Docker-Eval: A 'Shovel of the Gold Rush' Benchmark on Automatic Environment Building for Software Engineering}},
  year = {2025},
  eprint = {2512.06915},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.06915},
}
Figure