<commit_before>$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
require 'simplecov'
SimpleCov.start
require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'oauth2'
require 'omniauth'
require 'omniauth-oauth2'
require 'omniauth/plangrade'
<commit_msg>Update spec_helper.rb<commit_after>$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
    SimpleCov::Formatter::HTMLFormatter,
      Coveralls::SimpleCov::Formatter
]
SimpleCov.start

require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'oauth2'
require 'omniauth'
require 'omniauth-oauth2'
require 'omniauth/plangrade'

WebMock.disable_net_connect!(:allow => 'coveralls.io')

{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.004733727810650888, 'mean_word_length': 6.6909090909090905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5353490', 'n_tokens_mistral': 298, 'n_tokens_neox': 290, 'n_words': 55}