<commit_before>if Rails.application.secrets.key? :bugsnag_api_key
  Bugsnag.configure do |config|
    config.api_key = Rails.application.secrets.bugsnag_api_key
  end
end
<commit_msg>Activate Bugsnag for master environment as well (fixes #506)<commit_after>if Rails.application.secrets.key? :bugsnag_api_key
  Bugsnag.configure do |config|
    # See https://bugsnag.com/docs/notifiers/ruby#configuration
    # for all available configuration keys
    config.api_key = Rails.application.secrets.bugsnag_api_key

    config.release_stage = ENV['CLOUD_NAME'] == 'hacken-in-master' ? 'master' : 'production'
  end
end

{'fraction_non_alphanumeric': 0.10260586319218241, 'fraction_numerical': 0.004885993485342019, 'mean_word_length': 4.970873786407767, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5191579', 'n_tokens_mistral': 220, 'n_tokens_neox': 207, 'n_words': 40}