<commit_before>function symlink-library {
  name=$1

  echo
  echo "Symlinking $name"
  echo "- - -"

  for entry in ../libraries/raygun_client*; do
    echo "- removing symlink: $entry"
    rm $entry
  done

  echo "- creating symlinks"
  ln -s $(PWD)/lib/raygun_client* $(PWD)/../libraries/

  echo "- - -"
  echo "($name done)"
  echo
}<commit_msg>Symlinks script is updated to the latest version<commit_after>set -e

function symlink-library {
  if [ -z ${LIBRARIES_DIR+x} ]; then
    echo "LIBRARIES_DIR must be set to the libraries directory path"
  else
    name=$1

    echo
    echo "Symlinking $name"
    echo "- - -"

    for entry in $LIBRARIES_DIR/$name*; do
      echo "- removing symlink: $entry"
      rm $entry
    done

    echo "- creating symlinks"
    ln -s $(PWD)/lib/$name* $LIBRARIES_DIR/

    echo "- - -"
    echo "($name done)"
    echo
  fi
}
{'fraction_non_alphanumeric': 0.13448275862068965, 'fraction_numerical': 0.0022988505747126436, 'mean_word_length': 2.4563492063492065, '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': '2820108', 'n_tokens_mistral': 316, 'n_tokens_neox': 303, 'n_words': 89}