<commit_before>require.config({
  baseUrl: '/js',
  noGlobal: true,

  paths: {
    'underscore': '../bower_components/underscore/underscore',
    'underscore.string': '../bower_components/underscore.string/lib/underscore.string',
    'jquery': '../bower_components/jquery/dist/jquery',
    'backbone': '../bower_components/backbone/backbone',
    'backbone.babysitter': '../bower_components/backbone.babysitter/lib/backbone.babysitter',
    'backbone.wreqr': '../bower_components/backbone.wreqr/lib/backbone.wreqr',
    'backbone.localstorage': '../bower_components/backbone.localstorage/backbone.localStorage',
    'backbone.validation': '../bower_components/backbone-validation/dist/backbone-validation-amd',
    'marionette': '../bower_components/marionette/lib/core/amd/backbone.marionette',
    'bootstrap': '../bower_components/bootstrap/dist/js/bootstrap',
    'jade': '../bower_components/jade/runtime',
    'moment': '../bower_components/moment/min/moment-with-langs',
    'd3': '../bower_components/d3/d3'
  },

  shim: {
    'underscore': {
      exports: '_'
    },
    'underscore.string': {
      deps: ['underscore']
    },
    'backbone': {
      exports: 'Backbone',
      deps: ['underscore', 'jquery']
    },
    'bootstrap': {
      deps: ['jquery']
    }
  }
});

require(['app'], function (App) {
  App.start({});
});<commit_msg>Always make path aliases to libraries<commit_after>require.config({
  baseUrl: '/js',
  noGlobal: true,

  paths: {
    'underscore': '../bower_components/underscore/underscore',
    'underscore.string': '../bower_components/underscore.string/lib/underscore.string',
    'jquery': '../bower_components/jquery/dist/jquery',
    'backbone': '../bower_components/backbone/backbone',
    'backbone.babysitter': '../bower_components/backbone.babysitter/lib/backbone.babysitter',
    'backbone.wreqr': '../bower_components/backbone.wreqr/lib/backbone.wreqr',
    'backbone.localstorage': '../bower_components/backbone.localstorage/backbone.localStorage',
    'backbone.validation': '../bower_components/backbone-validation/dist/backbone-validation-amd',
    'marionette': '../bower_components/marionette/lib/core/amd/backbone.marionette',
    'bootstrap': '../bower_components/bootstrap/dist/js/bootstrap',
    'jade': '../bower_components/jade/runtime',
    'moment': '../bower_components/moment/min/moment-with-langs',
    'd3': '../bower_components/d3/d3',

    'validators': 'lib/validators'
  },

  shim: {
    'underscore': {
      exports: '_'
    },
    'underscore.string': {
      deps: ['underscore']
    },
    'backbone': {
      exports: 'Backbone',
      deps: ['underscore', 'jquery']
    },
    'bootstrap': {
      deps: ['jquery']
    }
  }
});

require(['app'], function (App) {
  App.start({});
});
{'fraction_non_alphanumeric': 0.19204339963833636, 'fraction_numerical': 0.00216998191681736, 'mean_word_length': 3.5643564356435644, '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': '863335', 'n_tokens_mistral': 959, 'n_tokens_neox': 926, 'n_words': 109}