<commit_before>module.exports = (grunt) ->
  grunt.initConfig
    uglify:
      options:
        mangle: true
        compress: {}
        sourceMap: true
        sourceMapIncludeSources: true
      build:
        src: 'dist/modelize/**/*.js'
        dest: 'dist/modelize.min.js'
    coffee:
      main:
        options:
          bare: true
          sourceMap: true
        expand: true
        cwd: 'src'
        src: ['**/*.coffee']
        dest: 'dist/modelize/'
        ext: '.js'
      spec:
        options:
          bare: true
        expand: true
        cwd: 'spec_src'
        src: ['**/*.coffee']
        dest: 'spec/'
        ext: '.js'
    jasmine:
      src: [ 'dist/modelize.min.js' ]
      options:
        specs: [ 'spec/*.js' ]
        vendor: [
          'vendor/jasmine-ajax/lib/mock-ajax.js',
          'vendor/jquery/dist/jquery.min.js',
          'vendor/jquery.rest/dist/1/jquery.rest.min.js',
          'vendor/knockout/dist/knockout.js',
          'vendor/sjcl/sjcl.js'
          ]
    watch:
      files: ['<%= coffee.main.src %>', '<%= coffee.spec.src %>']
      tasks: ['coffee', 'uglify', 'jasmine']

  grunt.loadNpmTasks 'grunt-contrib-coffee'
  grunt.loadNpmTasks 'grunt-contrib-uglify'
  grunt.loadNpmTasks 'grunt-contrib-jasmine'
  grunt.loadNpmTasks 'grunt-contrib-watch'
  grunt.loadNpmTasks 'grunt-browserify'

  grunt.registerTask 'default', ['coffee', 'uglify', 'jasmine']
  grunt.registerTask 'test', ['jasmine']<commit_msg>chore: changed test task to include coffee compile<commit_after>module.exports = (grunt) ->
  grunt.initConfig
    uglify:
      options:
        mangle: true
        compress: {}
        sourceMap: true
        sourceMapIncludeSources: true
      build:
        src: 'dist/modelize/**/*.js'
        dest: 'dist/modelize.min.js'
    coffee:
      main:
        options:
          bare: true
          sourceMap: true
        expand: true
        cwd: 'src'
        src: ['**/*.coffee']
        dest: 'dist/modelize/'
        ext: '.js'
      spec:
        options:
          bare: true
        expand: true
        cwd: 'spec_src'
        src: ['**/*.coffee']
        dest: 'spec/'
        ext: '.js'
    jasmine:
      src: [ 'dist/modelize.min.js' ]
      options:
        specs: [ 'spec/*.js' ]
        vendor: [
          'vendor/jasmine-ajax/lib/mock-ajax.js',
          'vendor/jquery/dist/jquery.min.js',
          'vendor/jquery.rest/dist/1/jquery.rest.min.js',
          'vendor/knockout/dist/knockout.js',
          'vendor/sjcl/sjcl.js'
          ]
    watch:
      files: ['<%= coffee.main.src %>', '<%= coffee.spec.src %>']
      tasks: ['coffee', 'uglify', 'jasmine']

  grunt.loadNpmTasks 'grunt-contrib-coffee'
  grunt.loadNpmTasks 'grunt-contrib-uglify'
  grunt.loadNpmTasks 'grunt-contrib-jasmine'
  grunt.loadNpmTasks 'grunt-contrib-watch'
  grunt.loadNpmTasks 'grunt-browserify'

  grunt.registerTask 'default', ['coffee', 'uglify', 'jasmine']
  grunt.registerTask 'test', ['coffee:spec', 'jasmine']
{'fraction_non_alphanumeric': 0.1550569323509712, 'fraction_numerical': 0.0006697923643670462, 'mean_word_length': 1.960356788899901, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '5783534', 'n_tokens_mistral': 1067, 'n_tokens_neox': 1041, 'n_words': 179}