跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

软件工程

  • 新提交(显示 8 条)
  • 交叉列表(显示 9 条)
  • 替换(显示 10 条)

查看 近期 文章

显示 2026年11月26日 星期四 的新公告

共 27 条
每页最多显示 2000 条: 更少 | 更多 | 全部

新提交(显示 8 条)

[1] arXiv:2611.33314 [中文pdf(下批处理), 原文pdf, 其他]
标题: Building a Unified Inline Code Editing Model for GitHub Copilot
Microsoft CodeAI Team, Microsoft VS Code Team: Julia Gong, Benjamin Liggett, Shengjie Ma, Ulugbek Abdullaev, Zhehui Liao, Benjamin Steenhoek, Gaurav Mittal, Fuhui Fang, Satarupa Guha, Hang Zhao, Anand Mooga, Cheng Long, Benjamin Simmonds, Soojin Choi, Luciana Abud, Nathan Halstead, Alexandru Dima, Yu Hu, Elsie Nallipogu
评论: 67 pages, 31 figures, 21 tables
主题: 软件工程 (cs.SE); 计算与语言 (cs.CL); 机器学习 (cs.LG)

AI-assisted coding ranges from fully agentic coding to inline code suggestions in the editor. Inline suggestions require predicting a developer's most likely next edit from an editing session. The next edit may lie at the cursor, in nearby lines, or farther away, and one editing intent can span several of these. The preceding system queries separate completion, nearby edit, and long-distance edit models, each with its own output format, in a fixed sequence; it thus cannot express intents spanning distant locations in one response, can require several sequential model calls per suggestion, and prioritizes completion even when a correction would serve better. We present a unified model that predicts all three edit types in one output space: a sequence of anchored diff patches specifying locations, deleted lines, and added lines. This representation permits multiple edits per response, so the client can serve later edits from a cache without further model calls. We train this model in two phases, first unifying next edit and long-distance edit prediction, then adding code completion. We synthesize multi-edit supervision from single-edit data via model pseudolabeling and edit history playback. We use a binary LLM-graded reward, a patch validity taxonomy shared by data filtering, reward, and evaluation, and grader boosting for targeted failure modes. Phase 2 also adapts how the client processes and presents model outputs. In controlled online A/B experiments in GitHub Copilot, Phase 1 significantly reduces time to display by 6.77% and output tokens by 58.93% relative to the three-model baseline. In Phase 2, the 3-in-1 model and client adaptations reduce dismissed suggestions per user by 10.06% relative to the 2-in-1 model paired with the completion model. Throughout this report, we also share our methodology and learnings in evaluation, training, and end-to-end model and system design.

[2] arXiv:2611.33396 [中文pdf(下批处理), 原文pdf, 其他]
标题: GhostAPI-V: Evaluating Audited Diagnostics for Internal API Migration Repair
Jingtao Zhang, Zeming Liu, Haorui Gao
主题: 软件工程 (cs.SE)

API migrations require callers to adopt target-version usages while removing incompatible legacy usages. GhostAPI-V represents these obligations as human-audited temporal contracts and supplies candidate-specific repair diagnostics, with correctness assessed by independent behavioral tests. We evaluate 48 internal migrations from eight Python repositories using Claude Code and Codex, with two initial runs per agent and task. Five revision arms branch from the same 192 initial candidates, controlling generation budget, version evidence, and development-test feedback. Hidden-test success is 120/192 (62.5%) for raw version-difference feedback, 130/192 (67.7%) for required-only contracts, and 148/192 (77.1%) for full bidirectional contracts. Full feedback improves over raw version-difference feedback and required-only feedback by 14.6 and 9.4 percentage points, respectively. The package-level effect is positive in all eight repositories and survives the reported repository sensitivity analyses; the forbidden increment is analysis-sensitive. Postfreeze challenges expose symbolic-behavioral disagreement. The results support the complete audited package beyond the same raw evidence and test failures, while leaving human interpretation, obligation wording, and checking entangled.

[3] arXiv:2611.33480 [中文pdf(下批处理), 原文pdf, 其他]
标题: DevEx is for Humans, AX is for Agents: Measuring Context Health in Agentic Software Work
Gratiana Fu, Josh Beitler, Brian Houck
主题: 软件工程 (cs.SE); 人机交互 (cs.HC)

Coding agents succeed or fail in the context humans give them, yet most evaluations measure only output. Drawing on developer experience research, we introduce Agent Experience (AX), an instrument that scores session transcripts on four dimensions of the CAFE(S) framework: Clarity, Actionability, Fidelity, and Efficiency; Security, a gate rather than a friction dimension, is out of scope. A rubric-guided language model rates each dimension from 1 to 5 and explains what the human could have provided. We report on three studies that tested this model. In the Stack Overflow Developer Survey, respondents reporting context problems were less likely to rate AI as very useful in all seven activities examined (12-28%). Across 882 rated agentic sessions from a pilot sample of 1,000, Actionability received the lowest ratings (59.6% of ratings at or below 3, versus 26.6% for Fidelity), and ratings were lower in longer sessions. One researcher's unblinded review of 15 randomly sampled sessions found all scores reasonable and explanations supported. In a controlled scenario, we injected context defects into one data-analysis task and ran it twelve times. Every defect condition used more tokens than the clean baseline (mean +91%), and five evaluator models flagged 50-85% of targeted dimensions and 14-36% of non-targeted dimensions. Fidelity defects were detected most consistently and Actionability defects least. Because interventions were imperfectly isolated, these results are exploratory. AX gives teams structured, actionable evidence about context-related friction that complements output and outcome measures.

