betaFeedback

WorksComputer Science

Enforcing Code Reasoning in Agentic Scaffold for More Effective Issue Resolution

Abstract

Reasoning is central to ReAct-based programming agents, yet whether and how they reason about code remains unclear. We study 7,955 issue-resolution trajectories from six single- and multi-agent scaffolds across four programming languages on SWE-bench-Verified, SWE-bench-Pro, and SWE-bench-Lite. We identify 12 forms of code reasoning in 66.95% of trajectories. Code reasoning is associated with higher resolution rates, and its intensity increases with task complexity. However, it remains largely unguided: agents may focus on surface-level symptoms during localization, fail to refine near-correct patches, overlook issue requirements, and generate tests with limited behavioral diversity. To address these limitations, we propose DeskCheck, an agentic scaffold that systematically guides code reasoning throughout repository-level issue resolution. DeskCheck simulates execution paths to localize root causes, simulates candidate patches to refine near-misses, audits patches against issue requirements, and reasons about corner-case inputs and expected outputs before generating tests. On 731 SWE-bench-Pro instances, DeskCheck improves resolution rates over mini-SWE-Agent and Claude Code by 6.29% to 10.53%, at an additional cost of 0.02−0.02-0.28 per instance (average: $0.14). Per-phase analyses show higher method-level localization recall, more successful repairs of imprecisely localized issues, and better detection of missed corner cases in near-correct patches. Exact McNemar tests show statistically significant improvements across all subject LLMs (p < 10^-10), while repeated experiments support robustness to agent nondeterminism. These findings motivate systematic code reasoning as a means of improving programming agents.

CCS Concepts: • Software and its engineering → Software creation and management.

Additional Key Words and Phrases: Programming agents, code reasoning, large language models

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Conference acronym ’XX, Woodstock, NY

Introduction

Reasoning is key to generalizability of Large Language Models (LLMs) [12, 19], allowing them to apply learned knowledge to unseen tasks. Assessing it helps ensure LLMs are not overfitting to specific workflows or training data [36, 50, 63, 71], ultimately leading to more robust and reliable decisions. Code reasoning [7, 10, 16, 17, 35, 39, 40, 58, 66], which requires understanding syntax as well as program execution, generalizes LLMs’ knowledge to a broad range of programming tasks, such as test generation, issue resolution, code translation, and program verification. Beyond single-turn LLMs, programming agents [61, 67] autonomously navigate repositories and invoke tools, guided by reasoning about the problem specification and tool-execution observations. Prior work [9, 43, 56] [44] has analyzed trajectories of programming agents, focusing on the action or tool usage at each step, overlooking the underlying reasoning process that leads to actions. Specifically, there is a dearth of research on the analysis and impact of code reasoning.

To mitigate this gap, we performed a large-scale empirical study (§ 2) on the reasoning of programming agents performing repository-level issue resolution, which has become the most dominant task to evaluate the overall coding capability of agentic systems [13, 14, 27, 69]. Specifically, we investigated the prevalence of different forms of code reasoning in issue resolution trajectories (RQ1, § 2.2.1), its correlation with the resolution outcome (RQ2, § 2.2.2), and the factors triggering code reasoning in agents for issue resolution (RQ3, §2.2.3). We systematically analyzed 7,955 trajectories from six single- and multi-agent scaffolds on issue-resolution tasks from SWE-bench-Pro, SWE-bench-Verified, and SWE-bench-Lite in Python, Go, TypeScript, and JavaScript.

We observed code reasoning in 66.95% of trajectories, though to varying degrees. Code reasoning strongly correlates with resolution outcome. Agents turn to code reasoning more frequently as problems become harder. Strikingly, despite the importance of code reasoning and its strong positive correlation with the final outcome, agents use it spontaneously rather than in a systematic, guided way. We illustrate the need for code reasoning in different stages of the issue resolution task (localization, patching, and validation) with the following examples from the study: A manual analysis of trajectories reveals four recurring limitations in different phases of issue resolution (localization, patching, and validation), each of which could have been avoided with a systematic incorporation of forms of code reasoning:

Limitation 1: Surface-level issue reproduction. Reproduction tests should turn issue descriptions into executable oracles for bug localization [52, 64, 67]. However, many agents rely heavily on the issue description and generate tests that capture only surface-level symptoms, resulting in partial localization and incorrect patch. Figure 1a shows an issue description from SWE-bench-Pro, with the buggy code in Figure 1b. The code initializes a YamlMigrations object from settings in line 222, and calls the migrate function on this object in line 224. The YamlMigrations class consists of eight helper methods (Figure 1c), all of which are invoked by YamlMigrations.migrate(). The issue description says that when a settings object (and hence migrations) includes invalid data

Claude Code failure to resolve SWE-bench-Pro issue

Figure 1. Claude Code (Claude Haiku-4.5) failure to resolve SWE-bench-Pro qutebrowser-8d05f028 due to surface-level issue reproduction.

types such as a boolean or an integer instead of a dictionary, the code will crash. It does not explain which methods expect a dictionary type, but gives a hint about "iterating over settings values." Claude Code with Claude Haiku-4.5 focuses on this overly specific hint, correctly localizing the bug to the YamlMigrations class, and writes reproduction unit tests for seven out of eight helpers, since they invoke items() API that iterates over settings values. Yet, it misses the _remove_empty_patterns function, as its implementation does not involve iterations over the dictionary values, yet it still crashes on non-dictionary settings. DeskCheck successfully resolves this issue by reasoning about the call chains and execution paths involving (YamlMigrations.migrate()), localizing the root cause precisely and repairing the issue.

Limitation 2: Test harness complexity. Covering the code for the purpose of validation or bug reproduction can be tricky, when reachability occurs under peculiar environmental settings or conditions. Such tests may require mocking or importing specific libraries solely for testing, not for the patch itself. Figure 2 shows such a case, where per the issue description, the patch should implement a new function set_queue in the Display class to set the class property _final_q to the provided queue. When this function runs in a parent process, it should terminate with a RuntimeError. The mini-SWE-Agent with MiniMax-M3 implements the function as shown in Figure 2b, almost correctly but

Patches for the Display.set_queue function

Figure 2. mini-SWE-Agent failure to resolve SWE-bench-Pro ansible-5e369604 due to difficulty of test generation.

an incorrect conditional check in line 247 (a near-hit patch [29, 34, 37, 46, 55, 62]). It attempts to generate tests to run this function in a forked process for 14 trajectory steps, but fails to set up the environment properly to run the tests. It finally gives up and submits the patch without testing, passing only two of five golden tests. The correct fix requires replacing the previous condition with multiprocessing.parent_process() is None (lines 247–248 in Figure 2c) to pass all five tests. Interestingly, DeskCheck generates the same initial patch, but refines it to the one in Figure 2c after simulating execution of the initial patch (without real execution; more details in § 4) and realizing that the RuntimeError is not raised under the required condition.

Limitation 3: Neglecting requirements in the issue description. Issue descriptions can be long with multiple intertwined requirements. Although agents are instructed to understand the issue description, several studies show they overlook critical information in long issue descriptions [31, 73]. Therefore, they may generate incomplete patches that satisfy only a subset of issue description requirements. For example, mini-SWE-Agent (GPT-5.6-Luna), when attempting to resolve the problem protonmail-ac23d1ef from SWE-bench-Pro, generates a partial patch (editing 15 out of 23 edit locations from the golden patch), satisfying some of the requirements in the long issue description [21].

With more explicit specification reasoning [39], DeskCheck prepares a list of eight requirements from the issue description (Figure 3a), and it simulates the execution of the generated patch under all requirements to confirm the patch satisfies all the requirements, resolving the issue.

Figure 3. The buggy code corresponding to the specified requirements extracted from the issue description of SWE-bench-Pro protonmail-ac23d1ef.

Limitation 4: Insufficient validation. Issue resolution is complex, involving multiple sub-tasks: understanding the issue description, generating reproduction tests, patching, and generating validation tests for the new code (different from reproduction tests) [11]. As a result, agents may not focus deeply on a single sub-task. Specifically, for test generation, agents usually reason about general corner cases of the newly generated code rather than maximizing behavioral diversity and covering the full input space. Figure 4a shows a patch generated by mini-SWE-Agent (MiniMax-M3) to resolve issue openlibrary-3f7db6bb from SWE-bench-Pro. The agent’s generated tests (Figure 4c) fall short not in number but in the variety of conditions they cover: they never consider case-insensitivity (t2) or multi-word (t3) inputs, resulting in failure. An enforced reasoning step to identify diverse inputs, determine their corresponding outputs helps DeskCheck resolve this issue.

Comparison between SWE-bench-Pro hidden tests and mini-SWE-Agent validation tests

Figure 4. Comparison between SWE-bench-Pro hidden tests and mini-SWE-Agent validation tests for issue openlibrary-3f7db6bb from mini-SWE-Agent (MiniMax-M3)

To overcome the mentioned limitations, this work proposes DeskCheck1, an agentic scaffold that enforces various forms of code reasoning at different stages of issue resolution: in the Localization phase, DeskCheck simulates the execution paths mined from the call graph to trace the root cause of the issue from surface-level symptoms in the issue description (§ 3.2); in the Repair & Refine phase, DeskCheck simulates the execution of the initial patch to check if it matches the expected behavior, and refines it based on the feedback collected from the simulation (§ 4); in the Audit phase, DeskCheck extracts requirements from the issue description and leverages code reasoning to check if the generated patch fulfills all the requirements (§ 4.0.1); finally, in the Validation phase, it reasons about a diverse set of input-expected output pairs to ensure a thorough validation (§3.1.5).

