How are CPU rankings determined in Mario Kart 8?
Solution 1:
When the last human player finishes, the remainder of the CPUs are placed based on their current position. No simulation or situational calculation is done; the game only pays attention to the CPUs' location on the track.
(Previous games extrapolated finish time as well. I don't think MK8 cares about finish time.)