<commit_before>lines=$(cat LICENSE | wc -l)

failures=0
for each in $(find . -type f \( ! -regex '.*/\..*' ! -path "./Godeps/*" -name '*.go' \)); do
  echo "Checking $each for correct license header"
  head -n $lines $each | sed 's/^#//' | diff -qu LICENSE - > /dev/null
  if [ ! "$?" -eq "0" ]; then
    echo "Failed license check on $each"
  fi
done<commit_msg>added return false<commit_after>lines=$(cat LICENSE | wc -l)

failures=0
for each in $(find . -type f \( ! -regex '.*/\..*' ! -path "./Godeps/*" -name '*.go' \)); do
  echo "Checking $each for correct license header"
  head -n $lines $each | sed 's/^#//' | diff -qu LICENSE - > /dev/null
  if [ ! "$?" -eq "0" ]; then
    echo "Failed license check on $each"
    return false
  fi
done
{'fraction_non_alphanumeric': 0.20855614973262032, 'fraction_numerical': 0.0053475935828877, 'mean_word_length': 2.6183574879227054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4285405', 'n_tokens_mistral': 275, 'n_tokens_neox': 272, 'n_words': 95}