logoalt Hacker News

OGWhales • today at 1:05 PM • 2 replies • view on HN

From my own experience, LLM generated code having more test cases is neither surprising nor an indication of improved quality. I've found LLMs are quite good at making lots of test but the tests are often not that useful. I would argue that total count remains a poor metric for quality.


Replies

bluGill • today at 1:44 PM

I don't know of a good metric for quality. Total count of tests is the best I've found, but I agree it is bad.

➕ show 1 reply
gf000 • today at 3:14 PM

Ask for red-green tests. Without that they are often indeed useless.

➕ show 1 reply