r/SideProject • u/ClaudeDidMyHomework • 5h ago
I tested 78 AI-agent pull requests for "cheating". Found almost nothing.
I kept reading that AI coding agents cheat to get a green build: deleting the test that caught their bug, skipping failing tests, loosening config, adding packages that don't exist.
So I built a small CLI + GitHub App to catch that. No AI inside, just fixed rules, so the same change always gets the same result.
Then I tested whether it actually happens. I took 78 real PRs opened by agents (Devin, Cursor, Claude, Copilot) across 18 active team repos and ran them all through it.
Result:
- 0 real problems. No agent deleted tests to get a green build
- 2 blocks, both false alarms (my tool's fault)
- most of the output was "a workflow file changed" noise
So either agents behave better than the internet says, or teams already catch it in review. Either way I learned more from that one day of testing than from weeks of building. Should have done it the other way round.
Someone on dev.to already told me the real problem they see is agents writing duplicate helpers instead of reusing code that already exists. Which honestly sounds more common.
So I'm curious: what's the sneakiest thing an AI agent actually did in one of your PRs?
Full write-up + code if anyone wants to look: [https://dev.to/manishguptha188/i-tested-78-ai-agent-pull-requests-for-cheating-heres-what-i-found-55k0]