<commit_before>require 'rubygems'
require 'minitest/autorun'
require 'active_support'
require 'active_record'
require 'rails'
require 'fileutils'

$:.unshift File.dirname(__FILE__) + '/../lib'

FileUtils.rm_f(File.dirname(__FILE__) + '/../tmp/test.sqlite3')

app = Class.new(Rails::Application)
app.config.active_support.test_order = :random
app.config.eager_load = false
app.initialize!

ActiveRecord::Base.establish_connection(
  adapter: 'sqlite3',
  database: 'tmp/test.sqlite3',
  pool: 5,
  timeout: 5000
)

require 'migrations/create_users'
require 'migrations/create_products'
require 'migrations/create_orders'

require 'models/user'
require 'models/product'
require 'models/order'
<commit_msg>Quiet migration loggin down during test<commit_after>require 'rubygems'
require 'minitest/autorun'
require 'active_support'
require 'active_record'
require 'rails'
require 'fileutils'

$:.unshift File.dirname(__FILE__) + '/../lib'

FileUtils.rm_f(File.dirname(__FILE__) + '/../tmp/test.sqlite3')

app = Class.new(Rails::Application)
app.config.active_support.test_order = :random
app.config.eager_load = false
app.initialize!

ActiveRecord::Base.establish_connection(
  adapter: 'sqlite3',
  database: 'tmp/test.sqlite3',
  pool: 5,
  timeout: 5000
)

ActiveRecord::Migration.verbose = false

require 'migrations/create_users'
require 'migrations/create_products'
require 'migrations/create_orders'

require 'models/user'
require 'models/product'
require 'models/order'

{'fraction_non_alphanumeric': 0.13306177868295996, 'fraction_numerical': 0.010862186014935505, 'mean_word_length': 6.261083743842365, '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': '1958989', 'n_tokens_mistral': 504, 'n_tokens_neox': 498, 'n_words': 97}