Publications

* Co-first author · ✉ Corresponding author

2026

NeurIPS'26 E&DCCF-A

TerminalWorld: Benchmarking Agents on Real-World Terminal Tasks

Zhaoyang Chu, Jiarui Hu, Xingyu Jiang, Pengyu Zou, Han Li, Chao Peng, Peter O'Hearn, Earl T. Barr, Mark Harman, Federica Sarro, He Ye✉

NeurIPS 2026 Evaluations and Datasets Track

A new benchmark for evaluating terminal agents on real-world human workflows. Instead of relying only on manually curated terminal tasks, TerminalWorld is built from real human terminal recordings.

arXiv'26arXiv

Beyond Task Completion: Measuring Interaction Cost in Terminal User Interfaces

Ruida Hu, Yuanhao Wang, Chao Peng, Yakun Zhang, Cuiyun Gao

arXiv preprint arXiv:2610.05047

Introduces TUINaut and compares the effort people and language-model agents spend interpreting and operating terminal interfaces across 84 tasks.

EMNLP'26 Findings

Extending Fill-In-the-Middle with Instructions for Steerable Code Completion

Zhensu Sun, Chengran Yang, Chao Peng, Pengfei Gao, Xiaoning Du, Li Li, David Lo

Findings of the Association for Computational Linguistics: EMNLP 2026

Introduces instruction-aware fill-in-the-middle training to align code completion with developers' natural-language intent.

EMNLP'26 Findings

Scalable Supervision for Software Agents via Patch Reasoning

Junjielong Xu, Boyin Tan, Xiaoyuan Liu, Chao Peng, Pengfei Gao, Pinjia He✉

Findings of the Association for Computational Linguistics: EMNLP 2026

Uses a learned patch verifier to provide scalable supervision for training and evaluating software engineering agents.

arXiv'26arXiv

When Is Graph Structure Worth Its Cost? The Case for Structure Pricing in Retrieval-Augmented Generation

Yuzhong Zhang, Haoyang Ma, Chao Peng, Lionel Briand, Boxi Yu✉, Jialun Cao

arXiv preprint arXiv:2609.18099

Introduces EffiRAG, which uses a graph to locate source passages, and compares answer quality and retrieval costs across four document domains.

VLDB'26 DemoCCF-A

DBCooker: A Database Kernel-Specialized Coding Agent Harness

Wei Zhou, Xuanhe Zhou✉, Qikang He, Guoliang Li, Bingsheng He, Chao Peng, Yun Lin, Fan Wu

Proceedings of the VLDB Endowment · pp. 4842–4845

Introduces a database kernel-specialized coding-agent harness that combines dependency inspection, interactive planning, progressive synthesis, and adaptive debugging for native function development.

arXiv'26arXiv

Can LLMs Test Terminal User Interfaces?

Chao Peng*, Ruida Hu*, Ajitha Rajan, Tegawendé F. Bissyandé, Jacques Klein, Cuiyun Gao

arXiv preprint arXiv:2608.03743

Benchmarks LLM-guided testing across real-world terminal user interfaces and shows that strong random baselines, launch-input generation, and interaction efficiency matter more than model choice.

arXiv'26arXiv

Turning Interaction History into Execution State: A Runtime Layer for Long-Horizon Coding Agents

Zehao Wang, Yisen Xu, Chenglin Li, Chao Peng, Bram Adams, Ahmed E. Hassan, Tse-Hsun (Peter) Chen

arXiv preprint arXiv:2608.00808

Introduces Ledger, a deterministic runtime layer that turns interaction histories into explicit execution state to improve long-horizon coding-agent effectiveness and reduce redundant work.

arXiv'26arXiv

Benchmarking the Residual: What Long-Horizon Evaluations Add Beyond Matched Short-Task Performance

Chao Peng*✉, Zhiheng Lyu*, Peijie Dong*, Hande Dong✉, Qiang Lin

arXiv preprint arXiv:2607.27283

Proposes the horizon residual to distinguish genuine long-horizon degradation from failures predicted by matched short-stage performance.

FSE'26 Industry TrackCCF-A

Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practice

Ruida Hu, Xinchen Wang, Xin-Cheng Wen, Zhao Zhang, Bo Jiang, Pengfei Gao, Chao Peng, Cuiyun Gao

Companion Proceedings of the 34nd ACM International Conference on the Foundations of Software Engineering

Benchmarks fine-grained LLM code review using enriched issue, repository, and change context from practice.

FSE'26CCF-A

GraphLocator: Graph-guided Causal Reasoning for Issue Localization

