Papers for

software testing engineers

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.

Deepdiff checks ai security patches for hidden bugs and regressions

DeepDiff: Neuro-Dynamic Regression-Freedom Checking for Security Patch Validation

Abstract: Automatically validating AI-generated security patches remains a significant challenge. Eliminating a reported crash and passing existing test suites do not provide sufficient confidence that a patch correctly addresses the underlying vulnerability without introducing regressions. We present DeepDiff, a technique for regression-freedom checking that differentially evaluates candidate patches against the original vulnerable program using non-crashing inputs that exercise the affected code paths. The expectation of regression-freedom is that a correct patch should eliminate the vulnerability triggering crash while preserving the intended behavior on non-crashing inputs. To support this evaluation, we introduce a dataset of correct and incorrect patch candidates for open-source memory-safety vulnerabilities from CyberGym. We explore different approaches for non-triggering test input generation to reach the patched code, a purely neural regression-freedom checker, and a hybrid approach that combines dynamic analysis with neural techniques. Our experimental results demonstrate the effectiveness of regression-freedom checking in validating security patches while outlining the challenges that remain.

Wed 28 OctCryptography and SecuritySoftware Engineering
The gist
Fixing software vulnerabilities with AI-generated patches is hard because a patch might stop a crash but still cause other problems. The authors present DeepDiff, a tool that compares the behavior of a patched program to the original when given inputs that don't cause crashes, helping find if the patch inadvertently breaks intended functions. They created a dataset of good and bad patches and tested different ways to generate these safe test inputs. Their results show DeepDiff can help validate patches, though challenges remain.
Open → 2610.39066v1

Coding agents struggle to adapt when tasks and environments change

SWE-Shift: Evaluating Coding Agents in Evolving Workspaces

Abstract: Repository-level coding benchmarks largely assume that tasks and environments remain unchanged throughout execution. In software development, code, dependencies, runtime state, and requirements can change while an agent is still working. We introduce SWE-Shift, a benchmark for evaluating coding agents under such mid-execution changes. From the same saved history and workspace, a Clean continuation proceeds without intervention, while a matched Shifted continuation receives a task-relevant update. Success requires completing the current task, preserving still-valid work, and satisfying the applicable state and evidence checks. The benchmark contains 120 scenarios across 12 change families, each evaluated at nine scheduled intervention positions. We evaluate 17 coding-agent systems, all of which have lower Shifted than Clean success. GPT-6 Astra drops from 67.35% to 24.79%, with 20.34% paired success. Tool/session changes and stale evidence yield zero paired success across all systems. Late-position paired success is lower for some systems and higher for others. These results show that success on the unchanged task can coexist with failures to preserve work, recover state, or refresh evidence after an update.

Fri 23 OctArtificial IntelligenceComputation and LanguageMachine Learning
The gist
Software coding often changes halfway through a task, but many coding AI tools assume everything stays the same. The authors created SWE-Shift, a test to check how well AI coding helpers manage when the task or environment updates while they work. They found all tested systems perform worse with these mid-task changes, showing that even if an AI finishes the original job, it often fails to keep earlier work or adjust correctly. This means current AI coding tools still have trouble handling real-world changing coding situations.
Open → 2610.32196v1

Product evaluation dominates over process audits in self improving AI studies

Auditing the Product, Not the Recursion: The Evaluation Evidence Behind Recursive Self-Improvement Claims

Abstract: Recursive self-improvement (RSI) promises AI systems, such as self-evolving LLM agents, that become better at producing further improvements. Evaluating this promise requires separating product claims about the final system from process claims about the improvement process itself. Existing surveys specify the evidence these claims require, but how often studies report that evidence remains unmeasured. We examine this question through full-text coding of 114 eligible studies in a reproducible arXiv search frame frozen in October 2026, including 90 that describe their own systems as RSI. The codebook links claims to evaluation designs. Independent human coding, third-reader adjudication, and a separate blind coding of improver comparisons assess coding reliability. Among the 90 RSI studies, 90% report product evaluation beyond development tasks under a broad criterion that includes partial or unstated separation, while 60% report evaluation on tasks unused for selection. Only 22% audit two or more reruns of the full loop. In a human-coded random sample, the RSI studies show the same contrast: 45% evaluate on tasks unused for selection and 14% audit two or more reruns. Of the 26 studies claiming a better improvement procedure, 23 report a related comparison, but only 4 compare earlier and later procedures from identical starting artifacts at a matched budget. Across these results and a comparison set of established works, evidence for repeatability and improved procedures remains less developed than product evaluation. Three propositions explain how selection effects, shared evaluator errors, and changes in system state limit what product evaluations can establish. Together, the findings support a claim-indexed reporting standard that connects each claim to the evaluation design needed to test it.

Tue 20 OctMachine LearningArtificial IntelligenceComputation and Language
The gist
Many studies claim artificial intelligence systems can improve themselves repeatedly, but often test only the final outcomes, not the process of improving. The authors looked at over 100 studies and found that most checked the system’s final performance but rarely repeated or thoroughly tested the entire improvement cycle. They also found that comparing earlier and later versions of improvement methods is uncommon. This suggests that while AI systems seem better, evidence for how reliably they improve themselves or how the improvement process works is still limited.
Open → 2610.27610v1

