
Harness and benchmark engineering to close the gap between Mistral and Anthropic
Heal · Pierre Oucif · November 23, 2026 · Part 1 of 2
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Heal · Pierre Oucif · November 23, 2026 · Part 1 of 2
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:
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.
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 Heal sandbox lets a coding agent find new bugs and verify them for real; the Heal agent finds a new kind of bug.
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.
A free-text start time like “7h30” is accepted, the API refuses it and every later autosave fails
whoClaude in every setup; Mistral in none
A race plan save accepts and stores a start time with hours 24 to 29
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
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.
Removing a waypoint by double-click shifts names and types onto the next points
Planifier les ravitos (plan the feed stations) on a new plan opens the feed-station tab on plan=new instead of the created plan
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
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.
A negative stop time is accepted, shifts passage times earlier and makes saves fail
howby reading the form’s validation rules
A cumulative time of 119.5 minutes is displayed as 1:60
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
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.
A whole-plan autosave from a stale tab overwrites changes saved in another tab
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
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.
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 RUN LOOPPORT · AN INTERFACEADAPTERS · ONE FLAG PICKS ONEthe coding agenta session asks forits next turnport · the sessionquery(prompt) → a turnno vendor named hereAnthropic SDK · Opus 5.5 and Sonnet 5.5Mistral Vibe · Large 4replay for integration and E2E testsplays a recorded run of either model, no model call, $0single model callsgrouping duplicates, rankingsuspected bugs, the diagnosisport · one answerask(request) → answerno vendor named hereClaude API · Sonnet 5.5Mistral API · Large 4replay for integration and E2E tests · recorded answers played backproductionadded for Mistraltests
scroll sideways →
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.
1 · CHANGEHeal variant systemA variant overrides somefiles of the productionagentTHE METHOD · THE GUIDELINESwhat a session reads to do its task: how afeature is walked, the proof a defect mustpass, how a test is writtenMistral: 14 of the 36 task guides rewritten,the proof a defect must pass among themTHE ARCHITECTURE · THE MACHINE AROUND ITthe configuration the code reads and theframes every session starts with: which modelruns which task, the turn caps, the switchesMistral: every model pinned to Large 4, fourframes rewritten in the words Vibe understands2 · RUNHeal benchmark dataevery run of the Healagent, October toNovember 2026150+repositories600+runs1,500+hours of runs900k+data points18k+defects reportedprivate repositories of our SaaS customers and open-source repositories3 · MEASUREHeal grading systemvariant against base,on the same runs1 · BUILT TO BE BENCHMARKEDthe Heal harness measures and logsevery piece of data the benchmarkneeds; the Heal SaaS was built to bewired to the benchmark; local toolsand scripts run it in an agenticworkflow2 · A FIXED ANSWER KEYthe defects owners ruled on, 400+,300+ fixed with a commit, or hand-picked graded defects3 · THE REMOTE MODEeach run on an EC2 instance of itsown, reporting to the Heal backendas it goes, its archive to S3 atthe end4 · OUTCOMEpromote, drop or addwhat becomes of a variantPROMOTEa winner becomes the base:its flags the defaults, itsguidelines the base’s; itsname retiredDROPa loser is dropped; its runsand its readings stay onthe recordADDkept beside the base under itsname: Mistral, measured, is added — theadapters, the configuration, theguideline rewrite — base unchanged
scroll sideways →
40+ variants so far, each one run on the benchmark and measured against the base.
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.
- 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 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.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。