Papers › EnvBench: A Benchmark for Automated Environment Setup

EnvBench: A Benchmark for Automated Environment Setup

18 Mar 2025arXiv:2503.14443archive 2025-07-28

Aleksandra Eliseeva, Alexander Kovrigin, Ilia Kholkin, Egor Bogomolov, Yaroslav Zharov

Recent advances in Large Language Models (LLMs) have enabled researchers to focus on practical repository-level tasks in software engineering domain. In this work, we consider a cornerstone task for automating work with software repositories-environment setup, i.e., a task of configuring a repository-specific development environment on a system. Existing studies on environment setup introduce innovative agentic strategies, but their evaluation is often based on small datasets that may not capture the full range of configuration challenges encountered in practice. To address this gap, we introduce a comprehensive environment setup benchmark EnvBench. It encompasses 329 Python and 665 JVM-based (Java, Kotlin) repositories, with a focus on repositories that present genuine configuration challenges, excluding projects that can be fully configured by simple deterministic scripts. To enable further benchmark extension and usage for model tuning, we implement two automatic metrics: a static analysis check for missing imports in Python and a compilation check for JVM languages. We demonstrate the applicability of our benchmark by evaluating three environment setup approaches, including a simple zero-shot baseline and two agentic workflows, that we test with two powerful LLM backbones, GPT-4o and GPT-4o-mini. The best approach manages to successfully configure 6.69% repositories for Python and 29.47% repositories for JVM, suggesting that EnvBench remains challenging for current approaches. Our benchmark suite is publicly available at https://github.com/JetBrains-Research/EnvBench. The dataset and experiment trajectories are available at https://jb.gg/envbench.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2503.14443")

Code

Syntology Ran 0 of 18 code samples harvested from 1 repository linked to this paper; 18 have no recorded run.

By repository: official repository: 18 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

JetBrains-Research/EnvBench officialmentioned in paperMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 0 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

18unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from JetBrains-Research/EnvBench. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

analyze_success_rates JetBrains-Research/EnvBench/env_setup_utils/analysis/analyze_results.py official repository unverified MIT (permissive) · 90f98e5104608c72 · report
calculate_message_cost JetBrains-Research/EnvBench/env_setup_utils/analysis/analysis_utils.py official repository unverified MIT (permissive) · c7a5ebd2f75634f3 · report
calculate_message_cost JetBrains-Research/EnvBench/env_setup_utils/analysis/traj_viewer.py official repository unverified MIT (permissive) · f6ca7e7dbd9fd6f2 · report
content_type_to_color JetBrains-Research/EnvBench/env_setup_utils/traj2html.py official repository unverified MIT (permissive) · c968c8df850d3a2f · report
create_artifact_table JetBrains-Research/EnvBench/envbench.py official repository unverified MIT (permissive) · ad248fa46a3fc7e7 · report
create_fancy_header JetBrains-Research/EnvBench/envbench.py official repository unverified MIT (permissive) · d71e80dc57538301 · report
create_step_header JetBrains-Research/EnvBench/envbench.py official repository unverified MIT (permissive) · 31a35fa5c094ae39 · report
extract_metrics JetBrains-Research/EnvBench/env_setup_utils/analysis/analyze_results.py official repository unverified MIT (permissive) · 1b334e6d73872069 · report
get_github_repo_url JetBrains-Research/EnvBench/env_setup_utils/analysis/traj_viewer.py official repository unverified MIT (permissive) · 8b9cd1339f9864fb · report
load_files JetBrains-Research/EnvBench/env_setup_utils/log_analyzer.py official repository unverified MIT (permissive) · 28a57f6a85891ffa · report
load_jsonl JetBrains-Research/EnvBench/env_setup_utils/analysis/analysis_utils.py official repository unverified MIT (permissive) · 7035f0d171657373 · report
load_jsonl JetBrains-Research/EnvBench/env_setup_utils/analysis/analyze_results.py official repository unverified MIT (permissive) · 97ada5f0eb559039 · report
load_jsonl JetBrains-Research/EnvBench/env_setup_utils/analysis/scripts_viewer.py official repository unverified MIT (permissive) · db2166cef66a916e · report
load_trajectories JetBrains-Research/EnvBench/env_setup_utils/analysis/analysis_utils.py official repository unverified MIT (permissive) · fb8ef64f77241e01 · report
load_trajectories JetBrains-Research/EnvBench/env_setup_utils/analysis/traj_viewer.py official repository unverified MIT (permissive) · 6d632320966d776a · report
message_direction_to_bg JetBrains-Research/EnvBench/env_setup_utils/traj2html.py official repository unverified MIT (permissive) · 412459bdbc952338 · report
parse_installamatic_trajectory JetBrains-Research/EnvBench/env_setup_utils/process_trajectories_to_scripts.py official repository unverified MIT (permissive) · da216d455ac1343e · report
parse_script_from_trajectory JetBrains-Research/EnvBench/env_setup_utils/process_trajectories_to_scripts.py official repository unverified MIT (permissive) · bf0c6cbd816933b7 · report

Datasets

Introduced by this paper, per the archive.

EnvBench

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections