<commit_before># coding: utf-8

require "minitest/autorun"
require 'mocha/setup'

begin
  # [turn](http://rubygems.org/gems/turn)
  require 'turn/autorun'
rescue LoadError
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'potemkin'

Potemkin::Logger.any_instance.stubs(:log)<commit_msg>Properly silencing logs in test.<commit_after># coding: utf-8

require "minitest/autorun"
require 'mocha/setup'

begin
  # [turn](http://rubygems.org/gems/turn)
  require 'turn/autorun'
rescue LoadError
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'potemkin'

class MiniTest::Spec
  before do
    Potemkin::Logger.any_instance.stubs(:log)
  end
end
{'fraction_non_alphanumeric': 0.15609137055837563, 'fraction_numerical': 0.0025380710659898475, 'mean_word_length': 5.801724137931035, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3461272', 'n_tokens_mistral': 305, 'n_tokens_neox': 301, 'n_words': 49}