Extensive evaluation of DeskCheck on 731 problems in SWE-bench-Pro show consistent improvement in issue resolution compared to mini-SWE-Agent (+6.29%–10.53%) and Claude Code (+8.34%) baselines, agnostic to the studied backbone models, i.e., MiniMax-M3, GPT-5.6-Luna and Claude Haiku-4.5. This comes with negligible overhead, increasing token usage by 7.6% on average. Every stage of guided code reasoning contributes to this gain (RQ5, § 4.6). Without executing reproduction tests, DeskCheck’s localization achieves an average method-level recall of 0.66, outperforming mini-SWE-Agent (0.46), Claude Code (0.38), and SWE-Doctor (0.23) with the same LLMs, even though SWE-Doctor executes 28.0 reproduction tests per instance on average. Among the instances the baselines fail to resolve, patches revised in the Repair & Refine, Audit, Validation phase by DeskCheck are more likely to be successfully resolved, which is supported by chi-square tests (p<0.05p < 0.05). We also provide qualitative examples illustrating how guided code reasoning in each stage contributes to successful issue resolution (§ 5). Finally, our ablation (§ 6) shows that the resolution rate grows monotonically from 53% to 68% as code reasoning is incorporated stage by stage, supporting that the improvement comes from code reasoning at different levels.

Our notable contributions are: (1) a large-scale study of 7,955 issue resolution trajectories (from six single- and multi-agent scaffolds resolving SWE-bench-family instances) to understand whether and how agents incorporate code reasoning in their problem-solving; (2) the design and implementation of DeskCheck, a code reasoning-driven multi-agent scaffold for issue resolution; and (3) extensive quantitative and qualitative evaluation of DeskCheck.

Code Reasoning in Issue Resolution Agents

Our empirical study requires agent scaffolds that both publicly release trajectories on SWE-bench-family benchmarks and exhibit architectural diversity. First, we anchor on two widely adopted scaffolds: mini-SWE-Agent [67] and OpenHands [61], and complement them with scaffolds identified through a systematic search2 with the following criteria: (I1): Each trajectory records the agent’s reasoning process, together with the action taken at each step, supporting process-centric analysis; (I2): We exclude model-training studies that reuse existing scaffolds; (I3): We exclude scaffolds that share the core design of either anchored scaffold, including forks and minor variants; and (I4): The scaffold must either be introduced in a paper accepted to the main track of top AI/SE conferences in 2026 or 2025; released on arXiv in the past two months with a verifiable artifact; or have its results verified by an official leaderboard.

We locate 204 candidate scaffolds through keyword-matching3, filter them based on the criteria above, and select the following four scaffolds: ExpeRepair [51], iCAT-Agent [11], Sonar Foundation Agent [59], and Claude Code [11]. ExpeRepair is a program repair pipeline augmented with dual memory: an episodic memory of concrete past repair trajectories and a semantic memory of distilled insights, both consulted to guide repairs on new issues. iCAT-Agent is a multi-agent scaffold that achieves event-driven message-passing with a deliberately designed message bus. Sonar Foundation Agent is a proprietary, closed-access coding-agent scaffold developed by Sonar, and Claude Code is a custom multi-agent system built with the Claude Code SDK released in [11]. Across the six selected scaffolds, we analyze evaluations using backbone LLMs from two proprietary model families: Claude [6] and GPT [54], and one open-weight model family: MiniMax [32].

Code Reasoning Patterns

Definition 1: Code Reasoning in Programming Agents: an agent’s reasoning about runtime behavior of a program fragment under a concrete or symbolic execution context, before taking any action to interact with the programming environment. To automatically identify trajectory steps that appear to perform code reasoning, we build on prior work on evaluating code reasoning to identify code reasoning patterns [8, 10, 38, 39]. Commonly, the evaluation tasks in related work involve reasoning about variable state (A), call dependency (B), loop statements (C), conditional statements (D), and return statements/exceptions (E). First, we filter trajectory steps from the pool of selected trajectories whose reasoning4 contains any code element, and prompt Claude Fable 5 to (1) determine whether that reasoning belongs to categories A–E and (2) assign it a more specific

sub-category when possible, and (3) generate a regex pattern to search for similar patterns. The last step is especially important, as it lets us systematically search for those patterns again if the LLM missed them in individual assessments. Figure 5 presents the derived taxonomy and the number of trajectory steps whose reasoning matches the category/subcategory. Descriptions of each subcategory, with concrete examples, are available on the artifact website [25].

Figure 5. Code Reasoning Pattern Categorization.

2.1.1 Manual Audit. To validate the accuracy of our LLM-based approach for reasoning categorization, we conduct a human audit on a randomly selected sample of 120 trajectories, comprising 60 classified as exhibiting code reasoning and 60 classified as not exhibiting it. The 120 trajectories were drawn at random in proportion to each agent–model combination, and they did not differ significantly from the full 7,955 on any of nine characteristics, including benchmark, resolution status, task difficulty, and trajectory length5, with 95% confidence. Three human labelers independently judged whether each trajectory involves code reasoning and, if so, which category it belongs to, reaching substantial agreement6 (Krippendorff’s α=0.66\alpha= 0.66 [30]). Their majority vote also substantially agrees with the automated approach (α=0.87\alpha= 0.87), confirming 59 of the 60 detected with code reasoning and 53 of the 60 detected without code reasoning.

Empirical Results

RQ1: Prevalence of Code Reasoning in Programming Agents

Figure 6 reports the number of trajectories where agents incorporate code reasoning while attempting to resolve issues. Across six agent scaffolds, the 14 agent configurations incorporate code reasoning in 66.95% of instances on average, regardless of whether the issues are ultimately resolved. Different agents exhibit varying levels of code reasoning incorporation due to different scaffold designs. ExpeRepair’s prompts require an explicit analysis at every stage (e.g., fix analysis and patch review), so code reasoning appears in every trajectory, whereas mini-SWE-Agent and OpenHands only request reasoning once in the system prompt, so it is less consistently incorporated due to agents’ resistance to plan following [43]. These results suggest that code reasoning can emerge during issue resolution even when it is not explicitly enforced at every stage of the agent workflow.

Number of trajectories incorporating code reasoning

Figure 6. Number of trajectories incorporating code reasoning. LLMs from OpenAI are denoted with * because their reasoning tokens are not publicly available. "Verified" indicates SWE-bench-Verified, "Pro" indicates SWE-bench-Pro, and "Lite" indicates SWE-bench-Lite.

RQ2: Correlation with resolution

Across all the 14 sets of trajectories in Figure 6, the resolution rate is 69.84% when code reasoning is incorporated, compared to 50.81% when it is not. In Table 1, a chi-square test [48] over scaffolds with a sufficient number of instances (Sonar Foundation Agent and ExpeRepair have too few samples without code reasoning detected) rejects the null hypothesis of no association between code reasoning and issue resolution, confirming that code reasoning is associated with a higher resolution rate.

Scaffoldχ2\chi^2p-value
mini-SWE-Agent183.01×10−411 \times10^{-41}
iCAT-Agent5.310.021
OpenHands4.270.039
Claude Code3.910.048

Table 1. Results of the chi-square test on the correlation between code reasoning and issue resolution per scaffold.

Influencing factors

Figure 7 breaks down code reasoning by difficulty level, taken from the benchmark for SWE-bench-Verified and SWE-bench-Lite [27] and determined by the number of edited files in the golden patch for SWE-bench-Pro [11, 72]. Averaged over the 14 agent configurations (equally weighted), code reasoning rises steadily from 63.9% (easy) to 67.6% (medium) and 70.5% (difficult). The trend is not strictly monotonic for every configuration: mini-SWE-Agent (GPT-5.2) and OpenHands (Claude-Opus-4.5) dip on medium instances (13%→9%→22%13\% \to9\% \to22\% and 26%→22%→33%26\% \to22\% \to33\%), while iCAT-Agent (GPT-5.4) peaks there (38%→49%→46%38\% \to49\% \to46\%). This indicates that agents increasingly rely on reasoning about program behaviors when an issue becomes harder.

Figure 7. The extent of code reasoning on different difficulty levels.

Figure 8 shows the extent of code reasoning in each bug-fixing phase, where Graphectory [42] categorizes each action (node) in the trajectory into four phases: Localization (L), Patching (P), or Validation (V). As in Figure 7, scaffolds exhibit varying degrees of code reasoning across phases: mini-SWE-Agent, OpenHands, and Sonar Foundation Agent reason most in Localization, iCAT-Agent and Claude Code in Validation, and ExpeRepair in Patching.

The number of nodes incorporating code reasoning in Localization phase, Patching phase, and Validation phase

Figure 8. The number of nodes incorporating code reasoning in Localization phase (L), Patching phase (P), and Validation phase(V).

Overall, code reasoning becomes more prevalent as issues become harder, yet when and where it occurs varies widely across scaffolds and phases. This spontaneous, uneven use of code reasoning motivates guiding it systematically at every phase of issue resolution, which is the design principle behind DeskCheck (§ 3).

DeskCheck: Code Reasoning Augmented Issue Resolution Agent

Definition 2: Execution Simulation. Given a program slice ss (e.g., an execution path or a patch), a concrete or symbolic input ii, a programming agent aa reasons about the execution of ss step by step until it terminates, without executing it. Depending on ss, a simulation may exhibit any subset of the 12 code reasoning patterns identified in § 2.

DeskCheck

