They don't think about Wide Guard and just use area-of-effect moves forever, they don't make effective use of Follow Me and Rage Powder, they don't evaluate moves like Fake Out and Protect that have different uses in single and double battles, they don't consider the weather, they don't think...
This AI doesn't judge the safety of switching targets based on damage.
So it might switch to Dondozo against Chi-Yu.
Because it doesn't make its decision based on the Pokemon's base stats, EVs, or IVs, it will take a fatal hit.
This sentence is Google translated.