They're trained on plenty of code with bad variable names.
But every time you make an AI think you are introducing an opportunity for it to make a mistake.