<commit_before>#!/bin/sh

cp ./tools/git-hooks/* .git/hooks &> /dev/null \
  && echo Git hooks installed. || echo Git hooks NOT installed.
<commit_msg>Make the git hooks install script more reliable<commit_after>#!/bin/bash

cd "$( dirname "${BASH_SOURCE[0]}" )"

if [ -d ../.git/hooks ]; then
  cp git-hooks/* ../.git/hooks/
  echo Git hooks installed.
else
  echo Git hooks NOT installed.
fi

{'fraction_non_alphanumeric': 0.1649746192893401, 'fraction_numerical': 0.0025380710659898475, 'mean_word_length': 3.1578947368421053, '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': '6688994', 'n_tokens_mistral': 140, 'n_tokens_neox': 137, 'n_words': 43}