Characterizing the Quality Profile of AI-Generated C++ in Production

Michael Tran, Fred Lewis, Kun Yang, Saksham Thakur, Aditya Kini +3 more
8/6/2026
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

The widespread integration of AI coding assistants offers undeniable boosts to engineering velocity. Yet, recent studies point to a growing trade-off, revealing persistent challenges with code quality and maintainability.

Show full abstract

Industry leaders, including frontier AI labs, echo these concerns. As large language models are increasingly relied upon to author production code, understanding their impact on shipped software quality has become a critical priority. However, assessing these effects in industrial workflows remains difficult due to observability barriers. We study the impact of AI-generated code on production quality within a large enterprise operating global products relied upon by billions of users daily. Driven by this scale and user trust, the organization values code quality and has built thorough observability for every line of code deployed into production, enabling us to overcome measurement barriers to assess these effects. This study presents a large-scale empirical analysis of AI-generated C++ code from April 2025 to April 2026, tracking 3.52 million code changes across this enterprise's brownfield codebase. The core purpose is to understand the quality, performance, and maintenance characteristics of AI-generated code compared to human-written code in a production environment at scale. We find that AI-generated C++ code has a distinct quality profile, showing higher rates of interface and coupling burdens, copy and allocation overheads, and a reliance on explicit loops over optimized standard APIs. These issues translate into tangible downstream costs, including increased review effort and a 5-8% increase in compute resource consumption. However, we demonstrate that providing models with targeted, taxonomy-informed feedback can mitigate these effects, leading to an 11.1% reduction in targeted static analysis warnings and improved computational efficiency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tran2026characterizing,
  title  = {Characterizing the Quality Profile of AI-Generated C++ in Production},
  author = {Michael Tran and Fred Lewis and Kun Yang and Saksham Thakur and Aditya Kini and Aditya Patil and Milad Hashemi and Parthasarathy Ranganathan},
  year   = {2026},
  eprint = {2608.06640},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.06640v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.06640.svg)](https://codeofpaper.com/paper/2608.06640)

Discussion