arXiv:2611.02440cs.SENov 2026

Manuscript Offprint

arXiv:2611.02440

Harvesting SWE Benchmarks from Wild Vibe Coding Sessions

Ao Lu, Yuanhao Zeng, Shaocheng Lan, Sijie Xu, Jiacheng Bao, Kuang Yan, Heng Lin, Kan Ren

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Development teams need reproducible tasks from their own repositories and workflows to evaluate and improve coding agents. Meanwhile, as conversational developer-agent collaboration (“vibe coding”) becomes routine, everyday engineering work leaves behind abundant in-the-wild coding sessions and repository checkpoints. Yet these raw logs are fragmented and noisy: requirements evolve across turns, unrelated conversations co-occur with code commits, and a single engineering effort can span multiple sessions. We present SESSIONFARMER, an automated framework that turns these development records into self-contained, executable software engineering (SWE) tasks. SESSIONFARMER analyzes developer-agent dialogue alongside commit history to filter out unrelated sessions and group multi-turn, potentially multi-session interactions into coherent work episodes, each centered on one engineering goal. For each episode, it reconstructs a hermetic execution container, synthesizes a self-contained task statement from the full episode context, and authors repository-grounded engineering-quality rubrics and unit tests. A closed-loop test refinement stage checks synthesized tests against requirement-breaking mutants and a blind solver to reduce false rejections of valid alternative implementations (false negatives) and false acceptances of incomplete solutions (false positives). Using SESSIONFARMER, we construct CropChat, an open benchmark of 242 tasks across 61 public repositories and 14 programming languages, and CropEnterprise from proprietary enterprise development logs. In an audit of CropEnterprise by the original developers who authored the underlying code, reviewers endorse the vast majority of reconstructed episode boundaries, task statements, and quality rubrics. Experiments further show that full-episode context covers substantially more user requirements than single-turn or single-session inputs, and that closed-loop test refinement cuts false-rejection rates and raises balanced accuracy against reference patch labels by 7–9 percentage points across solvers. Evaluating 12 model–harness configurations on CropChat reveals that even the strongest setup achieves 39.3% Pass@1, while harness choice shifts Pass@1 by up to 8.4 percentage points for the same model.

Contact: Ao Lu (luao2025@shanghaitech.edu.cn), Kan Ren (renkan@shanghaitech.edu.cn)

Code: https://github.com/bytedance/SessionFarmer

Benchmark: https://huggingface.co/datasets/ByteDance/SessionFarmer-CropChat¹

1 Introduction

As coding agents built on large language models (LLMs) [31, 35] enter daily software development, engineering teams need to know which agents work best on their own projects and whether changes to prompts, harnesses,

¹Both links will be updated with the complete resources.

Figure

Figure 1 A developer's goal may span several sessions. A work episode groups the sessions and code changes belonging to one engineering goal.

or models improve real-world performance. Public benchmarks [15, 37, 38] often differ from a team's production environment in task types, programming languages, codebase architecture, and toolchains. Aggregate scores on public leaderboards therefore may not predict whether a targeted change helps in a team's day-to-day workflow. To guide agent selection and iteration, teams need reproducible evaluation environments built directly from their own repositories and engineering practices.

Meanwhile, the rapid adoption of conversational developer-agent collaboration, often called "vibe coding" [7, 21, 27], creates a rich source of raw material for such evaluations. The intent, constraints, and design trade-offs behind everyday code changes—which once existed only in developers' heads or scattered review threads—are now recorded in interaction sessions where developers express their needs and guide agents through implementation [4, 7, 28]. Within an organization, these logs naturally cover the team's active repositories and evolving toolchains. Prior work has explored turning such logs into benchmarks by extracting tasks from individual user requests [14] or replaying multi-turn conversations through a user simulator [34]. In contrast, we aim to consolidate the requirements and constraints that emerge across an entire piece of engineering work into a self-contained task specification that an agent can execute autonomously and that supports deterministic, repeatable evaluation.

