pebble

Software contains latent benchmarks

Can a model work out what to test another model on by exploring the software it will use?

A public benchmark doesn’t tell you how well a model will handle a particular company’s software. The tasks that matter depend on that system’s tools, state, rules, and users: which records can change, which actions need permission, and what counts as finishing the job.

My working hypothesis is that software contains much of the material for its own benchmark, because its interfaces and business logic limit the work that can happen inside it. I call this a latent benchmark: a set of useful tasks and checks that could be found by exploring the environment instead of written entirely by hand. There may be many valid task sets, and the system alone can’t tell us which jobs its users care about most.

How the tasks are made

We use two roles. The teacher can read source code, databases, and other internals in an isolated copy of the system. It uses that access to propose tasks, set up starting states, write reference solutions, and write checks on the outcome. The student gets the task and the normal interface: the APIs, commands, or other tools an agent would actually use.

The teacher and student can be the same model; only their access differs. A teacher that can see every reservation can set up a flight-change problem. The student has to find the right reservation and make the change through the allowed tools. The student should still get the policies and instructions it needs to solve the task fairly. Only the answer key should be hidden.

The result is a runnable task: a starting environment, a request, and a check for success. First, the reference solution has to pass and an agent that does nothing has to fail. Then we run student attempts and look at the failures. A low score might mean a hard task, or an ambiguous instruction, a broken tool, or a faulty check.

First experiments: airline and retail

We started with the airline and retail environments in the τ-bench family (the τ3 distributions) and deleted the existing task files and scenarios first. We wanted to see whether independent writers would rediscover the jobs in the human-written benchmark. These were small exploratory runs in October 2026, with DeepSeek-v4-pro as both writer and student. A separate model judged whether each pair of tasks was the same job, a related task family, or different work. We haven’t yet checked those judgments against a human review.

Three independent airline runs produced 6, 9, and 4 tasks that passed the initial checks. They often fell into similar task families, such as cancellations, upgrades, and bookings. Strict matches were rare: the three sets matched 0, 1, and 0 of the human benchmark’s 50 tasks. In retail, four generated tasks matched 1 of 114 human tasks on the same strict criterion. The experiment notes have the setup, counts, and comparison criteria.

The recurring difference was how tasks were composed. Generated tasks tended to test one operation at a time. Human-written tasks more often combined several operations with policy decisions: change part of an order, handle a related request, and apply the right exception. Finding the available operations is a useful start, but on its own it doesn’t recover the work people want done.

One airline task, where the right move was to refuse a request, had a broken success check. Two student attempts timed out and still passed, because the check only required the database to stay unchanged. It also needed evidence that the refusal was actually communicated. The task had passed the reference-solution and do-nothing checks, so those checks hadn’t shown it was a valid measure of success.

Related work

τ-bench already tests tool use, interaction, and domain policies by checking outcomes in a stateful environment. AutoBencher builds benchmarks automatically around explicit evaluation goals. More recently, E-Bench gives task generation and task solving different information and tools.

I want to know how much of a useful benchmark can be recovered from one particular software system. Do independent writers converge on the same jobs? Which human tasks do they miss? Can we get them to write the missing combinations without just showing them the benchmark they’re meant to reconstruct? Do the resulting checks hold up when someone tries to game them?

Touchstone

Touchstone is the practical project alongside this research. It starts from an agent repository and recorded examples of completed work. It builds candidate Harbor tasks and a sandbox, and gives the product owner an interface to correct what the tests ask and how they’re graded. That review adds context the code alone may not have.

The published Touchstone package is an early tool. The environment-driven generator from the experiments above is separate: it’s on a Harbor branch and hasn’t been merged into upstream Harbor. Neither one shows that a complete benchmark can be recovered automatically from arbitrary software.

The aim is a reviewed task set that a team can use to compare models on its own software, dig into failures, and prepare training data. The white paper covers that workflow and its current limits in more detail.

Back to research