<commit_before><% case ENV['DB']
  when 'sqlite' %>
development:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
  timeout: 5000
test:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
<% when 'mysql' %>
development:
  adapter: mysql2
  database: spree_test
  username:
  encoding: utf8
test:
  adapter: mysql2
  database: spree_test
  username:
  encoding: utf8
<% when 'postgres' %>
development:
  adapter: postgresql
  database: spree_test
  username: postgres
  min_messages: warning
test:
  adapter: postgresql
  database: spree_test
  username: postgres
  min_messages: warning
<% else %>
development:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
test:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
<% end %><commit_msg>Create separate dev, test and production databases<commit_after><% case ENV['DB']
  when 'sqlite' %>
development:
  adapter: sqlite3
  database: "db/spree_development.sqlite3"
test:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
production:
  adapter: sqlite3
  database: "db/spree_production.sqlite3"
<% when 'mysql' %>
development:
  adapter: mysql2
  database: spree_development
  username:
  encoding: utf8
test:
  adapter: mysql2
  database: spree_test
  username:
  encoding: utf8
production:
  adapter: mysql2
  database: spree_production
  username:
  encoding: utf8
<% when 'postgres' %>
development:
  adapter: postgresql
  database: spree_test
  username: postgres
  min_messages: warning
test:
  adapter: postgresql
  database: spree_test
  username: postgres
  min_messages: warning
production:
  adapter: postgresql
  database: spree_production
  username: postgres
  min_messages: warning
<% else %>
development:
  adapter: sqlite3
  database: "db/spree_development.sqlite3"
test:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
production:
  adapter: sqlite3
  database: "db/spree_production.sqlite3"
<% end %>
{'fraction_non_alphanumeric': 0.09905163329820864, 'fraction_numerical': 0.01791359325605901, 'mean_word_length': 4.789634146341464, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '1085859', 'n_tokens_mistral': 688, 'n_tokens_neox': 644, 'n_words': 165}