<commit_before>var spawn = require('child_process').spawn;
var _ = require('underscore');
var fs = require("fs");
var sys = require('sys');
var exec = require('child_process').exec;
var colors = require('colors'); // https://github.com/Marak/colors.js
var archiver  = require("archiver");

module.exports = {
    getRepo: function (options, callback) {
        if (!options.coordinates) {
            return callback("Missing coordinates key of options.");
        }

        if (options.coordinates.constructor !== Array) {
            return callback("Invalid coordinates field value. It must be an array.");
        }

        _.defaults(options, {
            "time": {
                "hour": 10
            }
        });<commit_msg>Removed archiver, because it's unused.<commit_after>var spawn = require('child_process').spawn;
var _ = require('underscore');
var fs = require("fs");
var sys = require('sys');
var exec = require('child_process').exec;
var colors = require('colors'); // https://github.com/Marak/colors.js

module.exports = {
    getRepo: function (options, callback) {
        if (!options.coordinates) {
            return callback("Missing coordinates key of options.");
        }

        if (options.coordinates.constructor !== Array) {
            return callback("Invalid coordinates field value. It must be an array.");
        }

        _.defaults(options, {
            "time": {
                "hour": 10
            }
        });
{'fraction_non_alphanumeric': 0.14412568306010928, 'fraction_numerical': 0.00273224043715847, 'mean_word_length': 2.496420047732697, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, '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': '3048955', 'n_tokens_mistral': 393, 'n_tokens_neox': 381, 'n_words': 103}