Ranks are based on how many lives you finish with...
No brainer - 1 heart
Royal flush - 2 hearts
Ok-ish - 3 hearts
Emoji - 4 hearts
Fancy - 5 hearts
Golden dog - 6 hearts
Quiz master - 7 hearts
Completionist - Don't die and finish the game with 8 hearts. (including the secret 8th heart)