4 ms·
AI can produce code that looks like patterns which it has seen as part of its training data. It can recognize patterns in the codebase it is looking at and ext
by OptionOfT 1y ago
AI can produce code that looks like patterns which it has seen as part of its training data.
It can recognize patterns in the codebase it is looking at and extrapolate from that.
Which is why generated code is filled with comments most often seen in either tutorial level code or JavaScript (explaining the types of values).
Beyond that performance drops rapidly, and hallucinations go up inversely.