Made a battle where I managed about 60% while I got half the resources. I used a necromancer that got stuck with 1 unit while the rest advanced and got killed eventually. On replay necromancer followed all units and I won 100%. Of course I didn't get all the resources and bp tl/dr: replay lies and necromancers AI is very low.
This is usually due to a server connection error where the server doesn't receive all the information from the completed fight. This means that on occasion the fight result and the replay can get out of sync. We are currently investigating a solution, which will hopefully be included in the next update.