<commit_before># This is the config file for the unit tests for the app. For more info visit the
# [karma config page](http://karma-runner.github.io/0.10/config/configuration-file.html)
module.exports = (config) ->
  exclude = (path) ->
    pattern: path
    included: false

  config.set
    basePath: '../../'
    browsers: [
      # You may not need this but since [Travis](https://travis-ci.org/ahmednuaman/radian) is being used to keep an
      # eye on the code then [PhantomJS](http://phantomjs.org) is used as the runner browser.
      if process.env.TRAVIS then 'PhantomJS' else 'Chrome'
    ]
    files: [
      exclude 'assets/vendor/**/*.js'
      exclude 'assets/js/**/*.js'
      exclude 'test/unit/**/*-spec.coffee'
      'test/unit/test-main.coffee'
    ]
    exclude: [
      'assets/js/app.coffee'
      'assets/js/partials.coffee'
    ]
    frameworks: [
      'jasmine'
      'requirejs'
    ]
    preprocessors:
      'assets/js/**/*.js': 'coverage'
      '**/*.coffee': 'coffee'
    reporters: [
      'coverage'
      'junit'
      'progress'
    ]
    coverageReporter:
      dir: 'test/report/coverage/html'
      type: 'html'
    junitReporter:
      outputFile: 'test/report/karma-unit.xml'
    logLevel: config.LOG_INFO<commit_msg>updated coverage reporting<commit_after># This is the config file for the unit tests for the app. For more info visit the
# [karma config page](http://karma-runner.github.io/0.10/config/configuration-file.html)
module.exports = (config) ->
  exclude = (path) ->
    pattern: path
    included: false

  config.set
    basePath: '../../'
    browsers: [
      # You may not need this but since [Travis](https://travis-ci.org/ahmednuaman/radian) is being used to keep an
      # eye on the code then [PhantomJS](http://phantomjs.org) is used as the runner browser.
      if process.env.TRAVIS then 'PhantomJS' else 'Chrome'
    ]
    files: [
      exclude 'assets/vendor/**/*.js'
      exclude 'assets/js/**/*.js'
      exclude 'test/unit/**/*-spec.coffee'
      'test/unit/test-main.coffee'
    ]
    exclude: [
      'assets/js/app.coffee'
      'assets/js/partials.coffee'
    ]
    frameworks: [
      'jasmine'
      'requirejs'
    ]
    preprocessors:
      'assets/js/**/*.js': 'coverage'
      '**/*.coffee': 'coffee'
    reporters: [
      'coverage'
      'junit'
      'progress'
    ]
    coverageReporter:
      dir: 'test/report/coverage'
      reporters: [
          type: 'html'
        ,
          type: 'text-summary'
      ]
    junitReporter:
      outputFile: 'test/report/karma-unit.xml'
    logLevel: config.LOG_INFO
{'fraction_non_alphanumeric': 0.14511162432640493, 'fraction_numerical': 0.0023094688221709007, 'mean_word_length': 2.3024142312579414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4894170', 'n_tokens_mistral': 895, 'n_tokens_neox': 881, 'n_words': 198}