<commit_before># Use python2 if found, otherwise fallback to python.
function _python
  if available python2
    python2 $argv
  else
    python $argv
  end
end
<commit_msg>Replace `available` usage with `type -q`<commit_after># Use python2 if found, otherwise fallback to python.
function _python
  if type -q python2
    python2 $argv
  else
    python $argv
  end
end

{'fraction_non_alphanumeric': 0.05929919137466307, 'fraction_numerical': 0.016172506738544475, 'mean_word_length': 3.5925925925925926, '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': '5162717', 'n_tokens_mistral': 115, 'n_tokens_neox': 114, 'n_words': 48}