<commit_before>development:
  sessions:
    default:
      database: cs_comments_service_development
      hosts:
        - localhost:27017
test:
  sessions:
    default:
      database: cs_comments_service_test
      hosts:
        - localhost:27017

common: &default_session
  uri: <%= ENV['MONGOHQ_URL'] %>
  options:
    skip_version_check: true
    safe: true
    consistency: strong
    max_retries: 1
    retry_interval: 0
    timeout: 0.5

production:
  sessions:
    default:
      <<: *default_session

edgeprod:<commit_msg>override mongoid.yml defaults from env<commit_after>development:
  sessions:
    default:
      database: cs_comments_service_development
      hosts:
        - localhost:27017
test:
  sessions:
    default:
      database: cs_comments_service_test
      hosts:
        - localhost:27017

common: &default_session
  uri: <%= ENV['MONGOHQ_URL'] %>
  options:
    skip_version_check: true
    safe: true
    consistency: strong
    max_retries: <%= ENV['MONGOID_MAX_RETRIES'] || 1 %>
    retry_interval: <%= ENV['MONGOID_RETRY_INTERVAL'] || 0 %>
    timeout: <%= ENV['MONGOID_TIMEOUT'] || 0.5 %>

production:
  sessions:
    default:
      <<: *default_session

edgeprod:
{'fraction_non_alphanumeric': 0.10307564422277639, 'fraction_numerical': 0.023275145469659187, 'mean_word_length': 3.0952380952380953, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 8, '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': '5479113', 'n_tokens_mistral': 433, 'n_tokens_neox': 396, 'n_words': 78}