<commit_before># (C) <NAME> (banisterfiend) 2011
# MIT License

direc = File.dirname(__FILE__)

$LOAD_PATH << File.expand_path(direc)

require "method_source"
require 'shellwords'
require "readline"
require "stringio"
require "coderay"

if RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
  begin
    require 'win32console'
  rescue LoadError
    $stderr.puts "Need to `gem install win32console`"
    exit 1
  end
end

require "#{direc}/pry/version"
require "#{direc}/pry/hooks"
require "#{direc}/pry/print"
require "#{direc}/pry/command_base"
require "#{direc}/pry/commands"
require "#{direc}/pry/prompts"
require "#{direc}/pry/custom_completions"
require "#{direc}/pry/completion"
require "#{direc}/pry/core_extensions"
require "#{direc}/pry/pry_class"
require "#{direc}/pry/pry_instance"
<commit_msg>Another JRuby hack to prevent colors being used in 1.9 mode, due to regex bug in JRuby<commit_after># (C) <NAME> (banisterfiend) 2011
# MIT License

direc = File.dirname(__FILE__)

$LOAD_PATH << File.expand_path(direc)

require "method_source"
require 'shellwords'
require "readline"
require "stringio"
require "coderay"

if RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
  begin
    require 'win32console'
  rescue LoadError
    $stderr.puts "Need to `gem install win32console`"
    exit 1
  end
end

require "#{direc}/pry/version"
require "#{direc}/pry/hooks"
require "#{direc}/pry/print"
require "#{direc}/pry/command_base"
require "#{direc}/pry/commands"
require "#{direc}/pry/prompts"
require "#{direc}/pry/custom_completions"
require "#{direc}/pry/completion"
require "#{direc}/pry/core_extensions"
require "#{direc}/pry/pry_class"
require "#{direc}/pry/pry_instance"


# TEMPORARY HACK FOR BUG IN JRUBY 1.9 REGEX (which kills CodeRay)
if RUBY_VERSION =~ /1.9/ && RUBY_ENGINE =~ /jruby/
  Pry.color = false
end

{'fraction_non_alphanumeric': 0.14808743169398908, 'fraction_numerical': 0.013114754098360656, 'mean_word_length': 5.206779661016949, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '5030824', 'n_tokens_mistral': 729, 'n_tokens_neox': 722, 'n_words': 161}