<commit_before># rake spec will try to run the integration specs on all the following 
# database connections to test the different adapters.
#
# The syntax of this file is similar to the database.yml file in a
# Rails application. You can change these parameters to your setup,
# or comment them out if you have no such database connections available
# to you.


<% if Gem.available?('sqlite3-ruby') %>
sqlite3:
  adapter: "sqlite3"
  database: ":memory:"
<% end %>

<% if Gem.available?('mysql') %>
mysql:
  adapter: "mysql"
  host: "localhost"
  username: "root"
  password:
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('postgresql') %>
postgresql:
  adapter: "postgresql"
  host: "localhost"
  username: "scoped_search"
  password: "<PASSWORD>"
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('activerecord-jdbcsqlite3-adapter') %>
jdbcsqlite3:
  adapter: "jdbcsqlite3"
  database: ":memory:"
<% end %>

<% if Gem.available?('activerecord-jdbcmysql-adapter') %>
jdbcmysql:
  adapter: "jdbcmysql"
  host: "localhost"
  username: "root"
  password:
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('activerecord-jdbcpostgresql-adapter') %>
postgresql:
  adapter: "postgresql"
  host: "localhost"
  username: "scoped_search"
  password: "<PASSWORD>"
  database: "scoped_search_test"
<% end %><commit_msg>Fixed JDBC PostgreSQL entry in database.yml<commit_after># rake spec will try to run the integration specs on all the following 
# database connections to test the different adapters.
#
# The syntax of this file is similar to the database.yml file in a
# Rails application. You can change these parameters to your setup,
# or comment them out if you have no such database connections available
# to you.


<% if Gem.available?('sqlite3-ruby') %>
sqlite3:
  adapter: "sqlite3"
  database: ":memory:"
<% end %>

<% if Gem.available?('mysql') %>
mysql:
  adapter: "mysql"
  host: "localhost"
  username: "root"
  password:
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('postgresql') %>
postgresql:
  adapter: "postgresql"
  host: "localhost"
  username: "scoped_search"
  password: "<PASSWORD>"
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('activerecord-jdbcsqlite3-adapter') %>
jdbcsqlite3:
  adapter: "jdbcsqlite3"
  database: ":memory:"
<% end %>

<% if Gem.available?('activerecord-jdbcmysql-adapter') %>
jdbcmysql:
  adapter: "jdbcmysql"
  host: "localhost"
  username: "root"
  password:
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('activerecord-jdbcpostgresql-adapter') %>
jdbcpostgresql:
  adapter: "jdbcpostgresql"
  host: "localhost"
  username: "scoped_search"
  password: "<PASSWORD>"
  database: "scoped_search_test"
<% end %>
{'fraction_non_alphanumeric': 0.13689179375453886, 'fraction_numerical': 0.004357298474945534, 'mean_word_length': 4.899357601713062, 'pattern_counts': {'":': 4, '<': 31, '<?xml version=': 0, '>': 31, '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': '462592', 'n_tokens_mistral': 998, 'n_tokens_neox': 920, 'n_words': 261}