<commit_before>run "rm -rf test"
generate "cucumber:install", "--rspec"

drop_config = <<-CODE
config.before(:each) do  
  MongoMapper.database.collections.select { |c| c.name != 'system.indexes' }.each(&:drop)  
end
CODE

file 'spec/spec_helper.rb', <<-CODE
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'authlogic/test_case'
require 'login_module'
include Authlogic::TestCase
include LoginModule

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
<commit_msg>Remove the login_module requirement from rspec helper<commit_after>run "rm -rf test"
generate "cucumber:install", "--rspec"

drop_config = <<-CODE
config.before(:each) do  
  MongoMapper.database.collections.select { |c| c.name != 'system.indexes' }.each(&:drop)  
end
CODE

file 'spec/spec_helper.rb', <<-CODE
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'authlogic/test_case'
include Authlogic::TestCase

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

{'fraction_non_alphanumeric': 0.15010141987829614, 'fraction_numerical': 0.0, 'mean_word_length': 5.192468619246862, 'pattern_counts': {'":': 0, '<': 11, '<?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': '6910065', 'n_tokens_mistral': 495, 'n_tokens_neox': 482, 'n_words': 136}