← Back to arXiv Software Engineering

arXiv Software Engineering briefings

ResearchOfficialarXiv Software Engineering

Beyond Test Presence: Assessing the Quality and Robustness of Agent-Generated Tests in Open-Source Projects

A large-scale empirical study of over 200,000 test artifacts from open-source projects finds that AI agents generate tests with nearly double the variety of boundary checks and higher rates of null-safety testing compared to human-written tests. However, these agent-generated tests also show a 37% higher candidate flakiness rate, largely due to reliance on file I/O and non-deterministic logic. Human-authored tests maintain a slight edge in assertion strength.

Why it matters: The findings highlight a key trade-off in adopting AI-generated tests: improved edge-case coverage comes at the cost of increased test flakiness, which could introduce hidden technical debt in software development pipelines.

ResearchOfficialarXiv Software Engineering

TraceSynth: Generating Production-Quality Kernel Traces with Constraint-Guided Diffusion Models

TraceSynth is a diffusion-based framework for generating synthetic kernel execution traces to augment limited real data for machine learning-based system diagnostics. It models traces as multi-channel sequences and applies constraint-guided repair to enforce system invariants. Experiments show that, for deterministic workloads, synthetic augmentation achieves up to 87.2% F1-Macro, with context length and constraint-guided repair significantly impacting quality. The approach reduces data collection costs while maintaining high performance for downstream tasks.

Why it matters: This work enables cost-effective augmentation of kernel traces in production observability pipelines, addressing runtime overhead, storage, and privacy constraints in industrial systems.

ResearchOfficialarXiv Software Engineering

Predicting Acceptance and Review Effort in Human and Agent Pull Requests

A new preprint on arXiv explores whether the acceptance and review effort of pull requests (PRs) can be predicted at the time of submission, before any reviewer discussion or CI feedback. Using the AIDev dataset, the authors show that tree-based machine learning models can predict PR acceptance with high accuracy (F1 scores above 0.95), but predicting review effort is much more challenging. The study finds that early PR models can help with triage, though review effort remains difficult to estimate from submission-time features alone.

Why it matters: This work provides early evidence that machine learning can assist maintainers in triaging both human- and AI-generated PRs, but highlights the limitations of automating review effort predictions.

ResearchOfficialarXiv Software Engineering

Role-Aware Code Summaries Improve Cost-Effectiveness in LLM-Based Bug Localization

A new preprint demonstrates that using role-aware summaries as code representations can improve file-level bug localization performance by up to 40% in Hit@5 compared to file-path representations, while reducing storage requirements by 10-20x relative to raw source code. The study also shows that integrating these representations into the Agentless pipeline achieves 94% Hit@6, outperforming the baseline. The results highlight the importance of code representation choices for balancing accuracy and computational cost in LLM-driven software debugging.

Why it matters: This work identifies a practical approach to enhance both efficiency and effectiveness in LLM-based bug localization, which could directly benefit software development workflows.

ResearchOfficialarXiv Software Engineering

BackendForge: Benchmarking Agentic End-to-End Code Generation with Backend Services

Researchers introduce BackendForge, a benchmark comprising 56 backend generation tasks derived from real open-source applications. The benchmark evaluates whether large language models (LLMs) can generate deployable and behaviorally correct backend services from specifications and OpenAPI contracts. The best-performing model, GPT-5.5, succeeded on 55.4% of tasks under a base oracle but only 28.6% under a more stringent final oracle, highlighting significant challenges for LLMs in producing complete backend services.

Why it matters: BackendForge exposes a substantial gap in current LLMs' ability to generate fully functional backend services, underscoring a key limitation for agentic coding applications.

ResearchOfficialarXiv Software Engineering

WebDesignIter: Co-Evolving Design Knowledge for Repository-Level Front-End Code Generation

Researchers introduce WebDesignIter, a framework that integrates a persistent knowledge graph (WebAppArchKG) to combine repository structure with explicit design knowledge for iterative front-end code generation. Evaluated on the Web-Bench benchmark, WebDesignIter achieves an average Pass@2 improvement of 9.55 percentage points over existing baselines and surpasses general-purpose coding agents such as Claude Code and SWE-Agent, while using fewer input tokens. Ablation studies indicate that the inclusion of design knowledge is the most significant factor in its performance gains.

Why it matters: This work shows that explicitly incorporating design knowledge into LLM-based coding agents can substantially improve the reliability and efficiency of complex, repository-level code generation tasks.

ResearchOfficialarXiv Software Engineering

TerraRepair: Tool-Grounded LLM Agent Improves Infrastructure-as-Code Repair

