<commit_before># SQLite version 3.x
#   gem install sqlite3
#
#   Ensure the SQLite 3 gem is defined in your Gemfile
#   gem 'sqlite3'
development:
  adapter: mysql2
  database: dummy_development
  username: root
  pool: 5
  timeout: 5000

test_default: &test_default
  adapter: mysql2
  database: dummy_test
  username: root
  pool: 5
  timeout: 5000

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.

test_slave1: &test_slave1
  <<: *test_default
  database: dummy_test_slave1

test_slave2: &test_slave2
  <<: *test_default
  database: dummy_test_slave2

test_slave3: &test_slave3
  <<: *test_default
  database: dummy_test_slave3

test:
  <<: *test_default
  replications:
    slave1:
      <<: *test_slave1
    slave2:
      <<: *test_slave2
    slave3:
      <<: *test_slave3

test_user_slave: &test_user_slave
  <<: *test_default
  database: dummy_test_user_slave

test_user:
  <<: *test_default
  database: dummy_test_user
  replications:
    slave:
      <<: *test_user_slave

test_admin:
  <<: *test_default

production:
  adapter: mysql2
  database: dummy_test
  username: root
  pool: 5
  timeout: 5000<commit_msg>Refactor database.yml<commit_after># SQLite version 3.x
#   gem install sqlite3
#
#   Ensure the SQLite 3 gem is defined in your Gemfile
#   gem 'sqlite3'
default: &default
  adapter: mysql2
  username: root
  pool: 5
  timeout: 5000

development:
  <<: *default
  database: dummy_development

test_default: &test_default
  <<: *default
  database: dummy_test

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.

test_slave1: &test_slave1
  <<: *test_default
  database: dummy_test_slave1

test_slave2: &test_slave2
  <<: *test_default
  database: dummy_test_slave2

test_slave3: &test_slave3
  <<: *test_default
  database: dummy_test_slave3

test:
  <<: *test_default
  replications:
    slave1:
      <<: *test_slave1
    slave2:
      <<: *test_slave2
    slave3:
      <<: *test_slave3

test_user_slave: &test_user_slave
  <<: *test_default
  database: dummy_test_user_slave

test_user:
  <<: *test_default
  database: dummy_test_user
  replications:
    slave:
      <<: *test_user_slave

test_admin:
  <<: *test_default

production:
  <<: *default
  database: dummy_production
{'fraction_non_alphanumeric': 0.08875502008032128, 'fraction_numerical': 0.024899598393574297, 'mean_word_length': 3.982, 'pattern_counts': {'":': 0, '<': 53, '<?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': '6250369', 'n_tokens_mistral': 888, 'n_tokens_neox': 856, 'n_words': 233}