<commit_before>function horizon_reset_env
  mv openstack_dashboard/local/local_settings.py /tmp
  git clean -dfx
  cd ~
  cd -
  npm install
  rm -rf .tox
  pip install tox
  tox -e py27 --notest
  tox -e py34 --notest
  source .tox/py27/bin/activate.fish
end
<commit_msg>reset horizon with direnv and copy it back<commit_after>function horizon_reset_env
  mv openstack_dashboard/local/local_settings.py /tmp
  mv .envrc /tmp
  git clean -dfx
  mv /tmp/.envrc .
  mv /tmp/local_settings.py .
  cd ~
  cd -
  npm install
  rm -rf .tox
  pip install tox
  tox -e py27 --notest
  tox -e py34 --notest
  source .tox/py27/bin/activate.fish
end

{'fraction_non_alphanumeric': 0.08763693270735524, 'fraction_numerical': 0.018779342723004695, 'mean_word_length': 2.699421965317919, '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': '104221', 'n_tokens_mistral': 259, 'n_tokens_neox': 238, 'n_words': 72}