<commit_before># encoding: utf-8

require 'support/detect_os'
require 'support/acceptance_helpers'
require 'webmock/rspec'
require 'rubygems/package'
require 'zlib'

RSpec.configure do |config|
  config.before :all do
    WebMock.disable!
  end
end


unless ENV['COVERAGE'] == 'no'
  require 'coveralls'
  require 'simplecov'

  if ENV.include?('TRAVIS')
    Coveralls.wear!
    SimpleCov.formatter = Coveralls::SimpleCov::Formatter
  end

  SimpleCov.start do
    add_group 'Source', 'lib'
    add_group 'Unit tests', 'spec/tara'
    add_group 'Acceptance tests', 'spec/acceptance'
  end
end

require 'tara'<commit_msg>Add `integration` group to Simplecov<commit_after># encoding: utf-8

require 'support/detect_os'
require 'support/acceptance_helpers'
require 'webmock/rspec'
require 'rubygems/package'
require 'zlib'

RSpec.configure do |config|
  config.before :all do
    WebMock.disable!
  end
end


unless ENV['COVERAGE'] == 'no'
  require 'coveralls'
  require 'simplecov'

  if ENV.include?('TRAVIS')
    Coveralls.wear!
    SimpleCov.formatter = Coveralls::SimpleCov::Formatter
  end

  SimpleCov.start do
    add_group 'Source', 'lib'
    add_group 'Unit tests', 'spec/tara'
    add_group 'Acceptance tests', 'spec/acceptance'
    add_group 'Integration tests', 'spec/integration'
  end
end

require 'tara'
{'fraction_non_alphanumeric': 0.11693242217160213, 'fraction_numerical': 0.0015186028853454822, 'mean_word_length': 4.446280991735537, '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': '1505941', 'n_tokens_mistral': 469, 'n_tokens_neox': 460, 'n_words': 111}