<commit_before>module.exports = function (grunt) {
  'use strict';

  var path = require('path');
  require('time-grunt')(grunt);

  require('load-grunt-config')(grunt, {
    // path to task.js files, defaults to grunt dir
    configPath: path.join(process.cwd(), 'grunt_modules')
  });

  grunt.registerTask('build', [
    'jshint',
    'clean',
    'ngtemplates',
    'concat',
    'copy:assets',
    'copy:htmlmocks',
    'ngdocs'
  ]);

  grunt.registerTask('dev', [
    'test',
    'build',
    'apimocker',
    'configureProxies:server',
    'connect:server',
    'watch'
  ]);

  grunt.registerTask('dev-docs', [
    'ngdocs',
    'connect:docs',
    'watch:docs'
  ]);

  grunt.registerTask('test', [
    'ngtemplates',
    'karma:helloWorld'
  ]);

  grunt.registerTask('default', [
    'deps-ok',
    'test',
    'build',
    'karma:dist'
  ]);
};<commit_msg>switch grunt test to karma:all<commit_after>module.exports = function (grunt) {
  'use strict';

  var path = require('path');
  require('time-grunt')(grunt);

  require('load-grunt-config')(grunt, {
    // path to task.js files, defaults to grunt dir
    configPath: path.join(process.cwd(), 'grunt_modules')
  });

  grunt.registerTask('build', [
    'jshint',
    'clean',
    'ngtemplates',
    'concat',
    'copy:assets',
    'copy:htmlmocks',
    'ngdocs'
  ]);

  grunt.registerTask('dev', [
    'test',
    'build',
    'apimocker',
    'configureProxies:server',
    'connect:server',
    'watch'
  ]);

  grunt.registerTask('dev-docs', [
    'ngdocs',
    'connect:docs',
    'watch:docs'
  ]);

  grunt.registerTask('test', [
    'ngtemplates',
    'karma:all'
  ]);

  grunt.registerTask('default', [
    'deps-ok',
    'test',
    'build',
    'karma:dist'
  ]);
};
{'fraction_non_alphanumeric': 0.19393592677345536, 'fraction_numerical': 0.0, 'mean_word_length': 3.0580046403712298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1007893', 'n_tokens_mistral': 660, 'n_tokens_neox': 643, 'n_words': 100}