<commit_before>require 'active_support/core_ext'

require 'omf_common/default_logging'
require 'omf_common/version'
require 'omf_common/measure'
require 'omf_common/message'
require 'omf_common/comm'
require 'omf_common/command'
require 'omf_common/key'
require 'omf_common/core_ext/string'
require 'omf_common/eventloop'

include OmfCommon::DefaultLogging

module OmfCommon
  DEFAULTS = {
    development: {
      eventloop: {
        type: 'em'
      },
      logging: {
        level: 'debug',

        appenders: {
          stdout: {
            date_pattern: '%H:%M:%S',
            pattern: '%d %5l %c{2}: %m\n',
            color_scheme: 'none'
          }
        }
      }
    },
    production: {<commit_msg>Enable colour in dev environment<commit_after>require 'active_support/core_ext'

require 'omf_common/default_logging'
require 'omf_common/version'
require 'omf_common/measure'
require 'omf_common/message'
require 'omf_common/comm'
require 'omf_common/command'
require 'omf_common/key'
require 'omf_common/core_ext/string'
require 'omf_common/eventloop'

include OmfCommon::DefaultLogging

module OmfCommon
  DEFAULTS = {
    development: {
      eventloop: {
        type: 'em'
      },
      logging: {
        level: 'debug',

        appenders: {
          stdout: {
            date_pattern: '%H:%M:%S',
            pattern: '%d %5l %c{2}: %m\n',
            color_scheme: 'default'
          }
        }
      }
    },
    production: {
{'fraction_non_alphanumeric': 0.12054794520547946, 'fraction_numerical': 0.0027397260273972603, 'mean_word_length': 2.6433915211970076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '95358', 'n_tokens_mistral': 489, 'n_tokens_neox': 486, 'n_words': 92}