<commit_before>#! /bin/bash

# Dirty ugly hack to make gulp work
export PATH=$(pwd)/node_modules/.bin:$PATH
echo -e "        o O o\n" "      o \|/ o\n" "   o o \ | / o o\n" "    \ \ \|/ / /\n" "    (+++\@/+++)\n" "    '---------'\n" "Tiara"
./lib/nodejs/bin/npm $1 $2 $3<commit_msg>add fallback info to bash script<commit_after>#! /bin/bash

echo -e "        o O o\n" "      o \|/ o\n" "   o o \ | / o o\n" "    \ \ \|/ / /\n" "    (+++\@/+++)\n" "    '---------'\n" "       Tiara"

FILE="$(pwd)/lib/nodejs/bin/npm"
if ! [ -f "$FILE" ];
then
  echo "Use npm instead of tiara.sh when not using packaged version of Tiara." >&2
  exit
fi


# Dirty ugly hack to make gulp work
export PATH=$(pwd)/node_modules/.bin:$PATH

./lib/nodejs/bin/npm $1 $2 $3
{'fraction_non_alphanumeric': 0.24932975871313673, 'fraction_numerical': 0.00938337801608579, 'mean_word_length': 1.8295454545454546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '841336', 'n_tokens_mistral': 328, 'n_tokens_neox': 310, 'n_words': 85}