Figure 9 shows the workflow of DeskCheck, consisting of five stages: Explore, Localize, Repair & Refine, Audit, and Validation. All stages except Explore are equipped with dedicated code reasoning components to improve their performance. In DeskCheck, every stage is framed as a sub-agent to manage its context on specific tasks independently, alleviating possible context pollution [11, 41, 57]. Algorithm 1 details the workflow: after exploring the repository (Line 2), DeskCheck localizes the potential edit sites by simulating execution paths (Line 3), generates and refines a patch PP (Line 4) after simulating the patch, and uses code reasoning to audit PP against the requirements in the issue, routing any violations back to a lightweight repair (Lines 6–8). Finally, the Validation stage reasons about (input, expected output) pairs before generating and executing tests (Line 10), and iteratively refines PP on test feedback until it decides to submit.

Figure 9. Overview of DeskCheck. Steps augmented with code reasoning are bolded.

Algorithm 1  Overall workflow of DeskCheck

Input: Repository R, issue description I
Output: Submitted patch P
1: canSubmit ← FALSE
2: H ← Explore(R, I)
3: E ← Localize(R, I, H)
4: P ← RepairRefine(R, I, E)
5: hasViolation, V ← Audit(R, I, P)
6: if hasViolation then
7:     P ← RepairRefine(R, I, V, lightWeight=TRUE)
8: end if
9: while ¬canSubmit do
10:    err ← Validate(R, I, P)
11:    if err = 0 then
12:        canSubmit ← TRUE
13:    else
14:        P ← RepairRefine(R, I, err, lightWeight=TRUE)
15:    end if
16: end while
17: return P

Stage 1: Explore

DeskCheck starts with a read-only explore sub-agent that receives the full task specification, lists the project layout, greps for the symbols, error messages and API names it mentions, and reads the most likely involved source files, so that the next stage starts with the relevant code in hand. It may not edit, create or delete any file.

Stage 2: Localize

The Localization sub-agent takes the exploration history as input and identifies potential edit sites by reasoning on execution paths that may invoke the issue, without creating or running any reproduction test, avoiding surface-level reproduction [15] and costly environment setup [65]. As shown in Algorithm 2, it first builds the call graph GG to capture the caller-callee relationships between modules and functions in the repository R\mathcal{R} and then extracts execution paths P\mathcal{P} from it (Lines 1-2). Then, given the exploration history and the issue description, DeskCheck predicts a set of anchors A\mathcal{A}, which may reveal the potential locations of the bug in the repository (Line 3). Subsequently, it selects a minimal set of paths SAS_A that cover all the predicted anchors (Line 4)8. To ensure comprehensive coverage of potential bug locations, we expand it with the top-kk paths SBS_B with the largest node visit counts V(p)V(p), i.e., the total number of times the nodes in path pp are visited by different paths (Line 5), as nodes visited by many paths are more likely to lie on the execution flow leading to the bug. After that, the LLM predicts the bug-revealing paths SCS_C based on the issue description, which are merged with SAS_A and SBS_B into SS (Lines 6-7).

Algorithm 2 Localization
Input: Repository R\mathcal{R}, issue description II, LLM MM, explore history HH, expansion budget kk
Output: Suggested edit sites E\mathcal{E}
1: G←BuildCallGraph⁡(R)G \leftarrow\operatorname{BuildCallGraph}(\mathcal{R})
2: P←ConstructCandidatePaths⁡(G)\mathcal{P} \leftarrow\operatorname{ConstructCandidatePaths}(G)
3: A←PredictAnchors⁡(M,I,R,H,G)\mathcal{A} \leftarrow\operatorname{PredictAnchors}(M,I,\mathcal{R},H,G)
4: SA←SelectAnchorCoveringPaths⁡(P,A)S_A \leftarrow\operatorname{SelectAnchorCoveringPaths}(\mathcal{P},\mathcal{A})
5: SB←TopK⁡(P∖SA,k,p↦∣V(p)∣)S_B \leftarrow\operatorname{TopK}(\mathcal{P} \setminus S_A,k,p \mapsto\lvert V(p)\rvert)
6: SC←PredictBugRevealingPaths⁡(M,I,G)S_C \leftarrow\operatorname{PredictBugRevealingPaths}(M,I,G)
7: S←SA∪SB∪SCS \leftarrow S_A \cup S_B \cup S_C
8: E←∅\mathcal{E} \leftarrow\varnothing
9: for s∈Ss \in S do
10: Input←ConcreteInputPrediction⁡(M,I,s)\mathit{Input} \leftarrow\operatorname{ConcreteInputPrediction}(M,I,s)
11: e←SimulatePaths⁡(M,Input,s)e \leftarrow\operatorname{SimulatePaths}(M,\mathit{Input},s)
12: E←E∪e\mathcal{E} \leftarrow\mathcal{E} \cup e
13: end for
14: return E\mathcal{E}

Table 2.

With the selected paths, DeskCheck performs code reasoning on each execution path in SS: the LLM is instructed to (1) predict the inputs that would trigger the path, (2) simulate the execution step by step, and (3) flag the root cause and the edit sites if the simulation deviates from the expected behavior (Lines 9-12), and returns the suggested edit sites E\mathcal{E} (Line 14). DeskCheck also supports new feature implementation and refactoring: since the expected behavior is derived from the issue description, simulating the base commit also captures missing functionality or structural changes, and the flagged edit sites mark where the requested behavior must be introduced.

Figure 10 illustrates a running example from Ansible. The localization sub-agent first predicts four anchors covering three of the five ground truth edit sites (Figure 10a), and selects the red path covering all anchors into SAS_A (Figure 10b). Then it selects the green path with the largest node visit counts9 into SBS_B (Figure 10c), since _add_auth_token, open_url, and timeout are frequently visited nodes, and the blue bug-revealing path into SCS_C (Figure 10d). The two previously missed

Algorithm 3 Repair & Refine
Input: Repository $\mathcal{R}$; Issue $I$; Edit Sites $\mathcal{E}$; LLM $M$
Output: Patch $P$
1: $P \leftarrow \varnothing$
2: $FB \leftarrow \varnothing$
3: $Vio \leftarrow \varnothing$
4: $P \leftarrow \operatorname{GenerateInitialPatch}(\mathcal{R}, I, \mathcal{E})$
5: $Ins, ExpOuts \leftarrow \operatorname{PredictIO}(I, M)$
6: for $(in, expOut) \in (Ins, ExpOuts)$ do
7: violation, fb $\leftarrow \operatorname{SimulatePatch}(P, in, expOut, M)$
8: if violation then
9: $Vio \leftarrow Vio \cup \{violation\}$
10: $FB \leftarrow FB \cup \{fb\}$
11: end if
12: end for
13: if $Vio \ne \varnothing$ then
14: $P \leftarrow \operatorname{RefinePatch}(P, \mathcal{R}, I, M, FB)$
15: end if
16: return $P$
Algorithm 4 Patch Audit
Input: Repository $\mathcal{R}$; Issue $I$; Patch $P$; LLM $M$
Output: Audited Patch $P_A$
1: $P_A \leftarrow P$
2: $FB \leftarrow \varnothing$
3: $Vio \leftarrow \varnothing$
4: $reqs \leftarrow \operatorname{ExtractRequirements}(I, M)$
5: for $req \in reqs$ do
6: $i, o \leftarrow \operatorname{PredictIO}(req, M)$
7: $violation, fb \leftarrow \operatorname{SimulatePatch}(P_A, i, o, M)$
8: if violation then
9: $Vio \leftarrow Vio \cup \{violation\}$
10: $FB \leftarrow FB \cup \{fb\}$
11: end if
12: end for
13: if $Vio \ne \varnothing$ then
14: $P_A \leftarrow \operatorname{RefinePatch}(P_A, \mathcal{R}, I, M, FB)$
15: end if
16: return $P_A$

edits in the anchor prediction are recovered step by step via the execution path selection, and after simulating these three paths, the LLM identifies all the ground truth edit sites (Figure 10e).

Figure 10. Example of the execution path selection and path simulation in the Localization stage.

Stage 3: Repair & Refine

In practice, programming agents often produce patches that are partially correct but still contain flawed code logic [34, 37, 55]. To rescue such near-hits, the Repair & Refine stage uses code reasoning to close the gap between a partially correct patch and a fully correct one (Algorithm 3). Given the suggested edit sites E\mathcal{E} from the Localization stage, the LLM MM first generates an initial patch PP (Line 4), and then predicts a set of input-expected output pairs that fulfill both the implementation of PP and the issue requirements (Line 5). For each pair, MM simulates the execution of PP on the input and compares the resulting behavior against the expected output; on a mismatch, it reports a violation together with feedback fbfb describing the discrepancy (Lines 6-10). Finally, if any violation is found, an LLM refiner improves PP using the collected feedback FBFB (Lines 13-14).

Algorithm 5 Patch Validation
Input: Repository $\mathcal{R}$; Issue $I$; Patch $P$; LLM $M$
Output: Submitted Patch $P_S$
1: $P_S \leftarrow P$
2: $T \leftarrow \operatorname{CollectRegressionTests}(\mathcal{R})$
3: $input_c, output_c \leftarrow \operatorname{MineCornerCasesOracles}(I, M)$
4: $input_r, output_r \leftarrow \operatorname{ReproduceIssue}(I, M)$
5: $INPUT \leftarrow input_c \cup input_r$
6: $OUTPUT \leftarrow output_c \cup output_r$
7: for $(i, o) \in (INPUT, OUTPUT)$ do
8: $t \leftarrow \operatorname{TestGeneration}(i, o, M)$
9: $T \leftarrow T \cup \{t\}$
10: end for
11: $err \leftarrow \operatorname{ExecuteTests}(P_S, T, \mathcal{R})$
12: if $err \ne \varnothing$ then
13: $P_S \leftarrow \operatorname{RefinePatch}(P_S, \mathcal{R}, I, M, err)$
14: end if
15: return $P_S$

