A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents
- Source
- arxiv.org
- Author
- Wuyang Dai, Moses Openja, Jiho Shin, Hung Viet Pham, Song Wang
- Date

Context
A large empirical study examined how 157 popular open-source - projects, each with at least 100 GitHub stars, actually test themselves, by reading their documentation, source code, configuration, and test suites (arxiv.org). The researchers found that quality assurance work concentrates on basic functionality and on actions flagged as high risk, while coverage across the rest of an agent's behavior stays fragmented. Safeguards meant to prevent unsafe actions are applied inconsistently even across routes that should be equivalent, meaning a risky action can be blocked one way into the system and left open another way in. Tests rarely probe boundary conditions, adversarial inputs, or failures that only show up across a multi-step tool-use sequence, and risks the projects themselves identify are seldom turned into corresponding end-to-end checks.
- Safeguards were applied inconsistently even across equivalent execution routes within the same project — a risky action might be guarded on one code path but not on another functionally similar one.
- Tests in the 157 studied projects rarely examine boundary conditions, adversarial inputs, or multi-step tool-use failures — QA concentrates on basic functionality and already-flagged high-risk actions instead.
- Risks the projects' own documentation identifies are seldom translated into actual end-to-end QA checks — the gap is between knowing about a risk and having a test that catches it.
- LLM — A large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
articleNot All Agents Are Equal: Code Quality and Post-Merge Maintenance Across Five Autonomous Coding Agents in the WildObada Kraishan
articleWhen Code Becomes an LLM Call: An Empirical Study of Call-Site Contracts in Agentic SystemsShihao Weng, Longtian Wang, Yang Feng, Mingfei Cheng, Jia Liu, Chao Shen, He Ye, Federica Sarro, Xiaofei Xie
articleLabAgent: Customize Any Research Hubs for Scientific Discoveries Using AI AgentsLei Liu, Yikun Zhang, Jialin Chen, Wanjia Zhao, Rex Ying, Wengong Jin, Hua Xu, James Zou, Tianyu Liu, Hongyu Zhao
Checking sign-in…
Loading comments…