<commit_before>// Generated by CoffeeScript 1.8.0
(typeof exports !== "undefined" && exports !== null ? exports : window).Utils = {
  _div: undefined,
  _getDiv: function () {
    return this._div || (this._div = document.createElement("div"));
  },
  getCurrentVersion: function() {
    return chrome.runtime.getManifest().version;
  },
  invokeCommandString: function(str, arg) {
    var components = str.split('.'), obj = window, _i, _len, _ref;
    for (_i = 0, _len = components.length - 1; _i < _len; _i++) {
      obj = obj[components[_i]];
    }
    obj[components[_len]](arg);
  },
  templateVarRegex: /\{\{([A-Za-z\_][A-Za-z0-9\_]*)\}\}/g,
  makeListRender: function(template, varRegex) {
    var t = template, r = varRegex || this.templateVarRegex, o = null, f = function(i, k) {
      return o[k] || "";<commit_msg>Utils.templateVarRegex: sort characters in "[...]"<commit_after>// Generated by CoffeeScript 1.8.0
(typeof exports !== "undefined" && exports !== null ? exports : window).Utils = {
  _div: undefined,
  _getDiv: function () {
    return this._div || (this._div = document.createElement("div"));
  },
  getCurrentVersion: function() {
    return chrome.runtime.getManifest().version;
  },
  invokeCommandString: function(str, arg) {
    var components = str.split('.'), obj = window, _i, _len, _ref;
    for (_i = 0, _len = components.length - 1; _i < _len; _i++) {
      obj = obj[components[_i]];
    }
    obj[components[_len]](arg);
  },
  templateVarRegex: /\{\{([A-Z\_a-z][0-9A-Z\_a-z]*)\}\}/g,
  makeListRender: function(template, varRegex) {
    var t = template, r = varRegex || this.templateVarRegex, o = null, f = function(i, k) {
      return o[k] || "";
{'fraction_non_alphanumeric': 0.18982850384387936, 'fraction_numerical': 0.00827912477823773, 'mean_word_length': 3.4643799472295513, 'pattern_counts': {'":': 0, '<': 5, '<?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': '706082', 'n_tokens_mistral': 583, 'n_tokens_neox': 567, 'n_words': 134}