Stage 4: Patch Audit

Another cause of failed patches is the issue description: agents may misinterpret or overlook critical requirements, making no attempt to address them at all, especially in lengthy or ambiguous issue descriptions [55, 70]. To address this, DeskCheck opens a clean context after Repair & Refine, and audits the patch against each requirement in the issue (Algorithm 4). It extracts the requirements with an LLM call (Line 4), and for each requirement, it predicts an input-expected output pair, simulates the patch on the input, and collects feedback on any violation against the expected output (Lines 5-12). If any feedback is collected, DeskCheck performs a lightweight repair (Line 14) that skips the full “initial patch →\rightarrow simulate →\rightarrow refine” flow to save tokens, directly fixing the patch based on feedback or refuting false alarms from the audit (§ 4.8).

3.1.5 Stage 5: Validation. The validation tests may directly decide the outcome of an agentic pipeline: a high-quality validation test may disclose the defects in the generated patch and trigger further refinement if necessary. To enrich the conditions covered by the validation tests, DeskCheck instructs the LLMs to propose possible corner cases and leverage code reasoning to generate input-expected output pairs for them and for reproducing the issue (Lines 3–4 in Algorithm 5). These input-expected output pairs are turned into executable tests in Lines 7–10, and executed with the regression tests if available in the repository. If any test fails, DeskCheck triggers the lightweight patch refinement (Line 13); otherwise, the validation sub-agent submits the final patch.

Experiment Setup

Implementation. We implement stages of DeskCheck on top of mini-SWE-Agent and Claude Code, by modifying or injecting prompts into their original workflows, and set the localization expansion budget to k=1k = 1 to save tokens. Our prompts and implementation are publicly available [24, 26].

Benchmark. We evaluate on SWE-bench-Pro (731 instances in Python, JavaScript, Go, and TypeScript), whose multi-file tasks are more challenging than those of SWE-bench-Verified and SWE-bench-Lite. To prevent reward hacking, we disable network access and strip the git history in each Docker environment (the agent could otherwise recover the golden patch from the history).

ScaffoldModel%ResolvedAvg. Tokens/Cost
DeskCheckMiniMax-M365.25% (+10.53)5.61M/$0.52
mini-SWE-AgentMiniMax-M354.72%5.27M/$0.41
DeskCheckGPT-5.6-Luna59.37% (+6.29)1.42M/$0.10
mini-SWE-AgentGPT-5.6-Luna53.08%1.65M/$0.08
DeskCheckClaude Haiku-4.551.16% (+8.34)6.75M/$1.59
Claude CodeClaude Haiku-4.542.82%5.89M/$1.31

Table 2 (PDF p. 11). Overall performance of DeskCheck compared to the baseline scaffolds on SWE-bench-Pro.

Subject LLMs and Baselines. We compare DeskCheck built on mini-SWE-Agent against vanilla mini-SWE-Agent with MiniMax-M3 and GPT-5.6-Luna. Since Claude Code has no official SWE-bench-Pro harness, we build a “localize → repair → validate” scaffold that runs the Claude Code API inside each instance’s Docker container, and compare it with DeskCheck built on Claude Code using Claude Haiku-4.5. All LLMs use high reasoning effort.

RQ4. Effectiveness of DeskCheck in Issue Resolution

Overall Performance of DeskCheck

Table 2 reports the overall performance of DeskCheck on the 731 problems in SWE-bench-Pro. DeskCheck resolves 65.25%, 59.37%, and 51.16% of instances with MiniMax-M3, GPT-5.6-Luna, and Claude Haiku-4.5, respectively, outperforming the mini-SWE-Agent and Claude Code counterparts by 10.53%, 6.29%, and 8.34%. We further visualize the unique fixes from different scaffolds in Figure 11. Compared to mini-SWE-Agent, DeskCheck generates 97 unique fixes when loaded with MiniMax-M3, and 49 unique fixes when powered by GPT-5.6-Luna. Compared to Claude Code, DeskCheck generates 74 unique fixes that are never produced by Claude Code. DeskCheck is cost-effective as well. We report the average token consumption and cost in dollars per instance in Table 2. DeskCheck consumes comparable amounts of tokens to mini-SWE-Agent and Claude Code (at most 14.6% more with Claude Haiku-4.5), and costs only $0.02–$0.28 more per instance, in exchange for a notably higher resolution rate. The replication package for this RQ is publicly available [23].

Comparison of unique fixes between DeskCheck, mini-SWE-Agent, and Claude Code

Figure 11. Comparison on unique fixes between DeskCheck, mini-SWE-Agent, and Claude Code.

Breakdown by Difficulty Levels

As explained in §2.2.3, we use the golden patch characteristics as a proxy for each problem’s difficulty level. Figure 12 shows the breakdown of resolved instances by difficulty level. We observe that DeskCheck consistently improves the resolution rate across all difficulty levels compared to the baseline scaffolds. Compared to mini-SWE-Agent, on average DeskCheck resolves 9.4%, 8.7%, and 8.0% more instances for easy, medium, and difficult problems, respectively. DeskCheck resolves 11.4%, 8.0%, and 7.8% more instances for easy, medium, and difficult problems compared to Claude Code.

Difficulty breakdown of resolved instances

Figure 12. Difficulty breakdown of resolved instances.

Breakdown by Programming Languages

Figure 13 shows that DeskCheck consistently improves the resolution rate across all programming languages compared to the baseline scaffolds. Go is the most challenging language for all three scaffolds and the one where DeskCheck gains the least; our human verification (§3.3.5) attributes this largely to SWE-bench-Pro’s grading tests, which more often require symbol names and method names that appear only in the golden patch but never mentioned in the issue description (e.g., Figure 14).

Breakdown of resolved instances by programming language

Figure 13. Breakdown of resolved instances by programming language.

Figure 14. An example of hidden tests requiring function/symbol definitions only appear in the golden patch.

Impact of Non-determinism

To rule out LLM non-determinism, we apply the exact McNemar test [49] on per-instance resolution status, whose null hypothesis is that DeskCheck and the baseline differ only by run-to-run randomness, i.e., each fixes roughly as many instances the other fails. The test rejects it with MiniMax-M3 (p=2.6×10−13p = 2.6 \times10^{-13}), GPT-5.6-Luna (1.0×10−111.0 \times10^{-11}), and Claude Haiku-4.5 (1.6×10−111.6 \times10^{-11}), confirming that the improvements are statistically significant. We further rerun the baselines twice more on the instances that only DeskCheck resolves (97, 49, and 74 for MiniMax-M3, GPT-5.6-Luna, and Claude Haiku-4.5 from Figure 11), and they resolve only 16, 7, and 14 of them in at least one retry. Hence, 83.18% of these gains likely stem from DeskCheck itself rather than run-to-run non-determinism.

Manual Analysis of Generated Patches

Failing the grading tests of SWE-bench-Pro does not necessarily mean an issue is unresolved: SWE-bench-style tests can be overly specific and reject correct patches that deviate from the golden patch’s simple implementation details [4, 13, 62, 68]. We therefore have three human evaluators independently verify, against the issue description, the patches for the 234 instances that both DeskCheck and mini-SWE-Agent fail with MiniMax-M3, reaching substantial agreement (Krippendorff’s α=0.70\alpha= 0.70) and judging 94 (DeskCheck) and 96 (mini-SWE-Agent) of them as correct. Such false negatives arise when the hidden tests (1) contradict the issue description, (2) cover conditions never specified in the issue, (3) require function/symbol definitions that only

appear in the golden patch, or (4) rely on fixtures/configurations that only exist at grading stage. Of the 190 false negatives, 32, 125, 31, and 2 are Python, Go, JavaScript, and TypeScript instances, respectively, which largely explains why both scaffolds struggle on Go (Figure 13).

Figure 14 presents such a Go instance: the issue (Figure 14a) names only one new function, HSMTestConfig, but the hidden test (Figure 14c) calls five private helpers by their golden-patch names (Figure 14b; softHSMTestConfig, yubiHSMTestConfig, etc.). DeskCheck implements the same design but names its helpers differently (setupSoftHSMTest, setupYubiHSMTest, etc.), so the test package fails to compile and none of the 33 hidden tests run. These non-trivial false negatives suggest that resolution rates on SWE-bench-Pro underestimate actual capability, calling for caution when comparing approaches by small margins.

RQ5: Contribution of Guided Code Reasoning to Each Stage of DeskCheck

Code Reasoning in the Localization

To evaluate code reasoning in the Localization stage, we compare the method-level edit sites predicted by the Localization sub-agent with the methods/functions modified in the golden patch, which serve as a proxy for the ground truth10. We report both file- and method-level recall, precision, and F1 against the ground truth.

We compare against three reproduction test-based approaches: mini-SWE-Agent and Claude Code, both instructed to locate buggy sites with reproduction tests, and SWE-Doctor [18]. SWE-Doctor executes multi-faceted reproduction tests, creates runtime-grounded diagnosis records (e.g., suspected fault location and observed runtime values), and feeds them to a downstream patch generator (mini-SWE-Agent in its implementation), outperforming reproduction test generation approaches such as e-Offer++ [3], Issue2Test [53], and AssertFlip [28] in issue resolution. We run the SWE-Doctor artifact with MiniMax-M3 and GPT-5.6-Luna, extract localization from its diagnosis records (SWE-Doctor-L), and, since SWE-Doctor supports only 107 Python bug-fixing instances in SWE-bench-Pro, we evaluate all approaches on this subset for a consistent comparison.

