<commit_before># frozen_string_literal: true

require 'simplecov'

SimpleCov.start 'rails' do
  # TODO: interactors
  add_group 'Interactions', 'app/interactions'
end

if ENV['CIRCLE_ARTIFACTS']
  dir = File.join(ENV['CIRCLE_ARTIFACTS'], 'coverage')
  SimpleCov.coverage_dir(dir)
end

require 'webmock/rspec'
require 'timecop'

# http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
    expectations.syntax = :expect
  end

  config.mock_with :rspec do |mocks|
    mocks.syntax = :expect<commit_msg>Remove code for CIRCLECI, we use gitlab CI<commit_after># frozen_string_literal: true

require 'simplecov'

SimpleCov.start 'rails' do
  # TODO: interactors
  add_group 'Interactions', 'app/interactions'
end

require 'webmock/rspec'
require 'timecop'

# http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
    expectations.syntax = :expect
  end

  config.mock_with :rspec do |mocks|
    mocks.syntax = :expect
{'fraction_non_alphanumeric': 0.10179153094462541, 'fraction_numerical': 0.0, 'mean_word_length': 5.302564102564102, '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': '4706027', 'n_tokens_mistral': 437, 'n_tokens_neox': 426, 'n_words': 87}