<commit_before>#!/bin/sh

echo "generating build..."
sleep 2
echo "done."

<commit_msg>first version of build_doc.sh<commit_after>#!/bin/sh

GIT_DIR=$1
GIT_SHA=$2
LOG_OUTPUT_FILE=$3
DOCUMENTATION_OUTPUT_DIR=$4

echo "generating build..."
cd $GIT_DIR
git fetch origin >> $LOG_OUTPUT_FILE 2>&1
git checkout $GIT_SHA >> $LOG_OUTPUT_FILE 2>&1
doxygen >> $LOG_OUTPUT_FILE 2>&1
mv documentation/html $DOCUMENTATION_OUTPUT_DIR
rm -rf documentation
echo "done."


{'fraction_non_alphanumeric': 0.12967032967032968, 'fraction_numerical': 0.024175824175824177, 'mean_word_length': 5.909090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '7109355', 'n_tokens_mistral': 180, 'n_tokens_neox': 168, 'n_words': 42}