<commit_before>#!/bin/sh

PACKAGE=gotoh
TMPDIR=~/tmp

if [ -e $PACKAGE.zip ]; then
  echo "* Error: Archive already exists"
  exit 1
fi

PWDF=`pwd`
TARGET=$TMPDIR/$PACKAGE

echo "* Create $PACKAGE.zip"
mkdir -p $TARGET && cp -r $PWDF/* $TARGET
sed -i -e "/^\[!\[Build Status\]/d" $TARGET/README.md
rm $TARGET/{create_archive.sh,*-e}
rm -rf $TARGET/{out,tests}

cd $TMPDIR && zip -r $PWDF/$PACKAGE.zip $PACKAGE
rm -rf $TARGET
echo "* Done"<commit_msg>make PDF included in archive<commit_after>#!/bin/sh

PACKAGE=gotoh
TMPDIR=~/tmp

if [ -e $PACKAGE.zip ]; then
  echo "* Error: Archive already exists"
  exit 1
fi

PWDF=`pwd`
TARGET=$TMPDIR/$PACKAGE

echo "* Create $PACKAGE.zip"
mkdir -p $TARGET && cp -r $PWDF/* $TARGET
sed -i -e "/^\[!\[Build Status\]/d" $TARGET/README.md
rm $TARGET/{create_archive.sh,*-e}
mv $TARGET/out/*.pdf $TARGET
rm -rf $TARGET/{out,tests}

cd $TMPDIR && zip -r $PWDF/$PACKAGE.zip $PACKAGE
rm -rf $TARGET
echo "* Done"
{'fraction_non_alphanumeric': 0.1906779661016949, 'fraction_numerical': 0.00211864406779661, 'mean_word_length': 3.8461538461538463, 'pattern_counts': {'":': 0, '<': 3, '<?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': '869506', 'n_tokens_mistral': 394, 'n_tokens_neox': 379, 'n_words': 104}