Papers for

software development teams

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Four-day workweek adapts and survives pressures in agile software teams

Beyond Establishing the Four-Day Workweek: Understanding Adaptation and Long-Term Survival in an Agile Software Organization

Abstract: Context: Existing research on the four-day workweek (4DWW) has primarily examined its introduction and short-term effects, with limited understanding of its long-term survival or its interaction with agile software development. Objective: We study how a reduced-hour 4DWW is introduced, adapted, institutionalized, and sustained under changing organizational and external conditions in an agile software organization. Method: We conducted a longitudinal single-case study of a software organization operating a 32-hour, four-day week. The study draws on 15 semi-structured interviews in 2022 and 2026, analyzed using qualitative content analysis. Results: The 4DWW is better understood as an evolving arrangement than a one-off intervention. After the introduction, teams redesigned coordination, communication, meetings, agile practices, and iterations to adapt to reduced working time. Once institutionalized, the 4DWW faced ownership change, economic downturn, and market and AI pressures. Rather than reverting to five-day workweek, employees absorbed these pressures through voluntary protective adaptations, while anticipating that a rollback would harm job satisfaction, organizational commitment, and employer image. Contribution: We contribute longitudinal evidence on sustaining 4DWW in agile software development and propose two conceptual artifacts: a lifecycle model of the 4DWW and a 4DWW survival matrix, explaining how external pressures and management rationale rollback risk.

Fri 11 SeptSoftware Engineering
The gist
Working fewer hours each week sounds nice, but it can be tricky for teams who need to collaborate a lot, like software developers. The authors studied one company that switched to a four-day, 32-hour workweek and watched how it changed over several years. They found that instead of causing problems, the teams changed how they worked together, managing meetings and planning differently. Even when the company faced challenges like new bosses, economic troubles, and AI changes, the shorter workweek stuck because employees cared about keeping it.
Open 2609.13089v1

Graphaha improves code generation by sharing search across programs

GraphAHA: Graph-Based Adaptive Search with Heterogeneous Actions for Test-Time Code Generation

Abstract: Test-time scaling improves code generation by spending additional inference budget (e.g., calls or tokens) on direct sampling, feedback-conditioned repair, and reasoning-guided implementation. Search-based methods can allocate this budget adaptively, but two challenges remain. First, tree-structured search treats each generation history as a separate state even when trajectories converge to the same program, duplicating evaluation and preventing statistics from being shared. Second, sampling, repair, and reasoning have complementary and state-dependent payoffs, making online allocation among them difficult under a finite budget. To address these challenges, we propose an adaptive graph search method with heterogeneous actions (GraphAHA). GraphAHA organizes the test-time code generation in a typed directed acyclic graph. Equivalent programs are merged into a single code node, allowing their downstream search statistics to be reused across all discovery paths. Hierarchical Thompson sampling then selects whether to generate a new state or follow an existing successor and, for generation, chooses among the type-valid sampling, reasoning, implementation, and repair operations. Evaluated on LiveCodeBench and CodeContests with Qwen2.5-Coder and DeepSeek-Coder, GraphAHA achieves the best score in 18 of 20 cases. For Pass@1 measured using visible tests, it outperforms the strongest baseline for both models on both benchmarks by 4.1 percentage points on average, demonstrating more effective use of a fixed inference budget.

Fri 11 SeptSoftware EngineeringArtificial Intelligence
The gist
Code generation models sometimes waste effort by treating different paths that produce the same program as separate tries, causing duplicated work. This paper introduces GraphAHA, which organizes these paths into a graph where the same program is merged, allowing the model to better share what it learns. It also smartly decides when to try new code, repair mistakes, or reason through problems, using a fixed budget. Tests show that GraphAHA produces better code than previous methods while using the same amount of computing effort.
Open 2609.12757v1

Ai-generated code is smaller and stylistically different than human code

What is the Difference Between Me and You? Benchmarking the Quality Gap Between Human-Written and AI-Generated Code

Abstract: AI coding assistants are becoming co-authors of production software, yet their evaluation centers on functional correctness, leaving open whether their code differs from human code in the quality dimensions dominating lifecycle cost. We compare human-written and AI-generated code at scale: 787,562 function pairs across Python, Java, and C, each human function mined from open-source repositories paired with implementations generated from its docstring by three AI assistants (OpenAI GPT models, DeepSeek-Coder, Qwen2.5-Coder). We characterize structural complexity and statistical naturalness, and map static-analysis findings onto Orthogonal Defect Classification for defects and the Common Weakness Enumeration for vulnerabilities, making authors and languages directly comparable. AI-generated code is structurally compressed and stylistically templated: roughly half the size and branching of human code, clustering apart at the style level. Defect profiles differ in kind: human code concentrates issues of mature codebases, AI code repetitive boilerplate; security is language-dependent, with LLMs producing more, and more severe, findings in Python and Java but fewer high-severity memory-safety findings than humans in C. Once size is controlled for, complexity metrics carry little signal, while naturalness separates authors. Finally, we release CQBench, a benchmark of 27,346 issue-prone tasks with baselines and an evaluation pipeline for quality assurance and security testing.

