<commit_before>require "select_options"
# require "rspec/rails"


ActiveRecord::Base.establish_connection(
  :adapter => "sqlite3", 
  :database => File.dirname(__FILE__) + "/support/select_options.sqlite3")

load File.dirname(__FILE__) + '/support/schema.rb'
load File.dirname(__FILE__) + '/support/models.rb'
load File.dirname(__FILE__) + '/support/data.rb'<commit_msg>Switched to in memeory test database.<commit_after>require "select_options"


ActiveRecord::Base.establish_connection(
  :adapter => "sqlite3", 
  :database => ":memory:")

load File.dirname(__FILE__) + '/support/schema.rb'
load File.dirname(__FILE__) + '/support/models.rb'
load File.dirname(__FILE__) + '/support/data.rb'
{'fraction_non_alphanumeric': 0.1585014409221902, 'fraction_numerical': 0.004322766570605188, 'mean_word_length': 6.02020202020202, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 7, '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': '3582100', 'n_tokens_mistral': 225, 'n_tokens_neox': 216, 'n_words': 39}