Besides localization outputs before patching (DeskCheck-L, Claude Code-L, and SWE-Doctor-L), we extract localization from each approach’s final patch DeskCheck-P, mini-SWE-Agent-P, Claude Code-P, and SWE-Doctor-P), reflecting the influence of downstream repair and validation. Since mini-SWE-Agent exposes no separate localization output, only mini-SWE-Agent-P is reported.

As shown in Table 3, DeskCheck achieves the highest resolution rate with every LLM, and DeskCheck-L consistently achieves the highest method-level recall, indicating that pure reasoning-based localization identifies more potential buggy sites; this advantage persists after repair, audit, and validation (DeskCheck-P). At the file level, DeskCheck-L and DeskCheck-P also achieve the highest or near-highest recall (within 0.02 of the best with GPT-5.6-Luna), at the cost of lower precision than some baselines, which is acceptable since missing a buggy site harms downstream stages more than proposing extra candidates. DeskCheck-L also consistently outperforms SWE-Doctor-L in recall, suggesting that guided code reasoning localizes bugs more broadly than SWE-Doctor’s reproduction tests. Notably, SWE-Doctor-P recalls far more sites than SWE-Doctor-L, and SWE-Doctor resolves more instances than mini-SWE-Agent, suggesting that its patch generator benefits more from runtime failure symptoms than from localization.

AgentLLM%ResMethod-Level Rec.Method-Level Prec.Method-Level F1File-Level Rec.File-Level Prec.File-Level F1
DeskCheck-LMiniMax-M373.830.690.710.660.840.840.79
DeskCheck-PMiniMax-M373.830.650.730.640.850.880.82
mini-SWE-Agent-PMiniMax-M357.940.460.620.510.810.950.87
SWE-Doctor-LMiniMax-M360.750.180.890.300.490.730.53
SWE-Doctor-PMiniMax-M360.750.630.760.660.710.880.76
DeskCheck-LGPT-5.6-Luna66.360.670.660.630.880.870.84
DeskCheck-PGPT-5.6-Luna66.360.640.690.620.890.880.85
mini-SWE-Agent-PGPT-5.6-Luna57.010.460.550.480.900.970.91
SWE-Doctor-LGPT-5.6-Luna58.880.280.810.380.530.930.64
SWE-Doctor-PGPT-5.6-Luna58.880.590.760.620.670.890.74
DeskCheck-LHaiku-4.558.880.610.830.670.820.970.86
DeskCheck-PHaiku-4.558.880.600.840.660.820.970.86
Claude Code-LHaiku-4.546.720.380.540.410.810.940.84
Claude Code-PHaiku-4.546.720.580.800.560.810.960.85

Table 3. Localization Recall(Rec), Precision(Prec), and F1 of DeskCheck, mini-SWE-Agent, Claude Code, and SWE-Doctor on 107 Python instances. %Res refers to the resolution rate.

To quantify each baseline’s reliance on reproduction tests, we count the actions that execute reproduction tests before patching, using the process-centric analysis tool of [44] on the agent trajectories and SWE-Doctor’s reports (Figure 15). Counting repeated executions, mini-SWE-Agent executes 1.84 and 2.27 reproduction tests per instance on average with MiniMax-M3 and GPT-5.6-Luna, Claude Code 8.51, and SWE-Doctor the most: 12.6 and 43.4, respectively. In contrast, DeskCheck replaces pre-patching test execution with reasoning-based simulation, avoiding both the cost of running tests and the difficulty of setting up executable environments.

Number of executed reproduction tests before patching

Figure 15. Number of executed reproduction tests before patching.

Code Reasoning in Repair & Refine

As shown in Figure 16, DeskCheck refines the initial patch after simulation on 72, 264, and 80 instances with MiniMax-M3, GPT-5.6-Luna, and Claude Haiku-4.5, of which 58 (80.6%), 130 (49.2%), and 35 (43.8%) are resolved, respectively. Among the 331, 343, and 418 instances that the baselines fail to resolve, refinement is triggered on 30, 161, and 65, rescuing 17, 30, and 21 instances, a higher rescue rate than without refinement (MiniMax-M3: 57% vs. 27%, GPT-5.6-Luna: 19% vs. 10%, and Claude Haiku-4.5: 32% vs. 15%). We run a chi-square test whose null hypothesis is that patch refinement and the rescue of previously failed instances are independent. The test (Table 4) rejects it and confirms a statistically significant correlation between patch refinement and the rescue of previously failed instances for all three models (p<0.05p < 0.05).

ModelRefineAuditValidation
χ2\chi^2p-valueχ2\chi^2p-valueχ2\chi^2p-value
MiniMax-M311.920.0014.840.02810.100.002
GPT-5.6-Luna4.680.0309.890.0023.850.047
Claude Haiku-4.511.270.00111.900.0017.730.005

Table 4. Results of the chi-square test on the correlation between the code reasoning-triggered edits at each stage (patch refinement, code audit, validation) and the rescue of the previously failed cases.

Effectiveness of Repair & Refine

Figure 16. Effectiveness of Repair & Refine.

Code Reasoning in Audit

As traced in Figure 17, after reasoning about whether the patch satisfies each requirement in the issue, DeskCheck flags violations in 294, 287, and 223 instances with MiniMax-M3, GPT-5.6-Luna, and Claude Haiku-4.5; the lightweight repair changes 240, 161, and 141 of these patches, of which 160, 91, and 76 are resolved, respectively. Of the 262 violations that the lightweight repair dismisses as false alarms, 126 are still resolved, justifying its right to refute them. On the instances that mini-SWE-Agent and Claude Code fail to resolve, patches changed in the audit stage are rescued more often than untouched ones (MiniMax-M3: 37% vs. 25%, GPT-5.6-Luna: 24% vs. 11%, Claude Haiku-4.5: 30% vs. 14%). A chi-square test (Table 4) confirms a statistically significant correlation between the code reasoning-driven audit and the rescue of previously failed instances for all three models.

Effectiveness of the audit stage driven by the patch simulation

Figure 17. Effectiveness of the audit stage driven by the patch simulation.

3.4.4 Code Reasoning in Validation. As shown in Figure 18, DeskCheck revises the patch after generated tests fail on 109, 235, and 93 instances with MiniMax-M3, GPT-5.6-Luna, and Claude Haiku-4.5, of which 78, 117, and 51 are resolved, respectively. On the instances that the baselines fail to resolve, patches edited in the validation stage are rescued more often than unedited ones (MiniMax-M3: 47% vs. 26%, GPT-5.6-Luna: 19% vs. 11%, Claude Haiku-4.5: 31% vs. 16%). A chi-square test (Table 4) similarly rejects the independence between validation-stage edits and the rescue of previously failed instances for all models (p<0.05p < 0.05). These revisions are driven by tests built from reasoned input-expected output pairs, which cover more diverse scenarios and edge cases that may reveal the defects in the original patch.

Effectiveness of the code reasoning-augmented validation

Figure 18. Effectiveness of the code reasoning-augmented validation.

Qualitative Analysis

Execution path simulation improves localization

Referring back to Figure 1, DeskCheck selects YamlConfig.load() → YamlMigrations.migrate() → YamlMigrations._remove_empty_patterns() into SBS_B in Figure 19a, which is neglected by the baseline. Figure 19a also shows how DeskCheck reasons about this path: it creates an input file with concrete keys and values, correctly infers how the invalid settings is constructed in YamlConfig.load(), and traces the subsequent execution until _remove_empty_patterns(), then recognizes that the in and del operations would crash on the invalid settings. DeskCheck therefore adds _remove_empty_patterns to the edit sites, a function called by the hidden tests but never mentioned in the issue description and missed by the baseline Claude Code.

DeskCheck examples showing issue description, initial patch, simulation on the initial patch, and refined patch

Figure 19. (a) An example of DeskCheck (Claude Haiku-4.5) locating the root cause of the bug; (b) An example of DeskCheck (MiniMax-M3) correctly refines the initial patch after code reasoning.

Initial patch simulation saves near-hits

Referring back to Figure 2, the initial patch (Figure 19b-II) raises the RuntimeError when the display queue is already set, rather than when it is called in a parent process as the issue description requires (Figure 19b-I). Figure 19b-II shows how DeskCheck simulates this patch: MiniMax-M3 infers an input in which set_queue is called from a parent process, a condition that is hard to reproduce with real tests since it requires setting up and controlling multiple processes. It then notices that the RuntimeError would not be raised as expected and flags a violation in the initial patch. DeskCheck therefore routes back to the lightweight repair and adjusts the condition in the error handling, so the refined patch passes all the hidden tests (Figure 19b-IV), whereas the baseline mini-SWE-Agent fails to set up such a test after 14 steps and submits the near-hit untested.

Auditing against the requirements completes the patch

Figure 20 shows how DeskCheck performs point-by-point code reasoning against the requirements to rescue the incomplete patch. Referring back to Figure 3, the patch before the code auditing phase only fulfills 6 out of the 8 extracted requirements, leaving one file totally unchanged. For both R7 and R8, in the code auditing sub-agent, DeskCheck simulates the execution of the patch by creating a concrete input/scenario that satisfies the conditions inferred from the requirement, judging whether the current patch behaves as expected. It finally raises two violations corresponding to R7 and R8, guiding the agent to conduct more repair on the patch. Finally, the post-audit refinement flips the fail-to-pass rate from 0/1 to 1/1.

