<commit_before>package t::APL;

use Test::Base -Base;
use Parrot::Config;
use Parrot::Test;

our @EXPORT = qw(run_apl_is);

BEGIN {
  # APL *really* needs unicode to function, bail out if we don't have it.<commit_msg>[APL] ~ allow us to skip tests instead of die'ing if we don't have Test::Base   installed.<commit_after>package t::APL;

# Fail a little more gracefully for those without Test::Base installed.

BEGIN {
  eval {
    require Test::Base2;
    import Test::Base qw/ -Base /;
  };
  if ($@) {
    require Test::More;
    import Test::More;
    plan(skip_all => "APL tests require Test::Base.;");
    exit 0;
  }
}
use Parrot::Config;
use Parrot::Test;

our @EXPORT = qw(run_apl_is);

BEGIN {
  # APL *really* needs unicode to function, bail out if we don't have it.
{'fraction_non_alphanumeric': 0.13127413127413126, 'fraction_numerical': 0.002574002574002574, 'mean_word_length': 3.773006134969325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5287549', 'n_tokens_mistral': 284, 'n_tokens_neox': 270, 'n_words': 92}