Code for paper "Process-Level Trajectory Evaluation for Environment Configuration in Software Engineering Agents"
Python
49
3 commits
updated Oct 30, 2025
A comprehensive benchmark framework for evaluating AI agents' performance on Python environment configuration tasks.
EnConda-Bench is an end-to-end environment configuration benchmark system specifically designed to evaluate the capabilities of large language models and AI agents in identifying, analyzing, and fixing Python environment configuration errors. The system provides a complete dataset, inference tools, and evaluation framework.
EnConda-Bench/
βββ Benchmark_Data/ # Benchmark Dataset
β βββ error_types.json # Error type definitions
β βββ Enconda_benchmark_data.jsonl # Main benchmark data
β βββ final_output_benchmark_data_final/ # Processed dataset
βββ Inference/ # Inference System
β βββ core/ # Core inference modules
β βββ configs/ # Configuration files
β βββ scripts/ # Run scripts
β βββ docs/ # Documentation
βββ Evaluation/ # Evaluation System
β βββ Evaluate/ # Automated metric evaluation
β βββ Execution/ # End-to-end execution testing
βββ Dockerfiles/ # Docker configuration files
| Type | Name | Description |
|---|---|---|
| E1 | Dependency Installation Error | Missing dependencies, version errors, etc. |
| E2 | Command Usage or Syntax Error | Incorrect commands, parameters, or syntax |
| E4 | File Path or Missing File Error | Path errors or non-existent files |
| E6 | Logical Order Error | Incorrect installation step sequence |
| E7 | Version Compatibility Error | Version conflicts or incompatibilities |
| E8 | Other Miscellaneous Errors | Formatting issues, unclear descriptions, etc. |
Agent inference system supporting two modes:
Dual evaluation framework:
# Clone the project
git clone <repository-url>
cd EnConda-Bench
# Install Python dependencies
pip install -r requirements.txt
# Or use uv (recommended)
uv sync
# Pull pre-built images
docker pull ghcr.io/research-org/envbench-python:latest
# Or build local images
docker build -f Dockerfiles/python.Dockerfile -t envbench-python .
cp .env.example .env
# Edit .env file and add your OpenAI API key
Inference/configs/llm_config.yaml):openai:
api_key: "your-openai-api-key"
model_name: "gpt-4"
base_url: "https://api.openai.com/v1"
cd Inference
# LLM mode
python run.py --mode llm --config configs/llm_config.yaml
# Agent mode
python run.py --mode agent --config configs/agent_config.yaml
cd Evaluation/Evaluate
python run_evaluation.py \
--results_dir /path/to/inference/results \
--data_root_dir /path/to/Benchmark_Data \
--output_dir evaluation_output
cd Evaluation/Execution
# Convert data format
python convert_to_jsonl.py \
--input_file inference_results.jsonl \
--output_file execution_input.jsonl
# Run execution tests
./uv_run.sh
After evaluation completion, results will be saved in the specified output directory:
detailed_evaluation_results.json: Detailed evaluation resultsevaluation_summary.json: Summary statisticsresults.jsonl: Execution test resultsBenchmark_Data/error_types.jsonDockerfiles/new_language.Dockerfile)Inference/core/clients/This project is licensed under an open source license. See the LICENSE file for details.
If you find this work useful, please give us a βοΈ and consider citing:
@article{EnConda_Bench,
title={Process-Level Trajectory Evaluation for Environment Configuration in Software Engineering Agents},
author={Kuang, Jiayi and Li, Yinghui and Zhang, Xin and Li, Yangning and Yin, Di and Sun, Xing and Shen, Ying and Yu, Philip S},
journal={arXiv preprint arXiv:2510.25694},
url={https://arxiv.org/abs/2510.25694},
year={2025}
}
3 commits
Python
91.3%
Shell
6.5%
Dockerfile
2.2%
Code for paper "Process-Level Trajectory Evaluation for Environment Configuration in Software Engineering Agents"
Python
49
3 commits
updated Oct 30, 2025
A comprehensive benchmark framework for evaluating AI agents' performance on Python environment configuration tasks.
EnConda-Bench is an end-to-end environment configuration benchmark system specifically designed to evaluate the capabilities of large language models and AI agents in identifying, analyzing, and fixing Python environment configuration errors. The system provides a complete dataset, inference tools, and evaluation framework.
EnConda-Bench/
βββ Benchmark_Data/ # Benchmark Dataset
β βββ error_types.json # Error type definitions
β βββ Enconda_benchmark_data.jsonl # Main benchmark data
β βββ final_output_benchmark_data_final/ # Processed dataset
βββ Inference/ # Inference System
β βββ core/ # Core inference modules
β βββ configs/ # Configuration files
β βββ scripts/ # Run scripts
β βββ docs/ # Documentation
βββ Evaluation/ # Evaluation System
β βββ Evaluate/ # Automated metric evaluation
β βββ Execution/ # End-to-end execution testing
βββ Dockerfiles/ # Docker configuration files
| Type | Name | Description |
|---|---|---|
| E1 | Dependency Installation Error | Missing dependencies, version errors, etc. |
| E2 | Command Usage or Syntax Error | Incorrect commands, parameters, or syntax |
| E4 | File Path or Missing File Error | Path errors or non-existent files |
| E6 | Logical Order Error | Incorrect installation step sequence |
| E7 | Version Compatibility Error | Version conflicts or incompatibilities |
| E8 | Other Miscellaneous Errors | Formatting issues, unclear descriptions, etc. |
Agent inference system supporting two modes:
Dual evaluation framework:
# Clone the project
git clone <repository-url>
cd EnConda-Bench
# Install Python dependencies
pip install -r requirements.txt
# Or use uv (recommended)
uv sync
# Pull pre-built images
docker pull ghcr.io/research-org/envbench-python:latest
# Or build local images
docker build -f Dockerfiles/python.Dockerfile -t envbench-python .
cp .env.example .env
# Edit .env file and add your OpenAI API key
Inference/configs/llm_config.yaml):openai:
api_key: "your-openai-api-key"
model_name: "gpt-4"
base_url: "https://api.openai.com/v1"
cd Inference
# LLM mode
python run.py --mode llm --config configs/llm_config.yaml
# Agent mode
python run.py --mode agent --config configs/agent_config.yaml
cd Evaluation/Evaluate
python run_evaluation.py \
--results_dir /path/to/inference/results \
--data_root_dir /path/to/Benchmark_Data \
--output_dir evaluation_output
cd Evaluation/Execution
# Convert data format
python convert_to_jsonl.py \
--input_file inference_results.jsonl \
--output_file execution_input.jsonl
# Run execution tests
./uv_run.sh
After evaluation completion, results will be saved in the specified output directory:
detailed_evaluation_results.json: Detailed evaluation resultsevaluation_summary.json: Summary statisticsresults.jsonl: Execution test resultsBenchmark_Data/error_types.jsonDockerfiles/new_language.Dockerfile)Inference/core/clients/This project is licensed under an open source license. See the LICENSE file for details.
If you find this work useful, please give us a βοΈ and consider citing:
@article{EnConda_Bench,
title={Process-Level Trajectory Evaluation for Environment Configuration in Software Engineering Agents},
author={Kuang, Jiayi and Li, Yinghui and Zhang, Xin and Li, Yangning and Yin, Di and Sun, Xing and Shen, Ying and Yu, Philip S},
journal={arXiv preprint arXiv:2510.25694},
url={https://arxiv.org/abs/2510.25694},
year={2025}
}
3 commits
Python
91.3%
Shell
6.5%
Dockerfile
2.2%