arXiv AI

Hybrid LLM-Deterministic Pipelines for Enterprise-Scale Code Migration at Bloomberg

The paper describes Bloomberg’s use of hybrid LLM‑assisted pipelines to migrate code across thousands of repositories, focusing on a Python packaging migration and a C++ build system migration. Over two campaigns, 2,333 pull requests were generated, with 729 successful migrations. The authors highlight that the main bottleneck was the review, testing, and deployment effort, which was mitigated by verifying changes within the pipeline and leveraging uniform repository patterns.

arXiv AI
Aug 26

Identifying Latent Declarative Representations of Code for Assisting Repository Migration

The paper introduces ADFD‑Migrate, a method that extracts a latent declarative representation of code—an annotated data‑flow diagram (ADFD)—to aid large‑scale repository migration. By using an LLM to infer the source ADFD from repository context and guiding target‑language generation with dependency‑aware chunking, the approach improves porting soundness and completeness. Evaluated on 50 Fortran repositories, the system achieves high behavioral agreement and a superior migration outcome index compared to baseline translation methods.

By Shraddha Surana, Ashwin Srinivasan, Michael Bain
arXiv AI
Aug 19

Benchmarking Automated Security Patch Backporting: How Far Are We?

The paper introduces Porting Benchmark, a curated dataset of 1,234 security patch backporting cases that span cross-version, cross-branch, and cross-repository scenarios, along with a common evaluation framework. Five tools—spanning program analysis, LLM prompting, and LLM agents—are evaluated under aligned settings, revealing that performance varies significantly across tools and that complex patches (Type-IV) see a sharp drop in success rate. The study identifies four root-cause categories for failures and demonstrates that reference-based benchmark scores may not fully capture real-world remediation, as executable validation uncovers additional integration issues.

By Jincheng Yang, Yulong Fu, Chengwei Liu, Lyuye Zhang, Fangyuan Zhang, Bingyang Ren, Yang Liu, Hui Li
arXiv AI
Sep 24

Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark

The paper introduces SWE-Flux, a repository‑level benchmark designed to test large language models’ ability to reason about runtime behavior. It contains 480 execution‑grounded instances from 12 real Python repositories, with gold answers automatically harvested from instrumented test executions. Evaluation of five LLMs shows the task remains difficult, with the best model achieving only 37% accuracy, and the benchmark can generate challenging variants through input perturbation.

By Hamed Taherkhani, Mohammad Abdollahi, Melika Sepidband, Hridya Dhulipala, Tien N. Nguyen, Hadi Hemmati
arXiv AI
Oct 12

Co-Modifying Application Code and Deployment Infrastructure: A Causal Study of AI Agent Pull Requests

The study evaluates 26,999 pull requests that modify both application code and deployment infrastructure, using two large datasets and six AI agent architectures. It finds that such dual‑scope changes occur in only about 4.5% of agent‑generated PRs but lead to two distinct integration outcomes: either significant delays due to CI/CD and provisioning checks, or a high rate of silent merges with reduced human review. The results highlight that current AI agents lack deployment awareness, causing unverified dependencies to slip into production pipelines.

By Mohammad Wathiq Soualhi, Basem Suleiman
Hugging Face Trending Papers
Aug 18

Benchmarking Automated Security Patch Backporting: How Far Are We?

The paper introduces Porting Benchmark, a dataset of 1,234 security patch backporting cases covering cross-version, cross-branch, and cross-repository scenarios, along with a unified evaluation framework. Five tools—spanning program analysis, LLM prompting, and LLM agents—are evaluated under aligned settings, revealing that performance varies significantly across tools and patch complexity, with success rates dropping sharply for structurally complex patches. The study identifies four root-cause categories for failures and demonstrates that reference-based benchmark scores may not fully reflect real-world remediation, as executable validation uncovers additional integration issues.

arXiv Computation and Language
Oct 27

Speculative Forking: Turning Idle Wait into Parallel Exploration for Repository Environment Setup

arXiv:2610.33129v1 Announce Type: cross Abstract: Before developers can use a software project, they must first get it to run. This often requires installing the right language runtime, system packag...

By Yuling Shi, Mingchu Zhong, Zhensu Sun, Weihan Peng, Zhi Chen, Shilin He, Chengcheng Wan, Kai Cai, Hongyu Zhang, David Lo, Xiaodong Gu
arXiv AI
Nov 6

XStack: A Benchmark for ML Repo Migration

XStack is a benchmark designed to evaluate the ability of agents to migrate machine learning repositories from PyTorch on NVIDIA GPUs to JAX on Google TPUs. The benchmark provides a PyTorch repository and a clean TPU machine, and the agent must produce a JAX repository that passes grading criteria based on the original repository’s published results. Current agents achieve limited success, with the best performing agent passing 75% of the tasks.

By Linrong Cai, Taiming Lu, Haozhe Chen, Zhuang Liu