<commit_before>require 'simplecov'
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.start do
  add_filter "/vendor/"
  add_filter "/spec/"
end

Dir.chdir File.join(File.dirname(__FILE__), '..')
$:.push('.')
$: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
$: << File.expand_path('lib')
$: << File.dirname(__FILE__)

%w{
  rubygems
  rspec/core
  bundler/setup
  flexmock/rspec<commit_msg>Revert "Just use the simplecov Rcov formatter for now to make CI happy"<commit_after>require 'simplecov'
require 'simplecov-rcov'
class SimpleCov::Formatter::MergedFormatter
  def format(result)
     SimpleCov::Formatter::HTMLFormatter.new.format(result)
     SimpleCov::Formatter::RcovFormatter.new.format(result)
  end
end
SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
SimpleCov.start do
  add_filter "/vendor/"
  add_filter "/spec/"
end

Dir.chdir File.join(File.dirname(__FILE__), '..')
$:.push('.')
$: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
$: << File.expand_path('lib')
$: << File.dirname(__FILE__)

%w{
  rubygems
  rspec/core
  bundler/setup
  flexmock/rspec
{'fraction_non_alphanumeric': 0.16680997420464316, 'fraction_numerical': 0.0, 'mean_word_length': 5.430939226519337, 'pattern_counts': {'":': 0, '<': 15, '<?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': '2182375', 'n_tokens_mistral': 409, 'n_tokens_neox': 409, 'n_words': 69}