<commit_before>module.exports = do (Marionette, $) ->
  { UIRouterMarionette } = require('../router')
  App = new Marionette.Application
  Marionette.Behaviors.behaviorsLookup = ->
    # Import Marionette behaviors for state lookup/active state
    UISref: require('../router/marionette/behaviors').UISref

  App.addRegions
    rootRegion: '#root'

  App.on "before:start", ->
    @router = UIRouterMarionette.getInstance()
    require('./routes')
    Visualizer = require('ui-router-visualizer').Visualizer
    @router.plugin(Visualizer)

  App.on "start", ->
    @router.start(App.rootRegion)

    @router.trace.enable()
    @router.trace.enable("TRANSITION", "UIVIEW", "VIEWCONFIG")

  return App<commit_msg>Move trace from app "start" to app "before:start"<commit_after>module.exports = do (Marionette, $) ->
  { UIRouterMarionette } = require('../router')
  App = new Marionette.Application
  Marionette.Behaviors.behaviorsLookup = ->
    # Import Marionette behaviors for state lookup/active state
    UISref: require('../router/marionette/behaviors').UISref

  App.addRegions
    rootRegion: '#root'

  App.on "before:start", ->
    @router = UIRouterMarionette.getInstance()
    require('./routes')
    Visualizer = require('ui-router-visualizer').Visualizer
    @router.plugin(Visualizer)
    @router.trace.enable()
    @router.trace.enable("TRANSITION", "UIVIEW", "VIEWCONFIG")

  App.on "start", ->
    @router.start(App.rootRegion)

  return App
{'fraction_non_alphanumeric': 0.14756348661633492, 'fraction_numerical': 0.0, 'mean_word_length': 3.942372881355932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1843763', 'n_tokens_mistral': 475, 'n_tokens_neox': 465, 'n_words': 82}