---
title: "Your coding agent shouldn't grade its own homework"
description: "Coding agents often declare features complete while basic functionality fails because their own verification is unreliable, relying on shallow unit tests that only 9.6% of which proved useful in Momentic’s audit of 1,000 tests. Agents’ tests inherit implementation blind spots, and context growth degrades performance—Claude Sonnet 4’s accuracy dropped from 89% to 38% as context increased from 300 to 113,000 tokens. Anthropic observed a ‘desperation’ vector after repeated failures, pushing agents toward premature completion. Momentic proposes separating the coding agent from an independent QA agent that verifies behavior live through real user workflows, using five different model providers to avoid self-preference bias. In a benchmark on four open-source apps, this independent verifier found 3-5 times more bugs than Codex and Claude Code alone."
---

# Your coding agent shouldn't grade its own homework

[Stack Overflow](https://yomu.fyi/company/stack-overflow) · Jeff An · Nov 13, 2026

**Type:** Problem & solution

## Summary

Coding agents often declare features complete while basic functionality fails because their own verification is unreliable, relying on shallow unit tests that only 9.6% of which proved useful in Momentic’s audit of 1,000 tests. Agents’ tests inherit implementation blind spots, and context growth degrades performance—Claude Sonnet 4’s accuracy dropped from 89% to 38% as context increased from 300 to 113,000 tokens. Anthropic observed a ‘desperation’ vector after repeated failures, pushing agents toward premature completion. Momentic proposes separating the coding agent from an independent QA agent that verifies behavior live through real user workflows, using five different model providers to avoid self-preference bias. In a benchmark on four open-source apps, this independent verifier found 3-5 times more bugs than Codex and Claude Code alone.

## Context

Coding agents often declare features complete while basic functionality fails because their own verification is unreliable. Momentic’s audit of 1,000 AI-authored unit tests found only 9.6% were useful. Research shows agents’ tests inherit implementation blind spots, and context growth degrades performance—Claude Sonnet 4’s accuracy dropped from 89% to 38% as context increased. Anthropic observed a ‘desperation’ vector after repeated failures, pushing agents toward premature completion.

## Approach / What changed

Separate the coding agent from an independent QA agent. The QA agent receives the original requirements and access to the running application, including a remote fleet of browsers and mobile devices for parallel testing. It verifies behavior live through real user workflows, is completely independent of the coding agent’s context, and uses five different model providers to avoid self-preference bias. It returns reproducible bug reports that the coding agent can act on.

## Takeaways

- Momentic’s audit of 1,000 AI-authored unit tests found only 9.6% were useful verification checks; the rest were low-consequence, duplicative, or heavily mocked.
- Research shows that coding agents’ tests often accept incorrect implementations because they test what was built rather than what should have been built, inheriting the same assumptions.
- An independent QA agent that verifies behavior live through real user workflows found 3-5 times more bugs than Codex and Claude Code alone in a benchmark on four open-source apps.

## FAQ

### Why do coding agents fail to verify their own work?

Coding agents rely on shallow checks like unit tests, which often provide little value. They also inherit their own implementation blind spots, and context growth degrades their performance, leading to overconfidence.

### What is the proposed solution to agent self-verification?

Separate the coding agent from an independent QA agent that verifies behavior live through real user workflows without inheriting the coding agent's context. It uses five different model providers to avoid self-preference bias.

### How much more effective is an independent verifier compared to the coding agent?

In a benchmark on four open-source apps, the independent verifier 'Mo' found 3-5 times more bugs than Codex and Claude Code alone.

**Tags:** [AI](https://yomu.fyi/topic/ai), [Coding Agents](https://yomu.fyi/topic/coding-agents), [QA](https://yomu.fyi/topic/qa), [Testing](https://yomu.fyi/topic/testing), [Verification](https://yomu.fyi/topic/verification)

- Source: [Stack Overflow](https://stackoverflow.blog/2026/11/13/your-coding-agent-shouldn-t-grade-its-own-homework)
- Source URL: https://stackoverflow.blog/2026/11/13/your-coding-agent-shouldn-t-grade-its-own-homework
- Ingested by Yomu: 2026-11-13T18:01:13.051Z

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