<commit_before>module.exports = (grunt) ->
  grunt.initConfig

    bowerful:
      src:
        packages:
          "angular": ""
          "angular-resource": ""
        store: "vendor/assets/javascripts"
      test:
        packages:
          "angular-mocks": ""
        store: "src/test/lib"

    connect:
      server:
        options:
          base: "."

    coffeelint:
      files: [
        "src/coffee/**/*.coffee"
        "src/test/coffee/**/*.coffee"
      ]
      gruntfile: ["Gruntfile.coffee"]

    watch:
      coffee:
        options:
          livereload: true
        files: []
        tasks: [
          "cofeelint:files"
          "test"
        ]

    clean:
      files: [
        "tmp"
      ]

    coffee:
      src:
        options:
          sourceMap: true
        expand: true,
        flatten: true,
        cwd: "src/coffee"
        src: ["**/*.coffee"]
        dest: "lib/assets/javascripts"
        ext: ".js"
      test:
        options:
          sourceMap: true
        expand: true,
        flatten: true,
        cwd: "src/test/coffee"
        src: ["**/*.coffee"]
        dest: "tmp/test/js"
        ext: ".js"

    jasmine:
      test:
        src: "lib/assets/javascripts/*.js"
        options:
          specs: "tmp/test/js/*Spec.js"
          helpers: [
            "tmp/test/lib/angular-mocks/angular-mocks.js"
          ]
          vendor: [
            "tmp/test/lib/angular/angular.js"
          ]
          keepRunner: true
      coverage:
        src: "lib/assets/javascripts/*.js"
        options:
          specs: "tmp/test/js/*Spec.js"
          helpers: [
            "tmp/test/lib/angular-mocks/angular-mocks.js"
          ]
          vendor: [
            "tmp/test/lib/angular/angular.js"
          ]
          template: require("grunt-template-jasmine-istanbul")
          templateOptions:
            coverage: "tmp/coverage/coverage.json"
            report: [
              { type: "lcov", options: { dir: "tmp/coverage" } }
              { type: "text", options: {} }
            ]
            thresholds:
              lines: 80
              statements: 80
              branches: 80
              functions: 80

  require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks

  grunt.registerTask "server", "Start a web server to host the app.",
    ["connect", "watch"]
<commit_msg>Fixed mistake where test helper and vendor files were in tmp<commit_after>module.exports = (grunt) ->
  grunt.initConfig

    bowerful:
      src:
        packages:
          "angular": ""
          "angular-resource": ""
        store: "vendor/assets/javascripts"
      test:
        packages:
          "angular-mocks": ""
        store: "src/test/lib"

    connect:
      server:
        options:
          base: "."

    coffeelint:
      files: [
        "src/coffee/**/*.coffee"
        "src/test/coffee/**/*.coffee"
      ]
      gruntfile: ["Gruntfile.coffee"]

    watch:
      coffee:
        options:
          livereload: true
        files: []
        tasks: [
          "cofeelint:files"
          "test"
        ]

    clean:
      files: [
        "tmp"
      ]

    coffee:
      src:
        options:
          sourceMap: true
        expand: true,
        flatten: true,
        cwd: "src/coffee"
        src: ["**/*.coffee"]
        dest: "lib/assets/javascripts"
        ext: ".js"
      test:
        options:
          sourceMap: true
        expand: true,
        flatten: true,
        cwd: "src/test/coffee"
        src: ["**/*.coffee"]
        dest: "tmp/test/js"
        ext: ".js"

    jasmine:
      test:
        src: "lib/assets/javascripts/*.js"
        options:
          specs: "tmp/test/js/*Spec.js"
          helpers: [
            "src/test/lib/angular-mocks/angular-mocks.js"
          ]
          vendor: [
            "src/test/lib/angular/angular.js"
          ]
          keepRunner: true
      coverage:
        src: "lib/assets/javascripts/*.js"
        options:
          specs: "tmp/test/js/*Spec.js"
          helpers: [
            "src/test/lib/angular-mocks/angular-mocks.js"
          ]
          vendor: [
            "src/test/lib/angular/angular.js"
          ]
          template: require("grunt-template-jasmine-istanbul")
          templateOptions:
            coverage: "tmp/coverage/coverage.json"
            report: [
              { type: "lcov", options: { dir: "tmp/coverage" } }
              { type: "text", options: {} }
            ]
            thresholds:
              lines: 80
              statements: 80
              branches: 80
              functions: 80

  require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks

  grunt.registerTask "server", "Start a web server to host the app.",
    ["connect", "watch"]

{'fraction_non_alphanumeric': 0.13285684254782426, 'fraction_numerical': 0.0033634643682993485, 'mean_word_length': 1.3403836694540088, 'pattern_counts': {'":': 6, '<': 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': '2526790', 'n_tokens_mistral': 1517, 'n_tokens_neox': 1458, 'n_words': 270}