Figure 20. An example of DeskCheck (GPT-5.6-Luna) auditing against the requirements to complete the patch.

Reasoning about inputs and expected outputs improves validation test quality

Referring back to Figure 4, the validation tests of mini-SWE-Agent for is_nonbook in openlibrary-3f7db6bb never consider case-insensitive (t2) or multi-word (t3) inputs. Table 5 compares the oracles in the validation tests of DeskCheck with those in the hidden tests: by reasoning about input-expected output pairs before generating tests, DeskCheck independently covers a case-insensitive input that matches hidden test t2 and a multi-word input (t3), and further adds empty and None inputs (t5) that neither the baseline nor the hidden tests consider. DeskCheck therefore catches that the initial patch fails t2 in the first run and refines it to pass, whereas mini-SWE-Agent submits a patch that fails the hidden tests.

idHidden test oraclesDeskCheck oracles
t1("DVD", NONBOOK) → True("DVD", NONBOOK) → True
t2("dvd", NONBOOK) → True("dvd", NONBOOK) → True
t3("audio cassette", NONBOOK) → True("Audio CD", NONBOOK) → True
t4("paperback", NONBOOK) → False("paperback", NONBOOK) → False ("Hardcover", NONBOOK) → False
t5NA(None, NONBOOK) → False (”, NONBOOK) → False

Table 5. Oracle comparison between SWE-bench-Pro hidden tests and validation tests generated by DeskCheck (MiniMax-M3).

Ablation Study

To isolate the contribution of code reasoning, we disable it stage by stage: V0V_0 removes it from all sub-agents; V1V_1 restores it in localization; V2V_2 further restores it in repair, triggering refinement of the initial patch; and V3V_3 further restores it in the audit, where each requirement is checked by simulating the patch on specific inputs. Each variant disables only the explicit code reasoning step, retaining all other operations (e.g., patch refinement, requirement extraction, and test generation and execution). As running every variant on all 731 SWE-bench-Pro instances is prohibitively expensive, we evaluate on a 100-instance subset designed to reflect the benchmark’s composition. We stratify instances by language and difficulty (§2.2.3), and within each language-difficulty group, balance the sample across repositories and randomly select instances from each.

With MiniMax-M3, Table 6 reports the resolution rate and method-level localization recall of the variants, DeskCheck, and mini-SWE-Agent: the resolution rate increases monotonically from 53% (V0V_0) to 56% (V1V_1), 58% (V2V_2), and 61% (V3V_3), reaching 68% with the full system. Every restored stage contributes to the resolution rate, and restoring code reasoning in validation brings the largest gain (61% to 68%), indicating that reasoning about inputs and expected outputs before generating tests is particularly effective. V0V_0 performs similarly to mini-SWE-Agent, indicating that DeskCheck’s improvement comes from code reasoning across multiple phases rather than from isolating contexts into sub-agents; meanwhile, method-level recall improves from 0.59 to 0.65 once code reasoning is restored in localization (V1V_1) and reaches 0.67 thereafter, suggesting that simulating execution paths identifies more bug-relevant locations.

SettingLoc.Rep.Aud.Val.Res.Rec.
V0V_0✗✗✗✗53%0.59
V1V_1✓✗✗✗56%0.65
V2V_2✓✓✗✗58%0.66
V3V_3✓✓✓✗61%0.67
DeskCheck✓✓✓✓68%0.67
mini-SWE-Agent––––53%0.57

Table 6. Ablation results. Loc./Rep./Aud./Val. indicate whether code reasoning is enabled in the Localization, Repair, Audit, and Validation stages; Res. is the resolution rate and Rec. the method-level localization recall.

Related Work

Code Reasoning Evaluations. Existing benchmarks evaluate the code reasoning [1, 47] of LLMs via input/output prediction [17], specification and dynamic-semantics reasoning [39], and intermediate program states [7, 10, 38], while another line of work analyzes agent trajectories through thought–action–result sequences [9], action graphs (Graphjectory [42, 43]), or combined formal and LLM-based reviews (AgentLens [56]). However, the former targets standalone programs, and the latter focuses on actions and tool usage rather than reasoning; we instead study the role of code reasoning in the problem-solving process of programming agents at scale.

Reproduction Tests for Bug Localization. Reproduction tests translate issue descriptions into executable evidence of reported failures. AEGIS [60] and Otter [2] generate them directly from issue reports, e-Otter++ [3] adds heterogeneous prompting and execution feedback for test generation and selection, Issue2Test [53] refines candidate tests with compilation and runtime feedback until their failures match the issue, and AssertFlip [28] inverts the assertions of passing tests on buggy behavior. Programming agents further use such tests as execution evidence: MarsCode Agent [45] uses exception stacks and outputs of reproduction scripts, and SWE-Doctor [18] turns tests targeting different behavioral requirements into runtime diagnoses for localization and repair. However, given ambiguous or complex issues, reproduction tests may capture only surface-level symptoms; DeskCheck instead traces execution paths via code reasoning to reveal the root cause.

Patch Refinement. A coding agent’s first patch is often close to, but not exactly, the correct fix [37], motivating refinement: PatchPilot [34] re-enters generation with failing reproduction or regression tests, REFINE [55] enriches repository context and reranks candidate patches, and Luo et al. [46] refine patches toward conciseness. These signals come from outside the patch and are bounded by availability and quality: reproduction tests may be missing or unrunnable in unconfigured environments [65], and over-narrow self-generated tests can give a false sense of correctness [62]. In contrast, DeskCheck derives the signal from the patch itself by simulating it on inputs inferred from the issue, which works even without a runnable test.

Threats to Validity

External Validity. Our conclusions on code reasoning are drawn from 7,955 trajectories produced by six scaffolds and three model families on the SWE-bench family, so the results may not transfer to other scaffolds, more recent LLMs. To mitigate this, we deliberately select scaffolds spanning diverse architectures, ranging from plain agents to multi-agent, memory-augmented, and orchestrator–sub-agent designs, and we collect results on SWE-bench-Pro, which covers Python, JavaScript, Go, and TypeScript, rather than the Python-dominating SWE-bench-Verified and SWE-bench-Lite (§ 2).

Internal Validity. LLM-based systems are inherently non-deterministic, so is DeskCheck. To further verify the contribution of code reasoning instead of non-determinism, we (1) use an exact McNemar test to verify the significance of improvements, and (2) rerun each baseline twice on the instances that only DeskCheck resolves, confirming that 83.18% of them are not explained by run-to-run non-determinism (§ 4.4).

Construct Validity. The hidden tests of SWE-bench-Pro may reject correct patches. Therefore, we manually verify the false negatives of DeskCheck and mini-SWE-Agent (§ 4.5).

Conclusion & Future Work

In this work, we derive a systematic categorization of the reasoning behaviors exhibited by programming agents. Then we perform a large-scale empirical study with 7,955 trajectories, indicating that code reasoning is naturally integrated into the problem-solving process of programming agents. Then we propose DeskCheck, a five-stage agent framework that leverages different levels of code reasoning to improve LLMs’ performance in localization, repair, and validation. Extensive evaluation on SWE-bench-Pro shows that DeskCheck brings up to a 10.53% performance gain compared with mini-SWE-Agent and Claude Code, with only a marginal increase in token consumption and cost. In our future work, we plan to (1) expand the idea of DeskCheck to tasks beyond bug-fixing, and (2) certify the faithfulness of code reasoning, specifically the correctness of execution simulation.

Data Availability

The artifacts of DeskCheck are publicly available at [20].

References

