Yes, sometimes the autobattle can lead to unfortunate outcomes... yesterday, it showed me a complete defeat against Ifrits, resulting in the loss of 9 out of 56 units (8 of which were upgraded)... on a replay, I managed to win without losing any units from my combat stacks.
Auto-translated