<commit_before>#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR
PIDFILE=riot.pid
kill $(cat $PIDFILE)
rm $PIDFILE<commit_msg>dont fail when trying to stop riot and its not running<commit_after>#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR
PIDFILE=riot.pid
if [ -f $PIDFILE ]; then
	echo "stopping riot server ..."
	kill $(cat $PIDFILE)
	rm $PIDFILE
fi
{'fraction_non_alphanumeric': 0.1518324607329843, 'fraction_numerical': 0.005235602094240838, 'mean_word_length': 5.17741935483871, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4387189', 'n_tokens_mistral': 157, 'n_tokens_neox': 140, 'n_words': 44}