Skip to main content
archive Search
Submit Donate Log in

Press Enter to search · Advanced search

Software Engineering

  • New submissions
  • Cross-lists
  • Replacements

See recent articles

Showing new listings for Friday, 4 December 2026

Total of 63 entries
Showing up to 2000 entries per page: fewer | more | all

New submissions (showing 26 of 26 entries)

[1] arXiv:2612.04394 [pdf, html, other]
Title: GateCheck: Executable Semantic Contracts for Silent Failures in Learned Gates and Attention Components
Siddhant Agarwal
Comments: 12 pages, 3 figures, 3 tables
Subjects: Software Engineering (cs.SE)

Neural attention and gating code can train and preserve tensor shapes while silently ignoring a mask, option, branch, or gradient path. We present GateCheck, executable semantic contracts for component dynamics, forward effect, gradient connectivity, batch independence, protected-input invariance, and declared-option influence. GateBench-v2 contains 63 semantic-mutant configurations and 33 valid controls evaluated through 17,280 executions. The full suite detects every controlled mutant and flags no controls (exact 95% intervals: recall 0.943-1.00; specificity 0.894-1.00), whereas runtime/shape checks detect 9.5%. Matched PyTorch and JAX implementations yield identical decisions for five definitions. A public-patch pilot contributes five buggy/fixed micro-replay pairs: every buggy replay violates its prespecified contract and every fixed replay passes, although these reductions are not full historical environments and the exact interval is wide (0.478-1.00). Retrospective verification by two external engineers identifies nine unanimous inclusion candidates in a frozen 35-change pool; four remain unexecuted. A patient-grouped brain-tumor study proves that singleton softmax creates an identity gate with zero parameter gradient. Repairs restore mechanism but do not establish a clean Dice benefit on 35 held-out patients. GateCheck supports pre-training software-integrity checks; passing contracts does not establish model quality or universal defect detection.

[2] arXiv:2612.04397 [pdf, other]
Title: AI-Driven ADAS in Software-Defined Vehicles: Architectures, Safety Assurance, and Lifecycle Challenges
Nitin Vishnoi, Rama Kiran Kumar Indrakanti, K V S R P Varma
Journal-ref: International Journal of Emerging Research in Engineering and Technology,Pearl Blue Research Group| 9th ICAILLMBA (ALLAM) 2025-Conference Proceedings
Subjects: Software Engineering (cs.SE)

Advanced Driver Assistance Systems (ADAS) are rapidly evolving toward AI-driven, software-defined vehicle (SDV) architectures. Despite significant advances, ensuring robust safety, validation, cybersecurity, and driver trust remains a critical challenge. This paper presents a structured review of recent developments in ADAS, focusing on deep learning-based perception, multimodal sensor fusion, centralized and zonal computing, and lifecycle-oriented safety governance. A qualitative review methodology is adopted, analyzing peer-reviewed literature, international standards, and industry reports published between 2018 and 2025. The results indicate a clear shift from rule-based systems to data-driven architectures using Bird's Eye View representations, transformer-based models, and over-the-air software updates. The study concludes that a holistic lifecycle approach integrating AI performance monitoring, SOTIF, cybersecurity, and human-centered design is essential for the safe and trustworthy deployment of ADAS in software-defined vehicles.

[3] arXiv:2612.04419 [pdf, html, other]
Title: The Second Life of a Human Decision: Nudging and Automation in Dependency Maintenance
Matthew Jin, Gabriel Castro
Subjects: Software Engineering (cs.SE)

In Microsoft's Dependabot deployment, a human decision on a pull request (PR) resolves that PR and supplies a supervised label for later automation. We examine how Nudger, the notification system, affects this feedback loop. A Teams nudge raises the first-human-action hazard 45-fold in its delivery hour (95% CI [39.90, 50.82]; 60,507-PR source frame). Survival weighted g-computation estimates 8,017 additional production labels [5,566, 10,479] over the observed follow-up of 30,718 nudged PRs. Refitting acceleration and suppression without those labels yields modest ranking changes but larger policy changes. Each world chooses its own 80%-precision validation threshold; test identities, labels and observed outcomes stay fixed, with repository-history features reconstructed from each world's own record. Acceleration, which adds bot approvals to PRs expected to merge, selects 19.21 percentage points fewer test PRs; 86.8% of dropped selections merged. Suppression, which closes PRs expected not to merge, selects 4.32 percentage points more, adding about 1,018 PRs the factual policy left alone; 38.8% of these merged, and the selected set's observed merge rate rises from 16.71 to 20.96 per 100. A shadow-period projection estimates 64.7 observable activity units avoided and 14.4 merges forgone per 100 suppressed PRs, or 4.50 units per merge forgone. Auto Merge adoption is associated with 16.3% [12.1%, 20.7%] more model-standardized expected merges among acceleration marked PRs in adopting repositories. Notification thus affects which PRs receive human attention, the training evidence that follows, and downstream automation decisions.

[4] arXiv:2612.04452 [pdf, html, other]
Title: Auditing the Released State of LLM-Reviewed Financial Analyses
Zengjian Liu, Tommy He, ELE Zhao, HongLiang Sun
Subjects: Software Engineering (cs.SE)

We audit the numerical state released after language models review financial drafts. A four-condition experiment varies reviewer role wording and replay of an earlier exchange on 72 issuer packets, of which 68 use public filing facts. The initial stage yielded 924 valid replies, and a continuation of previously unlaunched slots added 113 on the same 1,296-slot plan. Among the resulting releases, 380 of 6,222 seeded root observations had a correct stated amount and a wrong released amount, and 90 of 5,417 linked fields remained inconsistent after their parents were corrected. Applying dependency checks after direct source checks held 32 additional issuer releases, and coverage limits treatment comparisons to observed matched subsets.

[5] arXiv:2612.04471 [pdf, html, other]
Title: Verification by design for AI-generated scientific software: a controlled experiment
Cristiano Malica
Subjects: Software Engineering (cs.SE); Materials Science (cond-mat.mtrl-sci)

AI coding agents can now implement complex scientific workflows in hours, shifting the bottleneck from writing code to verifying what it computes. While passing tests and reproducing reference results provide evidence of correctness, establishing rigorous criteria to validate AI-generated code has become an urgent scientific priority. We designed an experiment using the crystal elastic tensor, computed through two distinct formulations (stress and energy derivatives) and independently verified with an external implementation. Under acceptance criteria frozen before any code existed, a provenance-complete first-principles workflow was built across all crystal symmetries. At converged settings, both formulations and the independent code agree within 1% on average. However, agreement provides incomplete evidence of correctness: checks can share numerical errors and differ in their sensitivity to them. Reliability therefore depends on the independence of verification routes, not just on consensus. We derive ten lessons for scientific software generation and propose graded robustness protocols based on independent verification. More broadly, they contribute to establishing a systematic basis for the controlled and reliable generation of AI-assisted scientific software.

[6] arXiv:2612.04613 [pdf, html, other]
Title: Don't Over-Engineer It: AI Coding Agents Write Too Much Code, and a Short Prompt Reduces It
Jay Desai, Fanyou Wu, Srinivasan H. Sengamedu
Comments: Accepted at the AAAI-27 Workshop on Agentic Software Engineering (AgenticSE). OpenReview: this https URL. 13 pages, 1 figure, 17 tables
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Computation and Language (cs.CL)

AI coding agents routinely produce correct solutions that include far more code than necessary, adding unrequested tests, documentation, refactoring and error handling beyond what the task requires. We formalize this phenomenon as over-engineering and introduce the Over-Engineering Score (OES), a family of metrics comparing the size and location of an agent's patch with the reference solution. Analyzing 6,790 agent--task pairs from 14 public agents on SWE-bench Verified, we find that over-engineering is pervasive (median OES between 0.67 and 8.20$\times$ the reference size, depending on the agent) and that a "Goldilocks zone" of 1--1.5$\times$ the reference has the highest resolution rate (59.6% vs. 34.8% for patches above 10$\times$), an association that persists under difficulty controls. A short system-prompt constraint that tells the agent to make the minimal change and not to add tests, documentation, type annotations, error handling or refactoring unless asked reduces mean OES by 40% across 14 models from 7 providers (13 of 14 models; median per-model reduction 43%), mostly by stopping edits to files the reference fix does not touch. Much of what it removes is unrequested test code: excluding test files, the reduction is 14%. It also cuts input tokens per task for 13 of 14 models, by up to 42%, and mean OES also falls for every model on SWE-bench Multilingual and Pro. Resolution does not change significantly in aggregate on any benchmark, and per-model effects go both ways.

[7] arXiv:2612.04685 [pdf, other]
Title: Rewriting the Past: How an AI-Assisted Benefits Model Handles Dated Rules
Shirshak Jung Thapa
Comments: 24 pages. Also archived on Zenodo, DOI https://doi.org/10.5281/zenodo.24406653%3B replication package DOI https://doi.org/10.5281/zenodo.24406575
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Computers and Society (cs.CY)

Benefit rules change on set dates, but hearings, corrections and reviews concern earlier months, so software encoding the rules must still answer correctly for the past. We studied how one open-source policy model, PolicyEngine-US, handled its dated rules for the Supplemental Nutrition Assistance Program (SNAP) during 2026, a year in which 89 of the 101 commits that touched a dated value named an AI tool as co-author. Comparing every dated entry before and after each commit, we find that revising the past is routine. Seventy-two commits changed a period already in effect, new periods were entered a median of 157 days after they took effect, and 29 of 33 fixes repaired entries written earlier the same year. Two commits altered correct entries: one by accident, one by trusting a faulty official table. In a controlled test, an AI coding agent put ten real changes back into PolicyEngine-US from short notices. Across 20 runs it damaged no result or entry for earlier months and made both required corrections to the past. Its three errors concerned fit with the existing code; two were caught only by the maintainers' tests. One formula reads the rules at a fixed date and bypasses the dated record, denying an exemption to adults aged 51 to 54 in months when the law granted it. Wrong answers about the past came from late entries, repeated corrections and code that bypasses the record, not from an agent overwriting history. The study covers one codebase, one program and one year.

[8] arXiv:2612.04727 [pdf, html, other]
Title: Residual-Guided Model Selection for Terminal-Based Coding Agents
Chang Zhou, Zhaoling Chen, Qian Zhang
Comments: Accepted to the Workshop on Agentic Software Engineering (AgenticSE) at AAAI 2027
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

A terminal observation does not by itself indicate whether a command produced the outcome an agent expected. We in- troduce ARFA, which records expectations before command execution and uses a weighted execution residual to select the model for the next reasoning turn. We compare six rout- ing policies for each of two model pairs on 100 InterCode NL2Bash tasks reserved for routing evaluation. Relative to al- ways using the slow model, ARFA reduced mean wall-clock time per attempt by 21.5% with Gemma and 14.4% with Qwen, solving 37 versus 28 tasks and 42 versus 41, respec- tively. The Gemma configuration also solved 37 tasks ver- sus 26 for an expectation-completeness gate. Compared with learned observation-only routing, Gemma solved more tasks but took longer, while Qwen solved one additional task at nearly the same mean time. Further model-pair experiments show that fewer slow-model calls need not reduce mean task time. In a separate development ablation with one cross-family pair, structured handoff used less time and fewer tokens than bounded visible history, with 28 versus 29 tasks solved.

[9] arXiv:2612.04764 [pdf, html, other]
Title: Feasible by Construction, Wrong by Interpretation: A Reference Architecture for Operational Decision Systems with Learned Interpreters
Spurthi Tallam, Hemanth Kumar Kolluru
Comments: 56 pages, 7 figures, 38 tables
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Source resolution can discard a correct interpretation of a supplier notice before it reaches the release gate, allowing a decision to violate a hard constraint. We specify five checkable requirements for a six-layer reference architecture and characterize when its release gate can guarantee compliance. Under the stated assumptions, a gate without further observation guarantees compliance almost surely if and only if every action in its release support is feasible in all states consistent with its observations. For linear constraints with interval-valued inputs, a box-robust gate guarantees compliance when the reported set contains the true state, the encoded constraints are correct, and execution follows the release. We compared two source-resolution rules in a paired post hoc replay on development data. We used stored replies to constructed capacity notices from models shown the output schema. Readings from Qwen2.5 and Llama 3.1 covered true capacity in 64 and 55 of 176 change-notice case-repeats, respectively. When the capacity master took precedence, 15 and 14 of those readings reached the planner. Giving single-source notices precedence reduced violations from 110 to 51 and from 141 to 70 at unchanged release rates, with lower delivered output. For Phi-4, violations changed from 25 to 24. The replay locates the loss of coverage in this implementation. The effect of the precedence rule on fresh notices remains unmeasured. Operational utility and independent semantic validation remain open.

