<commit_before>var gulp = require('gulp-help')(require('gulp'));
var jshint = require('gulp-jshint');
var mochaPhantom = require('gulp-mocha-phantomjs');
var connect = require('gulp-connect');

gulp.task('lint', function(){
  return gulp.src(['./Gulpfile.js', './package.json', './site/**/*.js',

                   './benchmark/**/*.js',

                   './src/**/*.js',
                   './spec/**/*.js'])
    .pipe(jshint())
    .pipe(jshint.reporter('default'));
});

gulp.task('test', ['lint'], function(){
  return gulp
    .src('mocha.html')
    .pipe(mochaPhantom());
});

gulp.task('server', function() {
  var argv = require('yargs').argv;
  return connect.server({
    port: argv.p || argv.port || 8000
  });
});<commit_msg>Clean up Gulpfile<commit_after>var gulp = require('gulp-help')(require('gulp'));
var jshint = require('gulp-jshint');
var mochaPhantom = require('gulp-mocha-phantomjs');
var connect = require('gulp-connect');

gulp.task('lint', function(){
  return gulp.src(['Gulpfile.js', 'bower.json', 'package.json',
                   'benchmark/**/*.js',
                   'site/**/*.js',
                   'src/**/*.js',
                   'spec/**/*.js'])
    .pipe(jshint())
    .pipe(jshint.reporter('default'));
});

gulp.task('test', ['lint'], function(){
  return gulp
    .src('mocha.html')
    .pipe(mochaPhantom());
});

gulp.task('server', function() {
  var argv = require('yargs').argv;
  return connect.server({
    port: argv.p || argv.port || 8000
  });
});
{'fraction_non_alphanumeric': 0.23654485049833887, 'fraction_numerical': 0.0053156146179402, 'mean_word_length': 2.881443298969072, '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': '5576699', 'n_tokens_mistral': 541, 'n_tokens_neox': 514, 'n_words': 85}