<commit_before>package com.aidan.chapter13

object Chapter13 {
	def indexes(aString: String) = {
	  import scala.collection.mutable
	  val map = mutable.Map[Char, mutable.Set[Int]]()
	  for (c <- aString.zipWithIndex) map(c._1) = map.getOrElse(c._1, mutable.Set(c._2)) + c._2
	  map
	}
}
<commit_msg>Removed redudant addition into Set<commit_after>package com.aidan.chapter13

object Chapter13 {
	def indexes(aString: String) = {
	  import scala.collection.mutable
	  val theMap = mutable.Map[Char, mutable.Set[Int]]()
	  for (c <- aString.zipWithIndex) theMap(c._1) = theMap.getOrElse(c._1, mutable.Set()) + c._2
	  theMap
	}
}

{'fraction_non_alphanumeric': 0.14149443561208266, 'fraction_numerical': 0.02384737678855326, 'mean_word_length': 4.163934426229508, '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': '5006231', 'n_tokens_mistral': 258, 'n_tokens_neox': 241, 'n_words': 46}