Transcript
DocDrift gives Beam a whole Python library in one call, to find docs that lie.
Starlette's docs say: call receive JSON with mode binary. Run it as written, and it crashes with a TypeError.
One Beam call, the whole library: 394,577 prompt tokens. 3 candidates; 2 kept as real drift, 1 rejected.
A fix is filed upstream: pull request 3746, open, not merged.
Every card shows what the docs say, what the code says, and what running it gives: 34 real docs bugs in 11 of 12 libraries.
Does the 1M-token context help? Accuracy is about the same. But grounding is better: the right cross-file line 25 of 30 times, versus 19 at matched cost. Off-file evidence: 11 of 13, versus 6. p = 0.070: suggestive, not proven.
On the benchmark: 34 of 45 known drifts found; 30 crash exactly as the docs are written. 32 of the 34 bugs ship a script.
Then a fresh run on tomlkit, a library DocDrift had never seen.
2 findings: 1 verified version drift, and 1 arguable missing-imports NameError, in 96 seconds.
Run it on your repo with docdrift run, using a free Ollama key.