Fri 11 SeptSoftware EngineeringArtificial Intelligence
The gist
Many people use AI assistants to write computer code, but we don't fully know if AI code is as good as human code beyond just working correctly. The authors compared hundreds of thousands of functions written by humans and generated by AI in popular programming languages. They found AI code tends to be smaller and more repetitive, while human code has different kinds of bugs and security issues. The authors also created a benchmark to help test code quality and security more thoroughly.
Open 2609.12708v1

Confidence-guided method improves testing for AI code ranking

Confidence-Gated Transductive Test Generation for Code Reranking

Abstract: Test case synthesis is crucial for evaluating and ranking programs generated by large language models (LLMs). However, constructing high-quality test cases remains challenging because reliable expected outputs are often difficult to obtain. We propose Confidence-Gated Transductive Test Generation (CoTT), which first uses an efficient inductive procedure and invokes transductive generation only when inductive confidence is low. This adaptive design improves output reliability while allocating extra computation only when needed. On code reranking benchmarks, CoTT outperforms prior baselines across the reported metrics while reducing cost relative to applying transductive generation to every input. These results show that confidence-based allocation of test-time computation provides a favorable efficiency-effectiveness trade-off with a single efficient LLM.

Fri 11 SeptArtificial IntelligenceComputation and LanguageSoftware Engineering
The gist
It is hard to create good test examples to check if computer programs generated by AI are correct, especially when expected answers are unknown. The authors developed a new method called CoTT that first tries a quick approach and only does extra checking when it isn't confident enough. This saves time while still making sure the test results are trustworthy. Their tests show CoTT works better and faster than older methods at ranking AI-generated programs.
Open 2609.12489v1

Agentic AI helps maintain code for reproducible research

Reproducibility in the Age of Agentic AI: Context Engineering at the Timescale of a Codebase

Abstract: Reproducible research practices are context engineering for AI coding agents. I argue that agents lower the cost of maintaining tests, commit histories, repository structure, instructions, and decision records while making their benefits immediate. Researchers remain responsible for verifying these artifacts and the scientific judgments they encode.

Thu 10 SeptSoftware EngineeringComputers and Society
The gist
Keeping research reproducible is about carefully organizing code, tests, and records so that others can confirm results. The authors argue that AI coding agents lower the effort needed to maintain these parts of a project while making their advantages clear right away. Even so, humans still need to check these outputs and the decisions behind them to ensure correctness. This suggests a collaborative future where AI supports but does not replace human judgment in research.
Open 2609.11728v1

Deep learning powers faster bug report sorting and assignment

Deep Learning-based Bug Triage System

Abstract: Effective bug triage is crucial for streamlining the software development lifecycle by accurately categorizing and assigning reported software defects. In this paper, we propose an automated bug triage system built upon the pre-trained RoBERTa-base transformer architecture. By leveraging deep contextual representations, our approach efficiently classifies incoming bug reports to optimize assignment. Experimental evaluation demonstrates that the proposed system achieves a strong bug identification accuracy of 0.90 within just five training epochs. These findings highlight the efficiency and high performance of fine-tuned transformer models for practical software engineering automation.

Thu 10 SeptSoftware Engineering
The gist
Software teams need to quickly figure out what kind of problems users report and who should fix them. The authors created a system that uses a powerful AI called RoBERTa to read bug reports and decide their category and who should handle them. Their system gets this right 90% of the time after just a bit of training. This shows that these AI models can help automate and speed up software maintenance.
Open 2609.11420v1

Benchmark tests large language models on software version rules

SemVerBench: Benchmarking LLM Comprehension of Version-Constraint Resolution Semantics

