<commit_before>// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2014-12-04 using
// generator-karma 0.8.3

module.exports = function(config) {
  'use strict';

  config.set({
    // enable / disable watching file and executing tests whenever any file changes
    autoWatch: true,

    // base path, that will be used to resolve files and exclude
    basePath: '../',

    // testing framework to use (jasmine/mocha/qunit/...)
    frameworks: ['jasmine'],

    // list of files / patterns to load in the browser
    files: [
      'https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js',

      'bower_components/angular/angular.js',
      'bower_components/angular-bootstrap/ui-bootstrap-tpls.js',
      'bower_components/angular-mocks/angular-mocks.js',
      'bower_components/angular-animate/angular-animate.js',
      'bower_components/angular-cookies/angular-cookies.js',
      'bower_components/angular-messages/angular-messages.js',
      'bower_components/angular-sanitize/angular-sanitize.js',
      'bower_components/angular-ui-router/release/angular-ui-router.min.js',
      'bower_components/d3/d3.js',
      'bower_components/d3-tip/index.js',
      'bower_components/lodash/dist/lodash.js',

      'node_modules/headroom.js/dist/headroom.js',
      'node_modules/headroom.js/dist/angular.headroom.js',

      // Karma has problems with this file, but it's not needed for tests, commenting out
      //'bower_components/panelsnap/jquery.panelSnap.js',

      // Add app scripts here, same order as in index.html
      'app/scripts/utils.js',
      'app/scripts/cartodb/cartodb-api-config.js',
      'app/scripts/cartodb/cartodb-api-service.js',
      'app/scripts/cartodb/cartodb-filters.js',
      'app/scripts/colors/module.js',
      'app/scripts/colors/color-service.js',
      'app/scripts/years/module.js',
      'app/scripts/years/year-service.js',
      'app/scripts/years/year-selector-controller.js',
      'app/scripts/years/year-selector-directive.js',
      'app/scripts/charting/module.js',
      'app/scripts/charting/charting-service.js',
      'app/scripts/charting/charting-controller.js',
      'app/scripts/charting/barchart-directive.js',
      'app/scripts/charting/scatterplot-directive.js',
      'app/scripts/compare/module.js',
      'app/scripts/compare/compare-service.js',
      'app/scripts/mapping/module.js',
      'app/scripts/mapping/mapping-service.js',
      'app/scripts/views/charts/module.js',
      'app/scripts/views/charts/charts-glossary-directive.js',
      'app/scripts/views/charts/charts-controller.js',
      'app/scripts/views/charts/count-up-directive.js',
      'app/scripts/views/charts/panel-snap-directive.js',
      'app/scripts/views/map/module.js',
      'app/scripts/views/map/map-controller.js',
      'app/scripts/views/info/module.js',
      'app/scripts/views/info/info-controller.js',
      'app/scripts/views/detail/module.js',
      'app/scripts/views/detail/detail-controller.js',
      'app/scripts/views/compare/module.js',
      'app/scripts/views/compare/compare-controller.js',
      'app/scripts/app.js',
      'app/scripts/headroom-reset-directive.js',

      'test/spec/**/*.js'
    ],

    // list of files / patterns to exclude
    exclude: [],<commit_msg>Update karma imports<commit_after>// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2014-12-04 using
// generator-karma 0.8.3

module.exports = function(config) {
  'use strict';

  config.set({
    // enable / disable watching file and executing tests whenever any file changes
    autoWatch: true,

    // base path, that will be used to resolve files and exclude
    basePath: '../',

    // testing framework to use (jasmine/mocha/qunit/...)
    frameworks: ['jasmine'],

    // list of files / patterns to load in the browser
    files: [
      'https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js',

      'bower_components/angular/angular.js',
      'bower_components/angular-bootstrap/ui-bootstrap-tpls.js',
      'bower_components/angular-mocks/angular-mocks.js',
      'bower_components/angular-animate/angular-animate.js',
      'bower_components/angular-cookies/angular-cookies.js',
      'bower_components/angular-messages/angular-messages.js',
      'bower_components/angular-sanitize/angular-sanitize.js',
      'bower_components/angular-ui-router/release/angular-ui-router.min.js',
      'bower_components/d3/d3.js',
      'bower_components/d3-tip/index.js',
      'bower_components/lodash/dist/lodash.js',

      'node_modules/headroom.js/dist/headroom.js',
      'node_modules/headroom.js/dist/angular.headroom.js',

      // Karma has problems with this file, but it's not needed for tests, commenting out
      //'bower_components/panelsnap/jquery.panelSnap.js',

      // Add app scripts here, same order as in index.html
      'app/scripts/utils.js',
      'app/scripts/cartodb/cartodb-api-config.js',
      'app/scripts/cartodb/cartodb-api-service.js',
      'app/scripts/cartodb/cartodb-filters.js',
      'app/scripts/root/module.js',
      'app/scripts/root-controller.js',
      'app/scripts/colors/module.js',
      'app/scripts/colors/color-service.js',
      'app/scripts/years/module.js',
      'app/scripts/years/year-selector-controller.js',
      'app/scripts/years/year-selector-directive.js',
      'app/scripts/years/data-download-controller.js',
      'app/scripts/years/data-download-directive.js',
      'app/scripts/charting/module.js',
      'app/scripts/charting/charting-service.js',
      'app/scripts/charting/charting-controller.js',
      'app/scripts/charting/barchart-directive.js',
      'app/scripts/charting/scatterplot-directive.js',
      'app/scripts/compare/module.js',
      'app/scripts/compare/compare-service.js',
      'app/scripts/mapping/module.js',
      'app/scripts/mapping/mapping-service.js',
      'app/scripts/views/charts/module.js',
      'app/scripts/views/charts/charts-glossary-directive.js',
      'app/scripts/views/charts/charts-controller.js',
      'app/scripts/views/charts/count-up-directive.js',
      'app/scripts/views/charts/panel-snap-directive.js',
      'app/scripts/views/map/module.js',
      'app/scripts/views/map/map-controller.js',
      'app/scripts/views/info/module.js',
      'app/scripts/views/info/info-controller.js',
      'app/scripts/views/detail/module.js',
      'app/scripts/views/detail/detail-controller.js',
      'app/scripts/views/compare/module.js',
      'app/scripts/views/compare/compare-controller.js',
      'app/scripts/app.js',
      'app/scripts/headroom-reset-directive.js',

      'test/spec/**/*.js'
    ],

    // list of files / patterns to exclude
    exclude: [],
{'fraction_non_alphanumeric': 0.15393671817512877, 'fraction_numerical': 0.006181015452538631, 'mean_word_length': 2.935147654892878, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1259992', 'n_tokens_mistral': 2331, 'n_tokens_neox': 2231, 'n_words': 279}