References

  1. [1]Abdollahi, Mohammad, Khandaker Rifah Tasnia, Soumit Kanti Saha, Jinqiu Yang, Song Wang, and Hadi Hemmati. 2025. Demystifying errors in LLM reasoning traces: An empirical study of code execution simulation. ACM Transactions on Software Engineering and Methodology (2025).arxiv.org/abs/2512.00215
  2. [2]Toufique Ahmed, Jatin Ganhotra, Rangeet Pan, Avraham Shinnar, Saurabh Sinha, and Martin Hirzel. 2025. Otter: Generating Tests from Issues to Validate SWE Patches. In Forty-second International Conference on Machine Learning. https://openreview.net/forum?id=b0jYS6JOZuarxiv.org/abs/2502.05368
  3. [3]Toufique Ahmed, Jatin Ganhotra, Avraham Shinnar, and Martin Hirzel. 2026. Heterogeneous prompting and execution feedback for SWE issue test generation and selection. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering, 1250–1261.arxiv.org/abs/2508.06365
  4. [4]Reem Aleithan, Haoran Xue, Mohammad Mahdi Mohajer, Elijah Nnorom, Gias Uddin, and Song Wang. 2025. SWE-Bench+: Enhanced Coding Benchmark for LLMs. In Proceedings of the 22nd International Conference on Mining Software Repositories (MSR). ACM. doi:10.1145/3805760.3814924DOI
  5. [5]Anthropic. [n. d.]. Thinking: Summarized Thinking. Claude Platform Docs. https://platform.claude.com/docs/en/build-with-claude/thinking#summarized-thinking. Accessed: 2026-09-15.
  6. [6]Anthropic. 2025. Claude Model Card. Large language model. https://claude.ai
  7. [7]Claas Beger and Saikat Dutta. 2025. Coconut: Structural code understanding does not fall out of a tree. In 2025 IEEE/ACM International Workshop on Large Language Models for Code (LLM4Code). IEEE, 128–136.arxiv.org/abs/2501.16456
  8. [8]Dimitrios Stamatios Bouras, Yihan Dai, Tairan Wang, Yingfei Xiong, and Sergey Mecht’aev. 2026. Hoareprompt: Structural reasoning about program correctness in natural language. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering. 246–258.arxiv.org/abs/2503.19599
  9. [9]Islem Bouzenia and Michael Pradel. 2025. Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories. In Proceedings of the 40th IEEE/ACM International Conference on Automated Software Engineering (ASE). IEEE, 2180–2191. doi:10.1109/ASE63991.2025.00234DOI
  10. [10]Junkai Chen, Zhiyuan Pan, Xing Hu, Zhenhao Li, Ge Li, and Xin Xia. 2025. Reasoning Runtime Behavior of a Program with LLM: How Far Are We? In 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE). IEEE Computer Society, Los Alamitos, CA, USA, 140–152. doi:10.1109/ICSE55347.2025.00012DOI
  11. [11]Yang Chen, Aliya Ahmad, Yiheng Zhou, and Reyhaneh Jabbarvand. 2026. Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolution. arXiv preprint arXiv:2606.25514 (2026).arxiv.org/abs/2606.25514
  12. [12]François Chollet. 2019. On the Measure of Intelligence. arXiv preprint arXiv:1911.01507 (2019).
  13. [13]Neil Chowdhury, James Aung, Chan Jun Shern, Oliver Jaffe, Dane Sherburn, Giulio Starace, Evan Mays, Rachel Dias, Marwan Aljubeh, Mia Glaese, Carlos E. Jimenez, John Yang, Kevin Liu, and Aleksander Madry. 2024. Introducing SWE-bench Verified. https://openai.com/index/introducing-swe-bench-verified/.
  14. [14]Xiang Deng, Jeff Da, Edwin Pan, Yannis Yiming He, Charles Ide, Kanak Garg, Niklas Lauffer, Andrew Park, Nitin Pasari, Chetan Rane, et al. 2026. SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks? In International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=uEVTdOAbNKarxiv.org/abs/2509.16941
  15. [15]Zhiwei Fei, Yue Pan, Federica Sarro, Jidong Ge, Marc Liu, Vincent Ng, and He Ye. 2026. Echo: Graph-Enhanced Retrieval and Execution Feedback for Issue Reproduction Test Generation. arXiv preprint arXiv:2603.07326 (2026).arxiv.org/abs/2603.07326
  16. [16]Jun Gao, Yun Peng, Qian Qiao, Changhai Zhou, Yuhua Zhou, Shiyang Zhang, Shichao Weng, Zhenchang Xing, and Xiaoxue Ren. 2026. CoRE: A Fine-Grained Code Reasoning Benchmark Beyond Output Prediction. In Findings of the Association for Computational Linguistics: ACL 2026. 9446–9459.
  17. [17]Alex Gu, Baptiste Rozière, Hugh Leather, Armando Solar-Lezama, Gabriel Synnaeve, and Sida I Wang. 2024. Cruxeval: A benchmark for code reasoning, understanding and execution. In Proceedings of the 41st International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 235). PMLR.arxiv.org/abs/2401.03065
  18. [18]Yaoqi Guo, Yang Liu, Jie M. Zhang, Yun Ma, Yiling Lou, and Zhenpeng Chen. 2026. SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests. arXiv:2607.00990 [cs.SE] https://arxiv.org/abs/2607.00990
  19. [19]Jie Huang and Kevin Chen-Chuan Chang. 2023. Towards Reasoning in Large Language Models: A Survey. In Findings of the Association for Computational Linguistics: ACL 2023. 1049–1065.arxiv.org/abs/2212.10403
  20. [20]Intelligent-CAT-Lab. 2026. Artifact Website. GitHub repository. https://github.com/Intelligent-CAT-Lab/DeskCheck Accessed: 2026-09-26.
  21. [21]Intelligent-CAT-Lab. 2026. Artifact Website (Issue Example). GitHub repository. https://github.com/Intelligent-CAT-Lab/DeskCheck/blob/main/Issue-protonmail-ac23d1ef.md Accessed: 2026-09-26.
  22. [22]Intelligent-CAT-Lab. 2026. Artifact Website (Literature Search). GitHub repository. https://github.com/Intelligent-CAT-Lab/DeskCheck/tree/main/Empirical_Study/literature_search Accessed: 2026-09-26.
  23. [23]Intelligent-CAT-Lab. 2026. Artifact Website (Overall Performance). GitHub repository. https://github.com/Intelligent-CAT-Lab/DeskCheck/tree/main/Overall_Performance Accessed: 2026-09-26.
  24. [24]Intelligent-CAT-Lab. 2026. Artifact Website (Pipeline Implementation). GitHub repository. https://github.com/Intelligent-CAT-Lab/DeskCheck/tree/main/pipeline Accessed: 2026-09-26.
  25. [25]Intelligent-CAT-Lab. 2026. Code Reasoning Taxonomy: Details. GitHub repository. https://github.com/Intelligent-CAT-Lab/DeskCheck/blob/main/taxonomy-standalone.pdf Accessed: 2026-09-26.
  26. [26]Intelligent-CAT-Lab. 2026. Prompt Templates. GitHub repository. https://github.com/Intelligent-CAT-Lab/DeskCheck/blob/main/prompts.md Accessed: 2026-09-26.
  27. [27]Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2024. Swe-bench: Can language models resolve real-world github issues?. In International Conference on Learning Representations, Vol. 2024. 54107–54157.arxiv.org/abs/2310.06770
  28. [28]Lara Khatib, Noble Saji Mathews, and Meiyappan Nagappan. 2026. Assertflip: Reproducing bugs via inversion of llm-generated passing tests. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering. 3825–3835.arxiv.org/abs/2507.17542
  29. [29]Myeongsoo Kim, Dingmin Wang, Siwei Cui, Farima Farmahinifarhani, Terry Yue Zhuo, Shweta Garg, Baishakhi Ray, Rajdeep Mukherjee, and Varun Kumar. 2026. Coherence Collapse: Diagnosing Why Code Agents Fail After Reaching the Right Code. arXiv preprint arXiv:2603.24631 (2026).arxiv.org/abs/2603.24631
  30. [30]Klaus Krippendorff. 1989. Content analysis. International encyclopedia of communication 226 (1989), 403–407.
  31. [31]Shiqi Kuang, Zhao Tian, Kaiwei Lin, Chaofan Tao, Shaowei Wang, Haoli Bai, Lifeng Shang, and Junjie Chen. 2026. REAgent: Requirement-Driven LLM Agents for Software Resolution. arXiv preprint arXiv:2604.06861 (2026).arxiv.org/abs/2604.06861
  32. [32]Xunhao Lai, Weiqi Xu, Yufeng Yang, Qiaorui Chen, Yang Xu, Lunbin Zeng, Xiaolong Li, Haohai Sun, Haichao Zhu, Vito Zhang, et al. 2026. Minimax sparse attention. arXiv preprint arXiv:2606.13992 (2026).
  33. [33]J. Richard Landis and Gary G. Koch. 1977. The Measurement of Observer Agreement for Categorical Data. Biometrics 33, 1 (1977), 159–174. doi:10.2307/2529310
  34. [34]Hongwei Li, Yuheng Tang, Shiqi Wang, and Wenbo Guo. 2025. PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification. In Proceedings of the 42nd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 267), Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu (Eds.). PMLR, 35922–35941. https://proceedings.mlr.press/v267/li25cf.htmlarxiv.org/abs/2502.02747
  35. [35]Jia Li, Yuxin Su, and Michael R Lyu. 2026. From laboratory to real-world applications: Benchmarking agentic code reasoning at the repository level. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 8845–8869.
  36. [36]Shanchao Liang, Spandan Garg, and Roshanak Zilouchian Moghaddam. 2025. The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reason. arXiv preprint arXiv:2506.12286 (2025).arxiv.org/abs/2506.12286
  37. [37]Changshu Liu, Pelin Cetin, Yogesh Patodia, Baishakhi Ray, Saikat Chakraborty, and Yangruibo Ding. 2024. Automated code editing with search-generate-modify. IEEE Transactions on Software Engineering 50, 7 (2024), 1675–1686.
  38. [38]Changshu Liu, Yang Chen, and Reyhaneh Jabbarvand. 2026. Assessing Coherency and Consistency of Code Execution Reasoning by Large Language Models. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering (ICSE ’26). Association for Computing Machinery, New York, NY, USA, 195–207. doi:10.1145/3744916.3773272DOI
  39. [39]Changshu Liu, Yang Chen, and Reyhaneh Jabbarvand. 2026. CodeMind: Evaluating Large Language Models for Implicit and Explicit Code Execution Reasoning. IEEE Transactions on Software Engineering 01 (May 2026), 1–15. doi:10.1109/TSE.2026.3691250DOI
  40. [40]Changshu Liu, Alireza Ghazanfari, Yang Chen, and Reyhaneh Jabbarvand. 2025. Evaluating code reasoning abilities of large language models under real-world settings. arXiv preprint arXiv:2512.14917 (2025).arxiv.org/abs/2512.14917
  41. [41]Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. 2024. Lost in the middle: How language models use long contexts. Transactions of the association for computational linguistics 12 (2024), 157–173.arxiv.org/abs/2307.03172
  42. [42]Shuyang Liu, Yang Chen, Rahul Krishna, Saurabh Sinha, Jatin Ganhotra, and Reyhaneh Jabbarvand. 2026. Process-centric analysis of agentic software systems. Proceedings of the ACM on Programming Languages 10, OOPSLA1 (2026), 1961–1988.DOI
  43. [43]Shuyang Liu, Saman Dehghan, Jatin Ganhotra, Martin Hirzel, and Reyhaneh Jabbarvand. 2026. From Plan to Action: How Well Do Agents Follow the Plan?. In Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering (ASE), Vol. 1, No. 1, Article . Publication date: October 2018. Shuyang Liu, Saman Dehghan, Ji Young Kim, Jatin Ganhotra, Martin Hirzel, and Reyhaneh Jabbarvand. 2026. Online Monitoring and Corrective Steering of Programming Agents. arXiv preprint arXiv:2608.06701 (2026).
  44. [45]Yizhou Liu, Pengfei Gao, Xinchen Wang, Jie Liu, Yexuan Shi, Zhao Zhang, and Chao Peng. 2024. MarsCode Agent: AI-native Automated Bug Fixing. arXiv:2409.00899 [cs.SE]. https://arxiv.org/abs/2409.00899
  45. [46]Wenqiang Luo, Jacky Keung, Xiaoyu Shi, Yicheng Sun, Boyang Yang, Zhao Wang, and Haoye Tian. 2026. Refine After Generation: Toward Correct and Concise Patches in LLM-based Program Repair. arXiv preprint arXiv:2608.13292 (2026).arxiv.org/abs/2608.13292
  46. [47]Oorja Majgaonkar, Zhiwei Fei, Xiang Li, Federica Sarro, and He Ye. 2025. Understanding code agent behaviour: An empirical study of success and failure trajectories. arXiv preprint arXiv:2511.00197 (2025).arxiv.org/abs/2511.00197
  47. [48]Mary L McHugh. 2013. The chi-square test of independence. Biochemia medica 23, 2 (2013), 143–149.pubmed.ncbi.nlm.nih.gov/23894860
  48. [49]Quinn McNemar. 1947. Note on the Sampling Error of the Difference between Correlated Proportions or Percentages. Psychometrika 12, 2 (1947), 153–157. doi:10.1007/BF02295996DOI
  49. [50]Iman Mahdizadeh, Keivan Alizadeh, Osman Shafahi, Oncel Tuzel, Samy Bengio, and Mehrdad Farajtabar. 2025. GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models. In International Conference on Learning Representations (ICLR).
  50. [51]Fangwen Mu, Junjie Wang, Lin Shi, Song Wang, Shoubin Li, and Qing Wang. 2026. ExpeRepair: Dual-memory enhanced llm-based repository-level program repair. Proceedings of the ACM on Software Engineering 3, FSE (2026), 3954–3976.arxiv.org/abs/2506.10484
  51. [52]Niels Mündler, Mark N Müller, Jingxuan He, and Martin Vechev. 2024. Swt-bench: Testing and validating real-world bug-fixes with code agents. Advances in Neural Information Processing Systems 37 (2024), 81857–81887.
  52. [53]Noor Nashid, Islem Bouzenia, Michael Pradel, and Ali Mesbah. 2026. Issue2test: Generating reproducing test cases from issue reports. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering. 754–766.arxiv.org/abs/2503.16320
  53. [54]OpenAI. 2026. GPT Model. Computer software. https://chatgpt.com/
  54. [55]Anvith Pabba, Simin Chen, Alex Mathai, Anindya Chakraborty, and Baishakhi Ray. 2025. Refine: Enhancing program repair agents through context-aware patch refinement. arXiv preprint arXiv:2510.03588 (2025).arxiv.org/abs/2510.03588
  55. [56]Andrey Podivilov, Vadim Lomshakov, Sergey Savin, Matvei Startsev, Roman Pozharskiy, Maksim Parshin, and Sergey Nikolenko. 2026. AgentLens: Production-Assessed Trajectory Reviews for Coding Agent Evaluation. arXiv:2607.06624 https://arxiv.org/abs/2607.06624
  56. [57]Prithvi Rajasekaran, Ethan Dixon, Carly Ryan, and Jeremy Hadfield. 2025. Effective Context Engineering for AI Agents. Anthropic Engineering. https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents
  57. [58]Monoshi Kumar Roy, Simin Chen, Benjamin Steenhoek, Jinjun Peng, Gail Kaiser, Baishakhi Ray, and Wei Le. 2026. CodeSense: A real-world benchmark and dataset for code semantic reasoning. In International Conference on Learning Representations, Vol. 2026. 13735–13768.arxiv.org/abs/2506.00750
  58. [59]Haifeng Ruan and Yuntong Zhang. 2025. Sonar Foundation Agent. Technical Report. Sonar. https://github.com/AutoCodeRoverSG/sonar-foundation-agent/blob/main/technical_report.pdf
  59. [60]Xinchen Wang, Pengfei Gao, Xiangxin Meng, Chao Peng, Ruida Hu, Yun Lin, and Cuiyun Gao. 2025. AEGIS: An Agent-based Framework for General Bug Reproduction from Issue Descriptions. In Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering (Clarion Hotel Trondheim, Trondheim, Norway) (FSE Companion ’25). Association for Computing Machinery, New York, NY, USA, 331–342. doi:10.1145/3696630.3728557DOI
  60. [61]Xingyao Wang, Boxuan Li, Yufan Song, Frank F Xu, Xiangru Tang, Mingchen Zhu, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, et al. 2025. Openhands: An open platform for ai software developers as generalist agents. In International Conference on Learning Representations, Vol. 2025. 65882–65919.arxiv.org/abs/2407.16741
  61. [62]You Wang, Michael Pradel, and Zhongxin Liu. 2026. Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Study. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering.DOI
  62. [63]Zhaofeng Wu, Linlu Qiu, Alexis Ross, Ekin Akyürek, Boyuan Chen, Bailin Wang, Najoung Kim, Jacob Andreas, and Yoon Kim. 2024. Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Tasks. In Proceedings of NAACL-HLT 2024. 1819–1862.arxiv.org/abs/2307.02477
  63. [64]Chunqiu Steven Xia, Yinlin Deng, Soren Dunn, and Lingming Zhang. 2024. Agentless: Demystifying llm-based software engineering agents. In Advances in Neural Information Processing Systems, Vol. 37.arxiv.org/abs/2407.01489
  64. [65]Jiahong Xiang, Wenxiao He, Xihua Wang, Hongliang Tian, and Yuqun Zhang. 2026. Evaluating and improving automated repository-level rust issue resolution with llm-based agents. In Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering. 805–817.DOI
  65. [66]Danning Xie, Mingwei Zheng, Xuwei Liu, Jiannan Wang, Chengpeng Wang, Lin Tan, and Xiangyu Zhang. 2026. Coner: Benchmarking LLMs’ code reasoning capabilities through static analysis tasks. Advances in Neural Information Processing Systems 38 (2026).arxiv.org/abs/2507.05269
  66. [67]John Yang, Carlos E Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik R Narasimhan, and Ofir Press. 2024. SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. In The Thirty-eighth Annual Conference on Neural Information Processing Systems. https://arxiv.org/abs/2405.15793
  67. [68]Boxi Yu, Yuxuan Zhu, Pinjia He, and Daniel Kang. 2025. UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (ACL).arxiv.org/abs/2506.09289
  68. [69]Daoguang Zan, Zhirong Huang, Wei Liu, Hanwu Chen, Linhao Zhang, Shulin Xin, Lu Chen, Qi Liu, Xiaojian Zhong, Aoyan Li, et al. 2025. Multi-SWE-bench: A Multilingual Benchmark for Issue Resolving. In Advances in Neural Information Processing Systems, Vol. 38. https://openreview.net/forum?id=mBZzkz4h9arxiv.org/abs/2504.02605
  69. [70]Zhengran Zeng, Yixin Li, Rui Xie, Wei Ye, and Shikun Zhang. 2025. Benchmarking and Studying the LLM-based Agent System in End-to-End Software Development. arXiv preprint arXiv:2511.04064 (2025).arxiv.org/abs/2511.04064
  70. [71]Hugh Zhang, Jeff Da, Dean Lee, Vaughn Robinson, Catherine Wu, Will Song, Tiffany Zhao, Pranav Raja, Charlotte Zhuang, Dylan Slack, et al. 2024. A Careful Examination of Large Language Model Performance on Grade School Arithmetic. In Advances in Neural Information Processing Systems (Datasets and Benchmarks Track).arxiv.org/abs/2405.00332
  71. [72]Linghao Zhang, Shilin He, Chaoyun Zhang, Yu Kang, Bowen Li, Chengxing Xie, Junhao Wang, Maoquan Wang, Yufan Huang, Shengyu Fu, et al. 2026. Swe-bench goes live! Advances in Neural Information Processing Systems 38 (2026).arxiv.org/abs/2505.23419
  72. [73]Xin Zhou, Chun Yong Chong, Kisub Kim, Yun Peng, Rui Shu, Zihan Wu, Xu Han, Guowen Yuan, Zeyang Zhuang, Jounghoon Kim, Jeongjin Ju, Seongmin Ju, Taein Yoon, and David Lo. 2026. SWE-RPG: A Unified Issue Resolution Benchmark for Requirement Clarification, Planning, and Code Generation for Coding Agents. arXiv preprint arXiv:2608.09072 (2026).arxiv.org/abs/2608.09072

Paper details

vlnc:W_t29293gn
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents