<commit_before>require 'rubygems'
require 'test/unit'
require 'shoulda'

$LOAD_PATH << File.dirname(__FILE__) + '/../lib'
require 'remix/stash'

Spec = Test::Unit::TestCase

include Remix<commit_msg>Allow spec.rb to be used as a spec runner.<commit_after>if __FILE__ == $0
  base = File.dirname(__FILE__)
  Dir[base + '/*_spec.rb'].each {|f| require f}
else
  require 'rubygems'
  require 'test/unit'
  require 'shoulda'

  $LOAD_PATH << File.dirname(__FILE__) + '/../lib'
  require 'remix/stash'

  Spec = Test::Unit::TestCase

  include Remix
end
{'fraction_non_alphanumeric': 0.15328467153284672, 'fraction_numerical': 0.0018248175182481751, 'mean_word_length': 4.382352941176471, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4349282', 'n_tokens_mistral': 197, 'n_tokens_neox': 193, 'n_words': 49}