<commit_before>(function (exports) {'use strict';

  //Polyfill global objects
  if (typeof Map != 'undefined') {
    if (typeof Map.prototype.entries == 'undefined') {
      Map.prototype.entries = mapEntries;
    }
    if (typeof Map.prototype.values == 'undefined') {
      Map.prototype.values = mapValues;
    }
    if (typeof Map.prototype.keys == 'undefined') {
      Map.prototype.keys = mapKeys;
    }
  }

  if (typeof Set != 'undefined') {
    if (typeof Set.prototype.values == 'undefined') {
      Set.prototype.values = setValues;
    }
    if (typeof Set.prototype.keys == 'undefined') {
      Set.prototype.keys = setValues;
    }
  }

  function setToArray() {
    var values = new Array(this.size);
    var i = 0;
    this.forEach(function(value) { values[i++] = value; });
    return values
  }

  function setValues() {
    var values = setToArray.call(this);
    return sharedIterator(values);
  }

  function mapToArray() {
    var values = new Array(this.size);
    var keys = new Array(this.size);
    var i = 0;
    this.forEach(function(value, key) { values[i] = value; keys[i++] = key; });
    return { values: values, keys: keys };
  }

  function mapEntries() {
    var entries = mapToArray.call(this);
    return sharedIterator(entries.keys, entries.values);
  }

  function mapValues() {
    var entries = mapToArray.call(this);
    return sharedIterator(entries.values);
  }<commit_msg>Implement Set.prototype.entries()<commit_after>(function (exports) {'use strict';

  //Polyfill global objects
  if (typeof Map != 'undefined') {
    if (typeof Map.prototype.entries == 'undefined') {
      Map.prototype.entries = mapEntries;
    }
    if (typeof Map.prototype.values == 'undefined') {
      Map.prototype.values = mapValues;
    }
    if (typeof Map.prototype.keys == 'undefined') {
      Map.prototype.keys = mapKeys;
    }
  }

  if (typeof Set != 'undefined') {
    if (typeof Set.prototype.entries == 'undefined') {
      Set.prototype.entries = setEntries;
    }
    if (typeof Set.prototype.values == 'undefined') {
      Set.prototype.values = setValues;
    }
    if (typeof Set.prototype.keys == 'undefined') {
      Set.prototype.keys = setValues;
    }
  }

  function setToArray() {
    var values = new Array(this.size);
    var i = 0;
    this.forEach(function(value) { values[i++] = value; });
    return values
  }

  function setEntries() {
    var values = setToArray.call(this);
    return sharedIterator(values, values);
  }

  function setValues() {
    var values = setToArray.call(this);
    return sharedIterator(values);
  }

  function mapToArray() {
    var values = new Array(this.size);
    var keys = new Array(this.size);
    var i = 0;
    this.forEach(function(value, key) { values[i] = value; keys[i++] = key; });
    return { values: values, keys: keys };
  }

  function mapEntries() {
    var entries = mapToArray.call(this);
    return sharedIterator(entries.keys, entries.values);
  }

  function mapValues() {
    var entries = mapToArray.call(this);
    return sharedIterator(entries.values);
  }
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.0013016596160104132, 'mean_word_length': 2.987029831387808, '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': '2298984', 'n_tokens_mistral': 952, 'n_tokens_neox': 932, 'n_words': 225}