<commit_before>var path = require('path');

function initGlobals(options) {
    // 1) establish required objects

    Global = this;
    // Global.window = Global;

    Global.lively = {

        whenLoaded: function(callback) {
            // currently ignored in worker
            Global.Config.finishLoadingCallbacks.push(callback);
        },

        Config: {
            codeBase: options.codeBase,
            rootPath: options.rootPath,
            nodeJSURL: options.nodeJSURL,<commit_msg>fixing globals for lively load<commit_after>var path = require('path');

function initGlobals(options) {
    // 1) establish required objects

    Global = this;
    global.UserAgent = {};
    global.window = global;

    Global.lively = {

        whenLoaded: function(callback) {
            // currently ignored in worker
            Global.Config.finishLoadingCallbacks.push(callback);
        },

        Config: {
            codeBase: options.codeBase,
            rootPath: options.rootPath,
            nodeJSURL: options.nodeJSURL,
{'fraction_non_alphanumeric': 0.0989433237271854, 'fraction_numerical': 0.0019212295869356388, 'mean_word_length': 2.196319018404908, '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': '1253829', 'n_tokens_mistral': 283, 'n_tokens_neox': 271, 'n_words': 60}