Skip to content

Ranking of Steam games which favors "hidden gems". Featured in PC Gamer.

License

Notifications You must be signed in to change notification settings

woctezuma/hidden-gems

Repository files navigation

Hidden Gems

Build status Code coverage Code Quality

This repository contains code to compute a ranking of Steam games, based on a score intended to favor "hidden gems".

Ranking of hidden gems at Steam250

Definition

A "hidden gem" is defined as a high-quality game (hence the "gem") which only got little attention (hence "hidden").

Game scoring

The score of a game is defined as the product of a quality measure (its Wilson score) and a decreasing function of a popularity measure (its players total forever).

Regional specifity

The popularity of game genres varies wildly with geography, which leads to different appreciations of a ranking of hidden gems. A statistical analysis of the reviewers' language could allow to personalize rankings of hidden gems with a better account of regional specificity. Our try at building regional rankings appears in compute_regional_stats.py.

Requirements

  • Install the latest version of Python 3.X.

  • Install the required packages:

pip install -r requirements.txt

Usage

  • First, call the Python script create_dict_using_json.py, which will download data through SteamSpy API. A file ending with _steamspy.json will be automatically created at runtime if the file is missing for the current day.
python create_dict_using_json.py
  • Then, call the Python script compute_stats.py to build the ranking by optimizing the free parameter alpha.
python compute_stats.py
  • Finally, call the Python script compute_regional_stats.py to build regional rankings, one per language. In order to estimate the number of players in each region, Steam reviews have to be downloaded through Steam API. Depending on the number of hidden gems displayed in the global ranking, and depending on the number of reviews for each hidden gem, this process may require a decent amount of time.
python compute_regional_stats.py

Results

The most recent results are shown on a wiki.

Few past results are listed below:

  • original ranking, featured on PC Gamer, based on pre-sales data, using players total as a popularity measure.
  • updated ranking, using data from June 30, a week after the Steam summer sales have started.

Perspectives

The ranking of hidden gems is favorably biased towards high-quality games which have not been translated to many languages. To be insensitive to this bias, there are regional rankings of hidden gems. The core of the method is the same, but the data is processed differently so that both the quality and popularity measures are constrained to players who speak the same language. For the quality measure, every review is downloaded, the language tag assigned to the review is taken into account, and the review language is also assessed with an external tool to confirm that the language tag is correct. For the popularity measure, we assume that for any given game, the distribution of players and reviewers is the same with respect to languages.

References