Wei Liu, Chao Peng✉, Pengfei Gao, Aofan Liu, Wei Zhang✉, Haiyan Zhao, Zhi Jin✉

Proceedings of the ACM on Software Engineering

ACM SIGSOFT Distinguished Paper Award

Uses graph-guided causal reasoning to trace symptoms to root causes and localize all code implicated by an issue.

arXiv'26arXiv

How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Study

Yunbo Lyu, David Williams, Jieke Shi, Zhensu Sun, Chao Peng, Zhou Yang, Federica Sarro, David Lo

arXiv preprint arXiv:2607.10856

Characterizes how practitioners build software engineering agents through interviews and a survey of real-world teams.

FSE'26CCF-A

Reducing Cost of LLM Agents with Trajectory Reduction

Yuan-An Xiao, Pengfei Gao, Chao Peng, Yingfei Xiong

Proceedings of the ACM on Software Engineering

Reduces LLM agent cost at inference time by removing useless, redundant, and expired trajectory information.

arXiv'26arXiv

SetupX: Can LLM Agents Learn from Past Failures in Functionality-Correct Code Repository Setup?

Zihang Zhou, Ziqian Ren, Yukai Wu, Yingjie Xiong, Wei Zhou, Chao Peng, Dong Zhang, Bingheng Yan, Xuanhe Zhou, Fan Wu

arXiv preprint arXiv:2605.26186

Investigates whether LLM agents can learn from past failures to achieve functionality-correct code repository setup.

ICSE'26CCF-A

Agent-Based Ensemble Reasoning for Repository-Level Issue Resolution

Zhao Tian, Pengfei Gao, Junjie Chen✉, Chao Peng✉

48th ACM/IEEE International Conference on Software Engineering

Uses agent-based ensemble reasoning to search for stronger solutions to repository-level software issues.

ICSE'26CCF-A

Enhancing Issue Localization Agent with Tool-Interactive Training

Zexiong Ma, Chao Peng✉, Qunhong Zeng, Pengfei Gao, Yanzhen Zou, Bing Xie✉

48th ACM/IEEE International Conference on Software Engineering

Trains issue localization agents to perform multi-step repository search through interactive use of retrieval tools.

arXiv'26arXiv

Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarios

Ruida Hu, Xinchen Wang, Chao Peng, Cuiyun Gao, David Lo

arXiv preprint arXiv:2604.06742

Introduces CLI-Tool-Bench to evaluate end-to-end, ground-up CLI software generation through black-box behavioral testing.

arXiv'26arXiv

Evaluating Repository-level Software Documentation via Question Answering and Feature-Driven Development

Xinchen Wang, Ruida Hu, Cuiyun Gao✉, Pengfei Gao, Chao Peng✉

arXiv preprint arXiv:2604.06793

Evaluate the effectiveness of repository document via downstream tasks.

ICSE'26CCF-A

LLM-based Agents for Automated Bug Fixing: How Far Are We?

Xiangxin Meng, Zexiong Ma, Pengfei Gao, Chao Peng✉

48th ACM/IEEE International Conference on Software Engineering

Systematically evaluates leading LLM agents for automated bug fixing and analyzes the factors behind their performance.

ICSE'26CCF-A

More with Less: An Empirical Study of Turn-Control Strategies for Efficient Coding Agents

Pengfei Gao, Chao Peng✉

48th ACM/IEEE International Conference on Software Engineering

Studies turn-control strategies that reduce the cost of coding agents while retaining task-solving effectiveness.

arXiv'26arXiv

Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents

Zhi Chen, Zhensu Sun✉, Yuling Shi, Chao Peng, Xiaodong Gu, David Lo, Lingxiao Jiang

arXiv preprint arXiv:2602.07900

Empirically studies agent-written tests and finds that current test-writing practices offer limited gains in issue resolution.

2025

NeurIPS'25CCF-A

Repo2Run: Automated Building Executable Environment for Code Repository at Scale

Ruida Hu, Chao Peng✉, Xinchen Wang, Junjielong Xu, Cuiyun Gao✉

The Thirty-ninth Annual Conference on Neural Information Processing Systems

Spotlight Poster

Builds executable repository environments at scale by iteratively generating Docker configurations and running tests.

ASE'25CCF-A

An Agent-based Evaluation Framework for Complex Code Generation

Xinchen Wang, Ruida Hu, Pengfei Gao, Chao Peng, Cuiyun Gao✉

2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE) · pp. 2427–2439

Introduces an agent-based evaluator that gathers execution, visual, and contextual evidence for complex code generation tasks.

Survey'25arXiv

From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence

