<commit_before>#!/bin/bash
set -ev

# Test that the official database can be loaded

if [ -d "state" ]; then
  mv state state-old
fi

git clone --depth 1 https://github.com/aelve/guide-database.git
mv guide-database state

cabal build
dist/build/guide/guide --dry-run

rm -rf state

if [ -d "state-old" ]; then
  mv state-old state
fi<commit_msg>Try to fix the testing script<commit_after>#!/bin/bash
set -ev

# Test that the official database can be loaded

if [ -d "state" ]; then
  mv state state-old
fi

git clone --depth 1 https://github.com/aelve/guide-database.git
mv guide-database state

cd state
git branch -v
git status
cd ..

cabal build
dist/build/guide/guide --dry-run

rm -vrf state

if [ -d "state-old" ]; then
  mv state-old state
fi
{'fraction_non_alphanumeric': 0.116, 'fraction_numerical': 0.0026666666666666666, 'mean_word_length': 3.149171270718232, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2066269', 'n_tokens_mistral': 282, 'n_tokens_neox': 263, 'n_words': 96}