<commit_before>RSpec.configure do
  dummy_connection = {
    'adapter' => 'sqlite3',
    'database' => File.join(__dir__, '..', 'test_database.sqlite3')
  }

  ActiveRecord::Base.configurations['default'] = dummy_connection
  ActiveRecord::Base.configurations['dummy_schema_production'] = dummy_connection
  ActiveRecord::Base.configurations['dummy_schema4'] = dummy_connection
  ActiveRecord::Base.configurations['dummy_cyclic_dependency_schema'] = dummy_connection

  ActiveRecord::Base.establish_connection(:default)
  ActiveRecord::Base.connection.execute <<SQL
  --Create the dummy database
  CREATE TABLE IF NOT EXISTS sources (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    val NUMERIC,
    content TEXT
  );

  CREATE TABLE IF NOT EXISTS destinations (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    val NUMERIC,
    content TEXT
  );
SQL
end<commit_msg>Fix creating the destinations table.<commit_after>RSpec.configure do
  dummy_connection = {
    'adapter' => 'sqlite3',
    'database' => File.join(__dir__, '..', 'test_database.sqlite3')
  }

  ActiveRecord::Base.configurations['default'] = dummy_connection
  ActiveRecord::Base.configurations['dummy_schema_production'] = dummy_connection
  ActiveRecord::Base.configurations['dummy_schema4'] = dummy_connection
  ActiveRecord::Base.configurations['dummy_cyclic_dependency_schema'] = dummy_connection

  ActiveRecord::Base.establish_connection(:default)
  ActiveRecord::Base.connection.execute <<SQL
  CREATE TABLE IF NOT EXISTS sources (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    val NUMERIC,
    content TEXT
  );
SQL

  ActiveRecord::Base.connection.execute <<SQL
  CREATE TABLE IF NOT EXISTS destinations (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    val NUMERIC,
    content TEXT
  );
SQL
end
{'fraction_non_alphanumeric': 0.10028328611898017, 'fraction_numerical': 0.0033994334277620396, 'mean_word_length': 5.0687285223367695, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2109242', 'n_tokens_mistral': 545, 'n_tokens_neox': 503, 'n_words': 112}