← Latest papers
🤖 AI

Tricky2^2: Towards a Benchmark for Evaluating Human and LLM Error Interactions

This paper introduces Tricky2^2, a hybrid dataset augmenting human-written defects with LLM-injected errors across multiple programming languages to facilitate the study of how human and machine-originated bugs interact, thereby enabling new evaluations of error classification, localization, and repair in hybrid software development workflows.

Original authors: Cole Granger, Dipin Khati, Daniel Rodriguez-Cardenas, Denys Poshyvanyk

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

Original authors: Cole Granger, Dipin Khati, Daniel Rodriguez-Cardenas, Denys Poshyvanyk

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 building a house. Sometimes, the human architect makes a mistake, like forgetting to put a door in the right spot. Other times, a super-smart robot assistant helps build the house but accidentally installs a window that doesn't open or puts a brick in the wrong place.

Until now, researchers have mostly studied these two types of mistakes separately. They looked at houses with only human errors, or houses with only robot errors. But in the real world, humans and robots are working together on the same house, often making mistakes that get tangled up with each other.

This paper introduces Tricky2, a new "training ground" (or benchmark) designed specifically to study what happens when human mistakes and robot mistakes mix together in the same code.

Here is a breakdown of how they built it and what they found, using simple analogies:

1. The Recipe: Mixing the Ingredients

The researchers started with an existing collection of "buggy" code called TrickyBugs. Think of this as a box of house blueprints that humans drew but made mistakes on.

To create Tricky2, they didn't just throw away the old blueprints. Instead, they took a very smart robot (an AI called GPT-5) and another slightly different robot (OpenAI-oss-20b) and asked them to do something tricky:

  • The Rule: "Look at this blueprint that already has a human mistake. Add one new mistake of your own, but don't fix the human one. Keep the rest of the house exactly the same."
  • The Result: They created three types of "houses" (datasets):
    1. Human-Only: The original blueprints with just human errors.
    2. Robot-Only: Blueprints where the robot made a mistake on a perfect house.
    3. The "Hybrid" (Human + Robot): The most important part. These are blueprints where a human made a mistake, and then the robot added another mistake on top of it.

They did this for three different "languages" (C++, Python, and Java), creating a massive library of over 11,000 mixed-up code examples.

2. The Test: Can the Repair Crew Fix It?

Once they built this library, they asked other AI models to act as "repair crews." They gave the AI three jobs to see how well it could handle the mess:

  • Job 1: The Detective (Classification): Can the AI look at the code and guess, "Did a human make this mistake, a robot, or both?"
  • Job 2: The Spotter (Localization): Can the AI point exactly to the line of code where the mistake is hiding?
  • Job 3: The Fixer (Repair): Can the AI actually fix the code so the house works again?

3. The Surprise: The "Double Trouble" Effect

The researchers ran a small test with some of the hardest problems. Here is what they discovered:

  • Solo Mistakes are Easier: When the AI tried to fix a house with only a human mistake, or only a robot mistake, it was reasonably good at it.
  • Mixed Mistakes are Hard: When the AI tried to fix the Hybrid houses (where a human error and a robot error were tangled together), it struggled significantly.
    • In fact, for one specific type of code (C++), the AI failed to fix any of the hybrid problems, even though it could fix many of the single-source problems.

The Analogy: Imagine trying to untangle two knots. If there is only one knot, it's easy. If there are two knots tied together in a way that one hides the other, it becomes a nightmare. The paper suggests that when human and AI errors interact, they create a "double trouble" effect that confuses even the smartest repair tools.

4. Why This Matters

The authors say this is just the beginning. They aren't claiming this solves all software problems yet. Instead, they are saying:

  • We need to stop testing repair tools only on "pure" human code or "pure" robot code.
  • Real-world software is a mix of both, and that mix creates unique problems that current tools aren't ready for.
  • Tricky2 is a new tool for researchers to study these "mixed-origin" errors so they can build better tools for the future.

In short, the paper says: "We built a special test kit to see what happens when human and robot mistakes collide. We found that when they collide, it's much harder to fix the code, and we need to study this specific problem to make software safer."

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 →