<commit_before>$: << File.dirname(__FILE__) + '/..'

if RUBY_VERSION >= "1.9"
  require 'fileutils'
  begin
    require 'duvet'
    Duvet.start :filter => 'lib/clive'
  rescue LoadError
    # it doesn't really matter
  end
end

require 'lib/clive'
require 'rubygems'
require 'shellwords'

def s(str)
  Shellwords.split(str)
end

gem 'minitest' # use latest version
require 'minitest/autorun'

require 'extras/red_green'
require 'extras/expectations'
require 'extras/focus'

require 'mocha'
<commit_msg>Moved Command.create into spec helper<commit_after>$: << File.dirname(__FILE__) + '/..'

if RUBY_VERSION >= "1.9"
  require 'fileutils'
  begin
    require 'duvet'
    Duvet.start :filter => 'lib/clive'
  rescue LoadError
    # it doesn't really matter
  end
end

require 'lib/clive'
require 'rubygems'
require 'shellwords'

class Command < Option
  def self.create(*args, &block)
    i = new(*args, &block)
    i.run_block
    i
  end
end

def s(str)
  Shellwords.split(str)
end

gem 'minitest' # use latest version
require 'minitest/autorun'

require 'extras/red_green'
require 'extras/expectations'
require 'extras/focus'

require 'mocha'

{'fraction_non_alphanumeric': 0.12325174825174826, 'fraction_numerical': 0.0034965034965034965, 'mean_word_length': 4.021929824561403, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 7, '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': '1594912', 'n_tokens_mistral': 422, 'n_tokens_neox': 419, 'n_words': 109}