<commit_before>ENV['FLUQ_ENV']  ||= "test"
ENV['FLUQ_ROOT'] ||= File.expand_path("../scenario/", __FILE__)

require 'bundler/setup'
require 'rspec'
require 'coveralls'

require 'fluq/testing'
FluQ.logger = Logger.new(FluQ.root.join("log", "fluq.log").to_s)
require 'celluloid/rspec'

RSpec.configure do |c|
  c.before :suite do
    $LOAD_PATH.unshift FluQ.root.join('lib')
  end
  c.after do
    FileUtils.rm_rf FluQ.root.join("tmp").to_s
  end
end<commit_msg>Include Coveralls<commit_after>ENV['FLUQ_ENV']  ||= "test"
ENV['FLUQ_ROOT'] ||= File.expand_path("../scenario/", __FILE__)

require 'bundler/setup'
require 'rspec'
require 'coveralls'
Coveralls.wear_merged!

require 'fluq/testing'
FluQ.logger = Logger.new(FluQ.root.join("log", "fluq.log").to_s)
require 'celluloid/rspec'

RSpec.configure do |c|
  c.before :suite do
    $LOAD_PATH.unshift FluQ.root.join('lib')
  end
  c.after do
    FileUtils.rm_rf FluQ.root.join("tmp").to_s
  end
end
{'fraction_non_alphanumeric': 0.17106652587117213, 'fraction_numerical': 0.0, 'mean_word_length': 4.851851851851852, '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': '2054498', 'n_tokens_mistral': 393, 'n_tokens_neox': 382, 'n_words': 67}