<commit_before>default: &default
  adapter: postgresql
  encoding: unicode
  user: postgres
  password:
  # For details on connection pooling, see rails configuration guide
  # http://guides.rubyonrails.org/configuring.html#database-pooling
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  # `.where('started_at < ?', Date.tomorrow + 1.day + 5.hours)` というメソッドを実行すると
  # エラーになったので、prepared_statementsをfalseにする
  # http://stackoverflow.com/questions/21035561/why-am-i-getting-these-postgresql-errors-since-upgrading-to-rails-4
  prepared_statements: false

development:
  <<: *default
  database: annict_development
  host: <%= ENV.fetch("POSTGRES_HOST", "0.0.0.0") %>

test:
  <<: *default
  database: annict_test
  host: <%= ENV.fetch("POSTGRES_HOST", "0.0.0.0") %>

production:
  <<: *default
  database: annict_production<commit_msg>Update database config<commit_after>default: &default
  adapter: postgresql
  encoding: unicode
  # For details on connection pooling, see rails configuration guide
  # http://guides.rubyonrails.org/configuring.html#database-pooling
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  # `.where('started_at < ?', Date.tomorrow + 1.day + 5.hours)` というメソッドを実行すると
  # エラーになったので、prepared_statementsをfalseにする
  # http://stackoverflow.com/questions/21035561/why-am-i-getting-these-postgresql-errors-since-upgrading-to-rails-4
  prepared_statements: false

development:
  <<: *default
  host: <%= ENV.fetch("POSTGRES_HOST", "0.0.0.0") %>
  username: postgres
  password:
  database: annict_development

test:
  <<: *default
  host: <%= ENV.fetch("POSTGRES_HOST", "0.0.0.0") %>
  username: postgres
  password:
  database: annict_test

production:
  <<: *default
  database: annict_production
{'fraction_non_alphanumeric': 0.14484356894553882, 'fraction_numerical': 0.023174971031286212, 'mean_word_length': 4.718543046357616, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '4582717', 'n_tokens_mistral': 703, 'n_tokens_neox': 624, 'n_words': 102}