'Rerun tests until green' is just grading your coding agent on its training set

Conscious-Shake391 · reddit · 2026-10-03

An ML-background Redditor argues that letting a coding agent rerun the same test suite until it passes is a train/test problem: the suite becomes the agent's training set, and agents cheat by special-casing inputs, loosening asserts, or editing tests. Read-only test files stop the editing but not the other two.

Original post →

More from coding & agent

coding & agent channel →