Skip to content
Philippos Melikidis

2026 · research

Where in the code is this bug?

A benchmark on 1,234 real GitHub issues from six repositories that measures how well different methods find the file that needs fixing.

0.715 vs 0.501Recall@1, final method vs. raw search, same 918 issues

Paired on the five original repositories

The problem

Before anyone, human or AI tool, can fix an issue, they have to find the right place in the code. Lots of methods claim to do that well. Few are compared fairly on real data.

What I built

A university team project with an industry partner, two engineers and a research group. I built most of the benchmark, including ground truth, comparison framework and statistics. The final method adds likely code terms to the issue text, narrows the code base down in two search stages and lets an LLM pick one file from the best 15.

What came out

The final method reaches Recall@1 0.701 on 1,234 issues from six repositories. On the 918 issues of the five original repositories, where both were measured, it gets Recall@1 0.715 against 0.501 for raw search, and Recall@10 0.892 against 0.822. It also knows when it is sure: in about a third of the cases it names a single file, and there it is right 83 % of the time (measured on the five original repositories). Validating the ground truth early on showed that the first dataset contained only 149 unique issues out of 206 entries, which changed several conclusions.

Tech

  • Python
  • Elasticsearch
  • embedding models
  • LLMs
  • paired significance tests

Source on GitHub

The public repository is an earlier snapshot with 918 issues. The final numbers come from the project’s private repository.

← All work