[10] arXiv:2612.04803 [pdf, html, other]
Title: Cancellation Is Not Reclamation: Cleanup Ownership and Resource Accounting in Software-Agent Evaluation
You Liu, Quanchao Lu
Comments: Accepted to the Workshop on Agentic Software Engineering (AgenticSE) at AAAI 2027. 9 pages, 1 figure. Code and data: this https URL
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Distributed, Parallel, and Cluster Computing (cs.DC); Multiagent Systems (cs.MA)

Software-agent evaluation depends on execution environments that preserve task state, release resources after interruption, and expose interpretable costs. We compare 15 execution components and eight measurement cases using an operation-level contract record that connects observed events and resource boundaries to engineering decisions. A controlled OpenSandbox Docker study independently reproduces and extends previously reported cancellation retention. In 18 main trials, all 12 normal-destroy and known-ID controls issued SDK deletion and showed container absence at the first post-return check. All six creates cancelled after backend acceptance but before ID delivery retained containers beyond 30 seconds. Finite-lifetime targets were reclaimed by expiry; manual-lifetime targets were removed administratively after observation. A separate default-lifetime check measured expiry reclamation around 600 seconds. The comparison also shows how faster acquisition can accompany greater reserved capacity, and why rollout speedup differs from full-cycle speedup. A six-field checklist connects these findings to evaluation validity, task success, lifecycle events, and resource accounting for software-agent harnesses.

[11] arXiv:2612.04975 [pdf, html, other]
Title: When Labels Are Scarce: Rethinking GitHub Issue Classification
Yasaman Abedini, Shahab Hosseini Moghaddam, Mohammad Mahdi Akbar, Leila Sadat Alavi Tabatabaie
Subjects: Software Engineering (cs.SE)

Automatically classifying GitHub issues can support issue triage and software project management. However, the effectiveness of issue classifiers can degrade when models are applied across repositories, where issue terminology, and reporting practices may differ. Despite its practical importance, the effect of repository shift and the effectiveness of strategies to mitigate it have received limited attention. In this paper, we conduct a comprehensive three-phase empirical study of GitHub issue classification across four practical repository scenarios. First, we quantify the impact of repository shift on fine-tuned classifiers and examine differences across repositories and issue types. Second, we investigate whether training-data scaling and LLM-based prompting can mitigate the observed performance degradation. Finally, we evaluate heterogeneous ensembles that combine probability-based signals from fine-tuned models with semantic predictions from an LLM, comparing voting and meta-learning strategies. Our results show that repository shift substantially reduces classification performance, with F1 decreasing by 11.8--15.6\% across repository-level comparisons and by up to 25.1\% for the Question class. Neither data scaling nor LLM-based prompting consistently eliminates this degradation. In contrast, heterogeneous ensembles partially mitigate the effect of repository shift, with meta-learning improving F1 by 1.5--5.9\% over the corresponding baseline configurations. Error analysis further shows that the ensemble benefits from complementary model predictions, particularly when multiple base models correctly classify an issue. These findings highlight the potential of heterogeneous ensembles to improve robustness while also showing that repository shift remains a persistent challenge.

[12] arXiv:2612.05016 [pdf, html, other]
Title: Do dive planners keep their own gradient factors? An audit of four open-source decompression codes with Lean-proved endpoint theorems
Hiroki Fukui
Comments: 19 pages, 4 figures, 5 tables. Code, Lean proofs and data: this https URL, archived at this https URL
Subjects: Software Engineering (cs.SE); Logic in Computer Science (cs.LO)

Planners implementing the Bühlmann ZHL-16C model with gradient factors (GF) are rarely tested against their own settings. We asked whether four open-source planners (dive-deco, OSTC4, hwOS, Subsurface) keep the GF line reconstructed from their settings and reported anchor depths, and which code is responsible when they do not. We proved in Lean 4 when endpoint ceiling checks certify a whole constant-rate ascent and built an interval-arithmetic scorer on these theorems. Each planner, built at a pinned commit on a host computer, planned 720 air profiles; observation builds logged internal state and comparison builds made one change each. dive-deco violated 372 of 720 schedules (required GF up to 0.101 above the line; schedules up to 2.30 m shallower than the ceiling); recomputing all compartments removed every violation. Subsurface violated 64 at surfacing through a 1-mbar rounding, removed by an unrounded final check. hwOS's own state left its line in 178 of 719 plans and none after an exact ceiling round-up; its displayed schedules violated in 90, then 57. In OSTC4, four 10-s exposure-table entries are mistyped; with tissues updated every second as in the firmware, 283 of 720 schedules violated on reference coefficients and 2 after correcting them; on OSTC4's own constants 407 and 225 did on rebuilt stop tables, but only 15 of 605 along the ascent the corrected planner adopted. In a US Navy trial pair with equal stop time, the deep-stop schedule had the lower certified GF (0.762 vs 0.943) and more decompression sickness (10/198 vs 3/192). A certified GF measures compliance with a model, not risk.

[13] arXiv:2612.05071 [pdf, html, other]
Title: Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems
Meriem Mastouri, Emna Ksontini, Amine Barrak
Comments: 8 pages. Accepted at the AAAI 2027 Workshop on Agentic Software Engineering (AgenticSE). Replication package: this https URL
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Large language model (LLM) agents are increasingly shaping software frameworks, benchmarks, and deployment platforms. However, the distinction between workflows and agents remains inconsistent, and little is known about how multi-agent systems are actually implemented, described, and deployed. In this paper, we conduct an empirical study of 443 open-source LangGraph systems that ship deployment artifacts. We examine their source-level architectures, compare implemented architectures with repository claims, and investigate how logical agents map to container deployments. Our findings reveal substantial gaps between claims and implementations. We find that 67.3% of systems are fixed workflows or single-agent applications, while 40.7% of systems making architectural claims overstate their agent multiplicity. Two-thirds of fixed-roster multi-agent systems hide agents beyond the outer graph, and only three systems assign an agent role its own container. Moreover, multi-agent systems are substantially more likely to execute model-generated code, often without isolation. These findings help researchers develop more representative benchmarks and datasets, practitioners assess agent architectures beyond advertised claims, and tool and platform developers design analysis and deployment solutions that better reflect real-world agentic systems.

[14] arXiv:2612.05131 [pdf, html, other]
Title: PathConFuzz: Constraint-Guided Fuzzing via Path Analysis for Web Applications
Xiarun Chen, Jiaxing Xu, Chenhui Cui, Chunrong Fang, Wenjun Wu, Weiping Wen, Tao Li, Rubing Huang, Tsong Yueh Chen
Subjects: Software Engineering (cs.SE); Cryptography and Security (cs.CR)

Automated vulnerability detection is essential for web application security. Although fuzzing is widely adopted, complex structural and semantic constraints cause existing fuzzers to generate invalid inputs that fail to reach sensitive operations. Static analysis identifies candidate paths to sensitive operations, yet reports only potential reachability rather than concrete triggering inputs or confirmed exploitability. While large language models (LLMs) can extract implicit constraints, applying them directly to web fuzzing struggles with complex execution paths and reasoning errors. We propose PathConFuzz, a constraint-guided fuzzing framework integrating static analysis with LLM semantic reasoning. A query model produces CodeQL queries to locate candidate paths, and a constraint model recovers structured path constraints that LLM mapping translates into reusable fuzzing configurations. Findings require dynamic execution confirmation. We build a Java dataset of 1802 annotated paths and evaluate PathConFuzz on open-source projects. The default model qwen-7b(FL) achieves 87.59% F1, and PathConFuzz confirms 60.4 of 72 main and 20 of 21 extended benchmark vulnerabilities while discovering 17 unknown vulnerabilities (16 CVEs).

[15] arXiv:2612.05192 [pdf, html, other]
Title: Test-Centric Code Generation: Enhancing Test Diversity, Reliability, and Utilization
Chaohang Wen, Zhao Tian, Shiqi Kuang, Chaofan Tao, Shaowei Wang, Xiaohui Li, Haoli Bai, Lifeng Shang, Junjie Chen
Subjects: Software Engineering (cs.SE)

Large Language Models (LLMs) have made significant progress in code generation, yet the correctness of generated code remains a major challenge, particularly for complex programming tasks. Test-driven code generation offers a promising solution by leveraging automatically generated tests to guide code generation and verification. However, existing approaches often suffer from insufficient test correctness, limited test diversity, and inadequate utilization of test information. To address these limitations, we propose TCG, a test-centric code generation framework comprising three complementary components: Diverse Test Generation, which combines unit tests and property-based tests to improve behavioral coverage; Reliable Test Curation, which employs syntax checking and execution-based cross-validation to identify reliable tests; and Test-Centric Code Generation, which integrates test information into requirement understanding, code verification, and fault repair. We evaluate TCG using three representative LLMs across six function-level and repository-level code generation benchmarks, comparing it with nine representative baselines. Experimental results show that TCG consistently outperforms all applicable baselines across 18 experimental settings, achieving average improvements of 6.63% to 25.59% in Pass@1. These findings demonstrate the effectiveness of leveraging diverse, reliable tests throughout the code generation process.

[16] arXiv:2612.05271 [pdf, html, other]
Title: VeilPRBench: Can Code Review Agents Catch Vulnerabilities in Pull Requests That Resolve Real Issues?
Xinhao Song, Xiaofei Yin, Yuxuan Xiao, Ji He, Lijun Li, Yan Teng, Gongshen Liu, Huijia Zhu, Jie Li
Comments: 54 pages, 16 figures, 41 tables
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Code review is a critical line of defense for software security. As the volume of pull requests (PRs) grows, automated review agents increasingly support review and merge decisions. However, a PR can genuinely resolve its reported issue while introducing logic vulnerabilities. To quantify this risk in automated code review, we introduce VeilPRBench, a benchmark for evaluating whether code review agents block such PRs while accepting benign repairs. The benchmark contains 192 manually constructed attack PRs across 14 open-source projects and 29 historical issue families, together with 135 benign repairs covering 13 projects and 27 families, across Python, C, and JavaScript. Independent functional tests verify the intended repairs, and executable security checks establish the target consequences of the attacks against applicable reference states. Benign repairs pass the prescribed functional and security checks within their validation scope. Our evaluation of 16 deployed review workflows reveals a substantial security gap, attack blocking averages only 25.0%, and the highest blocking rate is 55.2%. VeilPRBench provides an executable testbed for evaluating and improving the security of automated code review.

[17] arXiv:2612.05399 [pdf, html, other]
Title: What Do Code Judges Add Beyond Public Tests and Generator Priors?
Taleb Alhajji, Yonghong He
Comments: 23 pages, 5 figures; protocol supplement as ancillary file
Subjects: Software Engineering (cs.SE); Computation and Language (cs.CL); Machine Learning (cs.LG)

Code generation systems often write several programs for one problem, run them on public examples, and must return one. When several pass, the examples cannot separate them, yet some may fail on untried inputs, so the last choice matters. We ask what a language-model judge adds at this step, beyond the public tests and knowing which model wrote each program. We hold each candidate pool fixed, change only the chooser, and score every choice on hidden tests that no chooser sees. In a prospective study of 1,450 Codeforces and contest-jury problems, DeepSeek judging raises acceptance from about 74% to 78% on the 1,057 problems with a public passer; part of this gain depends on the time limit. The gain is small because most pools leave little choice. Where passing programs include both accepted and rejected ones, DeepSeek picks an accepted program 87-97% of the time when it judges, against 56-67% for uniform choice. In every collection where we ran this comparison, restricting the choice to public passers was not worse than judging the whole pool, and unfiltered choice lost up to 17.45 percentage points. On retrospective mixed-generator pools, preferring the generator with the best public pass rate, with no model calls, recovers 61-75% of the judge gain, and judges keep a paired advantage over this rule of about 3-4 points. These results support filtering before judging, and reading each judge gain next to the pool's remaining room and, on mixed-generator pools, the generator rule.

