<commit_before>#!/bin/bash

mkdir -p log

function cleanUp() {
  kill `cat log/mongodb.pid`
}

trap cleanUp EXIT

mkdir -p mongodb
mongod --dbpath mongodb --pidfilepath log/mongodb.pid > log/mongodb.log 2>&1 &

scripts/web-server.js > log/webserver.log 2>&1 &

cd ../monkey-tail
supervisor app.js > ../monkey-face/log/app.log 2>&1 &

cd ../monkey-face

echo "Go to http://localhost:8000/app/index.html"
wait
<commit_msg>Add e2eBridge to started processes<commit_after>#!/bin/bash

mkdir -p log

function cleanUp() {
  kill `cat log/mongodb.pid`
}

trap cleanUp EXIT

mkdir -p mongodb
mongod --dbpath mongodb --pidfilepath log/mongodb.pid > log/mongodb.log 2>&1 &

scripts/web-server.js > log/webserver.log 2>&1 &

cd ../monkey-tail
supervisor app.js > ../monkey-face/log/app.log 2>&1 &
supervisor e2eBridge.js > ../monkey-face/log/e2eBridge.log 2>&1 &

cd ../monkey-face

echo "Go to http://localhost:8000/app/index.html"
wait

{'fraction_non_alphanumeric': 0.1574973031283711, 'fraction_numerical': 0.02696871628910464, 'mean_word_length': 3.3981042654028437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '4075217', 'n_tokens_mistral': 403, 'n_tokens_neox': 361, 'n_words': 84}