<commit_before>import os
import sys


def fix_imports():
  here = os.path.dirname(__file__)
  dirs = [
      os.path.normpath(os.path.join(here, '..', '..')),
      os.path.normpath(os.path.join(here, 'babel')),
      os.path.normpath(os.path.join(here, 'dulwich')),
      os.path.normpath(os.path.join(here, 'google-apputils-python')),
      os.path.normpath(os.path.join(here, 'httplib2', 'python2')),
      os.path.normpath(os.path.join(here, 'pytz')),
      os.path.normpath(os.path.join(here, 'pyyaml', 'lib3')),
      os.path.normpath(os.path.join(here, 'requests')),
  ]
  sys.path.extend(dirs)<commit_msg>Use python2 pyyaml instead of python3.<commit_after>import os
import sys


def fix_imports():
  here = os.path.dirname(__file__)
  dirs = [
      os.path.normpath(os.path.join(here, '..', '..')),
      os.path.normpath(os.path.join(here, 'babel')),
      os.path.normpath(os.path.join(here, 'dulwich')),
      os.path.normpath(os.path.join(here, 'google-apputils-python')),
      os.path.normpath(os.path.join(here, 'httplib2', 'python2')),
      os.path.normpath(os.path.join(here, 'pytz')),
      os.path.normpath(os.path.join(here, 'pyyaml', 'lib2')),
      os.path.normpath(os.path.join(here, 'requests')),
  ]
  sys.path.extend(dirs)
{'fraction_non_alphanumeric': 0.2070343725019984, 'fraction_numerical': 0.006394884092725819, 'mean_word_length': 3.6199261992619927, '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': '5771712', 'n_tokens_mistral': 503, 'n_tokens_neox': 497, 'n_words': 58}