<commit_before>=pod

=head1 NAME

C<cheatsheet_check> - checks DuckDuckGo JSON cheatsheets for correctness

=head1 SYNOPSIS

    $ ./cheatsheet_check /path/to/cheatsheet.json

        # Subtest: file
        ok 1 - filepath argument is present
        ok 2 - file exists
        ok 3 - filename is appropriate
        ok 4 - file content can be read
        ok 5 - content is valid JSON
        1..5
    ok 1 - file
        # Subtest: headers
        ok 1 - has id
        ok 2 - has name
        ok 3 - has description
        1..3
    ok 2 - headers
        # Subtest: metadata
        ok 1 - has metadata
        ok 2 - has metadata sourceName
        ok 3 - has metadata sourceUrl
        ok 4 - sourceUrl is not undef
        ok 5 - create File::Fetch object using sourceUrl
        ok 6 - fetch sourceUrl successfully
        1..6
    ok 3 - metadata
        # Subtest: sections
        ok 1 - has section_order
        ok 2 - has sections
        1..2
    ok 4 - sections
    1..4

=head1 DEPENDENCIES

=over 4

=item * L<Perl|http://perl.org>

=item * Perl module L<JSON|https://metacpan.org/pod/JSON>

=back

=head1 VERSION

0.01

=head1 AUTHOR

<NAME>, (C) 2015

=head1 LICENSE

FreeBSD, see LICENSE

=cut<commit_msg>version bump, updated dependencies<commit_after>=pod

=head1 NAME

C<cheatsheet_check> - checks DuckDuckGo JSON cheatsheets for correctness

=head1 SYNOPSIS

    $ ./cheatsheet_check /path/to/cheatsheet.json

        # Subtest: file
        ok 1 - filepath argument is present
        ok 2 - file exists
        ok 3 - filename is appropriate
        ok 4 - file content can be read
        ok 5 - content is valid JSON
        1..5
    ok 1 - file
        # Subtest: headers
        ok 1 - has id
        ok 2 - has name
        ok 3 - has description
        1..3
    ok 2 - headers
        # Subtest: metadata
        ok 1 - has metadata
        ok 2 - has metadata sourceName
        ok 3 - has metadata sourceUrl
        ok 4 - sourceUrl is not undef
        ok 5 - create File::Fetch object using sourceUrl
        ok 6 - fetch sourceUrl successfully
        1..6
    ok 3 - metadata
        # Subtest: sections
        ok 1 - has section_order
        ok 2 - has sections
        1..2
    ok 4 - sections
    1..4


See my L<article|http://perltricks.com/article/190/2015/8/28/Check-your-DuckDuckGo-cheatsheets-with-Perl> for more background and information on the tool.

=head1 DEPENDENCIES

=over 4

=item * L<Perl|http://perl.org>

=item * Perl modules L<JSON|https://metacpan.org/pod/JSON> and L<HTTP::Tiny|https://metacpan.org/pod/HTTP::Tiny>

=back

=head1 VERSION

0.02

=head1 AUTHOR

<NAME>, (C) 2015

=head1 LICENSE

FreeBSD, see LICENSE

=cut
{'fraction_non_alphanumeric': 0.07927056196501675, 'fraction_numerical': 0.036471901749162636, 'mean_word_length': 1.8626198083067094, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 3, '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': '7404173', 'n_tokens_mistral': 929, 'n_tokens_neox': 849, 'n_words': 303}