<commit_before>production: &production
  adapter: mysql2
  database: security
  host: <%= Secrets::DATABASE_HOST %>
  username: <%= Secrets::DATABASE_USERNAME %>
  password: <%= Secrets::DATABASE_PASSWORD %>

production_logs:
  <<: *production
  database: logs

production_nesstar:
  <<: *production
  database: nesstar


staff:
  adapter: sqlite3
  database: 'db/prod.db'

staff_logs:
  adapter: sqlite3
  database: 'db/prod_logs.db'

staff_nesstar:
  adapter: sqlite3
  database: 'db/prod_nesstar.db'


devs:
  adapter: sqlite3
  database: 'db/prod.db'

devs_logs:
  adapter: sqlite3
  database: 'db/prod_logs.db'

devs_nesstar:
  adapter: sqlite3
  database: 'db/prod_nesstar.db'


development:
  adapter: sqlite3
  database: 'db/dev.db'

development_logs:
  adapter: sqlite3
  database: 'db/dev_logs.db'

development_nesstar:
  adapter: sqlite3
  database: 'db/dev_nesstar.db'


test:
  adapter: sqlite3
  database: 'db/test.db'

test_logs:
  adapter: sqlite3
  database: 'db/test_logs.db'

test_nesstar:
  adapter: sqlite3
  database: 'db/test_nesstar.db'<commit_msg>Switch to mysql database for development - reporting requires cross-database joins<commit_after>production: &production
  adapter: mysql2
  database: security
  host: <%= Secrets::DATABASE_HOST %>
  username: <%= Secrets::DATABASE_USERNAME %>
  password: <%= Secrets::DATABASE_PASSWORD %>

production_logs:
  <<: *production
  database: logs

production_nesstar:
  <<: *production
  database: nesstar


staff:
  adapter: sqlite3
  database: 'db/prod.db'

staff_logs:
  adapter: sqlite3
  database: 'db/prod_logs.db'

staff_nesstar:
  adapter: sqlite3
  database: 'db/prod_nesstar.db'


devs:
  adapter: sqlite3
  database: 'db/prod.db'

devs_logs:
  adapter: sqlite3
  database: 'db/prod_logs.db'

devs_nesstar:
  adapter: sqlite3
  database: 'db/prod_nesstar.db'


development_base: &development_local
  adapter: mysql2
  username: adausers
  password: <PASSWORD>

development:
  <<: *development_local
  database: adausers_dev

development_logs:
  <<: *development_local
  database: adausers_dev_logs

development_nesstar:
  <<: *development_local
  database: adausers_dev_nesstar


test:
  <<: *development_local
  database: adausers_test

test_logs:
  <<: *development_local
  database: adausers_test_logs

test_nesstar:
  <<: *development_local
  database: adausers_test_nesstar
{'fraction_non_alphanumeric': 0.10912951167728238, 'fraction_numerical': 0.008917197452229299, 'mean_word_length': 4.802955665024631, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 10, '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': '190053', 'n_tokens_mistral': 901, 'n_tokens_neox': 841, 'n_words': 170}