Hacker News new | ask | show | jobs
by mkoryak 22 days ago
This is why I think tests are useless if written by AI. They will always pass and look reasonable.
2 comments

Oh it gets even stupider. When Claude web introduced the "computer" stuff last year, I had it port an interpreter to a different language. It did it in one shot, I was very impressed.

It even volunteered tests.

Then I read the tests. It was just a bunch of console log statements saying "Test passed!" and didn't actually test anything...

Kinda comical. I wonder if you had a different agent write the tests and specifically told it compete with the other agent if it would make a difference
ALL TESTS ARE GREEN, ALL GOOD.

And then you need to remind that it does not matter, if they are empty.