<commit_before>// Strider Simple Worker
// <NAME> 2012
//
// A simple, in-process worker implementation for Strider.
//

var exec = require('child_process').exec
var gitane = require('gitane')
var gumshoe = require('gumshoe')
var path = require('path')
var spawn = require('child_process').spawn
var Step = require('step')

// Work around npm not being installed on some systems - use own copy
var npmCmd = "node ../../node_modules/npm/bin/npm-cli.js"
var nodePrepare = npmCmd + " install"
var nodeTest = npmCmd + " test"
var nodeStart = npmCmd + " start"
var djangoPrepare = "virtualenv-2.7 env && env/bin/pip -r requirements.txt"
var djangoTest = "env/bin/python manage.py test"
var setupPyPrepare = "virtualenv-2.7 env && env/bin/python setup.py develop ; env/bin/pip -r requirements.txt"
var setupPyTest = "env/bin/python setup.py test"<commit_msg>shellfu for heroku<commit_after>// Strider Simple Worker
// <NAME> 2012
//
// A simple, in-process worker implementation for Strider.
//

var exec = require('child_process').exec
var gitane = require('gitane')
var gumshoe = require('gumshoe')
var path = require('path')
var spawn = require('child_process').spawn
var Step = require('step')

// Work around npm not being installed on some systems - use own copy
// the test clause is for Heroku
var npmCmd = "$(test -x ~/bin/node && echo ~/bin/node || echo node) ../../node_modules/npm/bin/npm-cli.js"
var nodePrepare = npmCmd + " install"
var nodeTest = npmCmd + " test"
var nodeStart = npmCmd + " start"
var djangoPrepare = "virtualenv-2.7 env && env/bin/pip -r requirements.txt"
var djangoTest = "env/bin/python manage.py test"
var setupPyPrepare = "virtualenv-2.7 env && env/bin/python setup.py develop ; env/bin/pip -r requirements.txt"
var setupPyTest = "env/bin/python setup.py test"
{'fraction_non_alphanumeric': 0.13958682300390843, 'fraction_numerical': 0.00893355667225014, 'mean_word_length': 4.047887323943662, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6285268', 'n_tokens_mistral': 601, 'n_tokens_neox': 569, 'n_words': 185}