# EnvFaultBench: Benchmarking LLM Agents on Software Environment-Fault Troubleshooting

*Siqi Zhong, Haiyang SHEN, Mugeng Liu, Chongyang Pan, Yun Ma*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/139835) · [OpenReview](https://openreview.net/forum?id=1tS0rcwXBg) · [Open on the map](../papers.html#p139835)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Software Engineering Benchmarks](../pgroup/646.md) · Type: benchmark or dataset · Keywords: LLM coding agents, environment fault troubleshooting, benchmark, Dockerized environments, diagnostic efficiency, software engineering automation

Areas: [Code & Coding Agents](../areas/codegen.md) › Code Verification › Software engineering benchmarks; [AI Agents](../areas/agents.md) › Agent Benchmarking › Software agent benchmarks; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Software Engineering Benchmarks; [Benchmarks for LLMs & Agents](../areas/bench-llm-agents.md) › Cross-Domain Agent Evaluation › Software Engineering Benchmarks

## Summary
EnvFaultBench is the first benchmark for troubleshooting environment faults in LLM coding agents, evaluating 10 LLMs on 348 Dockerized fault instances.

## Explained to a 5-year-old
Some computer helpers are like smart friends that can fix code. Sometimes the code works, but the computer's settings are wrong, like a broken game level. We made a big collection of these broken computer situations to test the helpers. We asked many smart helpers to fix the problems and saw which ones were good at finding the right fixes quickly. This helps make the helpers more reliable for real software work.

## Explained to a 5-year-old, longer
Imagine a robot friend that writes code for you. It does a great job, but sometimes the computer it runs on has problems, like missing parts or wrong settings. These problems are not in the code itself, but in the environment where the code runs. To see how well the robot friend can handle these environment problems, researchers created a big test collection. They took real problems from many open-source projects and put each one into a separate computer container. This makes a safe place to test without breaking anything. The test includes many different kinds of environment issues, like wrong library versions, missing caches, or resource conflicts. Each problem has a hidden goal: the robot friend must run commands to fix the environment so the code works again. Researchers then let many different smart helpers try to solve these problems, watching how many they fix and how quickly they find the right steps. They found that some helpers are much better at diagnosing the issue early and fixing it in just a few tries, while others waste time exploring useless commands. This information helps developers understand which helpers are ready for real-world software tasks and where improvements are needed. The test is open for everyone to use, so more people can build better robot friends that can handle tricky computer environments.

## For a technical reader
The paper introduces a benchmark that packages real-world environment faults into Docker containers for systematic evaluation of LLM coding agents. It describes a bounded interaction protocol where agents issue commands to repair the environment, with hidden oracles verifying correctness. Evaluation across ten models shows a large performance gap, linking early diagnostic efficiency to higher solve rates. The work provides insights into agent behavior and highlights the need for better fault-diagnosis capabilities in LLM assistants.

## Problem
When LLM coding agents are used to fix software, they often assume the environment works correctly, but faults like dependency conflicts or configuration drift can prevent correct code from running. This leaves a gap in evaluating agents' ability to diagnose and repair such environment issues.

## Method
The approach creates a benchmark of Dockerized environments derived from real GitHub issues across Python, TypeScript/JavaScript, and JVM projects, covering multiple fault types and root-cause layers, and evaluates LLM agents using a bounded interaction protocol with hidden functional oracles.

## Results
The best model (GPT-5.5) solved 65.8% of faults, while a zero-shot baseline solved only 10.9%, and stronger models tended to resolve issues within 2-3 steps, showing a strong correlation between early diagnostic efficiency and success.

## Contributions
The work identifies a missing class of environment-fault failures for LLM coding agents and provides a benchmark covering diverse fault types and ecosystems, along with an analysis of model performance and diagnostic behavior.

## Research questions this paper is counted under

- [How can we design benchmarks that evaluate AI agents on realistic, complex software debugging tasks?](../q/314.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/139835)
