<commit_before># Karma configuration
module.exports = (config) ->
  config.set

    basePath: "../"

    frameworks: [
      "jasmine"
    ]

    # list of files / patterns to load in the browser
    files: [
      "bower_components/jquery/jquery.js"
      "bower_components/angular/angular.js"
      "bower_components/angular-mocks/angular-mocks.js"

      # TODO add html2js preprocessor
      # "app/scripts/templates.coffee"
      "app/scripts/modules/**/*.coffee"
      "app/scripts/application.coffee"
      "app/scripts/controllers/**/*.coffee"

      "test/unit/helpers/**/*.coffee"
      "test/unit/**/*_spec.coffee"
    ]

    preprocessors :
      "**/*.coffee": ["coffee"]

    # web server port
    port: 8080

    # cli runner port
    runnerPort: 9100

    # enable / disable watching file and executing tests whenever any file changes
    autoWatch: false

    # Start these browsers, currently available:
    # - Chrome
    # - ChromeCanary
    # - Firefox<commit_msg>Workaround for compiling templates.<commit_after># Karma configuration
module.exports = (config) ->
  config.set

    basePath: "../"

    frameworks: [
      "jasmine"
    ]

    # list of files / patterns to load in the browser
    files: [
      "bower_components/jquery/jquery.js"
      "bower_components/angular/angular.js"
      "bower_components/angular-mocks/angular-mocks.js"

      # TODO add ng-html2js preprocessor
      # * grunt ngtemplates karma:fast
      # * karma start test/karma-fast.conf.coffee --single-run
      "dev/scripts/templates.js"

      "app/scripts/modules/**/*.coffee"
      "app/scripts/application.coffee"
      "app/scripts/controllers/**/*.coffee"

      "test/unit/helpers/**/*.coffee"
      "test/unit/**/*_spec.coffee"
    ]

    preprocessors :
      "**/*.coffee": ["coffee"]

    # web server port
    port: 8080

    # cli runner port
    runnerPort: 9100

    # enable / disable watching file and executing tests whenever any file changes
    autoWatch: false

    # Start these browsers, currently available:
    # - Chrome
    # - ChromeCanary
    # - Firefox
{'fraction_non_alphanumeric': 0.12476099426386233, 'fraction_numerical': 0.008604206500956023, 'mean_word_length': 2.4087947882736156, 'pattern_counts': {'":': 2, '<': 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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4525187', 'n_tokens_mistral': 702, 'n_tokens_neox': 644, 'n_words': 141}