<commit_before>BetfairApiNgRails.config do |config|
  config.load_for_environment "#{Rails.root}/config/betfair_api_ng_rails.yml", Rails.env

  config.ssl_key_filepath   = "#{Rails.root}/public/client-2048.key"
  config.ssl_crt_filepath   = "#{Rails.root}/public/client-2048.crt"

  config.locale             = :ru
  config.formatter          = nil
  config.keep_alive_session = true

  # Caching settings
  config.use_cache          = false
  config.cache_expire       = 5     # in seconds

  # Proxy layer settings
  config.proxy_enable       = false
  # Uncomment next line if you will use go layer and go_enable is set to true
  # config.proxy_url          = "http://127.0.0.1/"
end<commit_msg>Enhanced initialiser by setting up account manager<commit_after>BetfairApiNgRails.config do |config|
  config.load_for_environment "#{Rails.root}/config/betfair_api_ng_rails.yml", Rails.env

  config.ssl_key_filepath   = "#{Rails.root}/public/client-2048.key"
  config.ssl_crt_filepath   = "#{Rails.root}/public/client-2048.crt"

  config.locale             = :ru
  config.formatter          = nil
  config.keep_alive_session = true

  # Caching settings
  config.use_cache          = false
  config.cache_expire       = 5     # in seconds

  # Proxy layer settings
  config.proxy_enable       = false
  # Uncomment next line if you will use go layer and go_enable is set to true
  # config.proxy_url          = "http://127.0.0.1/"

  # Setting up account
  BetfairApiNgRails.account_manager.store BetfairApiNgRails::Account.new(config.username,
                                                                         config.password,
                                                                         config.application_key,
                                                                         config.ssl_crt_filepath,
                                                                         config.ssl_key_filepath)
  BetfairApiNgRails.account_manager.default config.username
end
{'fraction_non_alphanumeric': 0.0814070351758794, 'fraction_numerical': 0.01507537688442211, 'mean_word_length': 1.8813314037626627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4335675', 'n_tokens_mistral': 600, 'n_tokens_neox': 561, 'n_words': 110}