Jian Yang, Xianglong Liu✉, Weifeng Lv✉, Ken Deng, Shawn Guo, Lin Jing, Yizhi Li, Shark Liu, Xianzhen Luo, Yuyu Luo, Changzai Pan, Ensheng Shi, Yingshui Tan, Renshuai Tao, Jiajun Wu, Xianjie Wu, Zhenhe Wu, Daoguang Zan, Chenchen Zhang, Wei Zhang, He Zhu, Terry Yue, Kerui Cao, Xianfu Cheng, Jun Dong, Shengjie Fang, Zhiwei Fei, Xiangyuan Guan, Qipeng Guo, Zhiguang Han, Joseph James, Tianqi Luo, Renyuan Li, Yuhang Li, Yiming Liang, Congnan Liu, Jiaheng Liu, Qian Liu, Ruitong Liu, Tyler Loakman, Xiangxin Meng, Chuang Peng, Tianhao Peng, Jiajun Shi, Mingjie Tang, Boyang Wang, Haowen Wang, Yunli Wang, Fanglin Xu, Zihan Xu, Fei Yuan, Ge Zhang, Jiayi Zhang, Xinhao Zhang, Wangchunshu Zhou, Hualei Zhu, King Zhu, Bryan Dai, Aishan Liu, Zhoujun Li, Chenghua Lin, Tianyu Liu, Chao Peng, Kai Shen, Libo Qin, Shuangyong Song, Zizheng Zhan, Jiajun Zhang, Jie Zhang, Zhaoxiang Zhang, Bo Zheng

arXiv preprint arXiv:2511.18538

Surveys the full lifecycle of code foundation models and provides practical guidance for building agents and applications.

ASE'25 Industry ShowcaseCCF-A

RepoMasterEval: Evaluating Code Completion via Real-World Repositories

Qinyun Wu*, Chao Peng*✉, Pengfei Gao, Ruida Hu, Haoyu Gan, Bo Jiang, Jinhe Tang, Zhiwen Deng, Zhanming Guan, Cuiyun Gao, Xia Liu, Ping Yang

Proceedings of the 40th IEEE/ACM International Conference on Automated Software Engineering

Evaluates code completion models in realistic repository contexts drawn from real-world development.

ESEM'25CCF-B

Go-Oracle: Automated Test Oracle for Go Concurrency Bugs

Foivos Tsimpourlas, Chao Peng✉, Carlos Rosuero, Ping Yang, Ajitha Rajan✉

2025 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM) · pp. 104–114

Automatically determines test outcomes for Go concurrency bugs without requiring manually written oracles.

ACL'25CCF-A

SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-tuning

Zexiong Ma, Chao Peng✉, Pengfei Gao, Xiangxin Meng, Yanzhen Zou, Bing Xie✉

Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · pp. 11427–11441

Trains open-source models for issue resolution through supervised and reinforcement learning over structured subtasks.

Tech Report'25arXiv

Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling

Pengfei Gao*, Zhao Tian*, Xiangxin Meng, Xinchen Wang, Ruida Hu, Yuanan Xiao, Yizhou Liu, Zhao Zhang, Junjie Chen, Cuiyun Gao, Yun Lin, Yingfei Xiong, Chao Peng✉, Xia Liu

arXiv preprint arXiv:2507.23370

More than 10k GitHub Stars

Uses test-time scaling and agent-based ensemble reasoning to resolve repository-level software issues.

SIGIR'25 Short PaperCCF-A

Understanding Large Language Model Performance in Software Engineering: A Large-scale Question Answering Benchmark

Ruida Hu, Chao Peng, Jingyi Ren, Bo Jiang, Xiangxin Meng, Qinyun Wu, Pengfei Gao, Xinchen Wang, Cuiyun Gao✉

Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval · pp. 3025–3029

Introduces CodeRepoQA, a large-scale multilingual benchmark for repository-level software engineering question answering.

FSE'25 Industry TrackCCF-A

AEGIS: An Agent-based Framework for Bug Reproduction from Issue Descriptions

Xinchen Wang, Pengfei Gao, Xiangxin Meng, Chao Peng, Ruida Hu, Yun Lin, Cuiyun Gao✉

Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering · pp. 331–342

Automatically reproduces bugs from issue descriptions through iterative retrieval, script generation, and execution feedback.

arXiv'25arXiv

SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Code

Xinghang Li*, Jingzhe Ding*, Chao Peng*, Bing Zhao✉, Xiang Gao, Hongwan Gao, Xinchen Gu

arXiv preprint arXiv:2506.05692

Introduces a benchmark for assessing security vulnerabilities in code generated by large language models.

ICSE'25 SEIPCCF-A

