<commit_before># Rubinius standard
RUBY_IGNORE_CALLERS = [] unless defined? RUBY_IGNORE_CALLERS
RUBY_IGNORE_CALLERS << %r{roll/kernel\.rb$}
RUBY_IGNORE_CALLERS << %r{roll/original\.rb$}

module ::Kernel
  alias_method :roll_original_require, :require
  alias_method :roll_original_load, :load

  #alias_method :gem_original_require, :require
  #alias_method :gem_original_load, :load

  # In which library is the current file participating?
  def __LIBRARY__
    Roll::Library.load_stack.last
  end

  # Activate a library.
  def library(name, constraint=nil)
    Roll::Library.open(name, constraint)
  end

  module_function :library

  # Activate a library.
  def roll(name, constraint=nil)
    Roll::Library.open(name, constraint)
  end

  module_function :roll

  # Require script.
  def require(file)
    Roll::Library.require(file)
  end

  # Load script.
  def load(file, wrap=false)<commit_msg>use original.rb again, just in case<commit_after>require 'roll/original'
## Rubinius standard
#RUBY_IGNORE_CALLERS = [] unless defined? RUBY_IGNORE_CALLERS
#RUBY_IGNORE_CALLERS << %r{roll/kernel\.rb$}
#RUBY_IGNORE_CALLERS << %r{roll/original\.rb$}

module ::Kernel
  #alias_method :roll_original_require, :require
  #alias_method :roll_original_load, :load

  # In which library is the current file participating?
  def __LIBRARY__
    Roll::Library.load_stack.last
  end

  # Activate a library.
  def library(name, constraint=nil)
    Roll::Library.open(name, constraint)
  end

  module_function :library

  # Activate a library.
  def roll(name, constraint=nil)
    Roll::Library.open(name, constraint)
  end

  module_function :roll

  # Require script.
  def require(file)
    Roll::Library.require(file)
  end

  # Load script.
  def load(file, wrap=false)
{'fraction_non_alphanumeric': 0.10254957507082153, 'fraction_numerical': 0.0, 'mean_word_length': 4.606349206349206, 'pattern_counts': {'":': 0, '<': 11, '<?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': '1502841', 'n_tokens_mistral': 618, 'n_tokens_neox': 577, 'n_words': 139}