DeepSeek Harness Eval Bug Triggers Agent Infinite Loop, Tripling Cost
teortaxesTex · x · 2026-08-14
While evaluating DeepSeek Harness (dsh), BohuTANG discovered a critical agent policy bug: when grep returns an exit code 1 for zero matches, dsh treats it as a failure requiring investigation. This causes the agent to continuously create and fix additional verification steps even after tests have passed, trapping it in an infinite loop.
Under identical task, model, and reasoning configurations, this bug leads to massive resource waste:
- Requests: 61 vs normal 32
- Duration: 10m38s vs 4m55s
- Cost: $0.17 vs $0.05
- Input tokens: 2.9M vs 548K
More from coding & agent
- Dev shows agents auto-verifying and sending SAFE fundraising docs in parallel — Scobleizer · 2026-11-30
- Ex-Citadel MD: AI will automate equity long-short workflows within 3 years; job seekers should build eval suites — _AustinCalvert_ · 2026-11-30
- Why Google bans users: wrapping Gemini CLI in Claude Code violates consumer ToS — thomasahle · 2026-11-30
- After two Claude account bans, a dev switches to Google AI and moves his Anthropic stock bets to Google — yangyi · 2026-11-30
- Antigravity remote control may not be enabled for enterprise accounts — gharik · 2026-11-30
- How Much Agent Swarm Hype Is Just Distributed Systems Rediscovered? — edgarpavlovsky · 2026-11-30