[18] arXiv:2612.05632 [pdf, html, other]
Title: A Controlled Experiment on the Effects of Formal Specifications in Software Quality
Maximiliano Cristiá, Alfredo Capozucca, Federico Stizza
Subjects: Software Engineering (cs.SE)

We report on the results of an experiment involving software developers concerning the effects of formal specifications in software quality. The formal methods (FM) community has advocated for years that the inclusion of formal specifications in the software development process produces better software without incurring in significant delays---particularly when it comes to critical software. There exists a large number of industrial projects and case studies where FM deliver high quality software. Nevertheless, there is only a handful of reports on controlled experiments where the inclusion of FM is tested against the lack of them. Hence, we have conducted a controlled experiment involving 28 software developers divided into two groups who were required to implement the same program. The experimental group is given a formal specification whereas the Control group receives informal requirements. The statistical outcome of the experiment is null: the average quality of the programs delivered by both groups is statistically indistinguishable. However, when other development activities (e.g. testing) are considered the inclusion of FM would definitely yield better software.

[19] arXiv:2612.05686 [pdf, html, other]
Title: Uncovering Device-Effect Authorization Inconsistencies in MCP-Based IoT Systems
Boyang Ma, Jinku Li, Ming Li, Jiasi Weng, Yue Zhang
Subjects: Software Engineering (cs.SE); Cryptography and Security (cs.CR)

The Model Context Protocol (MCP) enables large language model (LLM) agents to interact with Internet of Things (IoT) devices through standardized tools. However, authorizing tool invocations does not necessarily authorize their resulting device effects. Discrepancies in execution paths, operation semantics, and authorization states may produce unauthorized effects, a problem we term device-effect authorization inconsistency. We present MICE, an automated detection framework that recovers tool-to-device execution paths, constructs policy-driven stateful test scenarios, and independently validates observed device effects against authorization policies. Evaluated on 98 benchmark specimens spanning eight authorization issue families, MICE detects all 48 constructed defects without false positives. We further investigate 1,616 candidate GitHub repositories, successfully process 1,524, identify 349 potentially vulnerable repositories, and conduct case studies of real-world BLE and MQTT implementations. Our MQTT experiments reveal that device data may remain accessible beyond requested collection windows and retained commands may reach subsequently connected devices.

[20] arXiv:2612.05832 [pdf, html, other]
Title: The State of RL4SE: A Task-Oriented Review of Research on Reinforcement Learning for Software Engineering
Yujia Fan, Zhengdong Huang, Jieming Zheng, Xiangyu Yan, Sinan Wang, Jie Zhang, Yepang Liu
Comments: The paper has just been accepted by the ACM Transactions on Software Engineering and Methodology
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Reinforcement Learning (RL) has emerged as a promising paradigm for addressing complex decision-making challenges in software engineering (SE). As RL is increasingly applied to SE tasks, existing RL4SE studies exhibit substantial diversity in problem formulations, algorithm usage, and MDP modeling. In response, this systematic literature review surveys and synthesizes 146 studies published between 2006 and June 2025 on RL for SE, providing a task-oriented perspective on how RL techniques have been applied across SE domains. We categorize existing work according to core SE tasks and analyze their distribution across the software lifecycle, revealing a strong concentration on quality assurance tasks, particularly GUI exploration and testing, test generation, test case prioritization, and robustness testing. We further examine how SE problems are formulated as RL tasks, focusing on state, action, and reward design as well as the adoption of RL algorithms. In addition, we identify persistent challenges shared across SE subtasks, such as balancing state-action granularity with combinatorial growth and designing effective rewards, while also highlighting emerging research opportunities. By organizing existing studies in a task-oriented manner, this survey aims to guide researchers in better aligning RL techniques with practical SE needs and making informed design choices for specific SE tasks.

[21] arXiv:2612.05991 [pdf, html, other]
Title: Testing a Safety-Critical Matching Component of an LLM-Based Simulated Patient: Blind Test Sets, Overfitted Cut-offs and a Cascade
Faaz Khan Mohammad, Sanket Salvi
Subjects: Software Engineering (cs.SE); Computation and Language (cs.CL); Human-Computer Interaction (cs.HC)

Components that decide what an LLM application may say are ordinary software and need tests, but their correct behaviour is defined by meaning, so no specification lists their inputs. We report a case study of testing one such component: the matcher in Rapport, a spoken simulated psychiatric patient, which decides which of the patient's memories a student's question is about. If it misses a question about suicidal thoughts, plans or means, the code can let the patient deny something it should disclose. Of the 8 bugs logged during the simulator's evaluation, 4 were matching faults, including all 3 rated major; each was fixed by adding keywords and a regression test for one wording. We built the test oracle from the specification instead of the code: a blind test set of 512 doctor questions over four cases written from what each memory means by a writer that never saw the matching rules, split by checksum into tuning and test halves. On the test half, keyword tags found 35.1% of risk questions; the deployed hybrid of tags and a sentence encoder with 33 million parameters found 72.7% while wrongly matching 15.2% of non-risk questions. Five small encoders and BM25 gave overlapping threshold-free results (AUROC 0.86-0.91 for risk), so the encoder choice was not the bottleneck; the cut-off was. The 4-billion-parameter model that voices the patient, used zero-shot, found 94.8% of risk questions with 4.8% wrong matches, at a median of 416 ms per question; screening with the hybrid first kept 93.5% recall while sending 63% of questions to the model. On two further test sets written by other local models, the deployed rules found 58.9% and 47.5% of risk questions and the zero-shot model 87.7% and 91.5%: the first writer's test set flattered the component. The test sets, every method's output and a machine-checked trace of every reported number to the committed results are public.

[22] arXiv:2612.05996 [pdf, other]
Title: SAFE-IR: Evidence-Constrained Authorization for Agentic Incident Recovery
Deepak Kumar Jain
Comments: Open-source implementation, experimental evidence, and reproducibility artifacts are available at this https URL. Preprint: this https URL
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Language-model agents can propose operational fixes, but a plausible proposal is not authorization to change a production service. This article describes SAFE-IR, an open source Java and Spring Boot prototype that separates remediation proposals from a deterministic gate, Evidence-Constrained Remediation Authorization (ECRA). A rule-based or locally hosted Ollama proposer suggests an action; ECRA allows it, denies it, or holds it for human approval based on telemetry completeness, corroborating symptoms, and action risk. Across six fixed synthetic incidents, the gate removed both unsafe executions seen without it, but synthetic recoveries fell from five to two because approvals were never granted and denied proposals were never revised. In that synthetic evaluation, recovery is assigned by an oracle, not observed on running workloads, so these outcomes illustrate the tradeoff and do not measure efficacy. A preliminary live fault-injection evaluation then used a locally hosted model, replayed proposals, and external HTTP health probes on containerized services: both the ungated and the ECRA-gated configuration restored service in three of five scenarios, and ECRA additionally denied uncorroborated restart proposals in the two latency scenarios. The article reports the design, the tradeoff, the confounders found, the preliminary live results and their limits, and a protocol for a fuller evaluation.

[23] arXiv:2612.06013 [pdf, html, other]
Title: Who Checks the Model Checkers: Hardened Testing of TLA+ Tools
Igor Konnov
Subjects: Software Engineering (cs.SE); Logic in Computer Science (cs.LO)

In 2026, frontier AI tools have adopted the TLA+ trifecta (TLC, Apalache, and TLAPS) for protocol verification, alongside Lean 4. As LLMs rely on the verdicts of model checkers and proof assistants to guide specification and verification, these formal verification tools must themselves be as free of bugs as possible. Until recently, soundness and completeness issues in these tools were mostly found by human experts. A bug in a verification tool has two consequences: (1) a false negative may misguide AI-driven proof search, and, more importantly, (2) a false positive may give designers false confidence in a protocol, which an attacker's AI tool can exploit.
We present FuzzTLA -- a framework for systematic, hardened testing of the two TLA+ model checkers, TLC and Apalache. Following differential testing, we run both checkers on generated inputs and cross-check their results; for features unsupported by Apalache, we compare single-worker TLC against multi-worker TLC. Test generation combines property-based, mutation, and metamorphic testing with random graph generation. Running the framework in August-December 2026, while building it, we found 110 issues, including 4 parsing bugs in SANY (one regression), 4 defects causing incorrect verdicts in TLC (one a race condition), 17 in Apalache, 21 issues in Manyan (one causing incorrect verdicts), 2 issues in the Java overrides of the TLA+ Community Modules, and 9 performance issues.
This work would not have been feasible for a single researcher in several months without frontier AI tools. We report how we used Anthropic Claude Code, OpenAI Codex, and Moonshot Kimi to develop the framework and triage the findings.

[24] arXiv:2612.06042 [pdf, html, other]
Title: Not Affected, Says Who? An Empirical Study of the Transparency and Verifiability of Vulnerability Exploitability eXchange (VEX) Claims
Naveen Babu Narayanan Nair
Comments: 30 pages, 2 figures, 8 tables. Submitted to the Journal of Systems and Software. Code and data: this https URL
Subjects: Software Engineering (cs.SE); Cryptography and Security (cs.CR)