TerraRepair is a prototype large language model (LLM) agent that leverages tool grounding to repair Terraform misconfigurations identified by Infrastructure-as-Code (IaC) scanners. By retrieving dependency context, consulting provider schemas, and re-running scanners, TerraRepair significantly increases fix rates on AWS benchmarks—from 26.6% to 78.4% with Checkov and from 44.8% to 72.4% with Trivy—compared to a one-shot baseline. The agent also escalates issues when deployment-specific context is missing, reducing the risk of hallucinated fixes.

Why it matters: This work demonstrates that tool grounding can substantially improve the reliability and effectiveness of LLM-based automated repair for cloud infrastructure code, potentially reducing manual intervention.

ResearchOfficialarXiv Software Engineering

Evidence-Guided Prompts Reduce Sycophancy in LLM Code Smell Detection

A new preprint presents the first systematic empirical study of sycophancy bias in large language models (LLMs) used for code smell detection. The authors find that LLMs are highly sensitive to misleading prompts, with decision flip rates up to 72% and false alignment rates over 90%. They introduce Evidence-Guided Debiasing Prompting (EGDP), which reduces these rates to 12% and 21%, respectively, by enforcing evidence-first reasoning.

Why it matters: This work identifies a major reliability risk in LLM-based code analysis and demonstrates a practical method to mitigate sycophancy bias.

ResearchOfficialarXiv Software Engineering

Motif: Discovering and Automating Personal Web Workflows

Motif is a system that passively observes browser activity to identify recurring interaction patterns and recommends automations to users. In a study with eight participants, Motif discovered more automatable patterns than users identified themselves, and most participants found the generated programs useful and relevant to their routines.

Why it matters: Motif represents a shift toward system-initiated automation, potentially making web workflow automation more accessible to non-technical users by removing the need for them to explicitly identify tasks to automate.

ResearchOfficialarXiv Software Engineering

Knowledge-Guided Synthetic Bug Feedback Improves LLM-Based Unit Test Generation

Researchers propose a framework that leverages historical real-bug mechanisms to generate synthetic bugs, which are then used as feedback to guide large language model (LLM)-based unit test generation. By constructing structural and semantic representations of bug records and retrieving relevant mechanisms, the system instantiates synthetic bugs as feedback targets for iterative test improvement. Evaluation on the Defects4J benchmark shows that this approach improves real-bug detection compared to several baseline methods.

Why it matters: This work demonstrates a novel and effective method for enhancing the ability of LLM-generated unit tests to detect real software bugs, potentially increasing software reliability.

ResearchOfficialarXiv Software Engineering

Model Instability in Software Analytics Can Be Quantified and Reduced, Study Finds

A new preprint reports that model instability is a significant issue in software analytics, with repeated runs of the same optimizer agreeing on only 13.7% of test cases across 127 multi-objective software engineering optimization problems. The researchers show that by adjusting label allocation, model complexity, and scoring splits, agreement can be improved by a factor of 4.8 and the standard deviation of optimization error reduced by 22% on average, without degrading recommendation quality. The study argues that instability is not just noise but a measurable and manageable property, and recommends treating it as a standard evaluation axis.

Why it matters: This work provides a practical framework for measuring and managing model instability, which could enhance the reliability and trustworthiness of software engineering optimization tools.

ResearchOfficialarXiv Software Engineering

ACQUIRE: QA-Driven Framework Improves LLM-Based Code Repair via Pre-Repair Knowledge Acquisition

A new framework called ACQUIRE is proposed to enhance LLM-based code repair by explicitly acquiring repository knowledge before generating patches. The system uses a Questioner-Answerer collaboration to identify and fill knowledge gaps, resulting in more accurate repairs. On the SWE-bench Verified benchmark, ACQUIRE improves Pass@1 accuracy by up to 4.4 percentage points compared to prior pre-repair methods, with only modest overhead.

Why it matters: This approach addresses a major source of factual errors in LLM coding agents by systematically improving their understanding of code repositories before attempting repairs.

ResearchOfficialarXiv Software Engineering

RepTran: Search-Based Repair of Transformer Models

Researchers introduce RepTran, a search-based method designed to repair Transformer models by focusing on their feed-forward networks. RepTran identifies suspicious weights using a combination of variance-based and bidirectional scores, then optimizes these weights through differential evolution. Evaluated on 18 fault benchmarks derived from CIFAR-100 and Tiny-ImageNet, RepTran achieved a 74.7% average repair rate, statistically outperforming existing DNN repair methods such as Arachne.

Why it matters: This work presents a novel approach for automated repair of Transformer models, potentially improving the reliability of AI-enabled software systems.