[4] arXiv:2611.34202 [中文pdf(下批处理), 原文pdf, 其他]
标题: SimFusion: Multi-Fidelity Simulation-based Testing of Automated Driving Systems
Lev Sorokin, Berfin Dinler, Alessio Gambi, Andrea Stocco
评论: In proceedings of the 49th IEEE/ACM International Conference on Software Engineering (ICSE '27)
主题: 软件工程 (cs.SE)

Simulation is the primary means of validating automated driving systems (ADS). Testing typically relies on a single simulator, forcing a trade-off between the speed of low-fidelity (LoFi) simulation and the realism of computationally expensive high-fidelity (HiFi) simulation. We present SimFusion, a multi-fidelity search-based testing framework that decides, for every candidate scenario, which simulator should execute it. Rather than approximating the ADS or its fitness, SimFusion learns whether LoFi and HiFi simulators are likely to agree on a scenario's outcome: scenarios predicted to agree run in the fast LoFi simulator, while all others are conservatively run in HiFi. We evaluate SimFusion on two ADS stacks, three driving scenarios, and four simulators, against LoFi-only, HiFi-only, and surrogate-assisted testing. Across six runs per configuration, SimFusion finds on average 2.1x more HiFi-validated failures than HiFi-only testing and 1.6x more than surrogate-assisted testing, up to 3x and 1.7x faster per failure, while executing 31% fewer HiFi simulations than HiFi-only testing. SimFusion also achieves the highest failure coverage in all three scenarios. An ablation with random simulator selection shows that the gains stem from the learned agreement model rather than from combining two simulators alone. These results suggest that predicting cross-simulator agreement is an effective alternative to surrogate modeling, as simulation fidelity can serve as an optimization dimension in ADS testing.

[5] arXiv:2611.34377 [中文pdf(下批处理), 原文pdf, 其他]
标题: SmartLens: Turning AI Agent Changes into Learning, Review, and Risk Signals in the IDE
Vahid Etemadi, Gregorio Robles
主题: 软件工程 (cs.SE)

Developers increasingly act as managers of AI agents: they hand tasks to AI coding agents and then have to understand, verify, ship, and learn from what the agents produce. IDEs and recent tools can show which committed lines were written by AI, but they do not attribute the pending changes of external agents, and they do not use attribution to help the developer review, learn, or judge risk. We present SmartLens, an IntelliJ IDEA plugin that attributes changes to an AI agent, the developer, or both. It combines this attribution with the Git history to support three goals: (i) Learn compares the skills (APIs, language features, annotations) that agents used with the skills the developer has used in their own commits; (ii) Understand ranks pending changes by review priority; and (iii) Risk shows hotspots: files that change often, are mostly written by AI, and that the developer barely knows. In a preliminary evaluation, SmartLens attributed 8 of 12 scripted IDE scenarios correctly; all failures were in (expected) blind spots. On 8 Open Source Software repositories with agent co-authored commits, agents introduced up to 253 skills that do not appear in the main developer's own commits. The Risk ranking was as good as or better than plain churn at predicting later bug fixes, but part of this gain is due to recency.

[6] arXiv:2611.34617 [中文pdf(下批处理), 原文pdf, 其他]
标题: Evaluating More with Less: Black-Box Test Selection for AI Agents
Ali Asgari, Mitchell Olsthoorn, Arie van Deursen, Annibale Panichella
主题: 软件工程 (cs.SE)

Agentic software systems are increasingly used in development, where changes to the model, prompt, scaffold, tools, or execution environment require repeated testing. Test case selection (TCS) can reduce testing costs while providing estimates of agent performance or exposing failures early. Although TCS has been studied for deep neural networks and LLM code models, prior work does not directly address agentic systems and often requires model information unavailable for proprietary agents. We present the first empirical study of black-box TCS for agentic software systems. We treat each benchmark task as a test case and adapt black-box regression-testing techniques using selection criteria based on task descriptions, metadata, code fragments, and embeddings. We also propose strategies that estimate task difficulty using heuristic features or independent LLM-as-judge assessments. Our strategies select tasks without executing the target agent or using past results. We evaluate fourteen selection strategies, including random sampling, plus a historical-data baseline, across ten AI agent benchmarks with 12 to 101 agents per benchmark. We assess Success Rate estimation and early failure detection. No single strategy dominates both objectives. Adapted black-box regression-testing strategies are most effective for Success Rate estimation, with Category Partition obtaining the lowest median error on five benchmarks at the 20% task budget. LLM-as-judge selection is more effective for early failure detection. For GPT 5.2 Codex on SWE-bench Verified, Category Partition selects 100 instead of 500 tasks, reducing execution cost from \$225 to \$47, with a Success Rate estimation error of 0.8 percentage points. At the same budget, LLM-as-judge selection detects nearly twice as many failures as random sampling: 53.0% of selected tasks reveal failures, compared with 27.4% for random sampling.

[7] arXiv:2611.34662 [中文pdf(下批处理), 原文pdf, 其他]
标题: Multi-Party Authorization of Maintenance Prescriptions on a Permissioned Blockchain
Siyuan Chen, Ebru Turanoglu Bekar, Anders Skoogh
评论: 6 pages, 2 figures, 2 tables. Submitted to IFAC AMEST / IMS 2027
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)

In industrial prescriptive maintenance, an equipment supplier's model may recommend an intervention that a plant schedules, a contractor executes, and a quality or safety function approves. A shared ledger records who submitted the prescription, yet cannot check whether the agreed model and decision rule produced it. We require permissioned-blockchain endorsers to verify a succinct proof of that calculation before releasing a work order. On a four-organization Hyperledger Fabric testbed using a public engine benchmark, this stopped all nine contested or mis-operated prescriptions, whereas hash checks accepted four that either raised simulated maintenance cost or reintroduced late failures.

[8] arXiv:2611.34875 [中文pdf(下批处理), 原文pdf, 其他]
标题: How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches
Aakash Goel, Benjamin Steenhoek, Yu Hu
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)

