Matchmaking feels like a magic formula, but it’s quite hard