Turning wild interaction logs into self-contained tasks is challenging because raw recording units rarely align with true task boundaries, for three reasons. First, within a single conversation, developers seldom state a complete specification in their opening message: across our reconstructed benchmarks, 87.6% of tasks rely on requirements added, clarified, or revised in later user turns. Second, local telemetry links repository commit checkpoints to whichever agent sessions happen to be open in the workspace at commit time; a checkpoint may therefore attach unrelated side conversations (such as off-topic debugging queries), and a continuous stretch of commits may interleave several distinct goals. Third, a single engineering goal can span multiple sessions—for instance, when a developer designs a plan in one session and implements or refines it in subsequent sessions—which accounts for roughly 14% of our reconstructed tasks.

To bridge the gap between raw telemetry and reliable evaluation, we introduce SESSIONFARMER, an automated framework that harvests wild developer-agent sessions into self-contained, executable SWE tasks. SESSIONFARMER first groups temporally adjacent repository checkpoints and their shared sessions into candidate work clusters, then uses an LLM to verify session relevance against the committed diffs and remove unrelated conversations. It next partitions each filtered cluster along checkpoint boundaries into coherent work episodes, each centered on a single engineering goal (Figure 1). An episode pairs the repository state before the work (base checkpoint) and after the work (final checkpoint) with the full transcripts of the confirmed sessions; the diff between the two states serves as the reference implementation (gold patch). Each benchmark task thus represents one complete unit of engineering work instead of an arbitrary log slice.

For each qualified episode, SESSIONFARMER constructs a complete evaluation package (Figure 2). Because vibe-coding sessions frequently invoke system CLIs, version managers, and database tools that are not declared in repository lockfiles, SESSIONFARMER extracts evidence-backed tool requirements from the session logs and uses an Environment Builder agent to produce and validate an offline-capable Docker image. Inside this frozen environment, a Task Author agent synthesizes the session transcripts and repository context into a self-contained task statement composed of traceable requirement clauses, alongside task-specific quality rubrics covering code clarity, design, and repository fit. Finally, a Test Author agent synthesizes functional unit tests and refines them through a closed-loop process against requirement-breaking mutants and a blind solver. This refinement is specifically designed to mitigate false negatives (overly rigid tests that reject valid alternative implementations) and false positives (lenient tests that pass incomplete patches), improving balanced accuracy against reference patch labels by 7–9 percentage points across solvers (Table 3).

By applying SESSIONFARMER, we construct CropChat from public telemetry [4], comprising 242 verified tasks across 61 repositories and 14 programming languages, as well as CropEnterprise from proprietary enterprise development records. In an audit on CropEnterprise, the engineers who originally authored the code endorse the vast majority of reconstructed episode boundaries, session attributions, task statements, and quality rubrics. We further evaluate 12 model-harness configurations on CropChat and 3 on CropEnterprise, uncovering pronounced model-dependent harness sensitivity—with within-model Pass@1 varying by up to 8.4 percentage points—and substantial rollout variance.

Our contributions are summarized as follows:

  • Automated episode-centric harvesting framework. We introduce SESSIONFARMER, an end-to-end framework that reorganizes fragmented developer-agent logs into goal-centered work episodes and turns each episode into a hermetic execution environment, a self-contained task statement, engineering-quality rubrics, and closed-loop refined unit tests.

  • Enterprise application and open benchmark resources. We validate SESSIONFARMER in an industrial setting through CropEnterprise and release CropChat, an open benchmark of 242 multilingual tasks across 61 public repositories, complete with construction lineages and agent rollout traces to support reproducible evaluation and failure analysis.

  • Empirical validation and evaluation insights. We show that synthesizing task statements from full episodes captures substantially more user requirements than using only the opening message or primary session, and that original developers endorse over 94% of audited episodes, statements, and rubrics on CropEnterprise. Furthermore, large-scale agent evaluations on CropChat demonstrate that even the best configuration solves only 39.3% of tasks (Pass@1), the impact of harness choice depends strongly on the underlying model, and 22.8% of task-configuration pairs yield inconsistent outcomes across 3 repeated runs.

References (38)