3 ms·
Always append "...and include a passing unit test" to code prompts. Sometimes it's a dick and will test the assertion that 1==1 though.
by jstarfish 4y ago
Always append "...and include a passing unit test" to code prompts.
Sometimes it's a dick and will test the assertion that 1==1 though.
- zer0tonin 4y agoChatGPT can perfectly return faulty code, and a unit test that runs this faulty code and outputs green