3 ms·
However, it might be trained on code with erroneous comments, either because it was mangled by a merge or because it's outdated. The more times this happen, the
by nextaccountic 4y ago
However, it might be trained on code with erroneous comments, either because it was mangled by a merge or because it's outdated. The more times this happen, the more confused the AI model will be.
Which makes me to think that the AI models should be trained on the code evolution of commit chains and not just on isolated snippets of code. That way, the AI could analyze your own commits to detect when a comment becomes outdated.