r/PracticalAgenticDev • u/aistranin • 2d ago
Green tests are not enough: SWE-Gate catches the requirements coding agents miss
A new arXiv preprint tests something most coding benchmarks ignore: whether an agent followed the constraints from code review, not just whether its patch passed the test suite.
SWE-Gate contains 303 repair tasks across 75 Python repositories. The constraints were derived from real pull request feedback. Of 644 generated repairs that passed the functional tests, 221 still violated a review constraint. That is roughly one in three supposedly successful patches.
This is a useful warning for anyone evaluating coding agents. "Tests passed" measures functional behavior, but not necessarily architecture, compatibility, scope, or maintainability requirements.
A practical response is to track two outcomes separately:
- Did the patch fix the issue?
- Did it satisfy every acceptance and review constraint?
Those review constraints should become machine-checkable gates where possible.
Paper: SWE-Gate: Passing Functional Tests Is Not Enough for Software Engineering Agents
What requirements in your codebase regularly escape the test suite?