Context: Software suppliers publish Vulnerability Exploitability eXchange (VEX) documents: machine-readable software artifacts that tell downstream tools a product is not affected by a known vulnerability. Scanners and pipelines act on them automatically, so their quality decides which vulnerabilities engineers see. Objective: We assess VEX artifacts as engineering outputs: are their claims explained, consistent across suppliers, verifiable, and stable over time? Method: Using a tested open-source mining pipeline, we analyzed the complete VEX repositories of Red Hat, SUSE and Ubuntu, covering 94,681 vulnerabilities (CVEs) and over 108 million "not affected" statements, and compared suppliers on 69,938 shared CVEs. Results: Red Hat uses one justification label for 99.6% of its claims, and an estimated 23% of its "not affected" CVEs state a specific reason; SUSE gives none, and Ubuntu gives no per-CVE note for 67% of its CVEs. Suppliers disagree in 9.2-28.9% of comparable cases, mostly "not affected" against "fixed", usually without explanation. Checkable claims mostly hold (Ubuntu's archive contradicts 0.48% of its "does not exist" claims), but 99.4% of Red Hat's "component not present" claims name a package it ships elsewhere on the same RHEL version, so consumers cannot check what the label refers to. Red Hat withdrew 281,259 VEX files by deleting them, and most timestamps reflect bulk regeneration rather than reassessment. Conclusion: VEX artifacts are machine-readable but mostly unexplained and hard to check, which weakens the automated toolchains that consume them. We derive evidence requirements for producers, tool builders and regulators, and release our pipeline, tests and data.

[25] arXiv:2612.06202 [pdf, html, other]
Title: Compose: Orchestrating Coding Agents for Large-Scale Multi-Repository Code Migrations
Pantazis Deligiannis, Rahee Ghosh Peshawaria, Gabriela Martinez Sanchez, Galen Hunt
Subjects: Software Engineering (cs.SE)

Code migrations recur as platforms, dependencies, and architectural requirements change, and they are costly in legacy code. When each owning team migrates its own code, teams repeat the same reasoning, implementation, and validation, and the migration is complete only when every team finds time for it among its other work. Coding agents can adapt edits to each codebase, but the user directing a migration must still coordinate their work and review the resulting changes across repositories. We present Compose, an agentic system for centralized coordination of code migrations. A contract derived from the user's instructions records the migration goal and constraints, while coding agents make context-specific edits in each repository. Compose captures each repository's changes and validation evidence, groups recurring edits and clusters related groups for review across repositories, and carries review feedback into later, user-authorized iterations. We evaluated Compose on ten historical open-source migrations and a parser SDK migration across 350 repositories at Microsoft. Six open-source migrations met all core requirements in the first iteration, and review feedback led to completion of the other four. In the SDK migration, 285 repositories passed build and corpus regression checks in the first iteration; two more iterations completed it. The 4,036 edit occurrences formed 11 edit groups.

[26] arXiv:2612.06203 [pdf, html, other]
Title: Cost-Effective Maintenance of Requirements-Test Alignment via Quantized LLMs
Erik Lindstrand, Michal Spano, Mariia Zabolotnia, Francisco Gomes de Oliveira Neto
Comments: Published at the 2026 IEEE International Conference on Software Maintenance and Evolution (ICSME)
Subjects: Software Engineering (cs.SE)

Large Language Models (LLMs) have recently shown promise for automating requirements-test (RT) trace generation, a task that supports software maintenance and evolution by maintaining alignment between requirements and testing artifacts. However, the computational cost of deploying full-precision LLMs can limit their practical use in development environments. In this paper, we investigate whether quantized LLMs, which use lower-precision weights to reduce memory and computational requirements and enable deployment on consumer-grade desktop hardware, can provide a more efficient alternative while preserving trace generation efficacy. Using the open-weight Mistral-7B model, we compare three quantization techniques (AWQ, GPTQ, and AQLM) against the full-precision model using sampled subsets from four RT datasets containing 433 requirements and 408 test cases obtained from industrial and public artifacts. Our results show that GPTQ and AWQ maintain efficacy comparable to the full-precision model while reducing GPU memory usage by more than half, making LLM-assisted traceability more feasible in practice. However, inference time does not necessarily decrease and artifact size and quality remain a key factor affecting scalability. Overall, our findings suggest that quantized LLMs provide a promising approach for supporting RT traceability in software maintenance workflows while significantly lowering hardware requirements.

Cross submissions (showing 27 of 27 entries)

[27] arXiv:2612.04395 (cross-list from cs.CV) [pdf, other]
Title: A Five-Era Taxonomy and Benchmark Framework for Lane Detection: From Classical Heuristics to Vision Foundation Models in Autonomous Driving
Nitin Vishnoi
Journal-ref: International Journal of Artificial Intelligence and Applications (IJAIA), Vol. 17, No. 2, pp. 95-108 (2026)
Subjects: Computer Vision and Pattern Recognition (cs.CV); Software Engineering (cs.SE)

This survey paper traces the technological history of lane detection systems over the last quarter century, discussing paradigm shifts from classical computer vision methods to modern foundation models. The evolution is divided into five eras: Classical Vision-based (2000-2010), Feature + Geometry (2006-2014), CNN Segmentation (2015-2019), Anchor/Curve-based and Transformer Methods (2020-2022), and the Foundation Model generation (2023-present). Each phase is discussed based on methodological developments, pivotal contributions, performance attributes, and shortcomings. The survey synthesizes the original literature, showing how machine learning, deep learning, and scale-based pre-training have tackled robustness, generalization and real-time issues. We identify research gaps in edge cases, system integration, and suggest future directions towards cohesive perception models achieving optimal accuracy, efficiency, and interpretability.

[28] arXiv:2612.04403 (cross-list from cs.LG) [pdf, html, other]
Title: Harness or Fine-Tuning? Execution-Verified Agents for Qiskit-to-CUDA-Q Porting
Ana Paula Appel
Comments: 15 pages, 1 figure, 7 tables. Code: this https URL. Follow-up to arXiv:2611.29793
Subjects: Machine Learning (cs.LG); Software Engineering (cs.SE); Quantum Physics (quant-ph)

A previous study found that fine-tuning a small open model for Qiskit-to-CUDA-Q translation ties a 4-shot prompt and that no model translated any of 27 real QED-C kernels. We ask whether an agent harness -- a loop in which the model runs code and checks its result -- is an alternative to fine-tuning, which parts matter, what each option costs, and when to use both. With the same execution-based verifier (correct only if the kernel matches the Qiskit reference state), a 3B-active mixture-of-experts model (Nemotron Cascade 2 30B-A3B) reaches 97% [89-99] on 60 tasks and 93.8% on all 640 with the full harness, against 0% in a single attempt. API knowledge and verification in the loop are what matter; a weak run-only verifier keeps most of the gain. Models without tool-use post-training do not gain from the loop (dense 4B/7B; Llama 4 Scout, 17B active). A fine-tuned 7B code model matches the harness on the sample at a fifth of the compute, but drops on unseen style (80% vs. 90.5%) and real QED-C kernels (where the harness reaches 63-100%). A verifier-gated cascade -- fine-tuned 7B first, harness only on rejection -- reaches 98.9% on all 640 tasks, 5 points above either system alone, at a third of the harness compute. Translating every prompt from Portuguese to English changed no result significantly on 60 tasks. The choice depends on whether the base model can use the loop and on how far inputs drift from training.

[29] arXiv:2612.04441 (cross-list from cs.AI) [pdf, html, other]
Title: SKILLTIDE: Managing the Tencent Machine Learning Platform Agent with Evolving Skills
Xiaokai Zhou, Qihang He, Keyao Ding, Zhongtao He, Yiwu Ren, Xirui Li, Yang Li, Peng Chen, James Cheng, Xiao Yan, Jiawei Jiang
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

At Tencent, a large language model (LLM) agent automates training, evaluation, and deployment workflows on an enterprise machine learning (ML) platform. Its skills encode reusable task procedures, which must continually adapt to evolving tools, resources, and user requirements in production. Existing skill optimization methods assume clean task cases, directly actionable feedback, and a fixed evaluation set, none of which production provides. In this paper, we present SkillTide, which manages this platform agent by evolving its skills from production feedback. To address fragmented and unlabeled feedback, we use evidence-based case construction, which recovers task boundaries from multi-turn sessions and judges task completion from the execution records that confirm the requested outcome. To address unscoped skill edits, we use governed skill evolution, which standardizes skill structure, attributes each discrepancy to its cause, and applies localized corrections to skill specifications and code. To address evaluation sets that decay and cannot be replayed, we use continual evaluation, which replays read-only tasks against refreshed resources, simulates state-changing tasks from execution history, and checks regressions against historical behavior. Post-release executions then supply cases for the next round, forming a data flywheel. In a six-month deployment serving 1,277 monthly active users across 30 teams, tasks with skill-related deficiencies fall from 15.29% to 3.05% over the latest three months. Over the same period, the share of tasks handled without any deficiency rises from 68.75% to 89.19% within six weeks and stays above 87%. In a one-week comparison involving ten engineers, SkillTide reduces mean repair effort by 89.8%, with production-confirmed repair rates above 97%.

[30] arXiv:2612.04539 (cross-list from cs.DB) [pdf, html, other]
Title: ReGenSQL: A Hybrid Query Rewrite Framework with Genetic Improvement and Large Language Models
Hassan Kandil, Carol Hanna, Justyna Petke
Subjects: Databases (cs.DB); Software Engineering (cs.SE)

Optimising SQL query execution remains a core challenge in relational database systems, as semantically equivalent queries can differ in runtime by several orders of magnitude. Traditional optimisers often misestimate costs and fail to explore the full transformation space, while recent Large Language Model (LLM)-based approaches generate promising rewrites but typically settle on a single candidate without systematic search. This work presents ReGenSQL, a hybrid framework that integrates Genetic Improvement (GI) with retrieval-augmented LLM guidance to explore query rewrites more effectively. ReGenSQL leverages Apache Calcite's verified transformation rules to ensure semantic correctness, uses R-Bot to seed diverse LLM-informed candidates, and applies evolutionary search to refine rewrites under fitness functions based on either estimated or actual execution cost. Evaluation on the TPC-H benchmark demonstrates that ReGenSQL achieves a clear trade-off between efficiency and effectiveness. In effectiveness-focused settings, the LLM+GI variant with execution latency fitness reduces execution time by 50.5% on average, with 39.7% median and 91.0% 75th-percentile latency, surpassing state-of-the-art systems in both query coverage and number of improvements. In efficiency-focused settings, the GI-only configuration attains a mean rewrite latency of just 5s, nearly 36x faster than the baseline, while still delivering competitive performance gains without the computational and monetary overhead of LLMs. Evaluations on DSB and JOB further demonstrate transfer beyond TPC-H, with ReGenSQL improving up to 50.0% and 23.0% of queries, respectively, versus 13.16% and 3.54% for the baseline. Overall, our findings demonstrate that GI alone is a strong optimisation strategy and that LLM guidance provides situational benefits, making ReGenSQL a robust and adaptable approach to SQL query rewriting.

[31] arXiv:2612.04571 (cross-list from cs.AI) [pdf, html, other]
Title: TURF: Outcome-Grounded Uncertainty Quantification for Tool-Interacting LLM Agents
Tianhao Wang, Yuzhe Ou, Feng Chen
Comments: 99 pages, 51 figures, including appendices. Tianhao Wang and Yuzhe Ou contributed equally and share first authorship
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

An LLM agent can report success even when a database update, shell command, or online purchase falls short of the user's request. We introduce TURF (Trajectory Uncertainty via Risk Fusion), a training-free method for ranking the failure risk of aggregated task results. TURF combines two complementary signals from repeated tool-use rollouts of the same task: dispersion across observable execution outcomes and semantic disagreement among final responses or execution summaries. To accommodate different compute budgets, TURF supports two sampling policies: TURF-Fixed scores a prescribed number of executions, whereas TURF-Adaptive uses a Bayesian stopping rule to halt early when subsequent executions consistently agree with the first. We evaluate TURF on 6,854 matched task-setting records across four tool-use environments, three LLM backbones, and three seeds. Averaged over the six rollout budgets shared by all 15 baselines (2, 3, 4, 6, 8, and 12 rollouts), TURF-Fixed exceeds SGD by 5.14 percentage points in AUROC and 2.94 percentage points in AUPR. SGD has the highest mean AUROC and AUPR among the baselines over these budgets. In replay at a cap of 16 trajectories, TURF-Adaptive inspects 24.00 percent fewer rollouts than TURF-Fixed at the same cap; its AUROC and AUPR point estimates are lower by 0.56 and 0.28 percentage points, respectively. Together, these results highlight the complementary value of observable execution outcomes and semantic disagreement for uncertainty quantification in tool-interacting LLM agents.

[32] arXiv:2612.04590 (cross-list from cs.AI) [pdf, html, other]
Title: Which Read Supplied That Reply? Auditing Shared and Cached MCP Work
Jie Pan, Weicheng Wang
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

An assistant asks a tool for a report. The reply is correct, but it does not say whether the tool read the file, joined another request already reading it, or reused an older result. Those are different answers to an audit question. We separate the request that started the work, the call that performed it, and the requests that received the result. We measure what published MCP applications and tracing tools record about these roles, checking their answers against independent records of tool calls, file opens, cache writes, and deliveries. Native tracing recovered delegation when the required spans were retained. A stock cache flag distinguished later hits but grouped a caller that shared pending work with the caller that started it. In ten FastMCP runs, application-provided producer references survived the native cache path; complete write history also identified the tested fills. Existing provenance and workflow systems provided additional positive controls. These results identify which records can answer which audit questions, without treating missing information as a failed or unauthorized operation.

[33] arXiv:2612.04651 (cross-list from cs.DB) [pdf, html, other]
Title: Isolation-Aware Migration from Legacy Relational Databases to Distributed SQL: Measuring and Containing Transaction Retry Risk in AI-Assisted Modernization
Sharath Chandra Kampili
Comments: Accepted for publication in the 2026 Germany India Conference on Innovation, Technology and Engineering (GICITE). 9 pages, 3 figures, 9 tables
Subjects: Databases (cs.DB); Distributed, Parallel, and Cluster Computing (cs.DC); Software Engineering (cs.SE)

Large language models (LLMs) are increasingly used to translate schemas and procedural code when enterprises migrate from single-node relational databases to distributed SQL systems. Translation, however, addresses only syntax. When the target uses optimistic, serializable concurrency control, applications written for lock-based read-committed isolation encounter serialization aborts that the original code never handled, and these failures surface under production contention rather than in functional testing. We treat this behavioral gap as a first-class migration concern. We propose eight architecture patterns that wrap probabilistic LLM translation in deterministic verification, and we integrate them into a reference architecture whose cutover is governed by service level objectives. We then evaluate the behavioral core empirically. On a single-hot-row read-modify-write microbenchmark at 32 concurrent clients, two serializable configurations abort 79-86% of transaction attempts. A read-committed configuration aborts none, but for this code it permits lost updates. Welch tests show that the gap between serializable and read-committed isolation is significant from four clients upward. The two serializable engines differ by a smaller, though significant, 6-9 percentage points. Aborts vanish when clients stop sharing rows. A bounded retry envelope converts almost all aborts into commits, at a 5.5-fold throughput cost relative to read committed. On a mixed workload, unmodified code exposes application-visible failures in 11-28% of transactions. Wrapping scanner-flagged transactions in the envelope removes 99.3% of these failures, with a throughput cost that is significant only at 32 clients. A heuristic isolation risk scanner classifies all 21 objects of a small author-built corpus correctly; the 95% confidence interval for its recall is 0.74-1.00.

[34] arXiv:2612.04670 (cross-list from cs.DB) [pdf, html, other]
Title: VeriMig: A Verification-Gated LLM Framework for Sybase ASE to SQL Server Migration
Prasad Manda, Sharath Chandra Kampili, Pramod Begur Nagaraj
Comments: Accepted for publication in the 2026 International Conference on Artificial Intelligence Centric Systems, Services, and Applications (AISSA). 8 pages, 4 figures, 6 tables
Subjects: Databases (cs.DB); Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

Large language models (LLMs) can translate SAP Adaptive Server Enterprise (ASE) Transact-SQL to Microsoft SQL Server, but a translation that compiles may still behave differently. We present VeriMig, a framework that checks each translation with four gates: deployment, a lint for remaining ASE constructs, differential execution against a reviewed reference translation, and data reconciliation. Only the first two gates give feedback to the model's repair loop, so the references never shape the translations they score. We contribute a taxonomy of 15 categories of dialect differences, a corpus of 46 development cases and 6 held-out procedures, and an evaluation of 5 locally hosted code models. Without an ASE server, expected behaviour comes from reference translations; 14 rely on documented, not executed, ASE semantics. For the strongest local model, agreement with the references rises from 53.0% with a plain prompt to 81.1% with a checklist of known dialect differences and 87.9% with the repair loop. The checklist improves all five local models; the further gain from repair is not significant. Of the plain-prompt translations, 40.2% compile and pass the lint yet disagree with the reference, and on the held-out procedures agreement is 33.3% with the plain prompt and 66.7% with the repair loop. A hosted reference model reaches 97.0% with the plain prompt and 100.0% with the checklist, so these failures are mainly a property of smaller local models. A fault-injection study shows that only a per-row hash over an unambiguous row encoding detects every tested data fault. All artifacts are released.

[35] arXiv:2612.04688 (cross-list from cs.AI) [pdf, html, other]
Title: Paper2Frame: Framework-Conditioned Paper-to-Code Generation with Coding Agents
Sungmin Kang, Seok-Ju Hahn, Zhengzhong Tu, Kibaek Kim
Comments: 28 pages
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

LLM agents can turn the algorithm from a research paper into working code. Existing paper-to-code systems generate a separate standalone repository for each algorithm, while researchers collect and run algorithms inside a shared framework for consistent evaluation and maintenance. Implementing a paper inside such a framework requires reusing the base components that the framework shares across algorithms and placing each algorithm-specific behavior at the extension point where it belongs, without changing the core code of the framework. We propose Paper2Frame, which implements an algorithm on top of a framework by determining where each element of the algorithm belongs before writing code, using a map of extension points and reusable components that it builds from the framework source. To evaluate such implementations, we propose FrameJudge, which writes grading criteria from the paper and the framework separately and grades run success, algorithm accuracy, and framework faithfulness as three separate measures. We implement and evaluate 12 papers on three frameworks in federated learning (FL), whose algorithms have a complex structure that spans clients, a server, and communication rounds. Using three models, 94--100% of Paper2Frame implementations run successfully, with algorithm scores of 0.92--0.99 and framework scores of 0.83--0.89. We compare the implementations of Paper2Frame with the official code of seven papers under the same setting, and they reach a final accuracy within 3.1% of the reference code, which indicates that Paper2Frame implements the algorithms of the papers accurately.

[36] arXiv:2612.04701 (cross-list from cs.DB) [pdf, html, other]
Title: dfArena: An Empirical Study of Coding Agent Behavior in DataFrame Programming
Weizheng Lu, Zhaoyang Ma, Yanjie Gao, Wei Lu, Yueguo Chen
Comments: 24 pages, including references and appendices. Code and evaluation artifacts: this https URL
Subjects: Databases (cs.DB); Software Engineering (cs.SE)

As enterprises increasingly adopt AI agents for data analytics, coding agents are emerging as a natural-language interface for building DataFrame-based analysis and preparation workflows. In practice, users may start with unclear requests, refine them through multiple rounds of interaction, and target backends beyond widely used pandas, such as PySpark. In this setting, it remains unclear how reliably agents interpret users' requirements and generate correct DataFrame programs across backends. We present dfArena, an evaluation framework for agentic DataFrame programming. It comprises 472 curated workloads from DataAgentBench, PrepBench, and PandasBench, covering natural-language-driven DataFrame generation and pandas workflow migration. We evaluate configurations based on five models and three agent harnesses on pandas, Polars, Ibis, and PySpark, examining correctness, human-agent interaction behavior, failure mechanisms, and API cost. Our findings reveal three patterns. First, as model capability improves, the main bottleneck shifts from code implementation toward requirement interpretation; with users' clarified requirements, DataFrame backends' differences pose little obstacle to the strongest model. Second, user clarification can help agents resolve unclear requirements, but imprecise replies can be harmful, particularly for strong models. A reusable clarification skill improves the weaker evaluated model's accuracy but provides no gain for the strongest model, suggesting that it may already possess some of the clarification capabilities described by the skill. Third, when the budget allows, stronger models can offer better value on harder workloads. These findings inform when to rely on coding agents, how to communicate analytical requirements, and how to select models and harnesses.

[37] arXiv:2612.04826 (cross-list from cs.CR) [pdf, html, other]
Title: OverReach: Permitted MCP Tool Calls That Reach Beyond the Grant
Nguyen Tran Thanh Lam
Comments: 24 pages. Code: this https URL (v0.8.0); data: this https URL
Subjects: Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

AI agents reach issue trackers and other multi-user systems through Model Context Protocol (MCP) servers, and operators restrict them with gateways that check each tool call, by its name and arguments, against a least-privilege policy. The backend, however, resolves related objects: a permitted read of one issue can return the issue that blocks it, and a permitted comment can append a cross-reference to another issue. We call such a permitted call an over-reach. We present OverReach, a method for measuring what a permitted call returns or changes: policy authors do not see the test cases, benign and violating calls are compared at the policy decision point, and a database oracle decides the outcome. Behind ToolHive and agentgateway, blind policies permitted over-reach on four backends: two issue trackers, a wiki and a calendar. On Gitea, reads delivered another user's private issue in 10 of 10 repetitions per gateway, and the benign and the violating call were identical on every attribute the policies read. Our response filter missed locators in generated text, which agentgateway's native guardrails, with our rules, caught; neither response-side control stopped the writes. The user's own unscoped credential removed cross-user cases but not those reaching the user's other objects. A GitLab project token stopped every measured cross-project disclosure and write, leaving only a count, but its unit is the project. A filter that deleted foreign records made two LLM agents deny existing dependencies; behind a placeholder, this was not observed.

[38] arXiv:2612.04862 (cross-list from cs.OS) [pdf, html, other]
Title: Quietus: Detecting False Finality in DMA Buffer Reclamation
Samarth Narang, Brandon Reagen
Subjects: Operating Systems (cs.OS); Software Engineering (cs.SE)

Direct memory access (DMA) lets devices read and write memory independently of the CPU, so a driver can safely hand a buffer to a new owner only after every operation that can access that memory has finished. In practice, however, drivers often release or reuse buffers right after requesting a stop or observing a single completion event, which lets queued descriptors, asynchronous completion callbacks, or deferred bounce-buffer copybacks outlive that handoff and overwrite memory that now belongs to the new owner. We call this failure false finality, and catching it requires tracking operations across execution contexts while accounting for the actual retirement guarantees of the underlying DMA provider.
We present QUIETUS, a framework that detects unsafe DMA buffer reclamation by checking authority-set finality, the requirement that no hardware or software operation from a buffer's previous use can still access it once a new owner takes over. We formalize this property in Lean and build a verified checker that analyzes reconstructed driver lifecycles using each DMA provider's retirement guarantees. The checker shows how each reported violation occurs within the model and establishes safe retirement only when every modeled path is safe. We applied QUIETUS to Linux and Zephyr and uncovered 32 machine-checked DMA lifecycle violations across 29 drivers, and reproduced representative violations on physical hardware and in kernel emulation, demonstrating writes into a new owner's memory on embedded hardware and use-after-free writes in Linux.

[39] arXiv:2612.04936 (cross-list from cs.AI) [pdf, html, other]
Title: Copanion: Towards a Trustworthy Autonomous Research Agent
Xiaohe Bo, Ruifeng Hu, Jianxun Lian, Haotian Li, Ji Zhu, Hao Liao, Xu Chen
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

Autonomous research is attracting growing interest, with promising progress toward accelerating scientific discovery and AI research and development. However, current systems can stagnate in local exploration and produce hallucinated or insufficiently validated findings. Their expanding research trajectories also make it difficult for researchers to assess progress, scrutinize evidence, and intervene effectively. To address these challenges, we propose three core principles for Trustworthy Auto-Research: Self-Improvement, Auditability, and Human Agency. Guided by these principles, we introduce Copanion, an AI research agent that combines autonomous exploration with effective, intermittent human participation. Copanion integrates experience-driven method evolution, structured evidence contracts, and interactive Generative-UI Reports, alongside proactive and reactive human steering and budget-aware execution. Across open-ended scientific research, ML engineering, and LLM post-training tasks, Copanion improves paper-review scores by 7.0% over the strongest baseline, develops recommender models surpassing human-designed SOTA and Codex-developed methods, and achieves 25% higher reasoning accuracy than Codex on post-training. Evidence audits show greater artifact completeness with 51.7% fewer file reads per claim than the best baseline, while case studies demonstrate how human steering corrects goal drift and renews stalled exploration. Copanion provides a practical foundation for trustworthy autonomous research, uniting sustained scientific progress with auditable evidence and human agency.

[40] arXiv:2612.04946 (cross-list from cs.AI) [pdf, html, other]
Title: Predict the Product, Not the Observation: Product-Level World Models for Coding Agents
Qingyao Li, Xinyi Dai, Di Yin, Xing Sun, Weiwen Liu, Weinan Zhang, Yong Yu
Comments: 16 pages, 9 figures, 4 tables. Code: this https URL. Dataset: this https URL
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

World models predict how an environment changes in response to actions, helping LLM agents plan and learn. Existing agent world models mostly predict the next observation. For coding agents, however, observations often fail to reflect meaningful changes in program behavior: an edit returns the same confirmation whether or not it fixes a bug, and local tests can disagree with official outcomes. We argue that world models for coding agents should forecast the state of the product these agents build: whether the code passes official tests and how the rendered program behaves. We propose PreVision, a training approach that internalizes product-level world modeling to guide action selection. By writing verified product forecasts into the agent's reasoning at key decision points during training, PreVision teaches the agent to anticipate outcomes and act on its own predictions. On ProWM-Bench, which evaluates agent and world-model ability on the same real repository tasks, PreVision improves trial-level task success over agent-only training by 10.4 percentage points on SWE-MM and 7.7 points on SWE-rebench V2 + ScaleSWE, while also improving product-level prediction. These results show that learning to forecast product outcomes within the agent's reasoning translates world-model capability into better task completion.

[41] arXiv:2612.04951 (cross-list from cs.AI) [pdf, html, other]
Title: The Economics of LLM-Driven Program Search: What Model, Method, and Budget Achieve
Tuyen (Harry)Tran, Raffay Hamid
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Software Engineering (cs.SE)

LLM-driven program search has produced strong scientific and engineering results. Its outcome depends on three inputs, the model that proposes changes, the search method that selects parents, and the compute budget. Earlier works mostly vary one input at a time and use different computational cost units, tasks and scoring, so they cannot show how to divide a budget among them. We present, to our knowledge, the most thorough controlled evaluation of all three, spanning 20 tasks in six domains, seven search methods (three open evolutionary systems, four simple controls) and nine models from three families, all scored in one shared environment. Half the tasks, including popular ones, are too saturated to rank methods. On the rest, three findings emerge. First, the computational cost unit decides which method leads. Per attempt, an evolutionary system ranks first for Codex and Qwen, but these systems use up to 4.3 times the median net tokens. At equal computational cost, no evolutionary system is clearly better than Greedy and Parallel Greedy Search, two controls that build on the best program. Second, a stronger model achieves more than a better search method for Claude and Qwen, and about as much for Codex. Third, a larger compute budget gives diminishing returns. With Sonnet on three tasks, going from 1,000 to 3,000 attempts tripled the computational cost with no clear improvement. We propose Strong-First Parallel Greedy Search (SFPG), which hands each chain from a strong model to a computationally cheaper one. On held-out tasks it matches the quality of Parallel Greedy Search and the open systems at 0.16-0.70 times their computational cost in token rate units. Our evaluation protocol and its results give practitioners an order of priority (model first, a simple greedy loop second, compute budget last) and the research community a more principled basis for comparing new approaches.

[42] arXiv:2612.05155 (cross-list from cs.AI) [pdf, html, other]
Title: Garbage In, Verified Out When the Verifier Is Wrong
Kervin Joshua Lucas, Inhi Kim
Comments: 13 pages, 3 figures, 6 tables
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

A growing family of AI systems lets a large language model propose an answer and accepts it only after an external checker, called a verifier, approves it. The design assumes that the verifier is right. This retrospective case study examines a pipeline for repairing household travel-survey records in which the verifier was wrong, because a data-loading defect made it compute travel speeds from a column that did not hold trip distance. Its speed alerts therefore asserted violations that the data could not support, which we call phantom constraints, and six language models, from GPT-4o to a local 7B model, completed 10,090 person-level repairs against them without a single refusal. The prompt required the models to resolve every alert, so compliance was expected, and nothing in the loop checked the verifier. Model output that questioned the faulty distance value appeared in at least 0.38% of repairs (95% CI [0.26, 0.51]), a floor under our coding rubric because responses that the keyword search did not flag were not sampled. In the pipeline as run, walking among affected travelers fell from roughly seven in ten trips to under one in ten for five of the six models. We argue that such repair loops need explicit checks on where the verifier's inputs come from.

[43] arXiv:2612.05161 (cross-list from cs.LO) [pdf, html, other]
Title: InFormal: An Open-Source Formal Verifier for SystemVerilog
Mayur Kubavat
Comments: 11 pages, 6 figures, 6 tables. Apache-2.0 source code at this https URL and this https URL (tag svlang-sdk-v1.0.0)
Subjects: Logic in Computer Science (cs.LO); Hardware Architecture (cs.AR); Software Engineering (cs.SE)

Hardware teams rely on formal property verification (FPV) to prove control invariants and catch deep bugs. Commercial FPV tools, however, forbid publishing engine comparisons, hide netlist transforms, and block custom solver integration. Existing open tools either read bit-level models without a SystemVerilog front end or rely on synthesis front ends that guess silently.
We present InFormal, an Apache-2.0 formal property verifier and open testbed in Rust. InFormal compiles IEEE 1800-2023 SystemVerilog and SVA through svlang to word-level Btor2. It runs a parallel engine portfolio behind a JasperGold- and VC Formal-style Tcl 8.6 shell, desktop workbench, and review-gated MCP server. Two soundness rules govern the flow. First, the front end refuses unmodeled constructs instead of guessing, pairing explicit two-state and reset rules with a four-state contract (proven, cex, vacuous, and not modeled). Second, preprocessing and bit-level solving stay outside the trusted computing base. Every in-house bit-level SAFE or UNSAFE verdict is re-checked on a fresh encoding of the un-preprocessed model. Each proof is screened for conflicting assumptions and unreachable antecedents, and exported for Certifaiger and aigsim. Built as a 29-crate workspace linked to svlang-sdk (svlang-sdk-v1.0.0), InFormal exposes TOML and Rust engine hooks, Btor2/AIGER inputs, and a declarative differential benchmark runner. At pinned baseline commits (2608cf9 / 0ce7ca7), svlang passes 1,024/1,024 non-simulation sv-tests and lowers 1,096/1,567 (69.9%) open-RTL modules strictly (87.0% with waivers). Across 936 properties on 167 SystemVerilog designs, InFormal reads 162 designs (97.0%) and decides 782 properties (versus 467 for SymbiYosys and 134 for EBMC), agreeing on 467/467 (100%) with SymbiYosys and 599/602 (99.5%) overall.

[44] arXiv:2612.05288 (cross-list from cs.CL) [pdf, html, other]
Title: Perdura: The Model Decides, the Runtime Keeps State
Haoyu Wang, Zhen Wang, Zhiyu Yang, Hanqing Wang, Kaichen Huang, Shuo Wang, Bo An
Comments: 22 pages, 11 figures, 15 tables. Code: this https URL
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

Language-model agents work inside a harness, the loop that builds the model's context and executes its actions. As models grow stronger, how much should the harness still do? Today it keeps a transcript, a record of what happened, and leaves the model to work out at every step what holds now. We argue for a division of labor: the model decides, and the harness keeps the state of the task. The division holds for any task when actions are code, as in CodeAct: the state they create is the state of a running program. Perdura is a CodeAct harness whose runtime keeps this state and shows the model a projection of it. Against four widely used harnesses, Perdura lies on the score-cost Pareto frontier in seven of eight model-benchmark settings. Without its state mechanisms, a strong model holds its score within run-to-run variation at 11-38% higher cost, and a runtime killed mid-task resumes from its stored state.

[45] arXiv:2612.05484 (cross-list from cs.AI) [pdf, html, other]
Title: Can LLM Agents Program Model Safety? Exploring Autonomous Safety Control in Weight Space
Junchi Chen, Changtao Miao, Zhenchao Jin, Yuxiao Xiang, Kaichao Jiang, Haojie Yuan, Qi Chu, Tao Gong, Nenghai Yu
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

Safety alignment in large language models remains fragile under parameter changes. While existing weight interventions rely on researcher-designed procedures, open weights and code execution enable LLM agents to autonomously explore target-specific edits. We investigate whether general-purpose agents can autonomously modify a model's safety behavior via gradient-free weight interventions while preserving normal task capabilities. We propose Autonomous Safety Control, a reusable framework built around a closed-loop hypothesize-experiment-analyze-decide cycle in weight space. Guided by development and validation feedback, agents formulate testable hypotheses, select parent checkpoints across a branching candidate lineage, construct targeted edits alongside matched random controls, and iteratively revise strategies before freezing a final candidate. We evaluate our framework across multiple agent harnesses, editing LLMs, and target models on standard safety and utility benchmarks. Applied to safety-alignment weakening on Qwen3.5-2B, our framework raises HarmBench harmfulness from 8.81% to 85.53% with only a 0.85% mean capability drop, outperforming static baselines, while process ablations confirm closed-loop iteration surpasses open-loop editing and matched random controls. The same workflow weakens alignment on the masked-diffusion LLM LLaDA-8B-Instruct, compromises adversarial concept erasure on Stable Diffusion v1.4, and restores safety on weakened models without original weights or edit diffs, demonstrating effective bidirectional safety control with limited capability loss.

[46] arXiv:2612.05657 (cross-list from cs.AI) [pdf, html, other]
Title: HarnessTax: How Much Does the Harness Matter for Coding Agents?
Melissa Z. Pan, Shuo Yang, Negar Arabzadeh, Wei-Lin Chiang, Ion Stoica, Matei Zaharia
Subjects: Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Software Engineering (cs.SE)

Every coding agent runs a model inside a $\mathit{harness}$, yet we lack a principled understanding of what the harness adds and which of its components matter. We present the first systematic study of how production coding-agent harnesses and their individual components affect cost and success rate, and examine where the harness adds cost and when it changes what a model can solve. We evaluate eight models in three production harnesses (Claude Code, Codex, Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1. For a fixed model, the harness has little effect on success rate but a much larger effect on cost, which we call the harness tax. With Claude Fable 5 on Terminal-Bench 4.0, for example, Claude Code costs $2.1\times$ as much as Pi, with no statistically detectable gap in success rate. Pi, with only four tools, is on the cost-success Pareto frontier on every benchmark. Models also perform competitively outside their provider's harness, often at a lower cost. Much of the extra cost comes from the system prompt, tool definitions, and accumulated context that the harness re-sends with every model call, including definitions of tools the model never calls. Success rates rarely differ significantly across harnesses. When they do, part of the gap comes from system-level features such as handling large image inputs. We also modify five components one at a time to isolate the effects of harness design choices. Enabling subagents in Codex, for instance, increases the cost by $3.0\times$ on Terminal-Bench 2.0 without improving the success rate. HarnessTax is a step toward understanding how each harness component affects cost and success rate, and we hope it guides future research on what matters in a coding-agent harness.

[47] arXiv:2612.05714 (cross-list from cs.AR) [pdf, html, other]
Title: Optimizing LLM Inference on Heterogeneous Edge SoCs with Operator-Level Controls
Hanzhang Ma, Qianjun Zheng, Bohua Zou, Debayan Roy, Sudeep Kanav, Binqi Sun, Lin Wang, Yutao Liu
Comments: Accepted at the Design, Automation and Test in Europe Conference (DATE) 2027
Subjects: Hardware Architecture (cs.AR); Software Engineering (cs.SE)

On-device large language model (LLM) inference on heterogeneous edge systems-on-chip (SoCs) can improve privacy, latency, and energy efficiency. However, efficiently exploiting CPU-NPU heterogeneity is challenging because matrix multiplication (MM) performance varies substantially across tensor geometries and accelerator configurations, while NPU execution may also face limited accelerator-addressable memory. We present a two-stage framework for shape-aware MM placement in edge LLM inference. Stage 1 profiles each unique MM geometry across CPU and NPU configurations, while Stage 2 selects MM instances for NPU execution under the memory budget, accounting for activation buffers shared by equal-geometry MMs. We realize this framework in a 3,000-LOC Rockchip NPU backend for this http URL supporting fine-grained placement, multi-core NPU execution, and efficient memory and layout management. Across 18 model-quantization pairs, shape-aware placement improves average prefill/decode throughput by 32.9%/20.2% over the shape-unaware first-come, first-served (FCFS) strategy and 253.8%/12.6% over the CPU-only strategy, outperforming both in every pair.

[48] arXiv:2612.05851 (cross-list from cs.PL) [pdf, html, other]
Title: Semantically Descriptive Similarity
Oskar Hovmøller Dinesen, Christian Gram Kalhauge
Comments: Submitted to Workshop on Program Equivalence and Relational Reasoning 2026
Subjects: Programming Languages (cs.PL); Software Engineering (cs.SE)

Program equivalence is a notoriously undecidable problem, consequently, all approaches to determining whether two programs are equivalent are either imprecise or incomplete. In practical applications, developers often rely on proxy measures, such as the syntactic similarity of programs. In this paper, we formalize what it means for a similarity measure to be semantically descriptive and provide a framework for ranking measures based on their ability to differentiate between equivalent and non-equivalent program pairs. We refer to this metric as the average semantic loss of the similarity measure. We evaluate 17 established similarity measures, including ones based on edit-distance, compression, and vector embeddings. Using a subset of 450 thousand program pairs from the IBM ProjectCodeNet benchmark, we show that our semantic loss score replicates previous findings based on classifier performance. Finally, using this score, we demonstrate that compression-based measures outperform state-of-the-art vector-embedding-based approaches, such as CodeBERT and GraphCodeBERT, on unformatted code, but lag behind when the code is formatted or compiled and then decompiled. This indicates that these approaches are sensitive to the varying formatting of code.

[49] arXiv:2612.05893 (cross-list from cs.AI) [pdf, html, other]
Title: Diagnosing State Validity in Agent-Generated Code
Abhishek Kaushik, Jordan Feldstein, Dalila Pîrvu, Krishnendu Ray, Leo Tsourides
Comments: 32 pages, 3 figures, 16 tables
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

In exact search and optimization, programs must decide which partial solutions to represent, update, and retain. An incorrect decision can remove information needed to reach the optimum, even when the program passes every hidden test. We examine fifteen programs written by coding agents for seven exact optimization tasks. Each passed every hidden test and received full verifier reward, yet each is incorrect on a valid input.
We establish each error independently of the task's reference solution, using a proof, an exhaustive oracle, or a permitted plan checked by a simulator derived from the task statement. We then investigate whether the error arises from how the program represents, updates, or retains its working state. Eight programs show evidence of a specific state defect: in six, changing the implicated retention or transition decision restores an independently established comparison value on the input that exposed the error; in two, we exhibit merged or omitted histories without a restoring edit. Five more return the correct answer when switched from an approximate fallback to their own exact branch, without locating the error within the fallback. One fails on an input that activates its fallback, with no edit tested, and one remains unlocalized. No edit establishes global correctness.
Some hidden suites never reached the decisions implicated in these failures; others reached them without exposing an incorrect answer. These cases establish concrete false-positive verifier outcomes, not their prevalence or any effect on training. These failures suggest that evaluations should test not only whether a program produces the correct output, but also whether its state representation, updates, and retention decisions preserve the information required for later decisions.

[50] arXiv:2612.05953 (cross-list from cs.AI) [pdf, html, other]
Title: TraceMetis: Towards Agent Comprehensibility
Zhao Zhang, Chao Peng, Peijie Dong, Laiheng Song, Guoqing Wang, Hande Dong, Qiang Lin, Yingfei Xiong
Comments: Technical report. 23 pages, 14 figures. Project page: this https URL ; code: this https URL
Subjects: Artificial Intelligence (cs.AI); Human-Computer Interaction (cs.HC); Software Engineering (cs.SE)

Large language model (LLM) agents now carry out tasks that span hundreds of steps over hours or days, and people increasingly review such runs only at milestones or after they finish. To trust a run, a reviewer must tell which subgoals the agent pursued, which attempts failed, why it changed approach, and what caveats qualify its result; we call this property agent comprehensibility. The trace of a run records every action, yet it answers none of these questions directly: it interleaves actions from different goals, scatters actions serving the same goal across the log, and provides no grouping between a single action and the whole run. Following evidence that people understand purposeful activity as a hierarchy of goals, we reorganize the trace into a goal tree, which attaches each action to the goal it served and each goal to the larger goal it served, up to the user's task, and states for every goal what it set out to do and what it produced. We present TraceMetis, which reconstructs goal trees from unmodified logs of agents such as WorkBuddy, Claude Code, Codex, Cursor, Pi, and Antigravity, and updates them while the agent runs. Because the purpose of an action often becomes clear only from later actions, TraceMetis revises the tree with an LLM as each batch arrives and checks every revision with code. A web viewer draws child goals inside their parents, marks only exceptions such as failures, and links every statement to the raw actions behind it. In a blind pairwise study, 14 agent users compared trees built by six LLMs on 142 of their own sessions. They judged 78.7% of the trees helpful for understanding the run, rising to 86.8% for sessions longer than 450 actions. Trees from GPT-6.1 Sol, Gemini 4 Carbon, and Claude Opus 5.5 were preferred in about 73% of comparisons against the other three LLMs, and preferred trees tended to have more goals and levels.

[51] arXiv:2612.05992 (cross-list from cs.CR) [pdf, other]
Title: RECOON - Research Environment for Cyber Offensive Operations on Networks
Rui Fernandes, Nuno Lopes, Joaquim Gonçalves, John Cosgrove
Subjects: Cryptography and Security (cs.CR); Software Engineering (cs.SE)

Cyber Ranges, usually known as digital twins for Cybersecurity used to learn and practice, are currently in their automation and integration era. The use of safe environments for Pentesting playgrounds is the optimal approach when referring to the Ethical Hacking learning process to avoid damage or interruption of real services. Currently, platforms that allow the creation and management of vulnerable machines and allow Pentesting as software are commercial, or the open-source ones lack scenario-adaptability and scalability. This paper introduces a novel Research Environment for Cyber Offensive Operations on Networks (RECOON), providing a platform for emulating vulnerable targets in an isolated network and a UI platform for Vulnerability Scans and Penetration Testing using a Pentesting Model Context Protocol (MCP). Deployment and usable performance metrics show that RECOON uses less RAM than a usual Kali Linux running in a virtual machine. It is also able to perform Pentesting tasks, from scanning different types of targets and exploiting to achieve Remote Code Execution (RCE) with root access.

[52] arXiv:2612.06106 (cross-list from cs.CR) [pdf, html, other]
Title: PQCMigrate-Bench: Can LLM Agents perform Real-World Post-Quantum Cryptographic Migrations?
Krishna Upadhyay, Daniel Liu, A.B. Siddique, Umar Farooq
Comments: 11 pages, 10 figures, 5 Tables
Subjects: Cryptography and Security (cs.CR); Software Engineering (cs.SE)

Software that relies on public-key cryptography must migrate to post-quantum cryptography (PQC). Migration requires changes to how software generates and encodes keys, which algorithms it offers to peers, and how it derives shared secrets and produces signatures. Because systems upgrade at different times, migrated software must remain compatible with peers that still use classical algorithms. We present PQCMigrate-Bench, a benchmark of 22 tasks built from real-world PQC changes in 17 open-source repositories spanning nine programming languages. The tasks include bindings to existing PQC libraries, extensions of protocols and key formats, and protocol redesigns. We evaluate GLM 5.3 Flash and GPT-6.2 Sol under a ReAct-style agentic setup, with hidden tests for grading. GLM 5.3 Flash resolved 50% of the tasks and GPT-6.2 Sol resolved 55%. Each migration task involves several components, such as key generation, key encoding, encapsulation, and protocol handshakes. For error analysis, we evaluate each component separately. GPT-6.2 Sol passed all tests for 67% of the components and GLM 5.3 Flash passed for 57%, and most of this difference lies in key encapsulation and decapsulation. We release the benchmark and agentic harness for future research.

[53] arXiv:2612.06172 (cross-list from cs.AI) [pdf, html, other]
Title: Style or Signature? Emoji Fingerprints of AI Coding Agents in Pull Requests
Zainb Maged Arafa Zahran, Fatma Yousuf Mohamed Abu Al Wafa, Wafaa Mohamed Elsayed Ahmed, Mostafa Mohamed Mostafa Mohamed Elsayed, Timofey Sanko, Yuan Tian
Comments: Accepted at the Agentic Software Engineering workshop at AAAI 2027
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Software Engineering (cs.SE)

AI coding agents now open millions of pull requests (PRs) on GitHub, and their descriptions often contain emoji. If each agent uses emoji in its own way, emoji could act as a fingerprint that reveals which agent wrote a PR. However, many of these emoji come from templates: footers, title prefixes and other text that the tool or its configuration adds to many PRs, rather than text the agent writes for that PR. A fingerprint built on templates would reflect the tool's signature, not the agent's style. We examine this distinction on AIDev, a corpus of 7.69M PRs from six AI coding agents, using a strict detector of Unicode emoji and GitHub shortcodes (ASCII emoticons excluded) and a frequency-based filter that separates template text from composed text. Of all PRs, 41% contain an emoji, but only 8.4% still do once templates are removed: about four in five emoji-bearing PRs contain template emoji only. Title templates matter most for Google's Jules, whose titles often open with a fixed emoji persona prefix. The emoji that agents do compose still differ across agents in density, position and range, and on their own identify the agent well above chance in repositories unseen during training (macro-F1 0.62 vs. 0.17 for chance). The emoji fingerprint of AI coding agents is therefore mostly signature, but an agent-specific style remains. Studies that use PR text to describe or identify agents should remove templates first, since templates inflate the differences between agents.

Replacement submissions (showing 10 of 10 entries)

[54] arXiv:2511.21878 (replaced) [pdf, html, other]
Title: MockingBird: Context-aware Repository-level Code Translation with Isolated Validation
Kaiyao Ke, Ali Reza Ibrahimzada, Rangeet Pan, Saurabh Sinha, Reyhaneh Jabbarvand
Subjects: Software Engineering (cs.SE); Programming Languages (cs.PL)

Despite advances in repository-level code translation, automated type resolution across differing type systems and translation validation (functional-equivalence checking) remain challenging. This paper proposes MockingBird, combining context-aware type resolution with mock-based isolated validation. MockingBird retrieves API documentation and contextual code information per source-language type, prompting an LLM to resolve precise cross-language type mappings, reducing the manual effort of existing approaches. Using this automatically constructed type map, MockingBird employs custom serialization/deserialization to generate equivalent target-language mock objects, validating each translation unit in isolation without test translation, eliminating test-overfitting risks and translation challenges. On 10 Java-to-Python tasks from the AlphaTrans benchmark, MockingBird improves functional equivalence from the state-of-the-art 25.14% to 52.8%, with no manual type-mapping correction needed. A 700-fragment study shows MockingBird achieves 0.1% false positives and 0.3% false negatives, substantially outperforming GraalVM (2.1% false positives, 14.0% false negatives) and MatchFixAgent (11.0% combined mislabel rate). The pipeline is also LLM-agnostic, maintaining these gains with both DeepSeekCoder-33B and the smaller Devstral-24B.

[55] arXiv:2512.14475 (replaced) [pdf, html, other]
Title: Teralizer: Semantics-Based Test Generalization from Conventional Unit Tests to Property-Based Tests
Johann Glock, Clemens Bauer, Christian Macho, Martin Pinzger
Comments: 61 pages, 7 figures, 17 tables. Substantially revised version: adds a comparison with JARVIS, an extended prototype and a repeated real-world evaluation
Subjects: Software Engineering (cs.SE)

Background: Property-based testing checks properties across generated inputs, finding edge cases that unit tests commonly miss. Writing properties can be challenging for practitioners, thus limiting adoption. Objective: We propose a semantics-based approach that automatically generalizes unit tests into property-based regression tests and analyze its effectiveness and applicability barriers. Design: Single-path symbolic analysis yields a path condition and a symbolic output expression, without constraint solving. Generalized tests sample inputs satisfying the path condition and replace expected values with the symbolic output. Teralizer implements the approach for Java, from JUnit tests to jqwik properties, for pure methods over primitive and boxed scalars and restricted string operations. Methods and Results: Teralizer generalizes tests in 9 of JARVIS's 12 benchmark projects, whereas JARVIS generalizes 2 of 12. On EqBench and Apache Commons, generalization raises mutation scores of EvoSuite and mature developer suites by 0.8-3.9 and 0.05-0.07 percentage points, respectively. Across 584 RepoReapers projects, barrier analysis attributes exclusions to assertion recognition, tested-method identification, symbolic type support, and concrete return values that the analysis cannot relate to the inputs. Conclusions: Our results suggest Teralizer applies more broadly than the state of the art. Future work should improve test analysis and symbolic analysis support. Artifacts at: this https URL

[56] arXiv:2606.01385 (replaced) [pdf, html, other]
Title: Bridging Requirements and Architecture: Multi-Agent Orchestration with External Knowledge and Hierarchical Memory
Ruiyin Li, Yiran Zhang, Xiyu Zhou, Yangxiao Cai, Peng Liang, Weisong Sun, Jifeng Xuan, Zhi Jin, Yang Liu
Comments: 42 pages, 7 images, 8 tables, Manuscript revision to a Journal (2026)
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Software architecture design is a critical yet inherently complex and knowledge-intensive phase that requires balancing competing QAs and adapting to evolving requirements. Traditionally, this process has been time-consuming, labor-intensive, and heavily reliant on architects, often resulting in limited exploration of alternative architectural decompositions and styles. While LLM-based agents have shown promising performance across various SE tasks, coordinating requirements analysis, multi-view modeling, and design documentation still requires explicit attention to consistency and decision rationale. To address these challenges, we propose MAAD, a knowledge-driven framework that orchestrates four specialized agents (Analyst, Modeler, Designer, and Evaluator) to autonomously transform requirements specifications into multi-view architectural models, documentation, and preliminary evaluation reports. MAAD incorporates RAG to inject recognized architectural standards and patterns into the workflow and leverages a hierarchical memory mechanism that captures design history for iterative refinement. We evaluated MAAD using quantitative architecture-level metrics across 10 case studies, a comparison of configurations with and without external knowledge, a comparison of four foundational LLMs, and interviews with six practitioners. Results show that MAAD produces more detailed architectural descriptions together with dedicated evaluation reports than the selected MetaGPT outputs, with differences in the reported structural indicators; the effects of knowledge infusion vary across metrics and cases. The replication package of MAAD is available at [31] to support reproducibility and future extensions.

[57] arXiv:2611.30517 (replaced) [pdf, html, other]
Title: sudo L7: Can Coding Agents Act Like Staff Engineers?
Nick Heiner, Ian Niebres, Nick Robin, Ryan McWhorter, Omar Alrifai, Suhaas Garre, Sushant Mehta, Edwin Chen
Comments: Accepted at the NeurIPS 2026 Workshop on Interpreting Agent Behavior (IAB). 12 pages, 1 figure, 5 tables. This version updates the author list. Leaderboard: this https URL
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Coding agents can now turn a well-specified ticket into a patch that passes its tests. Experienced engineers also notice risks the request never mentioned, question flawed premises, reuse what already exists and say plainly what they did and did not check. We present sudo L7, a benchmark of 60 software-engineering tasks written by staff-level engineers, mostly in private production codebases and each built around a place where a frontier model failed. A task pairs a realistic, underspecified request with a hidden, expert-authored rubric of atomic criteria (1,287 in all), tagged with eight behavioral dimensions from functional correctness to truthful reporting. An agentic grader reads the agent's transcript, inspects and runs its code, and treats test output as evidence. An attempt passes only if it meets every criterion of the two highest severities, and more than half of these gating criteria test something other than functional correctness. On the public leaderboard as of November 2026 (19 models, each in its developer's harness or in OpenCode, three attempts per task), Claude Fable 5.2 passes 52.2% of attempts, Claude Sonnet 5.5 50.6% and Claude Opus 5.5 46.1%. GPT-6.1 Sol, Claude Fable 5.1 and GPT-6 Astra pass 31-34%, and the other 13 models at most 18.9%. In a human-label study, three candidate model graders each agreed with a software engineer on 85-86% of criterion verdicts, about as often as two engineers agreed with each other. Cases from the benchmark show how one unsupported claim can fail an otherwise strong attempt and illustrate two sides of engineering judgment: flagging hidden hazards and avoiding needless work.

[58] arXiv:2611.37111 (replaced) [pdf, html, other]
Title: Understanding and Mitigating Representation Drift of Code Models under Software Distribution Shifts
Yiqing Shi, Zhifei Chen, Yangyang Zhao, Quanjun Zhang, Lin Chen, Wei Song
Subjects: Software Engineering (cs.SE)

Deep learning-based code models often suffer performance degradation under software distribution shifts. Although recent studies have investigated the robustness of code models to out-of-distribution (OOD) data, how distribution shifts reshape internal representations and how such changes can guide adaptation decisions remain insufficiently understood. To answer such puzzles, we present a systematic empirical study organized along a diagnosis-to-adaptation workflow covering seven tasks, five code models, and five distribution shift types. Specifically, we measure generalization gaps between in-distribution (ID) and OOD data, evaluate task-adapted OOD detection signals, diagnose layer-wise representation geometry, and propose a representation-diagnostics-guided adaptation strategy. Our results show that: 1) performance degradation is decoupled from OOD detectability, with detectors achieving AUROC values below 59.00% even when syntactic shifts reduce classification accuracy by up to 15.69%; 2) settings with OOD performance degradation exhibit weaker cross-distribution alignment and more pronounced layer-wise geometric changes; and 3) diagnostics-guided data allocation and configuration search yield higher OOD scores than traditional adaptation strategies. Overall, our findings highlight the necessity of integrating representation-level diagnostics into the evaluation and adaptation of code models under distribution shifts.

