<commit_before>underscore = require 'underscore'

underscore.extend module.exports, underscore,
  intersperse: (array, v) ->
    result = array[...1]
    underscore.each array[1...], (e) ->
      result.push v, e
    result<commit_msg>startsWith helper<commit_after>underscore = require 'underscore'

underscore.extend module.exports, underscore,
  intersperse: (array, v) ->
    result = array[...1]
    underscore.each array[1...], (e) ->
      result.push v, e
    result

  startsWith: (str, starts) ->
      if starts == ''
        return true
      if str == null || starts == null
        return false
      str = String(str)
      starts = String(starts)
      str.length >= starts.length && str.slice(0, starts.length) == starts
{'fraction_non_alphanumeric': 0.14246947082767977, 'fraction_numerical': 0.0067842605156037995, 'mean_word_length': 2.727272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2589067', 'n_tokens_mistral': 238, 'n_tokens_neox': 229, 'n_words': 59}