← Back to context

Comment by psadri

6 hours ago

Write tests first. Have agent iterate until they are satisfied.

The point is that it boils down to writing the tests correctly, regardless of who is implementing the actual code. Hand-written code without test coverage has the same problems as AI generated code.

> Have agent iterate until they are satisfied.

Or have them rig the tests so that they always pass.