[59] arXiv:2601.02233 (replaced) [pdf, html, other]
Title: PauliEngine 1.0: A High-Performance Backend for Quantum Operator Algebra
Leon Müller, Adelina Bärligea, Alexander Knapp, Jakob S. Kottmann
Comments: 20 pages (main text), 25 pages (appendices), 17 figures, 3 tables
Subjects: Quantum Physics (quant-ph); Emerging Technologies (cs.ET); Software Engineering (cs.SE); Computational Physics (physics.comp-ph)

Efficient classical simulation of quantum systems often relies on exploiting their algebraic structure to identify compact operator representations and perform arithmetic directly within them. We introduce PauliEngine, a high-performance C++ backend with a unified Python interface for numerical and symbolic quantum operator arithmetic. We develop adaptive storage and multiplication algorithms that exploit both the binary structure and sparsity of Pauli operators, together with specialized routines for local commutators and the direct evaluation of individual commutator coefficients. To exploit symmetries throughout operator calculations, we extend these arithmetic capabilities to translation-invariant Pauli cycles and permutation-invariant Pauli orbits, enabling polynomial-time arithmetic between elementary orbit operators even for exponentially large Pauli expansions. Extensive benchmarks demonstrate leading performance across most investigated workloads, with runtime improvements of several orders of magnitude over many existing implementations and particularly pronounced advantages for large operators and registers. We demonstrate how these advances extend the computational reach of Lie-algebraic simulation, observable propagation, symmetric quantum dynamics, and variational quantum chemistry. With its combination of computational efficiency, accessibility, and extensibility, PauliEngine establishes a reusable arithmetic foundation for quantum software, enabling researchers to exploit the algebraic structure of quantum systems in the development of increasingly scalable classical simulation methods.

