# Your coding agent shouldn't grade its own homework

DevFeed: [Your coding agent shouldn't grade its own homework](<https://devfeed.tech/articles/your-coding-agent-shouldn-t-grade-its-own-homework-133441.md>)

Original publisher: [Read original article](<https://stackoverflow.blog/2026/11/13/your-coding-agent-shouldn-t-grade-its-own-homework/>)

Author: Jeff An

Published: 2026-11-13T17:27:39Z

Content type: opinion

Language: en

Sources: [Stack Overflow](<https://devfeed.tech/sources/stack-overflow-blog.md>)

Topics: [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2025](<https://devfeed.tech/tags/2025.md>), [2026](<https://devfeed.tech/tags/2026.md>), [acceptance](<https://devfeed.tech/tags/acceptance.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-verification](<https://devfeed.tech/tags/agent-verification.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-authored](<https://devfeed.tech/tags/ai-authored.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [audit](<https://devfeed.tech/tags/audit.md>), [cc-by-sa](<https://devfeed.tech/tags/cc-by-sa.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [contributed](<https://devfeed.tech/tags/contributed.md>), [implement](<https://devfeed.tech/tags/implement.md>), [mock](<https://devfeed.tech/tags/mock.md>), [testing](<https://devfeed.tech/tags/testing.md>), [verify](<https://devfeed.tech/tags/verify.md>), [works](<https://devfeed.tech/tags/works.md>)

## AI overview

The author argues that coding agents should not be trusted to verify their own work: checks can be shallow, reflect the same assumptions as the implementation, and weaken as context grows or failures accumulate. In Momentic's human-reviewed audit, only 9.6% of 1,000 AI-authored unit tests were useful verification checks; a cited 111-task experiment found similar success rates whether agents wrote tests or were barred from doing so. Momentic instead gives an independent QA agent the original requirements and a running app, tests live browser or mobile workflows, and returns reproducible bug reports. The author says using models from five providers adds perspectives and resilience. In a benchmark on four open-source apps, Momentic's verifier found 3-5 times as many bugs as Codex and Claude Code found on their own. These are reported findings and practices from the excerpt; the author favors targeted end-to-end validation, while acknowledging unit tests still have a role.

## Source excerpt

AI coding agents can now write design docs, mock up frontends, and implement entire projects end to end. But can they be trusted to verify that their own code actually works?