acceptodds
Published as a conference paper at NeurIPS 2026

SWE-Git-Bench: A Focused Worktree-Level Benchmark for Real Merge Conflict Resolution

Wei Zhang, Jian Yang, jiajun wu, Zidan Tang, Siwei Wu

Abstract

Modern coding agents operate inside live git worktrees: they edit files, pull upstream changes, and must leave the repository in a mergeable state. Yet current code benchmarks focus on issue resolution or synthesis from specification, not on the merge-resolution primitive an agent must invoke after git emits conflict markers. We introduce SWE-Git-Bench, a focused high-fidelity benchmark of 135 manually audited real conflicts spanning 185 files from 23 repositories. Across 36 contemporary LLMs, exact reproduction of the maintainer-committed file peaks at only %, while top systems still cluster around – edit similarity, exposing a near-repair regime where outputs look close but fail to reproduce the committed resolution. A human-checked audit of 80 whole-file non-EM outputs with ES finds that 50.0% are still likely unsafe, so similarity cannot be treated as a semantic pass rate. Conflict-block prompting improves edit similarity by  pp on average (median  pp) while leaving exact match effectively unchanged. We release the dataset, harness, full prediction matrix, difficulty calibration, and exploratory failure analysis to support reproducible evaluation of this worktree-replayed, file-scored resolver primitive.

Keywords:
Sydney

Related papers

Loading the map…

Discussion (0)

Sign in to comment.