<commit_before>#!/usr/bin/env perl6

use LWP::Simple;

my $json = LWP::Simple.get("http://www.pm.org/groups/perl_mongers.json");
my @pm-names = from-json($json).map:{ $_<name> ~~ s/ '.pm' $//; $_<name> };
my @release-names = grep { / ^ <[A..Z]> \w+ / }, qx{git tag}.lines;
.say for (@pm-names (-) @release-names).map(*.key).sort;<commit_msg>Do not use now-internal and deprecated from-json.<commit_after>#!/usr/bin/env perl6

use LWP::Simple;
use JSON::Fast;

my $json = LWP::Simple.get("http://www.pm.org/groups/perl_mongers.json");
my @pm-names = from-json($json).map:{ $_<name> ~~ s/ '.pm' $//; $_<name> };
my @release-names = grep { / ^ <[A..Z]> \w+ / }, qx{git tag}.lines;
.say for (@pm-names (-) @release-names).map(*.key).sort;
{'fraction_non_alphanumeric': 0.2670299727520436, 'fraction_numerical': 0.0027247956403269754, 'mean_word_length': 3.835526315789474, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6788139', 'n_tokens_mistral': 308, 'n_tokens_neox': 299, 'n_words': 57}