[60] arXiv:2611.27169 (replaced) [pdf, html, other]
Title: Which Data-Center Load Models Can Be Trusted? An Evidence-Graded Review of Dynamic Modeling and Validation for Large Computational Loads
Dileep Cheerla, Amirthagunaraj Yogarathnam
Comments: 27 pages, 12 figures, 16 tables. This work has been submitted to the IEEE for possible publication
Subjects: Systems and Control (eess.SY); Software Engineering (cs.SE)

Grid operators now require dynamic models of data centers and other large computational loads, and new ride-through rules assume that these models predict how facilities respond to disturbances. This review asks what evidence supports that assumption. We coded 160 documents (from 1,424 de-duplicated records plus 65 added) by the strongest reference object each presents, from grid-side records to simulation only, and separately 70 data-driven model studies. Across 19 field-evidence entries, 15 requirement documents and ten model classes, we find two comparisons of a standard library model with measured data-center events: with default parameters both reported a mismatch, though neither stated an acceptance criterion, and per-event refitting reduced the error but was never tested on an unseen event. Among the sources reviewed, we found no successful held-out validation of a frozen, facility-specific data-center model against an independent measured disturbance, and 25 of the 33 model-phenomenon combinations with any evidence involve no electrical measurement. The features that distinguish the new rules (memory of repeated dips, recovery within 0.5-3 s, proportional power reduction during the sag, overvoltage response) are those current phasor models cannot represent or were never tested against. No operator procedure examined requires comparing the submitted model with a measured facility response against a predefined acceptance criterion, as generator standards do, and proposed mitigations have mostly been evaluated on unvalidated facility models. We propose context-of-use gates that separate calibration from validation, release labels for model claims, a minimum validation protocol with acceptance criteria, and a research agenda.

