<commit_before>var wilddog = require('wilddog');
var WildLocation = require('wilddog-location');

wilddog.regService('location', function(app) {
    if (app == null) {
        throw new Error('application not initialized!Please call wilddog.initializeApp first');
        return;
    };
    wilddog.Location = WildLocation;
    return new WildLocation(app);
});

var config = {
    syncURL: "https://<appId>.wilddogio.com",
    authDomain: "<appId>.wilddog.com",
}

wilddog.initializeApp(config);

var sync = wilddog.sync();
var wildLocation = wilddog.location();

var defaultArray = [];

var pathArray = [
    [40.020605559354536, 116.46711616151447],
    [40.02061512895047, 116.468275889638],
    [40.020576, 116.469593],
    [40.020601, 116.470484],
    [40.020612, 116.471001],
    [40.020596, 116.471596],
    [40.020592, 116.472261],
    [40.020588, 116.472916],
    [40.020567, 116.473356],
    [40.020493, 116.47386],
    [40.020247, 116.4743],
    [40.019988, 116.474702],
    [40.019647, 116.475212],
    [40.019388, 116.475582],
    [40.019125, 116.475957],
    [40.018747, 116.476494],<commit_msg>update node js<commit_after>var wilddog = require('wilddog');
var WildLocation = require('wilddog-location');

wilddog.regService('location', function(app) {
    if (app == null) {
        throw new Error('application not initialized!Please call wilddog.initializeApp first');
        return;
    };
    return new WildLocation(app);
});
wilddog.Location = WildLocation;

var config = {
    syncURL: "https://<appId>.wilddogio.com",
    authDomain: "<appId>.wilddog.com",
}

wilddog.initializeApp(config);

var sync = wilddog.sync();
var wildLocation = wilddog.location();

var defaultArray = [];

var pathArray = [
    [40.020605559354536, 116.46711616151447],
    [40.02061512895047, 116.468275889638],
    [40.020576, 116.469593],
    [40.020601, 116.470484],
    [40.020612, 116.471001],
    [40.020596, 116.471596],
    [40.020592, 116.472261],
    [40.020588, 116.472916],
    [40.020567, 116.473356],
    [40.020493, 116.47386],
    [40.020247, 116.4743],
    [40.019988, 116.474702],
    [40.019647, 116.475212],
    [40.019388, 116.475582],
    [40.019125, 116.475957],
    [40.018747, 116.476494],
{'fraction_non_alphanumeric': 0.16779431664411368, 'fraction_numerical': 0.2706359945872801, 'mean_word_length': 3.5357873210633946, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '3130342', 'n_tokens_mistral': 1239, 'n_tokens_neox': 833, 'n_words': 149}