<commit_before>Formatter(){
	formatTabs(){
		sed -i "s/	/\t/g" $1
	}

	formatSpaceAfterTab(){
		sed -i "s/\t /\t/g" $1
	}

	formatTrailingSpaces(){
		sed -i "s/} \+$/}/g" $1
	}

	$@
}

curFile=${0/.\//}
allFiles=($(find * -type f))
includedFiles=(${allFiles[@]/*$curFile/})

for (( i=0; i<${#includedFiles[@]}; i++ )); do
	Formatter formatTabs ${includedFiles[i]}
	Formatter formatSpaceAfterTab ${includedFiles[i]}
	Formatter formatTrailingSpaces ${includedFiles[i]}
done<commit_msg>Rename<commit_after>Formatter(){
	convertSpacesToTab(){
		sed -i "s/	/\t/g" $1
	}

	removeSpacesAfterTab(){
		sed -i "s/\t /\t/g" $1
	}

	trimTrailingSpaces(){
		sed -i "s/} \+$/}/g" $1
	}

	$@
}

curFile=${0/.\//}
allFiles=($(find * -type f))
includedFiles=(${allFiles[@]/*$curFile/})

for (( i=0; i<${#includedFiles[@]}; i++ )); do
	Formatter convertSpacesToTab ${includedFiles[i]}
	Formatter removeSpacesAfterTab ${includedFiles[i]}
	Formatter trimTrailingSpaces ${includedFiles[i]}
done
{'fraction_non_alphanumeric': 0.23227132579650564, 'fraction_numerical': 0.010277492291880781, 'mean_word_length': 4.3224043715847, 'pattern_counts': {'":': 0, '<': 5, '<?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': '447195', 'n_tokens_mistral': 426, 'n_tokens_neox': 397, 'n_words': 77}