<commit_before>#!/usr/bin/env bash
#=========================================================================
# Copyright (c) 2015, 2016 GemTalk Systems, LLC. All Rights Reserved <<EMAIL>>.
#
#   MIT license: https://github.com/GsDevKit/GsDevKit_home/blob/master/license.txt
#=========================================================================

set -xe  # print commands and exit on error

# needed for updateGsDevKit script test
git config --global user.email "<EMAIL>"
git config --global user.name "<NAME>"

# no backups on travis
cp $GS_HOME/tests/sys/local/client/tode-scripts/* $GS_HOME/sys/local/client/tode-scripts
# use dev branch of tode
cp $GS_HOME/tests/sys/local/gsdevkit_bin/* $GS_HOME/sys/local/gsdevkit_bin
<commit_msg>don't monkey with git config during tests if user.email and user.name already set<commit_after>#!/usr/bin/env bash
#=========================================================================
# Copyright (c) 2015, 2016 GemTalk Systems, LLC. All Rights Reserved <<EMAIL>>.
#
#   MIT license: https://github.com/GsDevKit/GsDevKit_home/blob/master/license.txt
#=========================================================================

set -xe  # print commands and exit on error

# needed for updateGsDevKit script test
email=`git config --global --get user.email`
if [ "${email}x" = "x" ] ; then
  git config --global user.email "<EMAIL>"
fi
name=`git config --global --get user.name`
if [ "${name}x" = "x" ] ; then
  git config --global user.name "<NAME>"
fi

# no backups on travis
cp $GS_HOME/tests/sys/local/client/tode-scripts/* $GS_HOME/sys/local/client/tode-scripts
# use dev branch of tode
cp $GS_HOME/tests/sys/local/gsdevkit_bin/* $GS_HOME/sys/local/gsdevkit_bin

{'fraction_non_alphanumeric': 0.2869666861484512, 'fraction_numerical': 0.009351256575102279, 'mean_word_length': 5.180505415162455, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1428028', 'n_tokens_mistral': 550, 'n_tokens_neox': 501, 'n_words': 140}