“On DeepSeek V4 Pro, walk through this 2,000-line algorithm and find the off-by-one bug.”
What MoClaw does
- 1 Reads the file top-to-bottom in one pass (V4 Pro has a 128K context window).
- 2 Builds a data-flow trace through the loop in question.
- 3 Flags line 1,847 as the off-by-one: index runs i ≤ n.len, should be i < n.len.
- 4 Suggests a 1-line fix and the failing test case that would catch it.
Returns a code review with the bug pinpointed at line 1,847, a 1-line patch, and a Go test that fails before and passes after. Costs about $0.04 on OpenRouter — roughly 4 credits if it had been Claude Sonnet.