<commit_before><commit_msg>Added not fully functional RemoveDuplicates-function<commit_after>package arrays

func RemoveDuplicates(slice []int) []int {
	lenSlice := len(slice)

	for i := 0; i < lenSlice; i++ {
		for j := i + 1; j < lenSlice; j++ {
			if slice[i] == slice[j] {
				slice = append(slice[:j], slice[j+1:]...)
				lenSlice = len(slice)
			}
		}
	}

	return slice
}

{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.007936507936507936, 'mean_word_length': 3.6219512195121952, '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': '6911492', 'n_tokens_mistral': 155, 'n_tokens_neox': 137, 'n_words': 35}