Heal · Pierre Oucif · November 23, 2026 · Part 1 of 2
Harness and benchmark engineering to close the gap between Mistral and Anthropic
The model is what you rent. The harness is what you engineer. The benchmark is what you own — and it is how the gap closed.
Heal’s agent looks for defects in a running copy of a product, on Claude through Claude Code. In November 2026 we put two questions to ourselves at heal.dev, about its harness, everything around the model:
- Our harness adds two things: the heuristics that say which bugs to look for and how, and the tailor-made sandbox that proves them. Is it great because of Anthropic’s models, or because of the harness?
- We want to cut the price of our agent with cheaper models and no loss of quality. Does the harness let us?
- To answer both, the key turned out to be the benchmark we have been building since August.
Both experiments ran on one product, Sisyf, a coaching product for endurance athletes, on two of its features, the race-plan editor, where an athlete loads the GPX trace of a race to prepare it, and the stats page, where they follow their training, every reported defect judged against its own test by a separate model.
TL;DR
- The harness, not the model, finds the bugs that need the product running. With Claude or Mistral, most of the bugs the Heal agent finds appear only when the product is running, 22 of its 33 with Claude; every other setup finds 1 to 4 of them.
- A cheaper model, as many bugs, catching up on Anthropic’s. Once the harness is tuned for it, the Heal agent with Mistral finds as many bugs as the Heal agent with Anthropic, half of them the same ones.
- The benchmark is the moat. It is wide enough to tune the harness to a new model provider until it catches up with Anthropic, as it did for Mistral, and to bring in the next one.
Experiment 1 · does the Heal harness make a coding agent find more bugs, and the ones that show only when the product runs?
The Heal harness is everything around the model: the sandbox on one side and, on the other, the tasks — the agent's own code and the guidelines it enforces (the verification harness article says why it matters):
- the sandbox the Heal agent builds — the product running on seeded data, a stand-in for every third-party service the product calls (payments, mail, maps…), a browser, a mail catcher;
- the deterministic code of the agent, which we call the orchestration — the fixed sequence of steps a run follows to find defects, several at a time, every test reported re-run before it counts, duplicate findings merged;
- the guidelines and heuristics its sessions read: how to find a defect, prove it and report it.
Results
The Heal sandbox lets a coding agent find new bugs and verify them for real; the Heal agent finds a new kind of bug.
Claude Code and Mistral Vibe alone
Given the source code and nothing else, both find what the code shows: validation gaps, wrong computations, labels, a 500 on bad input — the kind our benchmark against AI code review measures in detail.
- Even though the prompt asks Claude Code and Vibe to find “behaviours a maintainer would fix, the ones that cost the user first”, that guideline is not detailed enough to steer the models. Asking them to deliver a test that validates each finding, on the other hand, does make them do it.
| bugs found | no other setup found | need the product running | $ per run | min per run | |
|---|---|---|---|---|---|
| with Claude | 40 | 9 | 2 | 4.3 | 10 |
| with Mistral | 12 | 4 | 1 | 0.9 | 13 |
Bug examples · the race-plan editor
A free-text start time like “7h30” is accepted, the API refuses it and every later autosave fails
howby reading the code
whoClaude in every setup; Mistral in none
A race plan save accepts and stores a start time with hours 24 to 29
howby reading the API’s validation rules
whoClaude and Mistral alone; not the Heal agent
Deleting a manual segment keeps its barrière (cut-off time), inherited by a new segment reusing the id
howby reading the code
whoonly Claude alone
Claude Code and Mistral Vibe with the Heal sandbox
With the sandbox running, both drive a browser to find new defects in what a user meets instead of what the code computes. Claude drives the product in the browser about five minutes a run; Mistral under a minute, then falls back to scripts against the API.
- The extra minutes are the browser running, not the model thinking longer.
| bugs found | no other setup found | need the product running | $ per run | min per run | |
|---|---|---|---|---|---|
| with Claude | 30 | 3 | 3 | 3.7 | 19 |
| with Mistral | 15 | 5 | 3 | 1.0 | 18 |
Bug examples · the race-plan editor
Removing a waypoint by double-click shifts names and types onto the next points
howby using the editor in the browser
whoonly Claude with the sandbox
Planifier les ravitos (plan the feed stations) on a new plan opens the feed-station tab on plan=new instead of the created plan
howby using the editor in the browser
whoClaude and Mistral with the sandbox; Claude with the documents too
A race plan save accepts feed-station picks on a segment id the plan does not have
howby calling the API
whoonly Mistral with the sandbox
Claude Code and Mistral Vibe with Heal’s documents
Both have Heal’s guidelines for finding bugs on disk and the prompt points them to it, but both ignore the guidelines and keep their habit: search the code base, then run the product, then test last. The Heal agent, the next setup, fixes that.
- In its runs, Claude used Heal’s feature definition — the feature map and the recorded flows — to pick the product’s entry points, and that widened its search: 56 bugs over the two features, 20 that no other setup found. This is consistent with what the Heal agent reaches, but we ran no extra experiment to prove this specific point. Mistral read the same files, and its list did not move.
| bugs found | no other setup found | need the product running | $ per run | min per run | |
|---|---|---|---|---|---|
| with Claude | 56 | 20 | 3 | 4.9 | 22 |
| with Mistral | 12 | 1 | 4 | 1.2 | 27 |
Bug examples · the race-plan editor
A negative stop time is accepted, shifts passage times earlier and makes saves fail
howby reading the form’s validation rules
whoonly Claude with the documents
A cumulative time of 119.5 minutes is displayed as 1:60
howby using the editor in the browser
whoonly Claude with the documents
Double-clicking Dupliquer (duplicate) in the library creates two copies
howby using the plan library in the browser
whoClaude with the documents; the Heal agent with Mistral too
The Heal agent, running Claude Code and Mistral Vibe
Turns a coding agent into a focused, opinionated finder of the bugs a user meets. The Heal harness makes it work one feature at a time, from a list of the behaviours that cost the user most, with rules that cut the slop and the noise.
- Matt Pocock’s tracer bullets seem to corroborate this on the building side: force the agent to think small, one end-to-end slice at a time, and get feedback before widening.
- Fewer code-visible bugs by design: each code-reading task is capped at a handful of suspected defects, so a run stays bounded on a large code base. What the price buys is the third column: 22 of its 33 bugs need the product running, against 1 to 4 for every other setup.
- It removes its own noise first: every test is re-run before it is reported, duplicates are grouped, a suspected defect that does not reproduce is dropped. What the Heal judge still rejects is tests that fail for real, on a rule the product never promised.
- The Mistral row is the harness as it was before Experiment 2 tuned it: seven runs, two of them cut short on the race-plan editor when the Mistral credit ran out, hence the low price.
| bugs found | no other setup found | need the product running | $ per run | min per run | |
|---|---|---|---|---|---|
| with Claude | 33 | 23 | 22 | 20.7 | 50 |
| with Mistral, harness untuned | 11 | 8 | 10 | 3.8 | 59 |
Bug examples · the race-plan editor
A whole-plan autosave from a stale tab overwrites changes saved in another tab
howby opening two tabs on one plan
whoonly the Heal agent, with Claude and Mistral, in every run
A refused delete or duplicate in the plan library shows no error
howby making the server refuse the request
whoonly the Heal agent, with Claude and Mistral, in every run
Every save returns the whole stored GPX trace
howby counting what a save sends back
whoonly the Heal agent, with Claude and Mistral
The Heal harness was built and tuned for Anthropic’s models, which explains the gap with Mistral; Experiment 2 closes it.
Experiment 2 · tuned for Mistral, does the Heal harness catch up with Heal on Anthropic?
Wiring the Heal agent to Mistral
The harness is built on ports and adapters: the run loop asks an interface for the model’s next turn, and the adapter behind that interface is injected when the run starts. Swapping Claude Code for Vibe is one new adapter, and nothing above it changes.
The Heal benchmark setup
The harness is not the moat; the benchmark it is tuned on is. At Heal we build that benchmark so the harness can be tuned to each model provider, and keep getting better at finding bugs: new bug types, new bug heuristics, each one measured before it is promoted.
40+ variants so far, each one run on the benchmark and measured against the base.
Fine-tuning Heal for Mistral
The Mistral variant was built in three iterations on the race-plan editor, each read on two runs or more against Claude’s list of 18 defects, and optimized for one thing: catching up with Anthropic on the defects found, not on cost or time.
| iteration | what changed | of Claude's 18 | found by Claude only | found by Mistral only | rejected |
|---|---|---|---|---|---|
| before | wiring Vibe and Mistral’s direct calls | 11% | 16 | 1 | 58% |
| 1 | the configuration tuning: reasoning level, temperature, Large 4 everywhere, the tools in the prompt | 50% | 9 | 4 | 32% |
| 2 | the test and proof rules: a test checks the effect of each action, and a bug is what the test observes, not what the model assumes | 44% | 10 | 6* | 24% |
| 3 | force Mistral to test concurrency through the screen rather than the API; one rule narrowing what counts as a bug | 61% | 7 | 1 | 22% |
* Mostly bugs found by acting at the API or on timing rather than by provoking a failure and watching the screen, four of the six high in severity, but not what the Heal guidelines ask for.
Three iterations were enough to show we can catch up. The scorecard reads the first one, the configuration tuning, on both features.
| Heal with Claude | Mistral, before the tuning | Mistral, tuned | verdict | |
|---|---|---|---|---|
| real bugs found, two features | 33 | 11 | 34 | level |
| same bugs as Heal with Claude | 33 | 8 · 24% | 18 · 55% | catching up |
| tests the Heal judge rejected | 8% · 1 in 12 | 52% · 1 in 2 | 26% · 1 in 4 | catching up |
| $ per real bug | $5.0 | $2.4 | $3.0 | ahead |
| minutes per run | 50 | 59 | 148 | behind |
Heal judge: Claude Opus 5.5, reading each reported test and flagging the ones that are not a bug but a product preference or a misread of the feature; the findings its two readings disputed were ruled by Sisyf’s product owner, the author of this page.
The 32 runs per model behind both experiments (4 runs × 4 setups × 2 features, the Heal agent’s Mistral runs in their tuned configuration) cost Anthropic $269 and Mistral $129.
Yes, it catches up: Heal with Mistral finds as many bugs as Heal with Claude, cheaper per bug. It still has more tests the Heal judge rejects, and is slower.
Data
The full data behind this pageevery run, every bug, every numberMore from the blog
- Give your coding agent a verification harness to check its codeFive weeks of asking Claude Code what it needs to test its code became Heal's verification harness: what it caught, what changes when the same model runs with and without one, and why Heal now builds one for every codebase.read the article
- Static reasoning can’t prove runtime behavior: a benchmark of what AI PR reviewers missA benchmark of Heal's full product run against CodeRabbit, Greptile and cubic on 236 pull requests of five products: what each side finds, what the engineer gets, and where Heal goes next.read the article