<commit_before>
PROJECT=$1

if [[ $2 =~ ^[0-9]+\.[0-9]+\-[0-9]$ ]]; then
        VERSION=$2
else
	echo "Wrong version"
fi

PRJ_ROOT="usr/share/${PROJECT}-${VERSION}"

mkdir -p $PRJ_ROOT

rsync -av --progress ../.meta/ "$PWD"
rsync -av --progress ../* $PRJ_ROOT --exclude=.git/ --exclude=.idea/ --exclude='*.pyc' --exclude='*.pyo' --exclude='__pycache__' --exclude=uploads/ --exclude=.meta/

fakeroot dpkg-deb --build "$PWD/main" /tmp
<commit_msg>change dest<commit_after>
PROJECT=$1

if [[ $2 =~ ^[0-9]+\.[0-9]+\-[0-9]$ ]]; then
        VERSION=$2
else
	echo "Wrong version"
fi

PRJ_ROOT="main/usr/share/${PROJECT}-${VERSION}"

mkdir -p $PRJ_ROOT

rsync -av --progress ../.meta/ "$PWD/main"
rsync -av --progress ../* $PRJ_ROOT --exclude=.git/ --exclude=.idea/ --exclude='*.pyc' --exclude='*.pyo' --exclude='__pycache__' --exclude=uploads/ --exclude=.meta/ --exclude=deploy_tools

fakeroot dpkg-deb --build "$PWD/main" /tmp

{'fraction_non_alphanumeric': 0.2502708559046587, 'fraction_numerical': 0.01950162513542795, 'mean_word_length': 3.1434977578475336, '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': '2413511', 'n_tokens_mistral': 402, 'n_tokens_neox': 369, 'n_words': 76}