<commit_before>#!/usr/bin/env bash
set -e
set -o pipefail
set -x

# install
if [ ! -d ./scriptcs ]
  then
    rm -f ./ScriptCs.0.13.3.nupkg
    wget "http://chocolatey.org/api/v2/package/ScriptCs/0.13.3" -O ScriptCs.0.13.3.nupkg
    unzip ./ScriptCs.0.13.3.nupkg -d scriptcs
fi

mono ./scriptcs/tools/scriptcs.exe -install
if [ -d ./scriptcs_packages/Bau.XUnit.0.1.0-beta06 ]
  then
    mv ./scriptcs_packages/Bau.XUnit.0.1.0-beta06/Bau.XUnit.0.1.0-beta06.nupkg ./scriptcs_packages/Bau.XUnit.0.1.0-beta06/Bau.Xunit.0.1.0-beta06.nupkg
    mv ./scriptcs_packages/Bau.XUnit.0.1.0-beta06 ./scriptcs_packages/Bau.Xunit.0.1.0-beta06
fi
  
# script
mono ./scriptcs/tools/scriptcs.exe ./mono.csx -- $@<commit_msg>removed hack for bad casing of Bau.Xunit package (fixed in gallery)<commit_after>#!/usr/bin/env bash
set -e
set -o pipefail
set -x

# install
if [ ! -d ./scriptcs ]
  then
    rm -f ./ScriptCs.0.13.3.nupkg
    wget "http://chocolatey.org/api/v2/package/ScriptCs/0.13.3" -O ScriptCs.0.13.3.nupkg
    unzip ./ScriptCs.0.13.3.nupkg -d scriptcs
fi

mono ./scriptcs/tools/scriptcs.exe -install

# script
mono ./scriptcs/tools/scriptcs.exe ./mono.csx -- $@
{'fraction_non_alphanumeric': 0.17142857142857143, 'fraction_numerical': 0.05974025974025974, 'mean_word_length': 2.7051282051282053, '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': '1899736', 'n_tokens_mistral': 552, 'n_tokens_neox': 516, 'n_words': 87}