<commit_before>BIN_DIR=$1

if [ "$(id -u)" -ne 0 ]
then
  # Build haskell bindings package.
  stack test --no-run-tests --extra-lib-dirs=${BIN_DIR}
else
    echo "Can't run Haskell-Tests as root"
fi<commit_msg>Workaround for missing rpath when using cabal 1.24.0<commit_after>BIN_DIR=$1

if [ "$(id -u)" -ne 0 ]
then
  # Build haskell bindings package.
  stack test --no-run-tests --extra-lib-dirs=${BIN_DIR}
  patchelf --set-rpath ${BIN_DIR} ".stack-work/dist/x86_64-linux/Cabal-1.24.0.0/build/haskell-test-suite/haskell-test-suite"
else
    echo "Can't run Haskell-Tests as root"
fi
{'fraction_non_alphanumeric': 0.1558219178082192, 'fraction_numerical': 0.02910958904109589, 'mean_word_length': 3.5703125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3504910', 'n_tokens_mistral': 245, 'n_tokens_neox': 225, 'n_words': 56}