← Latest papers
💻 computer science

PatchTrack: A Comprehensive Analysis of ChatGPT's Influence on Pull Request Outcomes

This paper introduces PatchTrack, an automated tool for analyzing 338 pull requests to reveal that while full adoption of ChatGPT-generated code is rare (median 25% integration), developers frequently adapt, refine, and leverage AI suggestions as conceptual starting points, demonstrating that generative AI's influence extends beyond code generation to shaping collaborative review and decision-making workflows.

Original authors: Daniel Ogenrwot, John Businge

Published 2026-04-07
📖 5 min read🧠 Deep dive

Original authors: Daniel Ogenrwot, John Businge

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

Imagine you are a chef running a busy restaurant (your software project). Recently, you hired a very fast, incredibly knowledgeable, but sometimes slightly hallucinating sous-chef named ChatGPT. This sous-chef can whip up recipes, suggest new ingredients, and even write the entire menu for you in seconds.

But here's the catch: You can't just serve whatever the sous-chef writes to your customers. You have to taste it, adjust the seasoning, check if it fits your restaurant's style, and make sure it doesn't break the kitchen rules.

This paper, "PatchTrack," is like a detective report that watched 338 different "orders" (Pull Requests) in open-source software kitchens to see exactly how human chefs interact with this AI sous-chef.

Here is the breakdown of what they found, using simple analogies:

1. The Main Discovery: "The 25% Rule"

The researchers expected that if the AI wrote a recipe, the human chef would just copy-paste it onto the menu.
The Reality: That almost never happens.

  • The Analogy: Imagine the AI hands you a perfect, 10-page recipe for a cake. You don't serve the whole thing. Instead, you might take the idea for the frosting, throw away the weird ingredient list, rewrite the baking instructions to fit your oven, and maybe just use the first two steps.
  • The Stat: On average, developers only use about 25% of the code the AI suggests directly. The rest is thrown away, heavily edited, or used just as a spark for a new idea. The AI is a starting point, not the final product.

2. The Four Types of Interactions

The study categorized every interaction into four buckets, like different ways a chef might use a sous-chef's advice:

  • 🟢 Patch Applied (PA): "The Direct Hit"

    • What happened: The AI wrote code, and the human said, "Perfect, just like that!" and merged it.
    • How often: This happened about 40% of the time, but even then, it was usually a small snippet, not a whole new system.
    • The Vibe: "You nailed it. Serve it."
  • 🟡 Patch Not Applied (PN): "The Idea Bank"

    • What happened: The AI suggested a fix, but the human said, "I like the concept, but I can't use your exact code."
    • The Analogy: The AI says, "Let's build a bridge out of jelly!" The human says, "Great idea to cross the river, but we'll use steel instead." They used the AI's logic to solve the problem but wrote their own code.
    • The Vibe: "Thanks for the inspiration, but I'm doing it my way."
  • 🔵 No Patch Generated (NE): "The Consultant"

    • What happened: The human asked the AI for help, but the AI didn't write any code at all. It just gave advice, explained a concept, or fixed a typo in the documentation.
    • The Analogy: You ask the sous-chef, "How do I chop an onion without crying?" He doesn't chop it for you; he just tells you to wear goggles. You still do the chopping, but you learned something new.
    • The Vibe: "I didn't need the code; I needed the wisdom."
  • 🔴 Closed (CL): "The Rejected Draft"

    • What happened: The human tried to submit the AI's work, but the restaurant manager (the project maintainer) rejected the whole order.
    • Why? Sometimes the AI's code was too messy, sometimes it didn't fit the restaurant's theme, or sometimes the human just made a mistake in how they presented it.
    • The Vibe: "This doesn't fit our menu. Try again."

3. Why Don't They Just Copy-Paste?

You might wonder, "If the AI is so smart, why do humans change everything?"
The paper found three main reasons:

  1. The "Style" Mismatch: The AI writes code that works, but it looks nothing like the rest of the project. It's like the AI wrote a recipe in French, but your kitchen only speaks Spanish.
  2. The "Trust" Issue: AI sometimes makes things up (hallucinations). Developers have to double-check everything, like a parent checking a child's math homework.
  3. The "Context" Problem: The AI doesn't know the history of your project. It might suggest a solution that breaks something you fixed three years ago.

4. The "PatchTrack" Tool

To figure all this out, the authors built a tool called PatchTrack.

  • The Analogy: Imagine a super-fast scanner that compares the AI's recipe card against the final dish on the plate. It highlights exactly which ingredients were kept, which were swapped, and which were thrown in the trash. This allowed them to analyze hundreds of orders quickly without reading every single word manually.

The Big Takeaway

The most important lesson from this paper is that AI is not replacing the chef; it's just a very fast, very chatty intern.

  • Old View: "AI will write the code, and we just watch."
  • New Reality: "AI writes a rough draft, and we (the humans) do the heavy lifting of editing, refining, and making sure it fits our specific needs."

The study concludes that for AI to be truly useful in software development, we need to stop expecting it to be a "magic button" that solves everything instantly. Instead, we should treat it as a collaborator that speeds up the brainstorming phase, but leaves the final decision-making and quality control to the human experts.

In short: The AI provides the spark, but the human lights the fire.

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 →