logoalt Hacker News

lsbyesterday at 10:26 PM3 repliesview on HN

The real world success they report reminds me of Simon Willison’s Red Green TDD: https://simonwillison.net/guides/agentic-engineering-pattern...

> Instead of taking a stab in the dark, Leanstral rolled up its sleeves. It successfully built test code to recreate the failing environment and diagnosed the underlying issue with definitional equality. The model correctly identified that because def creates a rigid definition requiring explicit unfolding, it was actively blocking the rw tactic from seeing the underlying structure it needed to match.


Replies

saberiencetoday at 8:21 AM

That article is literally a definition of TDD that has been around for years and years. There's nothing novel there at all. It's literally test driven development.

jatinstoday at 12:52 AM

If Agent is writing the tests itself, does it offer better correctness guarantees than letting it write code and tests?

show 3 replies
skangayesterday at 11:08 PM

TDD == Prompt Engineering, for Agentic coding tasks.

show 1 reply