<commit_before>#!/usr/bin/env node
/*
 * mochify.js
 *
 * Copyright (c) 2014 <NAME> <<EMAIL>>
 *
 * @license MIT
 */
'use strict';

var watchify      = require('watchify');
var browserify    = require('browserify');
var through       = require('through');
var glob          = require('glob');
var mocaccino     = require('mocaccino');
var phantomic     = require('phantomic');
var webdriver     = require('min-wd/lib/driver');
var webdriverOpts = require('min-wd/lib/options');

var argv     = process.argv.slice(2);
var reporter = 'spec';
var watch    = false;
var wd       = false;

if (argv[0] === '--watch') {
  argv.shift();
  watch    = true;
  reporter = 'min';<commit_msg>Changed default reporter to "dot" if not using --watch<commit_after>#!/usr/bin/env node
/*
 * mochify.js
 *
 * Copyright (c) 2014 <NAME> <<EMAIL>>
 *
 * @license MIT
 */
'use strict';

var watchify      = require('watchify');
var browserify    = require('browserify');
var through       = require('through');
var glob          = require('glob');
var mocaccino     = require('mocaccino');
var phantomic     = require('phantomic');
var webdriver     = require('min-wd/lib/driver');
var webdriverOpts = require('min-wd/lib/options');

var argv     = process.argv.slice(2);
var reporter = 'dot';
var watch    = false;
var wd       = false;

if (argv[0] === '--watch') {
  argv.shift();
  watch    = true;
  reporter = 'min';
{'fraction_non_alphanumeric': 0.1742857142857143, 'fraction_numerical': 0.008571428571428572, 'mean_word_length': 3.2072072072072073, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3452083', 'n_tokens_mistral': 472, 'n_tokens_neox': 465, 'n_words': 119}