[61] arXiv:2611.32946 (replaced) [pdf, html, other]
Title: ShellBench: What Matters More for AI Agents, Models, or Harness for Everyday Tasks
Vincent Koc, Aditya Washikar, Rishab Naveen Venkataraman, Onur Solmaz, Zhentong Fan, Xinyang Han, Toby Vincent John, Hao Li, Achyut Mukund, Biresh Chandra Biswas, Eshan Shukla, Louis Pan, Ivan Kudryavtsev, Patthigulla Sai Surendra, Krish Oberoi, Ayaan Zaidi, Hema Veeradhi, Taylor Agarwal, Erik Erlandson, Agustin Rivera, Jacob Tomlinson, Louka Ewington-Pitsos
Comments: 19 pages, 10 figures, 9 tables
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Software Engineering (cs.SE)

Choosing a model and harness for an everyday AI task is hard when most benchmarks measure different kinds of work. We introduce ShellBench, a benchmark of 100 everyday tasks based on patterns in more than 10 million requests to personal assistants. Each task starts with a realistic workspace containing messy files and competing records. To pass, an agent must meet every required correctness and safety check. We report 84,600 attempts across 19 models, five agent harnesses, and three effort settings. Across the 18 models tested in all five harnesses, the median pass-rate spread was 47.9 percentage points across models and 8.3 points across harnesses. Among the five highest-scoring models, those spreads were 7.9 and 9.6 points, respectively. The three leading model averages were within 1.1 percentage points. GPT-6.1 Sol passed 61.4 percent of attempts at an estimated 0.19 USD per attempt in solver tokens, about one-sixth of GPT-6 Astra's 1.10 USD at a 62.5 percent pass rate.

