Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Pujar, Saurabh, Ceka, Ira, Manotas, Irene, Kaiser, Gail, Ray, Baishakhi, Ramji, Shyam
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911367187922944
author Pujar, Saurabh
Ceka, Ira
Manotas, Irene
Kaiser, Gail
Ray, Baishakhi
Ramji, Shyam
author_facet Pujar, Saurabh
Ceka, Ira
Manotas, Irene
Kaiser, Gail
Ray, Baishakhi
Ramji, Shyam
contents The rise of large language models (LLMs) has led to dramatic improvements across a wide range of natural language tasks. Their performance on certain tasks can be further enhanced by incorporating test-time reasoning techniques. These inference-time advances have been adopted into the code domain, enabling complex software engineering (SWE) tasks such as code generation, test generation and issue resolution. However, the impact of different reasoning techniques on code-centric SWE tasks has not been systematically explored. In this work, we survey code reasoning techniques that underpin these capabilities, with a focus on test-time compute and inference-time reasoning paradigms. We examine a variety of code-specific reasoning methods and progressively build up to SWE agents, which combine planning, tool use, and multi-step interaction. We also compare the impact of different techniques on coding tasks, highlighting their relative importance and outlining open challenges and future research directions. Our contributions are: (1) to the best of our knowledge, the first dedicated survey of code reasoning for SWE tasks, highlighting overarching reasoning strategies, hybrid methods, and agentic approaches; (2) a taxonomy of inference-time techniques used to drive code reasoning, accompanied by a curated set of under-explored benchmarks with high potential for SWE evaluation; (3) a comparative analysis of reasoning design patterns across commonly used models and benchmarks; and (4) a synthesis of gaps in current methods and evaluation practices, identifying under-explored areas and concrete opportunities for future research.
format Preprint
id arxiv_https___arxiv_org_abs_2506_13932
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action
Pujar, Saurabh
Ceka, Ira
Manotas, Irene
Kaiser, Gail
Ray, Baishakhi
Ramji, Shyam
Software Engineering
Artificial Intelligence
The rise of large language models (LLMs) has led to dramatic improvements across a wide range of natural language tasks. Their performance on certain tasks can be further enhanced by incorporating test-time reasoning techniques. These inference-time advances have been adopted into the code domain, enabling complex software engineering (SWE) tasks such as code generation, test generation and issue resolution. However, the impact of different reasoning techniques on code-centric SWE tasks has not been systematically explored. In this work, we survey code reasoning techniques that underpin these capabilities, with a focus on test-time compute and inference-time reasoning paradigms. We examine a variety of code-specific reasoning methods and progressively build up to SWE agents, which combine planning, tool use, and multi-step interaction. We also compare the impact of different techniques on coding tasks, highlighting their relative importance and outlining open challenges and future research directions. Our contributions are: (1) to the best of our knowledge, the first dedicated survey of code reasoning for SWE tasks, highlighting overarching reasoning strategies, hybrid methods, and agentic approaches; (2) a taxonomy of inference-time techniques used to drive code reasoning, accompanied by a curated set of under-explored benchmarks with high potential for SWE evaluation; (3) a comparative analysis of reasoning design patterns across commonly used models and benchmarks; and (4) a synthesis of gaps in current methods and evaluation practices, identifying under-explored areas and concrete opportunities for future research.
title Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2506.13932