Here’s a Way to Predict When AI Chatbots Will Turn Bad