Battlegrounds scoring: Please explain.

I’m really struggling to understand this scoring system for battlegrounds. I seems there's no consistency in the way you win or lose. Can someone explain to me what is happening here. I complete the battle first and the opponent finish after me but with slightly less more health and they win. Now in this scenario I complete after the opponent but with way more health and the opponent still wins? How does this thing work and where do we find scoring measure to know whether its a bug issue or not?



3
Comments
Finally proof that time is truly the tie breaker (after it is considered in the original score)
While the Time category always divides evenly into a whole number (15000 / 120 secs is never fractional).
But the HP can indeed be fractional and they may carry that fractional number into the grand total points. *note that the % shown is also a rounded 1-place %, but they are using the actual HP remaining and the Max HP of the champ (not just the % shown in the Health Bar in-fight or post-fight).
So it may not be exactly the same score for both players (it just shows it rounded-off to be the same score)
Just depends if they are using whole numbers when adding up the points or not.
Your example pics show a big difference in time in both cases.
But in the other one you mention (not shown) where you actually finished first, it might have only been a short difference in time and so other person's higher health might have been sufficient to overcome that.