<commit_before>#!/usr/bin/env bash
echo "Run from project root folder"
bold=`tput bold`
normal=`tput sgr0`
echo
echo
read -p "${bold}WARNING!!${normal} Your database will be purged !!!  And a clean ojs will be installed. Are you sure? (Y/n)" -n 1 -r
echo    # new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
	#danger zone
	mysql -uroot -proot ojssf -e "drop database ojssf"
	sudo php app/console ojs:install
	sudo php app/console doctrine:fixtures:load --append -v
	sudo php app/console doctrine:mongodb:fixtures:load --append -v
fi<commit_msg>clean.sh devtool updated<commit_after>#!/usr/bin/env bash
echo "Run from project root folder"
bold=`tput bold`
normal=`tput sgr0`
echo
echo
read -p "${bold}WARNING!!${normal} Your database will be purged !!! (Y/n) "
echo 
if [[ $REPLY =~ ^[Yy]$ ]]
then
	read -p  "And a clean ojs will be installed. ${bold}Are you sure?${normal} (Y/n)? "
	echo
	if [[ $REPLY =~ ^[Yy]$ ]]
	then
		#danger zone
		mysql -uroot -proot ojssf -e "drop database ojssf"
		sudo php app/console ojs:install
		sudo php app/console doctrine:fixtures:load --append -v
		sudo php app/console doctrine:mongodb:fixtures:load --append -v
	fi
fi
{'fraction_non_alphanumeric': 0.14136125654450263, 'fraction_numerical': 0.002617801047120419, 'mean_word_length': 4.075221238938053, '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': '1629939', 'n_tokens_mistral': 452, 'n_tokens_neox': 424, 'n_words': 145}