Agent patches are larger than developers', which is widely read as over-editing. But patch size does not say whether the extra edits are needed, what they are, or where they come from. We introduce Delta Residue Attribution (DRA), which replays agent trajectories, traces every block (unit) of the final patch to the step that wrote it, reverts each unit, and reruns the task tests to decide whether the unit is needed. We apply DRA to 7,660 resolved GitHub Copilot CLI trajectories from 18 frontier models on SWE-bench Verified (6,728) and DeepSWE (932), and grade developer patches using the same method. Agent patches do change more lines than developers'; on SWE-bench Verified the majority of extra edits add tests (61%) and documentation (13%) while on DeepSWE, most extra edits are code (58%). On both benchmarks, agents' code is on average at least as necessary as developers' (mean $NP_{code}$ 0.887 vs. 0.864 on SWE-bench Verified, where 11 of 18 models leave less unneeded code than developers, and 0.797 vs. 0.785 on DeepSWE). On average, 11% of an agent patch's code units on SWE-bench Verified are still unneeded, and 89% of those change behavior. Debug steps write almost none of the unneeded code. Code necessity differs substantially by model; it is unrelated to resolve rate on SWE-bench Verified and negatively correlated with it on DeepSWE (Spearman -0.59, p = 0.01). On SWE-bench Verified, pruning with DRA using only the tests the agent can see (its own tests and the repository's) removes the majority of unneeded code but also some needed code (67% recall, 46% precision), and 89% of pruned patches still resolve the task; asking the agent to audit its own diff is more precise but less effective (36% recall, 66% precision). We recommend that benchmarks report code necessity next to resolve rate and that over-editing be addressed through model training and harness-level pruning.

交叉列表(显示 9 条)

[9] arXiv:2611.33218 (交叉列表自 cs.CR) [中文pdf(下批处理), 原文pdf, 其他]
标题: Demystifying Real-world LLM Service Freeloading
Xinyi Hou, Shenao Wang, Wenhui Pan, Yanjie Zhao, Haoyu Wang
主题: 密码学与安全 (cs.CR); 软件工程 (cs.SE)

Third-party projects repackage free inference from LLM web applications and dedicated clients into independent APIs. We refer to such use beyond providers' permitted access, allocation, or redistribution conditions as LLM service freeloading (LSF). However, its scale and underlying mechanisms remain poorly understood. We present a systematic measurement study of 513 open-source projects, tracing 1,588 inference paths across 64 upstream LLM services and characterizing their development, dependencies, and operating mechanisms. We find that 93.0% of repositories were created in 2026. Direct HTTP or WebSocket requests account for 83.2% of paths, making reproduction of product protocols the dominant invocation method. Projects adapt messages, reconstruct conversation state, and convert responses to support compatible APIs. Account selection or rotation appears on 304 paths (19.1%), allowing projects with multiple eligible accounts to distribute requests across their separate allowances. Our policy analysis finds that 58 of the 62 services with available terms explicitly prohibit at least one examined practice, including automated access, account sharing, or service redistribution. These restrictions cover both downstream API provision and the means of obtaining upstream inference. Our findings inform defenses against unauthorized consumption and redistribution of free LLM resources. We have responsibly disclosed our findings to the relevant providers.

[10] arXiv:2611.33227 (交叉列表自 cs.CR) [中文pdf(下批处理), 原文pdf, 其他]
标题: Real Package, Wrong Controller: Static Auditing of Vendor--Protocol Mismatches in LLM-Generated PLC Code
S M Zia Ur Rashid, Sazidul Islam Hira, Suman Rath
主题: 密码学与安全 (cs.CR); 机器学习 (cs.LG); 软件工程 (cs.SE); 系统与控制 (cs.SY); 系统与控制 (eess.SY)

Language models can generate Python that drives industrial protocols on programmable logic controllers, yet existing code-grounding checks ask whether an imported package or symbol exists rather than whether it suits the declared industrial target. We define \emph{metadata-conditioned, import-level vendor--protocol incompatibility} and build \textsc{Proteus-OT}, a label-free static verifier over a version-pinned graph of documented bindings. Across 883 generated scripts, 180 carry an import-level mismatch against the declared target (20.4\%); restricting to single-vendor targets gives 16.3\%, and additionally requiring the offending library to reach a protocol communication call gives 14.2\%, which we read as conditional on the corpus metadata rather than on verified intent. None of the 28 adjudicable human control files carries one, a sample too small to estimate a prevalence. Within the balanced subset, 96.6\% of mismatching scripts import packages and call methods that exist, so an existence baseline does not represent them, and every positive ships with an inspectable witness. We also audit machine-versus-human classification on the same corpus, where character $n$-grams reach macro-F1 1.000 under task, model and vendor-disjoint partitions and survive comment removal, an AST round trip and identifier anonymisation. The trailing newline present in 95.2\% of human files and in none of the generated ones separates the classes on its own. Vendor--protocol consistency is a useful static audit target, whereas provenance classification on repository-labelled corpora is not authorship detection.

[11] arXiv:2611.33471 (交叉列表自 cs.CY) [中文pdf(下批处理), 原文pdf, 其他]
标题: Designing an Integrated Learning Ecosystem for Introductory Python Programming: Scaffolded Problem Solving, Tablet-Inspired Navigation, and AI-Enhanced Instruction
Xinxing Wu, Johnathan Rogers
评论: 13 pages, 3 figures, 2 tables
主题: 计算机与社会 (cs.CY); 软件工程 (cs.SE)

