<commit_before>use v6;
use Test;

my @files = qqx<git ls-files doc>.lines;

plan +@files;

for @files.sort -> $file {<commit_msg>Check all pod files, allow list on command line<commit_after>use v6;
use Test;

my @files;

if @*ARGS {
    @files = @*ARGS;
} else {
    for qx<git ls-files>.lines -> $file {
        next unless $file ~~ / '.pod6' $/;
        push @files, $file;
    }
}

plan +@files;

for @files.sort -> $file {
{'fraction_non_alphanumeric': 0.16901408450704225, 'fraction_numerical': 0.007042253521126761, 'mean_word_length': 2.8468468468468466, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '6836821', 'n_tokens_mistral': 169, 'n_tokens_neox': 167, 'n_words': 49}