<commit_before>HELPERS =
  rest_of: ->
    if arguments.length > 1
      return Array::slice.call arguments, 1
    return []

  validate_mixin: (mixin) ->
    if Array.isArray(mixin)
      throw new TypeError("Expected object, got Array")
    else if !mixin?
      throw new TypeError("Expected object, got null-equivalent")
    else if typeof mixin != 'object'
      throw new TypeError("Expected object, got something else")


module.exports = HELPERS<commit_msg>class ArgumentError extends Error<commit_after>HELPERS =
  rest_of: ->
    if arguments.length > 1
      return Array::slice.call arguments, 1
    return []

  validate_mixin: (mixin) ->
    if Array.isArray(mixin)
      throw new TypeError("Expected object, got Array")
    else if !mixin?
      throw new TypeError("Expected object, got null-equivalent")
    else if typeof mixin != 'object'
      throw new TypeError("Expected object, got something else")

  ArgumentError: class ArgumentError extends Error


module.exports = HELPERS
{'fraction_non_alphanumeric': 0.09481037924151696, 'fraction_numerical': 0.003992015968063872, 'mean_word_length': 3.438053097345133, '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': '3363844', 'n_tokens_mistral': 298, 'n_tokens_neox': 284, 'n_words': 93}