Abstract: Large language model (LLM) coding agents constantly decide whether a version satisfies a constraint such as ^1.2.3 or >=2.0,<3, yet their grasp of version-constraint semantics has never been measured directly. We introduce SemVerBench, the first benchmark of LLM version-constraint resolution semantics across three ecosystems (npm, PEP 440, Cargo): 240 machine-checkable items with unique answers, built author-neutrally from four balanced sources (each ecosystem's official test suite plus three frontier LLM proposers) and labeled by a non-circular two-implementation oracle. Evaluating six frontier models, we find systematic, predictable per-mechanism blind spots: a partial-comparator carry rule (>1.2 means >=1.3.0) traps every model on Cargo (near 60%), and although standard PEP 440 prefix matching is universal, on zero-pad/post-release corner cases GPT-5.1 collapses (0/26) while Claude stays at 97-100% (verified on a 67-item oracle-validated set). Opus significantly outperforms all other models, and Sonnet outperforms the OpenAI models (McNemar). The failures look more like an activation/application gap than a knowledge gap: injecting the rule or a light correct hint recovers most errors, whereas interval decomposition does not, and models are at ceiling on the basic forms of the same rules. An author-stratified analysis finds no statistically significant self-favoritism. Because the task is verifiable and a free, 100%-correct resolver exists, tool delegation reaches ~100%: coding agents should delegate version resolution to a resolver rather than reason about versions in-head.

Thu 10 SeptArtificial IntelligenceSoftware Engineering
The gist
Large language models (LLMs) like GPT often need to decide if software version numbers match certain rules, but it was never checked how well they understand these rules. The authors made a new benchmark called SemVerBench with questions from three major coding systems and tested six top LLMs. They found common predictable mistakes related to specific version rules, and showed some models do much better than others. They also showed that giving models a little extra hint fixes many mistakes, suggesting the problem is using knowledge, not lacking it. They recommend that coding tools should let specialized software handle version checking instead of relying on LLMs alone.
Open 2609.11180v1

Belief shift forking improves step credit in tree structured reinforcement learning

Fork Where the Model Changes Its Mind: Belief-Shift Branching for Tree-Structured Reinforcement Learning

Abstract: Tree-structured rollouts give critic-free reinforcement learning with verifiable rewards (RLVR) step-level credit: fork a chain at an intermediate point, and sibling outcome differences estimate step value. Each fork adds sampling cost, so realistic budgets typically allow only a few forks per chain. A fork placed where the outcome is already largely settled yields siblings that mostly agree and provide almost no credit signal; hence, for a given tree size, where forks are placed largely determines how much step-level RL can gain. Most existing mainstream methods place forks by structure, such as fixed lengths, midpoints, and delimiters, or by next-token entropy. We formalize fork placement as locating the \emph{pivots} of the chain's value curve, where the expected outcome turns. We propose \emph{belief-shift branching}: read the model's answer belief at candidate boundaries and fork just before the step where consecutive beliefs diverge most. Three instantiations, none needing step-level supervision, span access levels: a black-box probe, a logit-lens depth profile, and a learned activation direction, which is fit offline and therefore used only in the validation before RL training. The signal only \emph{places} forks, and the probe costs about $1\%$ of step compute on mathematics and under $5\%$ on code when it runs inside the rollout engine. In that validation, against Monte-Carlo value curves, a belief-shift signal ranks first in each of the eight model$\times$benchmark panels, ahead of entropy, structural, and LLM-judge baselines. In RL across three model families and two domains, belief-shift forking leads every mathematics aggregate, on OLMo-3-7B by $+2.6$ aggregate and $+2.9$ on AIME 2026 over the strongest baseline, and sweeps every OLMo code column, by $+6.5$ on LiveCodeBench-medium.

Thu 10 SeptArtificial Intelligence
The gist
In reinforcement learning, it's important to know which steps in a process contribute most to the final outcome. The authors focus on a method called tree-structured rollouts that helps assess step-by-step value without extra critics. They introduce a new way to decide where to branch in the tree by seeing where the model’s beliefs about the outcome change the most. This belief-shift method leads to better learning results in math and coding tasks compared to previous methods.
Open 2609.11061v1

Environment-probing memory curation improves agent task success and efficiency

Grounding Agent Memory: Environment-Probing Curation for Enterprise Agents

Abstract: Persistent memory is entering production-oriented agent platforms to help long-horizon agents accumulate experience across sessions. Yet a post-task curator agent restricted to completed trajectories can preserve errors, overgeneralize partial evidence, or retain stale knowledge. We introduce environment-probing curation, a deployment-compatible extension that gives an existing asynchronous curator agent least-privilege, read-only world tools to check, scope, and refresh candidate memories. It requires no model retraining and leaves the task agent, retriever, memory representation, and production write authority unchanged. In a production-like GitHub Copilot (GHCP) harness built on its SDK, we compare stateless execution, full in-context learning, GHCP + Mem, and GHCP + Mem (w/ Env Probing) on CLBench database exploration and 90 adapted APEX management-consulting tasks. On CLBench, probing raises pass rate from 39% to 73% and pass-discounted reward from 8.60 to 22.60 while reducing queries from 8.8 to 4.7 per question and task-agent cost from \$3.38 to \$1.68. Across six APEX worlds, all 18 memory-versus-baseline mean reward comparisons are positive and task-agent tool calls fall by 16--75%; probing gives the best task-agent reward gain per dollar in five worlds. Probing also attains higher mean reward than GHCP + Mem on both Sonnet 4.6 and Opus 4.7 without schema drift. Environment probing therefore turns existing agent-memory curation into an environment-informed, auditable process while preserving a compact task-time interface.

Thu 10 SeptArtificial IntelligenceSoftware Engineering
The gist
Long-term computer agents try to remember past experiences to perform better over time, but sometimes their memories can be wrong or outdated. The authors propose a method that lets a helper agent peek back into the environment in a limited way to check and update these memories without changing the main agent or retraining the system. This approach was tested with a coding assistant setup and several management task simulations, showing much better success rates and fewer unnecessary questions. Their method makes agent memory updating more accurate, efficient, and easier to audit.
Open 2609.11060v1

Llms improve cost-efficient large-scale software vulnerability detection

Towards Scalable and Cost-Efficient Vulnerability Detection: A Study on Automatic Query Generation

Abstract: Static analysis remains a cornerstone of software security, yet the effectiveness of tools such as CodeQL is often limited by the substantial manual effort required to develop high-coverage query suites. While large language models (LLMs) have emerged as a potential solution for automated code reasoning, their practical utility in generating structured, executable security queries remains underexplored. In this paper, we conduct an empirical study to evaluate the ability of LLMs to synthesize CodeQL queries using vulnerability data from the National Vulnerability Database. Through this investigation, we explore the potential of using LLMs as an automatic CodeQL query generator. Subsequently, we systematically evaluate the performance of various LLM architectures across a diverse set of real-world vulnerabilities, measuring their ability to improve detection coverage and precision. Our findings reveal that LLM-generated queries significantly enhance the baseline CodeQL queries, yielding 82% improvement in average F1-score. Furthermore, we provide a detailed cost- benefit analysis showing that while direct LLM-based scanning of entire repositories is often computationally and financially prohibitive, leveraging LLMs to synthesize CodeQL queries offers a scalable and cost-effective alternative for large-scale vulnerability detection. Our results suggest that LLMs can effectively bridge the gap between unstructured vulnerability reports and formal static analysis specifications, offering a scalable path toward comprehensive automated vulnerability detection.

Wed 9 SeptSoftware EngineeringCryptography and Security
The gist
Finding software problems automatically is important but takes a lot of manual work. The authors studied how large language models (LLMs), which learn from lots of text, can write computer code queries to help find these problems. They showed that queries created by LLMs detect vulnerabilities better and cheaper than traditional ways. However, scanning whole codebases directly with LLMs is costly, so using LLMs to make queries is a practical middle step. This shows a promising way to make security tools smarter and more efficient.
Open 2609.10412v1

Large language models struggle with repeated bug fixing in software code

If It's Not Buggy, Don't Fix It: On the Dynamics of Iterative Bug-fixing with LLMs

Abstract: Large language models (LLMs) have become ubiquitous in software development, with LLM-based automated program repair tools increasingly used during code review. In this report, we explore the iterative blind use of LLMs as bug-fixers. Across multiple models and repair environments, we find that LLMs consistently claim to detect bugs in entirely bug-free programs while the rate of repair of buggy programs is less than that of the damage to correct programs. We also explore the long-term dynamics of this iterative process, and find that this frequently reaches a pseudo-bug-fixing cycle where the same changes are added and removed again ad infinitum. Lastly, via mechanistic probing, we unveil the existence of a steering vector which controls the editing propensity, suggesting that LLMs have an internal representation of ``buggy code", and that this representation is what is falsely activated to induce pseudo-bug fixing. These results provide insight towards the dynamics of fully autonomous bug-fixing systems, as well as stopping conditions under ambiguous goals.

Wed 9 SeptSoftware EngineeringComputation and Language
The gist
Large language models (LLMs) are used to fix bugs in computer programs automatically, but this study finds they often mistakenly identify errors even when there are none. The authors found that these models can accidentally introduce new problems while trying to fix bugs, sometimes leading to endless cycles of fixing and undoing changes. They also discovered that the models have an internal sense of what buggy code looks like, which sometimes gets triggered incorrectly. This work sheds light on the challenges of using AI for fully automatic bug repair and when to stop making changes.
Open 2609.10123v1

Consort framework enforces test driven coding on live databases

Introducing Consort: A Spec-First Agent Framework for Enforced, Test-Driven Development on Live Database Branches

Abstract: When an agent writes code, the development framework becomes the control system for a non-deterministic worker. Spec-first, agent-driven frameworks have gained rapid traction since 2025; the installable ones, GitHub Spec Kit, obra/superpowers, BMAD, and GSD, and our own, all capture intent through a specification or durable planning artifacts. Since they agree on capturing intent up front, what separates them is how each enforces the engineering discipline that keeps agent-written code clean, correct, and maintainable. Every framework enforces that discipline somehow; they differ in how. We characterize three modes: enforcement by persuasion (prompt discipline the model may ignore), by front-loaded structure (strong specs, then a trusted build), and through controls the agent cannot edit (a deterministic orchestrator, human-approved gates, immutable tests, and a green result that must pass against a live, branched database). We introduce Consort, a spec-first, test-driven agent framework built on the third, enforcing that discipline through controls the agent runs inside but cannot bypass, in which a deterministic orchestrator drives separate role agents through a spec-first design lane and a test-driven build lane on a live database branch. We argue that enforcing the tests and gates in code keeps agent-written code honest and verifiable, while its specialized roles, like the human roles before them, are what make it maintainable, claims we frame as a pre-registered, testable hypothesis.

Wed 9 SeptSoftware EngineeringArtificial IntelligenceDatabases
The gist
Writing code with AI agents can be tricky because the code might not always be clean or correct. The authors describe Consort, a new system that makes the AI follow strict rules and tests while working on a real copy of a database. This approach helps keep the AI’s code honest, easy to check, and easier to maintain, much like how human developers work under careful review. The system uses separate roles and controls that the AI can’t bypass to enforce quality.
Open 2609.09671v1

Execution feedback improves coding agents by learning to test better

ExecCritic: Learn to Test, Test to Improve for Coding Agents

Abstract: Execution feedback can guide coding agents toward correct repository repairs, but only when the tests capture the behavior requested by the issue. Agent-generated tests can encode incomplete or incorrect behavioral targets; when the same trajectory writes both the patch and the test, their errors can agree and create false confidence. We introduce ExecCritic, combining a test--verify--revise scaffold with a role-specific reinforcement learning recipe for training agents within it. The scaffold separates test construction from source-code repair: a Test agent independently generates repository-native tests, a fail-closed harness qualifies and freezes them, and a Repair agent revises source code from their execution feedback without changing the tests. Both roles use Qwen-3.5-35B-A3B as the backbone and are trained separately. In Learn to Test, the Test agent learns to produce behaviorally valid tests that distinguish correct from incorrect patches. In Test to Improve, the Repair agent learns both direct task resolution and feedback-guided revision. On SWE-bench Verified, test quality determines whether feedback helps: holding the base Repair agent fixed, tests from the base Test agent reduce resolved rate from a no-test baseline of 61.2% to 57.3%, whereas tests from GPT-5.6-sol raise it to 65.3%. Role-specific post-training raises the Qwen Test agent's Base-to-Gold success from 22.2% to 62.2%; composing the two post-trained Qwen agents reaches 72.6%, an 11.4-point gain over the original no-test baseline without stronger-model or Oracle feedback at evaluation time. Code is publicly available at https://github.com/MSR-Orchard/execcritic.

Tue 8 SeptArtificial IntelligenceComputation and LanguageSoftware Engineering
The gist
Fixing bugs in code can be tricky because tests might not always check for the right things. The researchers created ExecCritic, a method where one AI learns to write good tests while another AI fixes the code using feedback from those tests. By keeping test creation separate from code fixing, their system makes fewer mistakes and improves repair success. They trained these AI roles separately and tested their approach, showing clear improvement without needing stronger models or perfect tests at evaluation.
Open 2609.09133v1

Authority checks improve safety in multi-agent workspace updates

Beyond Agent Harnesses: Cross-Substrate Authority for Multi-Agent Systems

Abstract: Agentic systems persist model-visible memory while mutating workspaces, while a runtime, registry, or approval service may hold authority state outside both. Identical final files can then require opposite safe actions. We call this the cross-substrate authority gap: decision- relevant authorization information resides outside the planner-visible workspace or memory state. Across two controlled mini-benchmark families, three experiments compare planner-observation augmentation with an execution-time authority check using real Git lineage, durably recorded agent execution attempts, deterministic oracles, and two model routes. Experiment 1 is a 128-cell controlled evidence ablation: authority-blind candidate evidence obtains 0/32 final semantic success, while raw receipts and a typed relation both obtain 32/32. The missing authority fact accounts for the gain; typed packaging provides no observed planning-accuracy gain over equal raw information. Experiment 2 uses 96 planning calls: workspace-visible evidence yields 12/16 unsafe publication decisions, and planning with the typed relation remains unreliable (15/32 first actions correct; 11/32 invalid or absent). Experiment 3 replays the same 32 fixed model-generated first-action intents with zero additional model calls; a deterministic execution guard prevents all six unsafe intents from becoming effects and permits all 12 valid authorized publish intents. These results position authority enforcement at the mutation boundary as the operational endpoint of memory governance.

Tue 8 SeptMultiagent SystemsSoftware Engineering
The gist
When multiple computer programs (agents) work together, they often change shared files or data. The paper shows that important permission information is sometimes kept separate from what the agents can see, which can cause unsafe behaviors. The authors run experiments comparing methods that keep permission info visible to the agents versus checking permissions only right before changes happen. They find checking permissions at the last moment stops errors better, making the whole system safer.
Open 2609.08472v1

Capabilities limit coding agents to prevent unauthorized actions

Authority Is Not a String: A Capability-Scoped Harness for Prompt-Injection-Resistant Coding Agents

Abstract: Coding agents use system-level tools to read files, execute commands, and modify source code. Within the agent's sandbox, these tools often carry ambient authority: naming a resource is sufficient to act on it. Indirect prompt injection exploits this authority by placing instructions in repository files or tool output that cause the agent to perform actions the user did not request. We propose CapScope, a harness-level authorization mechanism that restricts tool use without requiring the model to identify malicious text. Before repository contents or tool output are read, CapScope derives a task-wide authority ceiling from trusted input. It then assigns each agent a separate set of typed capabilities, stored outside the model's context. Every tool call is checked against the capabilities of the agent that issued it. Permissions assigned to one sub-agent are therefore not automatically available to another. An injection may cause an agent to request an action, but the request is blocked unless that agent already has the required capability. We implement CapScope on the Pi coding agent and evaluate it in a repair workflow where an orchestrator delegates subtasks to separate sub-agents. The evaluation covers five Python tasks, five injection surfaces, four authorization conditions, and three trials per cell (300 runs). The injected effect executes in 33-47/75 runs under the ambient-authority and global-policy baselines, compared with 3/75 under CapScope. CapScope completes 68/75 repairs, while the baselines complete 68-72/75.

Tue 8 SeptSoftware Engineering
The gist
Coding agents often have broad access to files and commands, which can let hidden instructions trick them into doing unintended things. The authors created CapScope, a system that tightly controls what these agents can do by giving each specific permissions that can't be misused by others. Their tests show this method drastically reduces harmful actions from hidden instructions while still allowing agents to complete their main tasks effectively.
Open 2609.08371v1

RepoNav helps AI navigate code files to find the right functions

RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents

Abstract: Solving repository-level code tasks requires LLM-based agents to use code search tools to navigate large codebases and identify a small set of relevant files and functions. However, current retrieval tools typically return flat lists of isolated code snippets: such lists can surface relevant files, but provide insufficient structure for agents to distinguish the target function from semantically similar alternatives in the same file. We introduce RepoNav, a lightweight post-retrieval interface that reorganizes retrieved snippets into a file-centered navigation scaffold. By presenting compact structural cues and candidate targets, this scaffold guides on-demand file-structure browsing, helping agents compare sibling symbols before selecting a target function. Across diverse models on LocBench, RepoNav improves function-level localization and narrows the file-to-function gap. Controlled ablations demonstrate that these gains come from structured evidence organization rather than simply exposing additional file structure, and the approach also improves performance on a repository-level question-answering benchmark.

Tue 8 SeptSoftware EngineeringComputation and Language
The gist
Finding the right piece of code in a big project is hard, especially when code search tools return many separate snippets without clear context. To fix this, the authors created RepoNav, which organizes retrieved code snippets by the files they come from, showing structure and helping AI agents browse code more like a person would. This makes it easier for AI to pick the exact function needed and improves performance on tasks asking questions about code. The benefit comes from better organization of results, not just showing more file structure.
Open 2609.08355v1

Attention improves compression of software engineering agent interactions

AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering Agents

Abstract: The transition from human-centric assistance to Autonomous Software Engineering (ASE) agents has enabled the resolution of complex real-world SE tasks. However, the trial-and-error nature of these agents generates lengthy interaction trajectories, creating severe bottlenecks in terms of context window limits and cost. While context compression offers a potential remedy, prior approaches suffer from static pruning strategies and granularity mismatches, often failing to preserve the semantic dependencies and syntactic details crucial for SE tasks. To strictly preserve critical task evidence while reducing context length, we introduce AttnCompress, a dynamic attention-guided trajectory compression framework. Unlike existing approaches, AttnCompress bridges the gap between semantic integrity and dynamic adaptability through three key mechanisms: (1) structure-aware segmentation via perplexity (PPL) spikes to preserve the syntactic structure of code and logs; (2) relevance estimation using proxy attention weights to quantify the precise relevance of historical blocks to the agent's current reasoning; and (3) a dynamic rolling window to re-evaluate and recall historical context as the task evolves. Extensive evaluation on SWE-Bench-Verified and Multi-SWE-Bench demonstrates that AttnCompress achieves a pass rate of 53.17%, outperforming prior state-of-the-art baselines while reducing token consumption by 21.6% and total costs by 33.6%. The framework proves to be model-agnostic and generalizes effectively across diverse programming languages.

Tue 8 SeptSoftware EngineeringArtificial Intelligence
The gist
Software engineering agents, which help automate coding tasks, often produce very long records of their work that are hard to manage and expensive to process. The authors designed AttnCompress, a method that smartly shortens these records by focusing only on the most important parts while keeping the meaning and details intact. This method looks at where the changes in code or logs are most significant, measures the relevance of past steps to current decisions, and updates its focus as tasks evolve. AttnCompress reduces the amount of data handled and the cost involved, while still performing better than previous methods. It works across different programming languages and with various models.
Open 2609.08318v1

Software engineering agent benchmark improved for reliable results

SWE-Bench Pro Verified: A Reliable Benchmark for Software Engineering Agents

Abstract: SWE-Bench Pro has emerged as a standard benchmark for evaluating software engineering agents on challenging repository-level tasks. However, our analysis work show that its evaluation is undermined by two sources of unreliability: \textbf{reward hacking}, enabled by leakage of gold solutions or hidden evaluation information, and \textbf{task quality issues}, including misleading problem statements and improperly scoped tests. These issues can inflate benchmark performance and obscure agents' true coding ability. We present \textbf{SWE-Bench Pro Verified}, a verified version of SWE-Bench Pro that addresses both problems. Our approach combines \textbf{anti-hacking} safeguards that eliminate major leakage channels without disrupting normal agent functionality, with \textbf{task refinement} that minimally corrects inconsistencies within flawed instances. Evaluations on SWE-Bench Pro Verified reveal that some models perform substantially worse than previously reported, suggesting that existing results on SWE-Bench Pro may overestimate real software engineering capability. SWE-Bench Pro Verified offers a more trustworthy benchmark for assessing software engineering agents.

Tue 8 SeptArtificial IntelligenceSoftware Engineering
The gist
Software engineering agents are computer programs that write or fix code automatically. The existing SWE-Bench Pro benchmark used to test these agents has problems, like letting the programs cheat or testing unclear tasks. The authors created SWE-Bench Pro Verified, which removes cheating opportunities and fixes task problems. Testing with this new version shows some agents do worse than before, meaning previous tests may have been too optimistic.
Open 2609.08149v1

OSS projects create policies for AI contributions to protect quality

You can contribute if you... An Empirical Framework of AI Contribution Policies in OSS

Abstract: Artificial intelligence is reshaping open source software (OSS) contribution by lowering the cost of producing code, documentation, issue reports, and review interactions. This creates opportunities for broader participation, but also disrupts how maintainers assess contributor effort, competence, and accountability. In response, OSS projects are beginning to regulate AI-mediated contribution through contribution guidelines and other project documentation. This paper presents an empirical study of these emerging policies. We analyze project policies on AI-mediated contributions by evaluating their underlying rationales, rules, and expectations. Our analysis shows that these policies seek to protect scarce maintainer attention, preserve accountability, sustain meaningful review interactions, address legal and quality concerns, and maintain pathways for newcomer learning. Based on these findings, we introduce the AI Contribution Governance Framework, which organizes recurring concerns and governance mechanisms across projects. The framework helps OSS communities develop AI contribution policies and provides researchers with a vocabulary for studying how AI is changing collaborative software production.

Mon 7 SeptSoftware Engineering
The gist
Artificial intelligence is changing how people help out with open source software by making it easier to create code and documentation. This makes it possible for more people to contribute, but it also makes it harder for project leaders to judge how trustworthy or skilled contributors are. The authors studied new rules that open source projects are making to manage contributions created with the help of AI. They found these rules aim to keep quality, ensure proper review, protect legal rights, and help new contributors learn. Based on this, the authors developed a framework that helps projects create and understand policies about AI-assisted contributions.
Open 2609.07919v1

Chatbot using GPT-4 helps everyone access software repository data

A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysis

Abstract: Software repositories contain vast amounts of data on code contributions, bug reports, and project activities, yet this information remains challenging for non-technical stakeholders and developers to access due to limited expertise in querying repositories. To address this, we introduce a novel chatbot architecture leveraging OpenAI's GPT-4 model for automated extraction and analysis of repository data. In contrast, our architecture takes a structured path first by parsing the user's query to extract relevant parameters, then selecting the correct tool to employ based on that analysis, and finally invoking the GPT-4 model to create a highly detailed response. In contrast to previous work based on multi-component systems with embedding models and document retrievers, our architecture inverts the process by relying on prompt engineering and tool selection to fit with the query intent. To validate our approach, we conducted experiments on various question types, including Issues, Pull Requests, Commits, Compound Questions, and General Repository Information, evaluating our target prompts' ability to improve the accuracy of responses from the model. Beyond demonstrating the utility of this architecture to a diverse set of users, our findings suggest that this architecture can make repository data more accessible to technical and non-technical audiences through the production of actionable insights.

Mon 7 SeptArtificial IntelligenceSoftware Engineering
The gist
Software project data like bug reports and code changes are hard for many people to explore without technical know-how. The authors designed a chatbot that breaks down user questions to pick the right tools before using GPT-4 to give detailed answers. This approach helps people with different backgrounds get useful insights from complex repository data. Their tests showed it works well with various question types and can make software project information easier to understand.
Open 2609.07586v1

Granularity affects refactoring detection in software development

An Empirical Study on the Impact of Change Granularity in Refactoring Detection

Abstract: Detecting refactorings in commit history is essential to improve comprehension to code changes on code reviews, and to provide valuable information for empirical studies on software evolution. Techniques have been proposed to accurately detect refactorings on the granularity of a single commit. However, refactorings can be made over multiple commits because of their complexity or other practical development problems, which cause detecting on only the granularity of a single commit not enough. We observe that some refactorings can only be detected in coarser granularity, i.e., changes conducted over multiple commits, or in the granularity of a single commit but not in coarse-grained. We call these types of refactorings as coarse-grained refactorings (CGRs) and ephemeral refactorings (EPRs). We investigated the features and causes of CGRs and EPRs through an empirical study of 32 open-source Java projects and found that both commonly occur during development. In addition, we found that refactoring types related to splitting or merging classes and packages, as well as those involving modifications to the inheritance structure, tend to be CGRs, and types targeting small objects such as variables and attributes, and refactorings with context-sensitive detection criteria tend to be EPRs. The causes of CGRs and EPRs are analyzed and categorized, and the relationships between the commit messages of CGRs and themselves are also assessed. We found that about 20% of commit messages explicitly suggest the existence of CGRs. We suggest that CGRs and EPRs be valued in refactoring research and that detectors be extended to identify CGRs.

Mon 7 SeptSoftware Engineering
The gist
It can be hard to spot certain code improvements called refactorings if we only look at changes one commit at a time. The authors studied many Java projects and found some refactorings happen across multiple commits, while others occur briefly within a single commit. These larger or shorter refactorings have different characteristics and causes. About one-fifth of commit notes hint when big refactorings happen. The authors suggest paying more attention to these types when tracking code changes.
Open 2609.07482v1

EnvPilot improves software setup by reusing past experience

EnvPilot: Systematic Design and Evaluation of an Experience-Augmented Agent for Software Environment Setup

Abstract: Environment Setup is a critical yet complex task in software engineering that relies heavily on expert knowledge. Existing automated environment setup methods lack the ability to accumulate experience from past execution trajectories and to evolve over time. As a result, their performance is limited because they often perform redundant exploration, ignore useful past solutions, and fail to generalize across diverse software ecosystems. We present the systematic design and empirical validation of EnvPilot, an experience-augmented agent that operationalizes trajectory-derived experience reuse for software environment setup. EnvPilot maintains an expandable Trajectory-Derived Memory (TDM), initialized with 667 high-quality experiences. It systematically transforms implicit knowledge from historical execution trajectories into structured experience and retrieves the most relevant guidance during task execution through the Context-aware Retrieval mechanism. This enables EnvPilot to combine multiple validated setup strategies, providing more precise and detailed guidance than methods that rely solely on static project files or web retrieval. To evaluate EnvPilot, we construct AES-Bench, a multilingual benchmark of 112 real-world GitHub instances across 9 programming languages. Experiments show that EnvPilot achieves a new state-of-the-art (SOTA) with a 75.00% Pass@1 success rate while reducing reasoning costs. Our empirical study shows that both the structured experience representation and the Context-aware Retrieval mechanism are essential.

Mon 7 SeptSoftware Engineering
The gist
Setting up software environments is often tricky and needs expert know-how. The authors created EnvPilot, a system that learns from past setup attempts to guide new ones more efficiently. It stores and retrieves useful setup experiences to avoid repeating mistakes and to work better across different programming languages. Tested on many real projects, EnvPilot was more successful and quicker than previous methods.
Open 2609.07357v1