DialogAgent: An Auto-engagement Agent for Code Question Answering Data Production

Xiaoyun Liang, Jingyi Ren, Jiayi Qi, Chao Peng✉, Bo Jiang

2025 IEEE/ACM 47th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · pp. 69–79

Generates privacy-preserving synthetic code question-answering data that mimics real developer interactions.

arXiv'25arXiv

CoReQA: Uncovering Potentials of Language Models in Code Repository Question Answering

Jialiang Chen, Kaifa Zhao, Jie Liu✉, Chao Peng, Jierui Liu, Hang Zhu, Pengfei Gao, Ping Yang, Shuiguang Deng✉

arXiv preprint arXiv:2501.03447

Introduces CoReQA to evaluate how well language models answer questions requiring repository-wide code understanding.

COLING'25CCF-B

Prompting Large Language Models to Tackle the Full Software Development Lifecycle: A Case Study

Bowen Li*, Wenhan Wu*, Ziwei Tang*, Lin Shi*, John Yang, Jinyang Li, Shunyu Yao, Chen Qian, Binyuan Hui, Qicheng Zhang, Zhiyin Yu, He Du, Ping Yang, Dahua Lin, Chao Peng✉, Kai Chen✉

Proceedings of the 31st International Conference on Computational Linguistics · pp. 7511–7531

Oral Presentation

Examines how prompting can guide large language models across the complete software development lifecycle.

2024

arXiv'24arXiv

ContextModule: Improving Code Completion via Repository-level Contextual Information

Zhanming Guan, Junlin Liu, Jierui Liu, Chao Peng✉, Dexin Liu, Ningyuan Sun, Bo Jiang, Wenchao Li, Jie Liu, Hang Zhu

arXiv preprint arXiv:2412.08063

Improves code completion by incorporating repository-level code context and developer editing history.

arXiv'24arXiv

A Real-World Benchmark for Evaluating Fine-Grained Issue Solving Capabilities of Large Language Models

Ruida Hu, Chao Peng✉, Jingyi Ren, Bo Jiang, Xiangxin Meng, Qinyun Wu, Pengfei Gao, Xinchen Wang, Cuiyun Gao✉

arXiv preprint arXiv:2411.18019

Benchmarks fine-grained LLM capabilities across question answering, fault localization, and code editing on real issues.

ASE'24 NIERCCF-A

RepoSim: Evaluating Prompt Strategies for Code Completion via User Behavior Simulation

Chao Peng, Qinyun Wu, Jiangchao Liu, Jierui Liu, Bo Jiang, Mengqian Xu, Yinghao Wang, Xia Liu, Ping Yang

Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering · pp. 2279–2283

Evaluates code completion prompting strategies by simulating developer behavior and evolving repository context.

Tech Report'24arXiv

MarsCode Agent: AI-native Automated Bug Fixing

Yizhou Liu*, Pengfei Gao*, Xinchen Wang, Jie Liu, Yexuan Shi, Zhao Zhang, Chao Peng✉

arXiv preprint arXiv:2409.00899

Automates repository-level bug fixing through planning, reproduction, fault localization, patch generation, and validation.

FSE'24 Industry TrackCCF-A

Neat: Mobile App Layout Similarity Comparison Based on Graph Convolutional Networks

Zhu Tao, Yongqiang Gao, Jiayi Qi, Chao Peng, Qinyun Wu, Xiang Chen, Ping Yang

Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering · pp. 104–114

Uses graph convolutional networks to compare mobile app layouts and identify visual inconsistencies.

ICSE'24 SEIPCCF-A

Hawkeye: Change-targeted Testing for Android Apps based on Deep Reinforcement Learning

Chao Peng, Zhengwei Lv, Jiarong Fu, Jiayuan Liang, Zhao Zhang, Ajitha Rajan, Ping Yang

Proceedings of the 46th International Conference on Software Engineering: Software Engineering in Practice · pp. 298–308

Uses deep reinforcement learning to target change-impacted GUI elements when testing Android app updates.

2023

FSE'23 Industry TrackCCF-A

AG3: Automated Game GUI Text Glitch Detection Based on Computer Vision

Xiaoyun Liang, Jiayi Qi, Yongqiang Gao, Chao Peng, Ping Yang

Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · pp. 1879–1890

Detects text glitches in game interfaces automatically using computer vision.

ASE'23CCF-A

Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration

Zongze Jiang, Ming Wen✉, Yixin Yang, Chao Peng, Ping Yang, Hai Jin

2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) · pp. 1364–1376

Exposes Go concurrency bugs by directing interleaving exploration around synchronization primitives.

