<commit_before>#!/bin/bash

echo "Deploying Javadoc to Github pages"

cd $HOME
git config --global user.email "<EMAIL>"
git config --global user.name "travis-ci"
git clone --quiet --branch=master https://${GITHUB_TOKEN}@github.com/bitbrain/braingdx
mkdir cd $HOME/docs
cd $HOME/braingdx
mvn javadoc:javadoc
cd $HOME/docs
cp -r $HOME/braingdx/core/target/site/apidocs/* $HOME/docs
rm -rf $HOME/braingdx/*
cd $HOME/braingdx
git checkout gh-pages
rm -rf $HOME/braingdx/*
cp -r $HOME/docs $HOME/braingdx
git add -f *
git commit -m "Travis build $TRAVIS_BUILD_NUMBER - update Javadoc"
git push -fq origin gh-pages && echo "Successfully deployed Javadoc to /docs"
<commit_msg>Set version of Javadoc<commit_after>#!/bin/bash

echo "Deploying Javadoc to Github pages"

cd $HOME
git config --global user.email "<EMAIL>"
git config --global user.name "travis-ci"
git clone --quiet --branch=master https://${GITHUB_TOKEN}@github.com/bitbrain/braingdx
mkdir cd $HOME/docs
cd $HOME/braingdx
mvn versions:set -DnewVersion=$CH_VERSION && mvn javadoc:javadoc
cd $HOME/docs
cp -r $HOME/braingdx/core/target/site/apidocs/* $HOME/docs
rm -rf $HOME/braingdx/*
cd $HOME/braingdx
git checkout gh-pages
rm -rf $HOME/braingdx/*
cp -r $HOME/docs $HOME/braingdx
git add -f *
git commit -m "Travis build $TRAVIS_BUILD_NUMBER - update Javadoc"
git push -fq origin gh-pages && echo "Successfully deployed Javadoc to /docs"

{'fraction_non_alphanumeric': 0.13055954088952654, 'fraction_numerical': 0.0, 'mean_word_length': 4.386100386100386, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5258615', 'n_tokens_mistral': 542, 'n_tokens_neox': 513, 'n_words': 154}