<commit_before>// Agave.JS
// I'm a UMD module (works in RequireJS and CommonJS-like environments)
// See https://github.com/umdjs
(function (root, factory) {
  if (typeof exports === 'object') {
    // Node. Does not work with strict CommonJS, but
    // only CommonJS-like enviroments that support module.exports,
    // like Node.
    module.exports = factory(global);
  } else if (typeof define === 'function' && define.amd) {
    // AMD. Register as an anonymous module.
    define(factory);
  } else {
    // Browser globals (root is window)
    root.returnExports = factory();
  }
}(this, function(global) {
  "use strict";

  var global = global || this; // 'this' would be 'window' in browser enviroments

  // Extend objects with Agave methods, using the prefix provided.
  var enable = function(prefix){

    var SECONDS = 1000;
    var MINUTES = 60 * SECONDS;
    var HOURS = 60 * MINUTES;
    var DAYS = 24 * HOURS;
    var WEEKS = 7 * DAYS;

    // object.getKeys() returns an array of keys
    var getKeys = function(){
      return Object.keys(this);
    };

    // object.getSize() returns the number of properties in the object
    var getSize = function() {
      return Object.keys(this).length;
    };

    // string.reverse()
    var reverse = function() {
      return this.split("").reverse().join("");
    };
<commit_msg>Consistency use 'global' to describe global rather than 'root'<commit_after>// Agave.JS
// I'm a UMD module (works in RequireJS and CommonJS-like environments)
// See https://github.com/umdjs
(function (global, factory) {
  if (typeof exports === 'object') {
    // Node. Does not work with strict CommonJS, but
    // only CommonJS-like enviroments that support module.exports,
    // like Node.
    module.exports = factory(global);
  } else if (typeof define === 'function' && define.amd) {
    // AMD. Register as an anonymous module.
    define(factory);
  } else {
    // Browser globals (global is window)
    global.returnExports = factory();
  }
}(this, function(global) {
  "use strict";

  var global = global || this; // 'this' would be 'window' in browser enviroments

  // Extend objects with Agave methods, using the prefix provided.
  var enable = function(prefix){

    var SECONDS = 1000;
    var MINUTES = 60 * SECONDS;
    var HOURS = 60 * MINUTES;
    var DAYS = 24 * HOURS;
    var WEEKS = 7 * DAYS;

    // object.getKeys() returns an array of keys
    var getKeys = function(){
      return Object.keys(this);
    };

    // object.getSize() returns the number of properties in the object
    var getSize = function() {
      return Object.keys(this).length;
    };

    // string.reverse()
    var reverse = function() {
      return this.split("").reverse().join("");
    };

{'fraction_non_alphanumeric': 0.13032398980706225, 'fraction_numerical': 0.008008736803785948, 'mean_word_length': 2.7592339261285908, 'pattern_counts': {'":': 0, '<': 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': '3642016', 'n_tokens_mistral': 865, 'n_tokens_neox': 818, 'n_words': 282}