Introductory programming requires students to represent problems, develop and test programs, debug errors, and apply computational ideas in new contexts. In this paper, we present an artifact-centered design analysis of an integrated learning ecosystem developed for a 16-lab introductory Python course. The analyzed corpus comprises 18 instructional artifacts: the course syllabus, a tablet-inspired homepage, and Labs 1-16. We examined course navigation, problem representation, scaffolding, independent transfer, application development, debugging, AI integration, and assessment. All 15 scaffolded labs shared seven elements: input-processing-output (IPO) reasoning, instructor-guided programming, an independent task, a Google Colab/Gradio extension, debugging support, a task checklist, and submission requirements. Lab 16 departed from this structure as an integrative Pygame-based Hallmark Assignment. The analysis identifies four connected design features: a navigation layer that coordinates multiple tools; two forms of transfer, from guided to independent problems and from console programs to interactive interfaces; distinct roles for instructor-side AI-enhanced communication and student-side AI assistance; and a transition from repeated scaffolds to integrative problem solving. The case also identifies unresolved tensions involving tool fragmentation, accessibility, interface distraction, student authorship, and overreliance on AI. Because student learning outcomes were not examined, we make no claims about instructional effectiveness. Instead, the paper offers a transparent design precedent and identifies priorities for future empirical evaluation. Demo - https://xinxingwu-uk.github.io/COS107_Demo/Homepage/index.html Source codes - https://github.com/xinxingwu-uk/Course_Integrated_Learning_Ecosystem

[12] arXiv:2611.33490 (交叉列表自 cs.PF) [中文pdf(下批处理), 原文pdf, 其他]
标题: Cross-Layer Characterization and AI-Assisted Diagnosis of C-to-Rust Performance
Dalton Davis, Kunal Pai, Tapti Palit
主题: 性能 (cs.PF); 程序设计语言 (cs.PL); 软件工程 (cs.SE)

Migrating C code to Rust can significantly improve software security, but understanding the performance implications of such migrations remains challenging. While Rust is often claimed to match C's performance, runtime safety checks, compiler optimizations, and hardware microarchitecture interact in ways that complicate performance diagnosis. We first conduct a systematic cross-layer characterization of 12 benchmarks comprising C implementations and their Rust counterparts. Our study reveals that runtime safety checks do not necessarily dominate performance overhead, as compiler and microarchitectural optimizations often mitigate their costs. Across 8 of the 12 benchmarks, at least one Rust implementation performs within 10% of its C counterpart or outperforms it. Motivated by these findings, we introduce FerroScope, an AI-assisted performance debugger that integrates source-level analysis, compiler optimization remarks, dynamic instruction traces, and hardware performance counters to diagnose performance differences between C and Rust. FerroScope reproduces our manual findings while providing more precise explanations in several cases, including identifying compiler optimizations inhibited by redundant bounds checks. Guided by these diagnoses, we develop an LLVM compiler pass that hoists redundant bounds checks through guarded loop versioning while preserving Rust's panic behavior. The pass enables downstream compiler optimizations, including loop unrolling and conditional-move conversion, reducing Selection Sort's overhead from 2.95x to 1.00x and improving Merge Sort from 1.43x to 0.91x relative to C. Together, our results demonstrate how cross-layer performance characterization and AI-assisted diagnosis can guide safety-preserving compiler optimizations for efficient C-to-Rust migration.

[13] arXiv:2611.33639 (交叉列表自 cs.AI) [中文pdf(下批处理), 原文pdf, 其他]
标题: How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-Wrong Patches
Zax Shen, Hanling Zhang, Zixu Wang
评论: 18 pages, 7 figures. Preregistered at https://osf.io/r8q2m. Data and code: https://github.com/trustmybot/research-artifacts
主题: 人工智能 (cs.AI); 机器学习 (cs.LG); 软件工程 (cs.SE)

AI coding agents write code faster than people can review it, so teams add AI reviewers. Reasoning models let such a reviewer trade cost for diligence through an effort setting. We asked how much effort a reviewer needs to catch plausible-but-wrong patches, which pass a benchmark's tests but fail stronger ones. Claude Opus 5.5 (preregistered), Sonnet 5.5 and Haiku 5.5 (exploratory) each reviewed the same 90 agent-written Django patches from SWE-bench Verified at low, medium and high effort. By strengthened SWE-ABS tests, 55 patches were wrong and 35 correct. In every model, high effort accepted fewer wrong patches than low (false success .45 against .67 for Opus, .49 against .65 for Sonnet, .51 against .78 for Haiku), a supported difference for Opus and Haiku. For Opus, medium was non-inferior to high within 15 percentage points (difference .018, 95% CI [-.065, .108]) and cost 20% less, short of the preregistered 30%. For Sonnet and Haiku, medium cost 39% and 51% less than high but was not shown non-inferior. Opus at medium or high agreed best with the labels; Haiku at high cost about 8% as much per review as Opus at medium, accuracy difference unresolved. Exploratory coding showed that most rejections named the tested defect and that effort added such rejections. No setting is a strong gate: each accepted at least 45% of wrong patches. For 32 of the 55 wrong patches the issue may not require what the failing test checks; without them, neither accuracy hypothesis holds for any model.

[14] arXiv:2611.33748 (交叉列表自 cs.AI) [中文pdf(下批处理), 原文pdf, 其他]
标题: REFORGE: LLM-Assisted RTL Bug Repair with Structured Context and Verification Feedback
Tanvir Hossain, Sudipta Paria, Aidan Gleason Myers, Swarup Bhunia, Tamzidul Hoque
评论: Accepted at DATE 2027 (Design, Automation and Test in Europe); initial author version
主题: 人工智能 (cs.AI); 软件工程 (cs.SE)

