<commit_before>#!/usr/bin/env bash

mkdir -p ~/.homestead

yaml=~/.homestead/Homestead.yaml

if [ -f $yaml ]; then
	echo "$yaml found, not overwriting it!"
else
	cp src/stubs/Homestead.yaml $yaml
fi;
cp src/stubs/after.sh ~/.homestead/after.sh
cp src/stubs/aliases ~/.homestead/aliases

echo "Homestead initialized!"
<commit_msg>init.sh: also dont overwrite after.sh or aliases if found<commit_after>#!/usr/bin/env bash

mkdir -p ~/.homestead

homesteadRoot=~/.homestead

yaml=$homesteadRoot/Homestead.yaml
after=$homesteadRoot/after.sh
aliases=$homesteadRoot/aliases

if [ -f $yaml ]; then
	echo "$yaml found, not overwriting it!"
else
	cp src/stubs/Homestead.yaml $yaml
fi;

if [ -f $after ]; then
	echo "$after found, not overwriting it!"
else
	cp src/stubs/after.sh $after
fi;

if [ -f $aliases ]; then
	echo "$aliases found, not overwriting it!"
else
	cp src/stubs/aliases $aliases
fi;

echo "Homestead initialized!"

{'fraction_non_alphanumeric': 0.13774403470715835, 'fraction_numerical': 0.0, 'mean_word_length': 4.274285714285714, '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': '1573260', 'n_tokens_mistral': 359, 'n_tokens_neox': 335, 'n_words': 95}