EASE'23 Industry TrackCCF-C

NxtUnit: Automated Unit Test Generation for Go

Siwei Wang, Xue Mao, Ziguang Cao, Yujun Gao, Qucheng Shen, Chao Peng

Proceedings of the 27th International Conference on Evaluation and Assessment in Software Engineering · pp. 176–179

Automatically generates unit tests for Go programs to improve developer productivity and code quality.

TSE'23CCF-A

Characterizing and Finding System Setting-Related Defects in Android Apps

Jingling Sun, Ting Su, Kai Liu, Chao Peng, Zhao Zhang, Geguang Pu, Tao Xie, Zhendong Su

IEEE Transactions on Software Engineering

Characterizes Android defects triggered by system setting changes and develops techniques to expose them automatically.

2022

ICSME'22 Industry TrackCCF-B

Automated Server Testing: an Industrial Experience Report

Chao Peng, Yujun Gao, Ping Yang

2022 IEEE International Conference on Software Maintenance and Evolution (ICSME) · pp. 519–522

Presents SIT, an industrial platform that automates server API test generation, execution, and fault localization at ByteDance.

ASE'22 Industry ShowcaseCCF-A

Fastbot2: Reusable Automated Model-based GUI Testing for Android Enhanced by Reinforcement Learning

Zhengwei Lv, Chao Peng✉, Zhao Zhang, Ting Su✉, Kai Liu, Ping Yang

Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering · pp. 1–5

More than 1k GitHub stars

Reuses learned app models and reinforcement learning to accelerate continuous GUI testing across Android app versions.

ICSME'22 Industry TrackCCF-B

MUBot: Learning to Test Large-Scale Commercial Android Apps like a Human

Chao Peng, Zhao Zhang, Zhengwei Lv, Ping Yang

2022 IEEE International Conference on Software Maintenance and Evolution (ICSME) · pp. 543–552

Learns human-like interaction strategies to improve GUI testing of large-scale commercial Android apps.

2021

PhD Thesis'21

Automated Testing for GPU Kernels

Chao Peng

University of Edinburgh

Advances automated GPU kernel testing through effectiveness measurement and targeted test generation.

ESEM'21CCF-B

Testing Smart Contracts: Which Technique Performs Best?

Sefa Akca, Chao Peng, Ajitha Rajan

Proceedings of the 15th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM) · pp. 1–11

Empirically compares smart contract testing techniques to identify their relative strengths and limitations.

ICSME'21CCF-B

CAT: Change-focused Android GUI Testing

Chao Peng, Ajitha Rajan, Tianqin Cai

2021 IEEE International Conference on Software Maintenance and Evolution (ICSME) · pp. 460–470

Prioritizes GUI elements affected by code changes to efficiently test updated Android apps.

2020

GPGPU'20CCF-A

Automated Test Generation for OpenCL Kernels Using Fuzzing and Constraint Solving

Chao Peng, Ajitha Rajan

Proceedings of the 13th Annual Workshop on General Purpose Processing using Graphics Processing Unit · pp. 61–70

Generates effective OpenCL kernel tests by combining fuzzing with constraint solving.

2019

APSEC'19CCF-C

SIF: A Framework for Solidity Contract Instrumentation and Analysis

Chao Peng, Sefa Akca, Ajitha Rajan

2019 26th Asia-Pacific Software Engineering Conference (APSEC) · pp. 466–473

Provides a unified framework for instrumenting Solidity smart contracts and integrating diverse analysis techniques.

APSEC'19CCF-C

SolAnalyser: A Framework for Analysing and Testing Smart Contracts

Sefa Akca, Ajitha Rajan, Chao Peng

2019 26th Asia-Pacific Software Engineering Conference (APSEC) · pp. 482–489

Combines static and dynamic analysis to automatically detect vulnerabilities in Solidity smart contracts.

ISSTA'19 Doctoral SymposiumCCF-A

On the Correctness of GPU Programs

Chao Peng

Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis · pp. 443–447

Develops testing criteria and automated test generation techniques tailored to the correctness challenges of GPU programs.

FASE'19CCF-B

CLTestCheck: Measuring Test Effectiveness for GPU Kernels

Chao Peng, Ajitha Rajan

International Conference on Fundamental Approaches to Software Engineering · pp. 315–331

Introduces coverage and mutation-based criteria for measuring the effectiveness of OpenCL kernel test suites.

2017

Master Thesis'17

FEniCS Performance Investigation and Porting miniDFT to GPU Clusters

Chao Peng

University of Edinburgh

Investigates FEniCS performance and ports the miniDFT electronic structure application to GPU clusters.