I have seen some bad AI when the computer is controlling *mmy* units. However I have been pretty impressed with the enemy unit AI. I'm playing on hard battles and the enemy knows how to flank and which units to use for specific roles. The enemy also knows when to regroup and try something else.