Large language models (LLMs) can write and repair RTL, but successful compilation or testbench execution does not establish defect removal, behavioral preservation, security, or implementation feasibility. Existing LLM-based RTL repair methods often report a single repair rate without retaining separate evidence for these properties, limiting reproducible comparison and integration into hardware design flows. We present REFORGE, which, to our knowledge, is the first LLM-assisted RTL repair framework that maintains and accumulates structured repair evidence across iterations, allowing it to generate fixes that satisfy multiple objectives simultaneously, including functionality, behavioral equivalence, security, and cost efficiency. REFORGE profiles buggy RTL, identifies structural and security-relevant features, localizes failing behavior, and uses verification-guided diagnosis to generate complete RTL repair variants. Each variant undergoes syntax checking, simulation, formal analysis, off-trigger preservation, security re-scan, and synthesis-based power, performance, and area analysis. We implement REFORGE as a backend-independent repair-and-verification flow and evaluate it in 288 runs across three LLM backends and three benchmark suites. On CirFix, the proposed context and diagnosis increase runs delivering a checked repair from 32/63 to 51/63, while every configuration repairs the Hack@DAC OpenTitan defect. Evidence records also show that a testbench-only criterion reports 3.9 times more repairs than the full set of applicable checks, security-clean outputs may lack functional verification, and different RTL repairs can implement equivalent hardware. These results show that LLM-generated RTL repairs require explicit multi-stage verification evidence rather than a single pass/fail outcome.

[15] arXiv:2611.33943 (交叉列表自 cs.AI) [中文pdf(下批处理), 原文pdf, 其他]
标题: What Does Skill Lift Actually Measure? A Source-Code-Level Audit and Noise-Aware Reanalysis of SkillsBench
Haozhe Zhang, Zhen Long
评论: 2 figures, 6 tables. Code, audit ledgers, and reproduction scripts: https://github.com/rrrrr4788/skillsbench-lift-reanalysis
主题: 人工智能 (cs.AI); 计算与语言 (cs.CL); 软件工程 (cs.SE)

Agent skills are directories of instructions, reference materials, and scripts loaded on demand by coding agents. According to SkillsBench, although human-curated skills can raise the passing rate by about 16.6 percentage points (pp) on average, they have actually reduced the results for some tasks. Later research has started to gate or eliminate skills according to the above per-task gains. We have audited the above benchmark at the source-code level and analysed 7,554 public trials to form 1,421 paired "(configuration, task) cells". Source-code audit identified two controlled-verified cases of grader dependence and one operational definition gap; the average lift on these three tasks was 74.6 pp, and the overall average lift for the full set was 18.7 pp. The audit also found that four tasks contained placeholder skill directories, and a certain execution harness additionally added 48 built-in skills in most runs. No task-level reduction achieved statistical significance in the pooled reanalysis with multiple-testing correction. As there were at most three runs per condition for each cell, the observed negative differences are very susceptible to run-sampling noise, and arithmetically, 58% of the cells could not have shown a decrease. Therefore, the raw numbers of negative cells cannot show that skills cause harm. A gating strategy based on the skill-free score seems to improve by 2-3 pp in the logs; however, even after shuffling condition labels to remove any skill effect, it still achieves an increase of 4-7 pp. On the held-out runs not used for fitting and decision-making, there was no statistically significant improvement. The audit ledger and analysis scripts have been published by us.

[16] arXiv:2611.34142 (交叉列表自 cs.OS) [中文pdf(下批处理), 原文pdf, 其他]
标题: Reproducer Synthesis for AI-Reported Bugs in the Linux Kernel
Xiao Wu, Yunbo Ni, Hao Sun, Yuanyuan Yuan, Shaohua Li
评论: 16 pages, 4 figures
主题: 操作系统 (cs.OS); 人工智能 (cs.AI); 软件工程 (cs.SE)

Agentic review systems are increasingly flagging suspected bugs in Linux kernel patches as textual reports. A maintainer who receives such reports needs further inspection to determine whether the report is true. The inspection requires understanding whether the bug can be triggered and, if necessary, manually constructing one. As a consequence, despite the excessive textual explanation, many reports go unanswered. In this paper, we argue that a runnable proof-of-concept (PoC) is the key information in such AI-generated kernel review reports. It is, however, challenging to automatically synthesize a valid and runnable PoC. We present ReproCue, a framework that generates PoCs for AI-generated Linux kernel reviews. ReproCue replays the historical kernel bugs and learns one reproduction finite-state-machine (FSM) per subsystem from successful runs. An FSM records the steps a reproduction goes through, together with the requirements observed at each step. Given a new review, ReproCue follows the FSM of that subsystem, adjusting the PoC and the environment as execution shows what is missing. In 100 recent AI-generated reviews, ReproCue writes PoCs for 49 of them, compared with 10 for the current agentic reproducer and 9 for the state-of-the-art directed fuzzing. Excitingly, with our generated PoCs, Linux kernel maintainers confirmed 69.4% of them, much higher than 9.3% from Sashiko where only textual explanations are included, making AI reviews more actionable in practice.

[17] arXiv:2611.34870 (交叉列表自 cs.DB) [中文pdf(下批处理), 原文pdf, 其他]
标题: Shape-Aware Three-Way Merge for RDF Knowledge Graphs: The schema defines the conflict: an implementation and evaluation
Steve Brown
评论: 19 pages. Artifact, benchmark and replay corpus at https://github.com/intigraph/quipu ; every table names the command that regenerates it
主题: 数据库 (cs.DB); 人工智能 (cs.AI); 软件工程 (cs.SE)

Merging RDF serializations creates ordering conflicts and misses semantic ones. We describe and evaluate a three-way merge in which the schema defines a conflict: set algebra combines canonical triples, and a slot is contended only where a SHACL shape bounds its cardinality and both sides' changes cannot stand within that bound. Unbounded predicates union; contended slots go to a person. The same shapes graph validates the result. We do not claim the first three-way merge for RDF. Our contribution is an implementation in a production multi-agent store and an evaluation against a reimplementation of Quit Store's Context Merge overlap rule, which it extends rather than replaces, and six other strategies. Across five synthetic seeds, the shape-aware operator raised 33 conflicts, all true positives as judged by the same shapes that define them, with no triples lost or fabricated and no SHACL violations admitted. The context-overlap baseline, counted per slot, detected the same 33 conflicts but asked 845 questions. A replay built from recorded production incidents covers 105 human alias repairs (93 after excluding 12 chained pairs) and 939 duplicate-value incidents. It reproduces a triple-level limit: different names for one entity remain invisible (0 of 93 alias repairs detected, matching 0 of 21 synthetic cases). In a study of evolving shape contracts, merging shape declarations first handles the tested cardinality changes, while datatype evolution exposes a detector blind spot caught by post-merge validation. An oracle that reads no shapes agrees with the shipped operator on the facts and history of all 23 reachable single-slot cases. Under wrong shapes, a missing bound loses data silently and a spurious one only adds questions. The supported claim is fewer human decisions with nothing silently lost, for cardinality conflicts in one deployment, not general merge correctness.

