<commit_before>ENV["RAILS_ENV"] ||= 'test'

require 'rails_app/config/environment'
require 'rspec/rails'

require 'capybara/rails'
require 'selenium-webdriver'
require 'ammeter/init'
require 'factory_girl'

# Load in all of our supporting code
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
Dir["#{File.dirname(__FILE__)}/factories/**/*.rb"].each {|f| require f}

# Make sure to get the database migrated
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Migrator.migrate(File.expand_path("../rails_app/db/migrate/", __FILE__))<commit_msg>Reverts the logging to not be shown in the stdout.<commit_after>ENV["RAILS_ENV"] ||= 'test'

require 'rails_app/config/environment'
require 'rspec/rails'

require 'capybara/rails'
require 'selenium-webdriver'
require 'ammeter/init'
require 'factory_girl'

# Load in all of our supporting code
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
Dir["#{File.dirname(__FILE__)}/factories/**/*.rb"].each {|f| require f}

# Make sure to get the database migrated
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)
ActiveRecord::Migrator.migrate(File.expand_path("../rails_app/db/migrate/", __FILE__))
{'fraction_non_alphanumeric': 0.16587301587301587, 'fraction_numerical': 0.0, 'mean_word_length': 6.461538461538462, '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': '7180425', 'n_tokens_mistral': 433, 'n_tokens_neox': 429, 'n_words': 92}