The ratings displayed on the map are taken directly from Steam's review summary on each game's store page. I don't assign a rating to a review based on its text, and then combine that into a single game rating. That would be very flaky, as you explained. The text is only used to locate the game on the map.
I also believe (though I don't have proof) the rating that Valve generates only considers the binary "Recommend" and "Do not recommend" options that you can pick from before you write a review.