<commit_before>/*
    The SerGIS Project - sergis-client

    Copyright (c) 2015, SerGIS Project Contributors. All rights reserved.
    Use of this source code is governed by the MIT License, which can be found
    in the LICENSE.txt file.
*/

/*
 * This is a SerGIS Client Backend file. For more on SerGIS Backends, see:
 * http://sergisproject.github.io/docs/client.html#backends
 *
 * This backend does not connect to a server; it just uses data that is stored
 * locally. Although this is not very secure, it is a simple way to handle it.
 *
 * Also, if there is SerGIS JSON Game Data after the hash in the URL, it is used
 * instead of a local JSON file.
 * Example: index.html#json-game-data::{JSON GAME DATA HERE}
 */

/**
 * This "namespace" is an anonymous, self-executing function (to prevent
 * variables from leaking into the global scope).
 * Therefore, all variables within are inner members of this "namespace".
 * @namespace SerGIS_Local
 */
(function () {
    /**
     * Whether to start off logged in.
     * @memberof SerGIS_Local
     * @inner
     */
    var isLoggedIn = true;
    
    /**
     * If isLoggedIn starts off false, this is the username that the user must
     * enter.
     * @memberof SerGIS_Local
     * @inner
     */
    var testUsername = "username";
    
    /**
     * If isLoggedIn starts off false, this is the password that the user must
     * enter.
     * @memberof SerGIS_Local
     * @inner
     */
    var testPassword = "password";
    
    /**
     * Values for the user.
     * (jumpingBackAllowed, jumpingForwardAllowed, and layout are added based
     * on the JSON file.)
     * @memberof SerGIS_Local
     * @inner
     */
    var user = {
        displayName: "SerGIS User",
        promptIndex: null,
        homeURL: "."
    };
    
    /**
     * URL for testdata.json.
     * @memberof SerGIS_Local
     * @inner
     */
    var testdataURL = "lib/testdata.json";
    
    
    /**
     * Our JSON Game Data.<commit_msg>Removed top-left corner test values<commit_after>/*
    The SerGIS Project - sergis-client

    Copyright (c) 2015, SerGIS Project Contributors. All rights reserved.
    Use of this source code is governed by the MIT License, which can be found
    in the LICENSE.txt file.
*/

/*
 * This is a SerGIS Client Backend file. For more on SerGIS Backends, see:
 * http://sergisproject.github.io/docs/client.html#backends
 *
 * This backend does not connect to a server; it just uses data that is stored
 * locally. Although this is not very secure, it is a simple way to handle it.
 *
 * Also, if there is SerGIS JSON Game Data after the hash in the URL, it is used
 * instead of a local JSON file.
 * Example: index.html#json-game-data::{JSON GAME DATA HERE}
 */

/**
 * This "namespace" is an anonymous, self-executing function (to prevent
 * variables from leaking into the global scope).
 * Therefore, all variables within are inner members of this "namespace".
 * @namespace SerGIS_Local
 */
(function () {
    /**
     * Whether to start off logged in.
     * @memberof SerGIS_Local
     * @inner
     */
    var isLoggedIn = true;
    
    /**
     * If isLoggedIn starts off false, this is the username that the user must
     * enter.
     * @memberof SerGIS_Local
     * @inner
     */
    var testUsername = "username";
    
    /**
     * If isLoggedIn starts off false, this is the password that the user must
     * enter.
     * @memberof SerGIS_Local
     * @inner
     */
    var testPassword = "password";
    
    /**
     * Values for the user.
     * (jumpingBackAllowed, jumpingForwardAllowed, and layout are added based
     * on the JSON file.)
     * @memberof SerGIS_Local
     * @inner
     */
    var user = {
        //displayName: "SerGIS User",
        promptIndex: null,
        //homeURL: "."
    };
    
    /**
     * URL for testdata.json.
     * @memberof SerGIS_Local
     * @inner
     */
    var testdataURL = "lib/testdata.json";
    
    
    /**
     * Our JSON Game Data.
{'fraction_non_alphanumeric': 0.09389083625438158, 'fraction_numerical': 0.00200300450676014, 'mean_word_length': 2.3236272878535775, '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': '6235043', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1168, 'n_words': 453}