<commit_before>def getAlgorithmList():
  import os, sys
  # Build an initial list of possible algorithms, found in the relevant scripts/src/ directory
  algorithm_list = []
  execpath=sys.argv[0]
  while os.path.islink (execpath): execpath=os.readlink (execpath)
  path = os.path.basename(execpath)
  if not path[0].isalpha():<commit_msg>getAlgortihmList.py: dereference relative symbolic link with realpath<commit_after>def getAlgorithmList():
  import os, sys
  # Build an initial list of possible algorithms, found in the relevant scripts/src/ directory
  algorithm_list = []
  execpath=sys.argv[0]
  if os.path.islink (execpath): execpath=os.path.realpath (execpath)
  path = os.path.basename(execpath)
  if not path[0].isalpha():
{'fraction_non_alphanumeric': 0.10762942779291552, 'fraction_numerical': 0.005449591280653951, 'mean_word_length': 5.074380165289257, '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': '1761234', 'n_tokens_mistral': 233, 'n_tokens_neox': 231, 'n_words': 65}