<commit_before><% [:development, :test, :production].each do |env| %>
<%= env %>:
  adapter: mysql2
  database: <%= configured[env].database_name || "PROJECT_NAME_#{env}" %>
  username: <%= configured[env].database_username || 'root' %>
  password: <%= configured[env].database_password %>
  pool: 5
  timeout: 5000
<% end %>
<commit_msg>added host and conditionally db_cert to the database template<commit_after><% [:development, :test, :production].each do |env| %>
<%= env %>:
  adapter: mysql2
  database: <%= configured[env].database_name || "PROJECT_NAME_#{env}" %>
  username: <%= configured[env].database_username || 'root' %>
  password: <%= configured[env].database_password %>
  host: <%= configured[env].database_host || 'localhost' %>
  <% db_cert = configured[env].database_ssl_cert %>
  <%= db_cert ? "sslca: #{db_cert}" : '' %>
  pool: 5
  timeout: 5000
<% end %>

{'fraction_non_alphanumeric': 0.19545454545454546, 'fraction_numerical': 0.013636363636363636, 'mean_word_length': 5.384057971014493, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '2543256', 'n_tokens_mistral': 321, 'n_tokens_neox': 277, 'n_words': 60}