<commit_before>(function(root) {
    'use strict';

    /**
    * Manages the display and history of console messages to the user.
    * "The troll hits you dealing 10 damage."
    * "You die."
    * @class Console
    * @constructor
    * @param {Game} game - Game instance this obj is attached to.
    * @param {Number} [messageHistoryCount=5] - Number of messages to display at once.
    * @param {String} [elClassName='console'] - Css class name to assign to the console element.
    */
    var Console = function Console(game, messageHistoryCount, elClassName) {
        this.el = document.createElement('div');
        this.el.className = elClassName || 'console';
        this.messageHistoryCount = messageHistoryCount || 5;
        this.game = game;
    };

    Console.prototype = {
        constructor: Console,

        /**
        * Game instance this obj is attached to.
        * @property game
        * @type Game
        */
        game: null,

        /**
        * Element containing console messages.
        * Must be manually added to the DOM
        * @property el
        * @type HTMLElement
        */
        el: null,<commit_msg>console param fix<commit_after>(function(root) {
    'use strict';

    /**
    * Manages the display and history of console messages to the user.
    * "The troll hits you dealing 10 damage."
    * "You die."
    * @class Console
    * @constructor
    * @param {Game} game - Game instance this obj is attached to.
    * @param {Number} [messageHistoryCount=5] - Number of messages to display at once.
    * @param {String} [elClassName='console'] - Css class name to assign to the console element.
    */
    var Console = function Console(game, messageHistoryCount, elClassName) {
        this.el = document.createElement('div');
        this.el.className = elClassName || 'console';
        this.messageHistoryCount = messageHistoryCount || this.messageHistoryCount;
        this.game = game;
    };

    Console.prototype = {
        constructor: Console,

        /**
        * Game instance this obj is attached to.
        * @property game
        * @type Game
        */
        game: null,

        /**
        * Element containing console messages.
        * Must be manually added to the DOM
        * @property el
        * @type HTMLElement
        */
        el: null,
{'fraction_non_alphanumeric': 0.10218041898247114, 'fraction_numerical': 0.002992731936725096, 'mean_word_length': 2.1451612903225805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6836519', 'n_tokens_mistral': 622, 'n_tokens_neox': 608, 'n_words': 215}