<commit_before>#!/bin/bash

set -o nounset
set -o errexit

cd "`dirname $0`"

runhaskell -i../src -packageghc Spec.hs
./integration/runtests.sh
./selftest.sh<commit_msg>Adapt test script<commit_after>#!/bin/bash

set -o nounset
set -o errexit

cd "`dirname $0`/.."

runhaskell -isrc -itest -packageghc test/Spec.hs
./test/integration/runtests.sh
./test/selftest.sh
{'fraction_non_alphanumeric': 0.15934065934065933, 'fraction_numerical': 0.005494505494505495, 'mean_word_length': 3.6794871794871793, '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': '4062305', 'n_tokens_mistral': 156, 'n_tokens_neox': 148, 'n_words': 34}