ResearchOfficialarXiv Software Engineering

OpsMem: Dual-Memory Framework for LLM-Based Failure Diagnosis

Researchers introduce OpsMem, a dual-memory framework that coordinates short-term diagnostic state with long-term operational experience using cross-memory resonance. On a real-world Huawei microservice failure diagnosis dataset, OpsMem outperforms agentic-reasoning and knowledge-augmented baselines, improving diagnosis accuracy metrics by up to 46.88% and 18.39%.

Why it matters: OpsMem demonstrates a significant advance in LLM-based failure diagnosis by effectively integrating short- and long-term memory, leading to notably improved diagnostic performance in complex software systems.

ResearchOfficialarXiv Software Engineering

AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCP

AgentCheck is an open-source web workbench that enables systematic testing of LLM agents using tools via an MCP server. It records tool responses, injects 12 types of faults, and allows developers to re-run agents to evaluate the effectiveness of mitigations. In tests across five agents, the best agent passed 105 out of 120 scenarios, while the weakest passed 77, with most failures involving silent misuse of incorrect tool outputs.

Why it matters: AgentCheck addresses a critical gap in reliability testing by providing a reproducible and controlled environment to evaluate and improve the robustness of tool-using LLM agents before deployment.

ResearchOfficialarXiv Software Engineering

LLMs Fail to Generate Compilable Unity Game Scenes in Single Pass, Study Finds

A new preprint evaluates large language models' (LLMs) ability to generate Unity C# game scenes in a single pass, without iterative repair. Across 10,400 generations, none of the outputs compiled successfully. The study categorizes over 90,000 compiler errors, finding that most failures stem from invented or misused Unity APIs rather than general code structure, highlighting a key limitation in LLMs' domain-specific knowledge.

Why it matters: This work demonstrates a fundamental barrier to using LLMs for domain-specific code generation without iterative feedback, clarifying the gap between LLMs' general knowledge and practical software engineering needs.

ResearchOfficialarXiv Software Engineering

LMVQA: LLM-Based Multimodal QA System for Diagram-Rich Technical Meeting Videos

Researchers introduced LMVQA, a large language model-based multimodal question-answering system designed for technical meeting videos containing diagram-rich content such as UML diagrams. LMVQA significantly improved answer accuracy over a state-of-the-art baseline, from 31% to 94% on an industrial dataset and from 21% to 88% on a public dataset. The system also reduced average response time and LLM API costs after a one-time video indexing process. Interviews with domain experts highlighted LMVQA's value for locating relevant information and tracing rationale in software engineering meetings.

Why it matters: LMVQA addresses the challenge of efficiently retrieving knowledge from complex, diagram-rich meeting recordings, which is crucial for software engineering teams relying on asynchronous communication.

ResearchOfficialarXiv Software Engineering

Foundation Models of Human Cognition Improve Prediction of Program Comprehension

A new study evaluates Centaur, a foundation model trained on data from 160 general psychological experiments, on nine program-comprehension tasks. Centaur's predictions of human responses align more closely with actual human data than those of its base model, Llama 3.1. The model relies less on prior trial information and more on task-specific context, indicating that cognitive patterns learned from general psychology can transfer to complex software engineering tasks.

Why it matters: This research demonstrates that foundation models of human cognition can be leveraged to better predict developer behavior, potentially informing the design of improved tools for code understanding and developer support.

ResearchOfficialarXiv Software Engineering

Agentic Code Requires More Post-Merge Maintenance and Introduces More Vulnerabilities

A longitudinal study of 182 repositories finds that while agentic and human code contributions have similar overall maintenance rates, agentic code requires significantly more corrective maintenance and introduces more security weaknesses and dependency vulnerabilities. The study also finds that a 10 percentage-point increase in a project's no-review rate is associated with a 6% increase in agentic maintenance burden.

Why it matters: As AI coding agents become more common, this research shows that merge success is not enough; agentic tools must be designed to produce code that remains secure and maintainable over time.

ResearchOfficialarXiv Software Engineering

ML in a Box: Analyzing Containerization Practices in Open Source ML Projects

A large-scale empirical study of 1,993 ML-related Dockerfiles finds that containers average 10.27 GB in size and take about 8.84 minutes to build. The research shows that 44.4% of commits trigger rebuilds, with 71% of rebuild work wasted on redundant computation, and identifies 7 recurring ML-specific Dockerfile refactoring patterns to improve efficiency.

Why it matters: This is the first comprehensive analysis of containerization in ML projects, revealing inefficiencies and offering actionable refactoring patterns to optimize build processes.