<commit_before>if [ ! -e disco.cfg ]
then
        echo "[]" >> disco.cfg
fi

PATH=.:$PATH erl +K true -smp on -pa ebin -pa src -boot disco -disco scgi_port 4444 -disco disco_config disco.cfg -kernel error_logger '{file, "disco.log"}' -eval "[handle_job, handle_ctrl]"<commit_msg>added PREFIX and DISCO_PORT parameters to start_disco<commit_after>if [ ! -e disco.cfg ]
then
        echo "[]" >> disco.cfg
fi

if [ -z $DISCO_PORT ]
then
        DISCO_PORT=4444
fi

if [ -z $PREFIX ]
then
	PREFIX="disco"
fi

export SLAVENAME=$PREFIX"_slave"

PATH=.:$PATH erl +K true -sname $PREFIX"_master" -rsh ssh -smp on -pa ebin -pa src -boot disco -disco scgi_port $DISCO_PORT -disco disco_config disco.cfg -kernel error_logger '{file, "disco.log"}' -eval "[handle_job, handle_ctrl]"
{'fraction_non_alphanumeric': 0.13766233766233765, 'fraction_numerical': 0.01038961038961039, 'mean_word_length': 3.7300613496932513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1739491', 'n_tokens_mistral': 300, 'n_tokens_neox': 297, 'n_words': 87}