<commit_before>function ghc_find() {
  if [[ "$1" == "" ]]; then
    echo "<%=@default%>"
  else
    for v in <%=@versions.join(" ")%>; do
      if [[ "$v" == *"$1"* ]]; then
        echo "$v"
        break
      fi
    done
  fi
}<commit_msg>fix version choosing in ghc_finder<commit_after>function ghc_find() {
  if [[ "$1" == "" ]]; then
    echo "<%=@default%>"
  else
    for v in <%=@versions.join(" ")%>; do
      if [[ "$v" == "$1"* ]]; then
        echo "$v"
        break
      fi
    done
  fi
}
{'fraction_non_alphanumeric': 0.22332015810276679, 'fraction_numerical': 0.007905138339920948, 'mean_word_length': 2.1104294478527605, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7657525', 'n_tokens_mistral': 193, 'n_tokens_neox': 185, 'n_words': 50}