Giter VIP home page Giter VIP logo

hidden-gems's Introduction

Hidden Gems Build status Updates Python 3 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

hidden-gems's People

Contributors

woctezuma avatar pyup-bot avatar

Stargazers

Ilianna Nikoglou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.