<commit_before>#!perl6

use v6;
use Test;
use Shell::Command;
use lib 'lib';

use Audio::Sndfile;

my $test-output = "t/test-output".IO;

$test-output.mkdir unless $test-output.d;

my @tests = (
                {<commit_msg>Skip test if no library<commit_after>#!perl6

use v6.c;
use Test;
plan 862;

use Shell::Command;

use Audio::Sndfile;

use LibraryCheck;

if !library-exists('sndfile', v1) {
    skip-rest "no libsndfile can't test";
    exit;
}

my $test-output = "t/test-output".IO;

$test-output.mkdir unless $test-output.d;

my @tests = (
                {
{'fraction_non_alphanumeric': 0.15371024734982333, 'fraction_numerical': 0.014134275618374558, 'mean_word_length': 3.2, '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': '3339236', 'n_tokens_mistral': 229, 'n_tokens_neox': 219, 'n_words': 54}