替换(显示 10 条)

[18] arXiv:2504.08207 (已替换) [中文pdf(下批处理), 原文pdf, 其他]
标题: DRAFT-ing Architectural Design Decisions using LLMs
Rudra Dhar, Adyansh Kakran, Amey Karan, Vasudeva Varma, Karthik Vaidhyanathan
主题: 软件工程 (cs.SE); 人工智能 (cs.AI); 机器学习 (cs.LG)

Architectural Knowledge Management (AKM) is crucial for software development and Architectural Decision Records (ADR), an important artifact of AKM, provide a structured approach to capture Architectural Design Decisions (ADD). However, their adoption is limited due to the manual effort involved and insufficient tool support. Prior work shows that LLMs can support ADD generation, though basic prompting yields suboptimal results. This paper explores how LLMs can support architects in two complementary tasks: generating ADDs from Decision Contexts, and generating complete ADRs from titles. We propose Domain-specific Retrieval Augmented Few-shot Tuning (DRAFT), a novel approach that integrates Retrieval Augmented Few-shot Generation with Fine-tuning to generate. DRAFT operates in two phases: an offline phase that fine-tunes a model using retrieval-augmented prompts derived from historical ADRs, and an online phase that generates decisions or complete ADRs by combining retrieved examples with the fine-tuned model. Evaluated on 4344 ADRs across multiple LLMs using standard NLP metrics, DRAFT consistently produces outputs better aligned with real-world ADRs. A human evaluation with the authors and external architects, however, shows no uniformly preferred approach. DRAFT also maintains practical efficiency, reduces dependence- dence on proprietary models, and addresses organizational concerns around privacy, resource constraints, and inference costs.

[19] arXiv:2604.19827 (已替换) [中文pdf(下批处理), 原文pdf, 其他]
标题: A Threshold Model of Fault Propagation in AI-Native Software Ecosystems
Daniel Russo
评论: This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)

When many coding agents work in one repository at once, software engineers are left to judge a collective through its parts. Review examines one change at a time, yet a change can incorporate a fault introduced by another, and repairing the originating change then no longer repairs the repository. To keep human judgment at the centre of agentic software development, we need models of what agents do together. This paper joins complexity theory with software evolution to build one. We model how a fault spreads among open changes as a branching process over contention, the relation between two changes that are open at the same time and modify a common file. As with the reproduction number of an epidemic, spread sustains itself once each faulty change passes the fault, on average, to more than one other. Each repository has a reference threshold, the crossing probability per contention link above which spread would sustain itself in a random graph with the repository's contention degrees. We reconstructed contention among 33,105 agent-authored pull requests in 2,731 repositories. Thirteen repositories with reference thresholds below 5% contained 42.5% of the changes. There, a fault that crossed one contention link in twenty would sustain spread under the model. The structural conditions for propagation are in place where much agent-authored work happens. Reviewing each change separately cannot reveal these conditions. Engineers also need to know where concurrent work exposes a repository to spreading faults, which they can compute from records they already keep.

[20] arXiv:2605.21434 (已替换) [中文pdf(下批处理), 原文pdf, 其他]
标题: Agentic Model Checking
Youcheng Sun, Jiawen Liu, Humaid Alqasimi, Lucas Cordeiro, Daniel Kroening, Chun Jason Xue
评论: Camera-ready version for ICSE 2027. This revision updates the abstract, reorganizes the manuscript, expands the evaluation, and updates the author list
主题: 软件工程 (cs.SE)

Verifying large software systems is difficult. Formal specifications are rarely available, and the assumptions that code relies on are often encoded implicitly at call sites rather than enforced at function boundaries. This paper presents agentic model checking, a verification scheme that combines LLM agents with bounded model checking (BMC) under the principle that agents propose, solvers verify: agents perform semantic reasoning such as specification inference and verification planning, while the formal backend checks the resulting bounded verification queries. We realize this scheme in BMC-Agent, an agentic verification system built on an off-the-shelf bounded model checker. The key contribution of this paper is agentic orchestration of the model checker. Rather than fixing a single verification recipe, BMC-Agent plans how bounded model checking should be applied to each verification task. It infers function specifications, configures the verification task, decomposes the analysis using specification-constrained stubs, validates counterexamples through deterministic checks and replay, and iteratively refines specifications in response to spurious witnesses. This orchestration enables the same BMC engine to scale from individual functions to large software systems, preserving solver-backed verification. We evaluate BMC-Agent on LLM-generated operating-system and compiler code, standard verification benchmarks, and mature OSS-Fuzz-hardened libraries. Across these workloads, BMC-Agent discovers confirmed defects in heavily tested software and produces bounded verification results without requiring manually written specifications. These results demonstrate that agentic orchestration substantially extends the practical scalability of bounded model checking for real-world software.

[21] arXiv:2607.00107 (已替换) [中文pdf(下批处理), 原文pdf, 其他]
标题: The Illusion of Safety: Multi-Tier Verification of AI vs. Human C++ Code
Saif Mahmud, Fadul Sikder, Yuede Ji, Haotian Zhang, Yu Lei
主题: 软件工程 (cs.SE)

