<commit_before># Add Git specific aliases.
if [[ -x $(command -v git) ]]; then
  alias gfup='git fetch --no-tags upstream'
  [[ -x $(command -v gap ) ]] || alias gap='git add --patch'
fi

if [[ -x $(command -v gh) ]]; then
  ghver () {
    # UPSTREAM: https://github.com/cli/cli/issues/2657
    # jq -nc '{"event_type":"version","client_payload":{"version":"'$1'"}}' | gh api repos/:owner/:repo/dispatches --input - | echo
    curl --fail \
      -H "Authorization: token $GITHUB_TOKEN" \
      -H 'Accept: application/vnd.github.v3+json' \
      -d '{"event_type":"version","client_payload":{"version":"'$1'"}}' \
      -X POST "https://api.github.com/repos/$(jq -r .repository < package.json)/dispatches"
  }
fi
<commit_msg>Add gfmk alias<commit_after># Add Git specific aliases.
if [[ -x $(command -v git) ]]; then
  alias gfup='git fetch --no-tags upstream'
  alias gfmk='git fetch --no-tags makenew'
  [[ -x $(command -v gap ) ]] || alias gap='git add --patch'
fi

if [[ -x $(command -v gh) ]]; then
  ghver () {
    # UPSTREAM: https://github.com/cli/cli/issues/2657
    # jq -nc '{"event_type":"version","client_payload":{"version":"'$1'"}}' | gh api repos/:owner/:repo/dispatches --input - | echo
    curl --fail \
      -H "Authorization: token $GITHUB_TOKEN" \
      -H 'Accept: application/vnd.github.v3+json' \
      -d '{"event_type":"version","client_payload":{"version":"'$1'"}}' \
      -X POST "https://api.github.com/repos/$(jq -r .repository < package.json)/dispatches"
  }
fi

{'fraction_non_alphanumeric': 0.21390374331550802, 'fraction_numerical': 0.009358288770053475, 'mean_word_length': 3.12396694214876, 'pattern_counts': {'":': 12, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '883812', 'n_tokens_mistral': 556, 'n_tokens_neox': 533, 'n_words': 127}