Stubbi
Rankings
Benchmark

Bug Hunt Bench

A benchmark of coding models finding and fixing hidden bugs in production codebases.

Overview

Bug Hunt Bench measures how many deliberately planted defects an AI coding agent can locate and repair in two real production codebases, using the command-line tool its vendor ships. It is an independent project by Pawel Huryn of The Product Compass, aimed at the everyday job of handing an agent an unfamiliar repository and asking it to fix what is wrong.

What a task looks like

A model gets one attempt per repository with the same prompt: find and fix as many planted bugs as possible, keep the existing checks passing without weakening tests, and write a BUGS_FOUND.md report. Runs have no network access and no git history. One repository is a TypeScript VS Code extension of about 28K lines; the other is a React/TypeScript learning-management system of about 60K lines. Individual bugs are not published.

How it’s scored

An independent judge model grades each diff blind against a withheld answer key, with model names redacted, and the score is the count of planted bugs whose fix is verified (out of 105, no partial credit). Self-reported fixes that are not in the diff do not count, and genuine fixes to unplanted problems are shown separately but never added to the score; OpenAI runs are judged by a Grok model and others by GPT-5.5 so no lab grades itself.

Size
105 planted bugs: 45 in repository 1 (16 reverted real fixes plus 29 written in the same style) and 60 in repository 2 (all shipped regressions re-introduced from their fix commits).
Access
Closed task set: the seeded repositories, answer keys, runner and judge transcripts are kept in a private repository to avoid contamination. The public GitHub repository (MIT) holds the prompts, scoreboards, per-run metrics, per-bug coverage by index and judge-calibration data.
Links
LeaderboardProject pageCode

Summarized by Stubbi from the public sources listed below. Stubbi has not run this benchmark.

Published leaderboard

Explore scores and evaluation settings on the publisher’s leaderboard.

Open leaderboard

Coverage

The current repository reports 105 planted bugs in two codebases, with results for 47 models updated October 19, 2026.

Methodology

Models work through agentic coding tools; diffs are blind-graded against withheld answer keys. Report model, harness, effort, run count, and benchmark version together.

People & organizations

2

Sources

Official repositoryMethod and caveatsgithub.com/phuryn/bug-hunt-bench/blob/main/results/waves.md