<commit_before>env = require 'config/environment'

if env.get('isDevelopment')
  options =
    LOG_TRANSITIONS:                true
    LOG_TRANSITIONS_INTERNAL:       false
    LOG_STACKTRACE_ON_DEPRECATION:  true
    LOG_BINDINGS:                   true
    LOG_VIEW_LOOKUPS:               true
    LOG_ACTIVE_GENERATION:          true

  # From http://git.io/HPjymw
  Ember.RSVP.configure 'onerror', (e) ->
    console.error(e.message)
    console.error(e.stack)

  Ember.debug("Running in #{env.get('name')} environment")
else
  options = {}

module.exports = Ember.Application.create(options)<commit_msg>refactor: use Ember.Logger for error<commit_after>env = require 'config/environment'

if env.get('isDevelopment')
  options =
    LOG_TRANSITIONS:                true
    LOG_TRANSITIONS_INTERNAL:       false
    LOG_STACKTRACE_ON_DEPRECATION:  true
    LOG_BINDINGS:                   true
    LOG_VIEW_LOOKUPS:               true
    LOG_ACTIVE_GENERATION:          true

  # From http://git.io/HPjymw
  Ember.RSVP.configure 'onerror', (e) ->
    Ember.Logger.error(e.message)
    Ember.Logger.error(e.stack)

  Ember.debug("Running in #{env.get('name')} environment")
else
  options = {}

module.exports = Ember.Application.create(options)
{'fraction_non_alphanumeric': 0.10551558752997602, 'fraction_numerical': 0.0, 'mean_word_length': 2.6823529411764704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1509726', 'n_tokens_mistral': 422, 'n_tokens_neox': 412, 'n_words': 69}