As large language models (LLMs) are increasingly deployed for systems programming, their ability to generate secure C++ code remains a critical concern. Yet most security evaluations of AI-generated code rely on static analysis alone, which flags warnings without confirming runtime violations or reasoning about untested paths. This study investigates whether C++ code generated by open-weight LLMs is measurably less safe than human-written code, and whether common verification tools agree on the risk. We introduce VULBENCH-CPP, a benchmark of 8,918 C++ programs from three open-weight LLMs (Gemma 3 27B IT, LLaMA 3.3 70B Instruct, Qwen 2.5 Coder 32B Instruct) and human authors across 851 competitive-programming tasks. Each program is annotated by four verification tiers: functional testing, static analysis (cppcheck, clang-tidy), dynamic analysis (ASan/UBSan), and bounded model checking (ESBMC). Under static analysis the two look equally safe, but this is misleading. Accounting for the correlation among solutions to a shared task, we find that code from these models is roughly twice as likely as human code to trigger a confirmed runtime violation, even after controlling for code length and test pass-rate. Furthermore, bounded model checking disagrees with the sanitizers in direc- tion, flagging human code more often among the programs it can decide. The overall results suggest that different verification tiers flag different programs, and no single tier is sufficient. We release the benchmark, harness, and annotated results

[22] arXiv:2608.00558 (已替换) [中文pdf(下批处理), 原文pdf, 其他]
标题: AiFlow: Construction-to-Retirement Conformance for Versioned LLM Services
Qunhui Zhang
评论: 14 pages, 2 figures, 9 tables
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)

A live update can preserve the topology and output of a large language model (LLM) workflow while bypassing a filter's queue and concurrency limits. A background task can use the old version after its caller returns. AiFlow links construction, invocation and retirement through an executable contract. Each admitted request captures an action bound to the checked operators. The service certifies the call's terminal outcome and the release of its registered work. Once new calls can no longer capture the version, the owner checks these certificates and remaining local resources before retirement. Strict publication pauses admission while old calls drain. Deferred publication can admit calls to the successor before its predecessor retires. We evaluated two stateless linear workflows in one Java virtual machine. Under strict publication, we repeated three injected fault scenarios three times per check configuration. An observation counted as contained if neither unguarded execution nor premature replacement occurred. With construction or completion checking alone, six of nine fault observations met this criterion. With both checks, all nine did. A separately implemented coordinator matched AiFlow on the lifecycle outcome, service call count and reclamation decision in all 24 tested pairs. With updates every 400 ms, deferred publication met the 500 ms deadline more often at both loads. We measured the share of all offered requests that met the deadline on the latest scheduled version due at return. Strict publication led at 80 requests/s and deferred publication at 20 requests/s. Both policies use the same local evidence for retirement.

[23] arXiv:2608.13077 (已替换) [中文pdf(下批处理), 原文pdf, 其他]
标题: How Powerful are LLMs in Generating Formal Program Specifications?
Fanpeng Yang, Xing Li, Shuling Wang, Jie An, Zeyu Sun, Shenghua Feng, Wenhan Wang, Weiyi Wang, Naijun Zhan, Fanjiang Xu
主题: 软件工程 (cs.SE)

Formal verification provides strong guarantees of software correctness, but its adoption is limited by the high cost of writing precise formal specifications. While recent large language models (LLMs) have shown strong capabilities in theorem proving and verified code generation, their true ability to generate program specifications remains unclear. Existing evaluations require either verifying implementation conformance or proving semantic equivalence between specifications, both of which are formidably difficult and may conflate proof difficulty with specification quality. To address this problem, we introduce Coins, a Rocq based evaluation framework that assesses specification quality by instantiating specifications under evaluation on trusted test cases and generating concrete proof obligations. This design aligns with the asymmetric nature of formal reasoning, where successful proofs provide reliable evidence while proof failures are inherently ambiguous. Using Coins, we conduct a large scale study on HumanEval with a curated set of human written Rocq specifications. Our results show that specification generation remains a formidable challenge, and that verification complexity can obscure genuine differences in specification quality. Overall, we find that accurate specification evaluation, rather than model scaling alone, is central to understanding the power of LLMs for specification synthesis, and that test case based formal reasoning offers a more faithful and discriminative measure of progress.

[24] arXiv:2609.33699 (已替换,交叉列表自 cs.AI) [中文pdf(下批处理), 原文pdf, 其他]
标题: SpecRead: A Benchmark for Measuring Whether Language Models Understand Hardware Specifications
Feilian Huang, Yujia Liu
评论: 13 pages. Benchmark data and code at https://github.com/EDGAhab/specread
主题: 人工智能 (cs.AI); 软件工程 (cs.SE)

Existing benchmarks for large language models (LLMs) in hardware design evaluate downstream artifacts such as generated RTL, assertions, or testbenches. When a model fails, it may have misread the specification or understood it and failed to write the code. We present SpecRead, a benchmark that isolates specification comprehension from generation ability. SpecRead v2.2 contains 383 questions over 10 open-source OpenTitan IP blocks in four types: exact retrieval, cross-section reasoning, contradiction detection in mutated specifications, and spec-RTL consistency checking, plus 41 distractor controls and 41 consistent-RTL controls. Type-4 items use real RTL mutations retained only when Icarus Verilog simulation shows a behavioral change. A with-spec vs. without-spec ablation suggests the questions require the excerpt rather than training recall alone, though it does not rule out memorization of the unmutated source text helping a model spot mutations. Ministral-3B scores 33.7% overall (129/383). On t3, verdict-plus-location accuracy is 48.0% with a 51.2% distractor false-positive rate. On t4, the violation-vs.-compliant decision is effectively degenerate (MCC -0.06, balanced accuracy 49.5%), flagging all 41 consistent-RTL controls; location accuracy remains measurable at 79.2%. Layered scoring suggests, as a hypothesis, that the fine-grained violation taxonomy is the hard part, though the category labels are not independently validated. A rule-table prompting intervention on a 60-question sample lowers accuracy on every type except t2 (tied). SpecRead is automatically scorable by deterministic checks, with gray-zone cases counted wrong under the conservative main scoring, regenerable for type-3 items via mutation injection, and built exclusively from public sources.

