<commit_before># DSN (Data Source Name) examples
#
# sqlite3:
#   sqlite3://<%= root %>/db/development.sqlite3
# mysql:
#   mysql://user:pass@host/database
# postgres:
#   postgres://user:pass@host/database
# heroku:
#   <%= ENV['DATABASE_URL'] %>
production:
  dsn: <%= ENV['DATABASE_URL'] || ENV.select{|k|k=~/^HEROKU_POSTGRESQL_\w+_URL/}.to_a[0][1] %>
development:
  dsn: sqlite3://<%= root %>/db/development.sqlite3
test:
  dsn: <%= ENV['DATABASE_URL'] || "sqlite3://#{root}/db/test.sqlite3" %><commit_msg>Remove dsn that it is only for heroku<commit_after># DSN (Data Source Name) examples
#
# sqlite3:
#   sqlite3://<%= root %>/db/development.sqlite3
# mysql:
#   mysql://user:pass@host/database
# postgres:
#   postgres://user:pass@host/database
# heroku:
#   <%= ENV['DATABASE_URL'] %>
production:
  dsn: <%= ENV['DATABASE_URL'] %>
development:
  dsn: sqlite3://<%= root %>/db/development.sqlite3
test:
  dsn: <%= ENV['DATABASE_URL'] || "sqlite3://#{root}/db/test.sqlite3" %>
{'fraction_non_alphanumeric': 0.22075279755849442, 'fraction_numerical': 0.01627670396744659, 'mean_word_length': 4.754385964912281, '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': '6846022', 'n_tokens_mistral': 426, 'n_tokens_neox': 396, 'n_words': 64}