logoalt Hacker News

simonwtoday at 5:44 AM1 replyview on HN

Tell it to use red/green TDD and start things off with an already configured test suite, maybe with a single test that asserts 1+1==2.

Make sure it know how to run the tests before it starts writing any additional code.

Then set it a clear goal.


Replies

slopinthebagtoday at 5:51 AM

Basically all the examples of LLM's building impressive things have been because they have human written tests to base the implementation on. If you have an LLM write the tests the results are far less impressive or valuable.

show 1 reply