[25] arXiv:2609.35149 (已替换,交叉列表自 cs.AI) [中文pdf(下批处理), 原文pdf, 其他]
标题: Agent Calibration under Deployment Change: Acceptance Contracts, Trajectory Repair, and Adaptation Costs
Yaxiao Liu, Pengbo Liu, Yiwen Liu, Yihua Guan, Xingjian Li, Jiaxing Song
评论: 39 pages, 6 figures, 9 tables. Revised title and framework for basic, technical, and user-context acceptance. Adds a deployment requirement map, checkpoint-level trajectory repair, and a cost comparison for frozen-model adaptation. Separates diagnostic audits from proposed controlled evaluations
主题: 人工智能 (cs.AI); 多智能体系统 (cs.MA); 软件工程 (cs.SE)

An agent can remain operational after a model, tool, or user-context change while losing capabilities required at its destination. We define agent calibration as qualification against a versioned deployment contract. The contract specifies basic capabilities and end-to-end reachability, technical and professional precision, and acceptance by intended users. For each requirement, a source-to-destination map records what must be preserved, transformed, added, or retired. Experts supply benchmarks, positive and negative examples, annotated trajectories, and cost limits. These instruments guide changes to prompts and context, tool calls and other harness settings, or an external compact policy while the foundation model remains frozen. Candidate revisions are evaluated against fixed acceptance criteria using independent evidence. We compare the costs of maintaining a harness with and without an external policy, including annotation, training, serving, review, and rework. Three diagnostic audits illustrate the limits of aggregate scores. On a 100-item intent task, each model solved cases the other missed. In a 60-record synthetic financial reporting fixture, five records passed a numeric proxy but failed the reporting contract. In a target-only WebMall snapshot, quota interruptions affected 132 of 171 attempts. These observations motivate paired reruns, checkpoint replay, and separate measurement of repaired and newly failed cases. We specify controlled experiments to test whether calibration increases accepted deliveries at a given cost.

[26] arXiv:2611.29162 (已替换) [中文pdf, 原文pdf, 其他]
标题: Fixed or Deleted? External Feedback Lets Cheaper AI Coding Agents Repair Rule Violations
Laura Wynter
评论: 14 pages, 9 tables. Data and analysis code: https://github.com/CodeAssureLabs/external-feedback-coding-agents v2: adds a build and feature check of all scored repairs (Section 4.6); corrects the scoring of one pull request, v2 added funding acknowledgement, shortened abstract
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)

Many defects violate project rules that the code itself does not reveal, such as layering constraints or required tests. We study whether LLM coding agents repair such violations better when an external checker reports them, with their location and a repair goal. Three models, a small, medium and large model, driven by an AI agent, worked on 25 pull requests with 31 planted defects in ten open-source projects, plus 5 correct controls, five times alone and five times with findings from CodeAssure (CA), a commercial checker. We also compare with GitHub Copilot code review, and compare CodeAssure's detection with nine free static-analysis tools run out of the box, including Semgrep and SonarQube Community. Counting a run as repaired only when the repaired code also compiles and keeps its feature, CA findings raised the repair rate from 26% to 69% for the smallest model, from 46% to 90% for the medium model and from 45% to 93% for the largest model (pull-request-level p < 0.001), and from 39% to 84% over all runs. Every Java, TypeScript and Python repair compiled. We found that agents often cleared a defect by deleting a newly added file. Metrics based on whether the defect is gone count feature deletion as a success. The largest model alone did so in 44 of 125 runs. CA includes a check for deleted files that largely prevents this. In an ablation with the check turned off, removals rose from 9 to 65 out of 375 runs and the repair rate fell to 54% (small), 70% (medium) and 85% (large model). The CA workflow also outperformed Copilot code review (p < 0.001). Together, the free tools detected 8 of the 31 defects, and CA detected all 31. With CA, the medium model repaired 90% of runs, against 45% for the largest model alone, at about one fifth of the mean cost per run ($0.17 against $0.91).

[27] arXiv:2611.29321 (已替换) [中文pdf, 原文pdf, 其他]
标题: Multi-Agent Coordinated Method-Level Refactoring of Rust Code
Yijian Zheng, Yi Zhang, Juyuan Zhang, Di Cui
评论: Added a workbench screenshot, documented the openPangu-2.1-Pro backend, and added a reference
主题: 软件工程 (cs.SE)

As Rust codebases evolve, developers refactor code to reduce duplication, simplify complex methods, and keep related functionality together. Developers can make these changes manually or use IDE assists for supported operations, then check the resulting code with compiler diagnostics and tests. Method-level refactoring in Rust must preserve observable behavior while accounting for ownership, borrowing, and lifetimes. We present a large language model (LLM)-based workflow for extracting, inlining, and moving methods in Rust. The workflow combines candidate generation, configurable specialist review,and container-based validation. On six tasks from three open-source Rust projects, three end-to-end configurations passed all task checks on their first attempt, using 6, 13, and 31 model calls. To isolate the effect of review, we then gave four configurations the same six reference patches and six deliberately behavior-changing variants. A designated specialist rejected all six behavior-changing patches before container validation and let all six reference patches proceed, reducing Docker invocations from 24 to 12 relative to direct validation. The fixed specialist panel also caught all six faults early and rejected two reference patches over unmeasured performance concerns. On this workload, specialist review reduced execution work, while its effect on total time depended on review overhead and which patches reached validation.

共 27 条
每页最多显示 2000 条: 更少 | 更多 | 全部
EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站