<commit_before>require 'rubygems'
require 'test/unit'
require 'active_support'
require 'active_support/test_case'
require 'active_record'
require 'lib/defv/custom_timestamps'
require 'init'

ActiveRecord::Base.establish_connection({
  :adapter => 'sqlite3',
  :dbfile => 'test.db'
})

ActiveRecord::Base.silence do
  ActiveRecord::Migration.verbose = false
  
  load 'models/schema.rb'
end<commit_msg>Run tests in memory<commit_after>require 'rubygems'
require 'test/unit'
require 'active_support'
require 'active_support/test_case'
require 'active_record'
require 'lib/defv/custom_timestamps'
require 'init'

ActiveRecord::Base.establish_connection({
  :adapter => 'sqlite3',
  :dbfile => ':memory:'
})

ActiveRecord::Base.silence do
  ActiveRecord::Migration.verbose = false
  
  load 'models/schema.rb'
end
{'fraction_non_alphanumeric': 0.1273176761433869, 'fraction_numerical': 0.002472187886279357, 'mean_word_length': 6.570093457943925, 'pattern_counts': {'":': 0, '<': 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': '192036', 'n_tokens_mistral': 271, 'n_tokens_neox': 269, 'n_words': 54}