<commit_before>ENV['RAILS_ENV'] = 'test'
ENV['GOOGLE_API_KEY'] = 'loLOLol'
ENV['AIRBRAKE_PROJECT_ID'] = '1234'
ENV['AIRBRAKE_PROJECT_KEY'] = 'test'

if ENV['CODECLIMATE_REPO_TOKEN']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start
end

require File.expand_path('../../config/environment', __FILE__)

require 'rails/test_help'
%w( rails rails/capybara hell reporters focus ).each { |lib|
  require "minitest/#{lib}"
}
require 'minitest/benchmark' if ENV['BENCH']
require 'minitest/fail_fast' if ENV['FAST']
require 'webmock/minitest'

# Require entire support tree
Dir[File.expand_path('test/support/**/*')].each { |file| require file }

Minitest::Reporters.use!(
  # Progress bar
  Minitest::Reporters::ProgressReporter.new, ENV, Minitest.backtrace_filter
)

Minitest.after_run do
  WebMock.disable_net_connect! allow: %w{ codeclimate.com }
end

class ActionController::TestCase
  include Devise::TestHelpers
end
class Capybara::Rails::TestCase
  include SessionHelpers
end
class ActiveSupport::TestCase
  fixtures :all # Set up all fixtures for all tests in alpha order.
  # Add more helper methods to be used by all tests here...
end<commit_msg>Always allow codeclimate<commit_after>ENV['RAILS_ENV'] = 'test'
ENV['GOOGLE_API_KEY'] = 'loLOLol'
ENV['AIRBRAKE_PROJECT_ID'] = '1234'
ENV['AIRBRAKE_PROJECT_KEY'] = 'test'

if ENV['CODECLIMATE_REPO_TOKEN']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start
end

require File.expand_path('../../config/environment', __FILE__)

require 'rails/test_help'
%w( rails rails/capybara hell reporters focus ).each { |lib|
  require "minitest/#{lib}"
}
require 'minitest/benchmark' if ENV['BENCH']
require 'minitest/fail_fast' if ENV['FAST']

require 'webmock/minitest'
WebMock.disable_net_connect! allow: %w{ codeclimate.com }

# Require entire support tree
Dir[File.expand_path('test/support/**/*')].each { |file| require file }

Minitest::Reporters.use!(
  # Progress bar
  Minitest::Reporters::ProgressReporter.new, ENV, Minitest.backtrace_filter
)

class ActionController::TestCase
  include Devise::TestHelpers
end
class Capybara::Rails::TestCase
  include SessionHelpers
end
class ActiveSupport::TestCase
  fixtures :all # Set up all fixtures for all tests in alpha order.
  # Add more helper methods to be used by all tests here...
end
{'fraction_non_alphanumeric': 0.12785191562634524, 'fraction_numerical': 0.0034438226431338786, 'mean_word_length': 5.937313432835821, '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': '3995422', 'n_tokens_mistral': 820, 'n_tokens_neox': 808, 'n_words': 190}