<commit_before>#!/bin/sh

echo -e "\nPatching files"
REJFILE="/tmp/janus_patches-rej-$(date +%s)"
touch $REJFILE
for FILENAME in janus_patches/*.patch
do
  echo "$\nFILENAME\n\n"
  patch -Np1 -r $REJFILE < $FILENAME
done
rm $REJFILE
echo "Removed $REJFILE"

echo -e "\nFinished"<commit_msg>Made patch script output more readable<commit_after>#!/bin/sh

echo -e "\nPatching files\n"
REJFILE="/tmp/janus_patches-rej-$(date +%s)"
touch $REJFILE
for FILENAME in janus_patches/*.patch
do
  echo "- Executing patch: $FILENAME\n"
  patch -Np1 -r $REJFILE < $FILENAME
  echo "\n"
done
rm $REJFILE
echo "Removed $REJFILE"

echo -e "\nFinished"
{'fraction_non_alphanumeric': 0.15141955835962145, 'fraction_numerical': 0.0031545741324921135, 'mean_word_length': 4.291666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2819951', 'n_tokens_mistral': 277, 'n_tokens_neox': 264, 'n_words': 68}