5 ms·
Could you go into more details about the errors you encountered along the way? I tried having ChatGPT do TDD to vectorize n-ary trees, but it made mistakes tha
by cpb 4y ago
Could you go into more details about the errors you encountered along the way?
I tried having ChatGPT do TDD to vectorize n-ary trees, but it made mistakes that indicated it didn't understand it's output:
- the expected vectors in the tests were the format it suggested for binary trees
- when asked to represent a vector
as a tree, produced one correct tree and another incorrect tree. (Correctness as determined by how it chose to encode a tree as a vector).
It took some iterations to get it to fix the tests, but I grew weary of coaching it through each of the problems as we encountered them. Maybe if I was at my keyboard rather than on my phone I could have had it complete the task quicker.
So, what errors did you encounter along the way? How did you overcome them?
- nudpiedo 4y agoSee the previous comment and the Twitter screenshots, have a nice day. https://twitter.com/nudpiedo/status/1599444651462733824?s=20&t=r4OSZwzNu9GOI4XYPqi8Wg https://twitter.com/nudpiedo/status/1599444651462733824?s=20...