Many times when playing against computer enemy I see such bug:
Alliance medium AI does not upgrade its base. So he fights building only footman and rifleman, and only one hero.
Yes, I have had this bug many times. This happens on even the ‘insane’ difficulty too.