<commit_before>function classicSort(a, b) {
  return a - b
}

module.exports = function checksort(array, compare) {
  compare = compare || classicSort

  for (var i = 1; i < array.length; ++i) {
    var a = array[i - 1]
    var b = array[i]

    if (compare(a, b) !== -1) return false
  }<commit_msg>standard style<commit_after>function classicSort (a, b) {
  return a - b
}

module.exports = function checksort (array, compare) {
  compare = compare || classicSort

  for (var i = 1; i < array.length; ++i) {
    var a = array[i - 1]
    var b = array[i]

    if (compare(a, b) !== -1) return false
  }
{'fraction_non_alphanumeric': 0.14925373134328357, 'fraction_numerical': 0.009950248756218905, 'mean_word_length': 2.9220779220779223, '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': '3411738', 'n_tokens_mistral': 222, 'n_tokens_neox': 212, 'n_words': 69}