Coding agents have a failure mode that is easy to miss. They write a function, a route or a component that looks finished, compiles and passes review, and then nothing in the product ever calls it. The work appears done. It isn’t.
Ariadne is my research project on catching this.
The approach
Ariadne builds a code graph that combines two views of the same codebase:
- Static analysis gives the structure: what is defined, what references what.
- Runtime tracing gives the behaviour: what actually executes when the product runs.
Code that exists in the first view but never shows up in the second, and has no plausible path to it, is a strong candidate for “written but never wired in”.
The evaluation
I pre-registered the evaluation before running it, so the metric and the comparison could not drift towards a flattering result.
| Tool | F1 |
|---|---|
| Ariadne | 0.80 |
| Closest open-source tool | 0.04 |
I also gave a coding agent tools built on the graph. Compared with a text-only baseline, it was 2 to 6 times more efficient at the same tasks.
What is next
The interesting question is whether agents can use the graph to avoid the problem rather than only detect it afterwards. That is what I am working on now.