[STAFF] How does the server decide who to penalize when a random disconnect occurs?

@Sirlin @SG_Staff
There have been several situations where I randomly lost connection to my opponent in a Ranked match and the server went on to count it as a loss, which particularly cost me stars in Diamond. There have also been a few such situations where I got the win and it gave me stars I didn’t deserve. Besides, Black Screens of Death (BSoDs) have persisted, where the only way out is to exit the game. Sometimes this may result in a loss.

So, how does the server decide who to penalize?

Side note: The online experience for me has been unpleasant ever since the game became free-to-play. Things seem to have improved lately but BSoDs and random disconnects still occur occasionally.

making that knowledge public seems like it could open up abuse