<commit_before>DDH.calculator = DDH.calculator || {};

(function(DDH) {
    "use strict";

    // global function / operand constants
    var CONSTANTS = ["e", "π"]
    var FUNCTIONS = ["log(", "ln(", "tan(", "cos(", "sin(", "√("];
    var MISC_FUNCTIONS = ["EE"];
    var OPERANDS = ["+", "-", "×", "÷"];
    var POSTFIX = ["+", "-", "×", "÷", "%", "EE", "!", "<sup>2</sup>", "<sup>3</sup>", "<sup>□</sup>"]

    // global exponent constants
    var OPEN_SUP = "<sup>";
    var CLOSE_SUP = "</sup>";
    var OPEN_CLOSE_SUP = "<sup>□</sup>";

    // global variables
    var buttons, cButton;
    var evaluatedExpression;
    var usingState, evaluated;
    var isExponential;
    var yRootState = false;
    var expressionFromSearchBar;

    /**
     * KEYCODES
     *
     * This hash of keycodes represent the keys on the keyboard
     * which are used to determine input from a user.
     */
    var KEYCODES = {
        13: "=",
        33: "!",
        37: "%",
        40: "(",
        41: ")",
        42: "×",
        43: "+",
        44: ",",
        45: "-",
        46: ".",
        47: "÷",
        48: "0",
        49: "1",
        50: "2",
        51: "3",
        52: "4",
        53: "5",
        54: "6",
        55: "7",
        56: "8",
        57: "9",<commit_msg>Removed comma with period. (#4130)<commit_after>DDH.calculator = DDH.calculator || {};

(function(DDH) {
    "use strict";

    // global function / operand constants
    var CONSTANTS = ["e", "π"]
    var FUNCTIONS = ["log(", "ln(", "tan(", "cos(", "sin(", "√("];
    var MISC_FUNCTIONS = ["EE"];
    var OPERANDS = ["+", "-", "×", "÷"];
    var POSTFIX = ["+", "-", "×", "÷", "%", "EE", "!", "<sup>2</sup>", "<sup>3</sup>", "<sup>□</sup>"]

    // global exponent constants
    var OPEN_SUP = "<sup>";
    var CLOSE_SUP = "</sup>";
    var OPEN_CLOSE_SUP = "<sup>□</sup>";

    // global variables
    var buttons, cButton;
    var evaluatedExpression;
    var usingState, evaluated;
    var isExponential;
    var yRootState = false;
    var expressionFromSearchBar;

    /**
     * KEYCODES
     *
     * This hash of keycodes represent the keys on the keyboard
     * which are used to determine input from a user.
     */
    var KEYCODES = {
        13: "=",
        33: "!",
        37: "%",
        40: "(",
        41: ")",
        42: "×",
        43: "+",
        44: ".",
        45: "-",
        46: ".",
        47: "÷",
        48: "0",
        49: "1",
        50: "2",
        51: "3",
        52: "4",
        53: "5",
        54: "6",
        55: "7",
        56: "8",
        57: "9",
{'fraction_non_alphanumeric': 0.21707222865971418, 'fraction_numerical': 0.04325994592506759, 'mean_word_length': 1.8060671722643553, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '6872186', 'n_tokens_mistral': 974, 'n_tokens_neox': 936, 'n_words': 243}