<commit_before>use v6;
use lib	'./lib';

use Test;

use Sum::SHA;
use Sum::Recourse;
use Sum::libcrypto;
use Sum::librhash;
use Sum::libmhash;

# Determine which native libraries we expect to work
my $c_or_r_or_m_or_p = "libcrypto";
my $r_or_m_or_p = "librhash";
my $c_or_p = "libcrypto";
my $m_or_p = "libmhash";
unless $Sum::libcrypto::up {
    $c_or_r_or_m_or_p := $r_or_m_or_p;
    $c_or_p = "Perl6";
}
unless $Sum::librhash::up {
    $r_or_m_or_p = "libmhash";
    unless $Sum::libmhash::up {
        $r_or_m_or_p = "Perl6";
    }
}
unless $Sum::libmhash::up {
    my $m_or_p = "Perl6";
}
plan 123;

ok 1,'We use Sum::SHA and we are still alive';<commit_msg>Remove an accidental "my" that caused a test failure with no native libs<commit_after>use v6;
use lib	'./lib';

use Test;

use Sum::SHA;
use Sum::Recourse;
use Sum::libcrypto;
use Sum::librhash;
use Sum::libmhash;

# Determine which native libraries we expect to work
my $c_or_r_or_m_or_p = "libcrypto";
my $r_or_m_or_p = "librhash";
my $c_or_p = "libcrypto";
my $m_or_p = "libmhash";
unless $Sum::libcrypto::up {
    $c_or_r_or_m_or_p := $r_or_m_or_p;
    $c_or_p = "Perl6";
}
unless $Sum::librhash::up {
    $r_or_m_or_p = "libmhash";
    unless $Sum::libmhash::up {
        $r_or_m_or_p = "Perl6";
    }
}
unless $Sum::libmhash::up {
    $m_or_p = "Perl6";
}
plan 123;

ok 1,'We use Sum::SHA and we are still alive';
{'fraction_non_alphanumeric': 0.1548480463096961, 'fraction_numerical': 0.011577424023154847, 'mean_word_length': 4.40234375, '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': '6279749', 'n_tokens_mistral': 642, 'n_tokens_neox': 624, 'n_words': 144}