<commit_before>require 'mocha/options'

require 'mocha/integration/test_unit/ruby_version_185_and_below'
require 'mocha/integration/test_unit/ruby_version_186_and_above'
require 'mocha/integration/test_unit/gem_version_200'
require 'mocha/integration/test_unit/gem_version_201_to_202'
require 'mocha/integration/test_unit/gem_version_203_to_220'
require 'mocha/integration/test_unit/gem_version_230_to_250'
require 'mocha/integration/test_unit/adapter'

test_unit_version = begin
  load 'test/unit/version.rb'
  Gem::Version.new(Test::Unit::VERSION)
rescue LoadError
  Gem::Version.new('1.0.0')
end

ruby_version = Gem::Version.new(RUBY_VERSION.dup)

if $mocha_options['debug']
  $stderr.puts "Detected Ruby version: #{ruby_version}"
  $stderr.puts "Detected Test::Unit version: #{test_unit_version}"
end

test_unit_integration_module = [
  Mocha::Integration::TestUnit::Adapter,
  Mocha::Integration::TestUnit::GemVersion230To250,
  Mocha::Integration::TestUnit::GemVersion203To220,
  Mocha::Integration::TestUnit::GemVersion201To202,
  Mocha::Integration::TestUnit::GemVersion200,
  Mocha::Integration::TestUnit::RubyVersion186AndAbove,
  Mocha::Integration::TestUnit::RubyVersion185AndBelow
].detect { |m| m.applicable_to?(test_unit_version, ruby_version) }

if test_unit_integration_module
  unless Test::Unit::TestCase < test_unit_integration_module
    $stderr.puts "Applying #{test_unit_integration_module.description}" if $mocha_options['debug']
    Test::Unit::TestCase.send(:include, test_unit_integration_module)
  end
else
  $stderr.puts "*** No Mocha integration for Test::Unit version ***" if $mocha_options['debug']
  nil
end
<commit_msg>Remove redundant line left in by accident.<commit_after>require 'mocha/options'

require 'mocha/integration/test_unit/ruby_version_185_and_below'
require 'mocha/integration/test_unit/ruby_version_186_and_above'
require 'mocha/integration/test_unit/gem_version_200'
require 'mocha/integration/test_unit/gem_version_201_to_202'
require 'mocha/integration/test_unit/gem_version_203_to_220'
require 'mocha/integration/test_unit/gem_version_230_to_250'
require 'mocha/integration/test_unit/adapter'

test_unit_version = begin
  load 'test/unit/version.rb'
  Gem::Version.new(Test::Unit::VERSION)
rescue LoadError
  Gem::Version.new('1.0.0')
end

ruby_version = Gem::Version.new(RUBY_VERSION.dup)

if $mocha_options['debug']
  $stderr.puts "Detected Ruby version: #{ruby_version}"
  $stderr.puts "Detected Test::Unit version: #{test_unit_version}"
end

test_unit_integration_module = [
  Mocha::Integration::TestUnit::Adapter,
  Mocha::Integration::TestUnit::GemVersion230To250,
  Mocha::Integration::TestUnit::GemVersion203To220,
  Mocha::Integration::TestUnit::GemVersion201To202,
  Mocha::Integration::TestUnit::GemVersion200,
  Mocha::Integration::TestUnit::RubyVersion186AndAbove,
  Mocha::Integration::TestUnit::RubyVersion185AndBelow
].detect { |m| m.applicable_to?(test_unit_version, ruby_version) }

if test_unit_integration_module
  unless Test::Unit::TestCase < test_unit_integration_module
    $stderr.puts "Applying #{test_unit_integration_module.description}" if $mocha_options['debug']
    Test::Unit::TestCase.send(:include, test_unit_integration_module)
  end
else
  $stderr.puts "*** No Mocha integration for Test::Unit version ***" if $mocha_options['debug']
end

{'fraction_non_alphanumeric': 0.12045659357164314, 'fraction_numerical': 0.03424451787323521, 'mean_word_length': 8.596541786743515, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1667446', 'n_tokens_mistral': 1282, 'n_tokens_neox': 1115, 'n_words': 159}