4 ms·
Similar to your approach, I sketch out the signatures - ask the LLM to write the unit tests and then I write the actual implementation. If there is a hallucinat
by mikerg87 3y ago
Similar to your approach, I sketch out the signatures - ask the LLM to write the unit tests and then I write the actual implementation. If there is a hallucination in the test code, it shows up as a failing test that can be shaken out by some introspection. I enjoy writing the actual code but hate the tedium of writing tests. I’m also feel that I’m less likely to prompt the LLM into reproducing someone else’s code into my system. I know the probability isn’t zero but it doesn’t seem to be as likely.