Tricky$^2$: Towards a Benchmark for Evaluating Human and LLM Error Interactions
Cole Granger, Dipin Khati, Daniel Rodriguez-Cardenas, Denys Poshyvanyk
TL;DR
Tricky2 addresses a gap in software engineering benchmarks by evaluating how human-written bugs and LLM-generated errors interact within the same codebase. The authors introduce a taxonomy-guided bug-injection workflow that extends TrickyBugs with LLM-originated faults across C++, Python, and Java, producing Human-only, LLM-only, and Human+LLM splits with identical test suites. They provide a small but concrete baseline across origin classification, error localization, and program repair, revealing that mixed-origin defects can degrade repair success and highlighting interaction effects not observable in single-origin benchmarks. The dataset and prompts are released publicly to support reproducibility and future exploration of robust, error-aware human–AI code collaboration.
Abstract
Large language models (LLMs) are increasingly integrated into software development workflows, yet they often introduce subtle logic or data-misuse errors that differ from human bugs. To study how these two error types interact, we construct Tricky$^2$, a hybrid dataset that augments the existing TrickyBugs corpus of human-written defects with errors injected by both GPT-5 and OpenAI-oss-20b across C++, Python, and Java programs. Our approach uses a taxonomy-guided prompting framework to generate machine-originated bugs while preserving original human defects and program structure. The resulting corpus spans human-only, LLM-only, and human+LLM splits, enabling analysis of mixed-origin error behavior, multi-bug repair robustness, and reliability in hybrid human-machine code. This paper outlines the dataset construction pipeline and illustrates its use through small-scale baseline evaluations of classification, localization, and repair tasks.
