Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
http://replay.pokemonshowdown.com/gen7vgc2017-551093744
Turn 3, Assurance does increased damage although Arcanine did not take prior damage that turn.
The assurance was targeted for the lele, so possibly it factored in lele taking damage before switching targets to arcanine.