[62] arXiv:2611.36559 (replaced) [pdf, html, other]
Title: Reinforcement Building: Toward Self-Improving Harnesses for Defensive Software Security Agents
Amine Lbath, Aurelien Delaitre, Vadim Okun, Massih-Reza Amini
Subjects: Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

Large language model (LLM) agents have become capable of discovering and exploiting vulnerabilities in real-world software with limited human intervention, which widens an asymmetry that already favors attackers. Defenders therefore need markedly better repair agents to keep up with the growing number of discovered vulnerabilities. Specialized multi-agent harnesses have been shown to improve repair agents, but they are often crafted for a specific model and do not necessarily transfer to other models. Given the pace at which new models are released, rebuilding a harness by hand for each of them appears impractical.
We present Reinforcement Building (RB), a framework that automatically builds the harness of a defensive agent for a given model. In each round, RB runs the current harness on training vulnerabilities and grades every patch with an execution oracle. An optimizer model then proposes edits to its agents, tools, delegation edges and memory, and a validation gate keeps them only if they strictly improve the harness. Without updating any weights, RB improves the repair success rate of three open-weight models on three held-out benchmarks by a median of 77% relative to the base harness. On SEC-bench, it outperforms ContraFix, the state-of-the-art harness builder for vulnerability repair, by 21% relative on both Gemma-4 models. Compared with reinforcement learning with verifiable rewards (RLVR) on the same data, RB needs 7.4 times fewer training episodes to reach the same success rate on Gemma-4-31B.

[63] arXiv:2612.03431 (replaced) [pdf, html, other]
Title: svlang-sdk: A Zero-Dependency Multi-Domain Compiler SDK for Modular VLSI Frontend Verification and EDA
Mayur Kubavat, Milan Kubavat, Yash Kubavat
Comments: 10 pages, 7 figures, 5 tables; v2: added co-authors Milan Kubavat and Yash Kubavat
Subjects: Hardware Architecture (cs.AR); Programming Languages (cs.PL); Software Engineering (cs.SE)

VLSI frontend flows parse the same chip five times across SystemVerilog, UPF, SDC, SystemRDL/IP-XACT, and SystemC. Disconnected tools maintain separate elaboration graphs, cache stale state, and expose unstable C++ ABIs or text dumps, forcing brittle glue scripts while IDEs and AI agents stall on full-chip re-elaboration and megabyte JSON payloads.
We present svlang-sdk, a 73,892-line zero-dependency C++23 (-fno-exceptions -fno-rtti) hardware compiler spine and frozen C11 SDK (libsvlang_sdk_c). Five acyclic layers separate: (0) a Salsa-style incremental query host (AnalysisHost/AnalysisSnapshot) with durability tiers, early cutoff, cooperative cancellation, and epoch-scoped arenas; (1) five pluggable frontends (SV, UPF 3.1, SystemC 3.0, SDC, RDL/IP-XACT) bound onto one dense EntityId graph with OpenUSD-style overlays and ExplainValueSource provenance; (2) a word-level SSA RTL netlist, immutable .svdb snapshots, Hydra-style merging views, and macro-aware AtomicChange refactoring; (3) a dual-plane ABI pairing 39 C11 symbols (zero leaked C++ _Z* symbols) with the header-only Apache Arrow C Data Interface and C++23, Python, Rust, and TypeScript bindings; and (4) LSP 3.17, MCP 2026-07-28, DAP v1.71, and Surfer WCP servers.
Linking svlang-sdk deleted 16,351 duplicated frontend lines from our 88,254-line sv++ simulator, drives 436 lint rules in svlang-lint, and isolates a 42,472-line consolidation seam in our 159,225-line Rust formal verifier InFormal. On arm64 macOS, all 14 C++23 test suites pass under Debug, ASan+UBSan, TSan, and Release; comment edits hit early cutoff in 10 us with flat RSS across 1,000 epochs; Arrow exports 53,005 entities in 0.9 ms (37.3x faster than JSON); and four polyglot small-tool proofs each fit under 150 lines.

Total of 63 entries
Showing up to 2000 entries per page: fewer | more | all
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)