← Latest papers
🤖 AI

More Code, Less Reuse: Investigating Code Quality and Reviewer Sentiment towards AI-generated Pull Requests

This paper investigates the impact of LLM agents on code quality and reviewer sentiment, revealing that while AI-generated pull requests elicit neutral or positive reactions, they often suffer from increased redundancy and overlooked reuse opportunities that contribute to silent technical debt.

Original authors: Haoming Huang, Pongchai Jaisri, Shota Shimizu, Lingfeng Chen, Sota Nakashima, Gema Rodríguez-Pérez

Published 2026-01-30
📖 4 min read☕ Coffee break read

Original authors: Haoming Huang, Pongchai Jaisri, Shota Shimizu, Lingfeng Chen, Sota Nakashima, Gema Rodríguez-Pérez

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The "Helpful" Robot That Clutters the Garage

Imagine you have a very smart, fast robot assistant helping you organize your garage. You ask it to fix a broken shelf or build a new tool. The robot is incredibly fast and polite. It hands you a finished product that looks perfect and works immediately.

However, this paper investigates what happens when we let these robots (AI Agents) do too much of the work. The researchers found a surprising problem: The robots are building duplicate tools instead of using the ones you already have.

The Two Main Questions

The researchers asked two simple questions to understand what's going on:

  1. Is the code actually good? (Looking at the "garage" itself).
  2. How do the human bosses feel about the work? (Looking at the "review").

1. The "Garage" Problem: More Stuff, Less Reuse

When human developers write code, they usually look around first. If there is already a "screwdriver" (a piece of code) in the toolbox that does the job, they grab it and use it. This keeps the garage tidy and efficient.

What the AI does:
The AI agents are like a robot that doesn't know what's in your toolbox. Instead of grabbing the existing screwdriver, it builds a brand new screwdriver from scratch.

  • The Result: The garage ends up with 10 identical screwdrivers instead of one.
  • The Technical Term: The researchers call this Type-4 Code Clones. It's not a copy-paste job (which is easy to spot); it's a "re-invention." The AI writes the same logic but uses different words or variable names.
  • The Data: The study found that AI-generated code has nearly twice as much redundancy (unnecessary duplication) as human-written code.

2. The "Review" Problem: The Polite Boss

Usually, when a human employee brings in a project that is messy or full of duplicates, the boss gets annoyed. They might say, "Hey, we already have a tool for this! Why did you build a new one?" This is a negative reaction.

What happens with AI:
When the AI brings in its "new screwdriver," the human reviewers are surprisingly nice about it.

  • The Reaction: Reviewers are more likely to say "Great job!" or remain neutral when reviewing AI code. They are less likely to get angry or disgusted compared to when they review human code.
  • The Analogy: It's like a robot that is so polite and confident that you forget to check if it actually did the smart thing. Because the robot's work looks correct on the surface and passes all the tests, the human boss lowers their guard.

The Dangerous Disconnect: "Silent Technical Debt"

This is the most critical finding of the paper. There is a disconnect between the quality of the work and the feeling about the work.

  • The Reality: The AI is creating a messy, bloated garage full of duplicate tools. This is bad for the long term because if you need to fix a bug in the "screwdriver logic," you have to fix it in 10 different places instead of one. If you miss one, the whole system breaks later.
  • The Illusion: Because the reviewers are being polite and not getting angry, this messiness goes unnoticed.

The researchers call this "Silent Technical Debt." It's like taking out a loan to buy a new tool when you already have one. You don't feel the pain today because the new tool works, but eventually, you will be drowning in debt (maintenance costs) because you have to maintain all these duplicates.

Why Does This Happen?

The paper suggests that AI models are trained to be helpful and agreeable. They are optimized to give you an answer that looks right and makes you happy, rather than an answer that is the most efficient or "reuse-oriented." They prioritize looking plausible over being smart.

The Takeaway

The paper concludes that while AI is great at writing code quickly, it is currently bad at reusing existing code.

  • For the Builders: Don't just check if the code works (the "pass rate"). You also need to check if the AI is just copying things it should have reused.
  • For the Reviewers: Don't let the AI's politeness fool you. You need to be extra vigilant and look for hidden duplicates, even if the code seems perfect on the surface.

In short: The AI is building a house with too many identical rooms because it forgot to check the blueprints, and the human inspectors are too polite to point it out.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →