←back to thread

323 points steerlabs | 1 comments | | HN request time: 0.252s | source
Show context
tasuki ◴[] No.46193203[source]
I wish we didn't use LLMs to create test code. Tests should be the only thing written by a human. Let the AI handle the implementation so they pass!
replies(1): >>46193583 #
lxgr ◴[] No.46193583[source]
Humans writing tests can only help against some subset of all problems that can happen with incompetent or misaligned LLMs. For example, they can game human-written and LLM-written tests just the same.
replies(1): >>46210175 #
1. tasuki ◴[] No.46210175[source]
Not property-based tests. Either way, the human is there to tell the machine what to do: tests are one way of expressing that.