Mclair detects and corrects agent unfaithfulness during task execution

MCAIR: Monitoring and Correcting Agent Unfaithfulness via Internal Representations

Abstract: Large Language Model (LLM)-based agents have demonstrated remarkable capabilities in completing complex tasks through multi-step reasoning and tool interactions. However, recent studies have revealed that LLM-based agents can exhibit unfaithful behaviors, where their final reports fail to faithfully reflect their actual execution trajectories. Specifically, when agents fail to accomplish tasks through the intended sources or procedures, they may resort to alternative sources or strategies while failing to disclose such deviations, leading users to incorrectly believe that the tasks have been completed according to the original requirements. We refer to this specific form of agent unfaithfulness as Agent Completion Unfaithfulness. Detecting and mitigating agent completion unfaithfulness is critical yet remains largely unexplored. In this work, we propose MCAIR, a runtime monitoring and correction framework that leverages internal representations of LLM-based agents. MCAIR uses multi-step internal representations as inputs to train a risk-aware probe, enabling online detection of potential completion unfaithfulness during execution. Furthermore, MCAIR introduces a risk-guided correction loop that prompts agents to review their execution history and mitigate potential inconsistencies between their execution trajectories and final reports. Additionally, we construct ACUD, a dataset for Agent Completion Unfaithfulness detection that provides step-level execution traces, step-level internal representations, and consistency annotations for training and evaluating runtime detection probes. Experiments demonstrate that MCAIR outperforms LLM-as-a-judge baselines, generalizes across prompts and tasks, and effectively reduces agent completion unfaithfulness.

Wed 14 OctArtificial IntelligenceMachine Learning
The gist
Large language model agents sometimes say they completed tasks in a certain way when they actually used different methods, which can mislead people. The authors call this problem Agent Completion Unfaithfulness. They created MCAIR, a system that watches the agent’s internal thought steps to spot when the agent might be misstating what it did. MCAIR can then ask the agent to check its past actions and fix any inconsistencies before giving a final answer. They also built a dataset to help train and test systems for this problem, showing that MCAIR works better than previous approaches.
Open → 2610.19679v1

Hamiltonian cycles with fixed walk lengths are often hard to decide

The Complexity of Hamiltonian Cycles and Paths with Prescribed Walk Lengths

Abstract: Fix a set $S$ of positive integers. An $S$-Hamiltonian cycle is a cyclic ordering of all vertices of a graph such that each consecutive pair is joined by a walk whose length belongs to $S$. We study the complexity of deciding whether an input graph admits such an ordering, together with the corresponding path variants with prescribed or unrestricted endpoints. We complete the complexity classification for undirected graphs. In particular, we prove NP-completeness for every finite nonempty set of odd lengths, resolving an open problem posed by Amarilli, Lombardo, and Monet (WG 2026). For digraphs, all three problems are NP-complete for every fixed finite nonempty $S$ and admit linear-time algorithms when $S$ is cofinite. For other fixed infinite sets $S$, we establish NP-complete and undecidable cases, with undecidability occurring even when $S$ is recursive.

Tue 13 OctData Structures and Algorithms
The gist
This paper looks at a special kind of puzzle about arranging points in a circle where the steps between connected points have to follow certain lengths from a chosen set. The authors figured out when it’s very difficult (NP-complete) to tell if such arrangements exist for different sets of step lengths, including cases no one solved before. For directed graphs, they classified all cases for fixed finite sets and some infinite ones, showing when checking these cycles is hard or even impossible to decide. They also solved an open problem about sets of odd step lengths.
Open → 2610.18300v1

Soundness checking boosts precision of taint flow models from AI

Soundness Checking of Taint Flow Models

Abstract: Existing state-of-the-art static taint flow analyses for imperative programming languages can scale to large applications by using precise user-provided taint flow models of library methods. However, manually and precisely modeling a method's taint flows is tedious and potentially unsound. Furthermore, automatically modeling the method via an inter- procedural taint analysis can be inefficient. To solve this problem, we propose a guess-and-check approach: (1) an LLM agent that generates a precise taint flow model of a method and (2) a symbolic algorithm to check the soundness of the model. The algorithm deduces which taint flows must not occur in the method for the LLM's taint flow model to be sound, and uses lightweight static analyses (e.g., type system and pointer analysis) to prove these must-not-flows. When these analyses are insufficient, the algorithm deduces maximally-general callee models and recursively verifies their soundness, avoiding a full inter-procedural taint analysis in most cases. Since a more precise model requires fewer must-not-flows to be verified, the precision of the LLM's model directly determines the efficiency of our approach. We evaluate our approach on 97 LLM-generated taint flow models for methods in 6 large Go codebases and prove the models sound for 93% of the methods they cover. The proven-sound LLM-generated models are also precise, resulting in no new false-positives when proving taint flow properties.

Wed 23 SeptSoftware Engineering
The gist
Finding errors when tracking unsafe data in code is hard, especially when code libraries are involved. The authors used an AI to guess how data flows through library methods, then checked these guesses carefully using special math and simple program checks to make sure they're accurate. This way, they avoid slow checks of the whole program while still catching almost all errors. Their approach works well on many real computer programs and keeps false alarms low.
Open → 2609.28750v1