<commit_before>#!/bin/bash

PYTHON_EXEC=python2.7
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ -z $(pgrep $PYTHON_EXEC) ]
then
    BITMESSAGE_HOME=$DIR/PyBitmessage/
    export BITMESSAGE_HOME
    $PYTHON_EXEC $DIR/PyBitmessage/src/bitmessagemain.py > bm_error.log &
    sleep 2
fi

if [ -z $(pgrep bitcoind) ]
then
    $DIR/../bitcoin/bin/$(getconf LONG_BIT)/bitcoind -connect=127.0.0.1 -datadir=$DIR/../.bitcoin/ -rpcport=2521 &
    sleep 2
fi

$PYTHON_EXEC $DIR/src/client/main.py $@<commit_msg>runclient fix<commit_after>#!/bin/bash

PYTHON_EXEC=python2.7
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ -z $(pgrep $PYTHON_EXEC) ]
then

	echo "bitmessage not running?"

fi

if [ -z $(pgrep bitcoind) ]
then
    $DIR/../bitcoin/bin/$(getconf LONG_BIT)/bitcoind -connect=127.0.0.1 -datadir=$DIR/../.bitcoin/ -rpcport=2521 &
    sleep 2
fi

$PYTHON_EXEC $DIR/src/client/main.py $@
{'fraction_non_alphanumeric': 0.18859649122807018, 'fraction_numerical': 0.03179824561403509, 'mean_word_length': 3.6581632653061225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3162236', 'n_tokens_mistral': 413, 'n_tokens_neox': 383, 'n_words': 69}