Comment by tasuki

2 days ago

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!

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.

  • Not property-based tests. Either way, the human is there to tell the machine what to do: tests are one way of expressing that.