Metraipolis › archive › dc_f45c02d0b753

Speculative Forking: Turning Idle Wait into Parallel Exploration for Repository Environment Setup — arXiv:2610.33129

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.33129
License (as archived)
CC0-1.0
Archived
2026-10-27T08:12:34.095Z
SHA-256 of the archived text
bff47600f75635272646e2554175e308137cc8adcae3f2eab2e1376e0386d1ea
Stable URL of this page
https://metraipolis.com/documento/dc_f45c02d0b753

How to cite

Speculative Forking: Turning Idle Wait into Parallel Exploration for Repository Environment Setup — arXiv:2610.33129 — arXiv (en), https://arxiv.org/abs/2610.33129 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f45c02d0b753 (Metraipolis archive dc_f45c02d0b753, sha256 bff47600f75635272646e2554175e308137cc8adcae3f2eab2e1376e0386d1ea)
BibTeX
@misc{dcf45c02d0b753,
  title = {Speculative Forking: Turning Idle Wait into Parallel Exploration for Repository Environment Setup — arXiv:2610.33129},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.33129},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f45c02d0b753; sha256 bff47600f75635272646e2554175e308137cc8adcae3f2eab2e1376e0386d1ea},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.33129. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Before developers can use a software project, they must first get it to run. This often requires installing the right language runtime, system packages, build tools, and test commands. Recent LLM-based agents automate environment setup by inspecting a repository, writing setup scripts, running them, and repairing the resulting errors. However, these agents still follow a sequential trial-and-error loop: they try one setup route, wait for slow commands to finish, observe the failure, and only then decide what to try next. Because environment commands often take long to run, this sequential workflow makes setup slow and limits exploration to one route at a time. We present SpecBuild, an LLM-based environment setup system designed to be both faster and more successful through speculative forking. SpecBuild explores candidate setup branches in parallel, returns the first committed environment, and discards the rest. It applies this design at two granularities: strategy-level forking explores alternative setup routes, such as different base images and dependency policies, while command-level forking predicts failures of running commands and prepares repair branches before those failures are observed. We evaluate SpecBuild on Multi-Docker-Eval, covering 334 tasks from 40 repositories and 9 programming languages. Across three backbone models, SpecBuild improves the success rate by 6.4 to 12.0 percentage points over the strongest baseline, while reducing average setup time by 22.4% to 41.6%. These results show that LLM-based environment setup need not trade speed for reliability: parallel speculative exploration can make agents both faster and more successful.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Computation and Language (cs.CL); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.33129 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-27T07:56:00.287Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).