<commit_before>my class Pod::Block {
    has %.config;
    has @.contents;

    submethod BUILD(:$content = Any, :%!config, :@!contents) {
        if $content.defined {
            DEPRECATED("Pod::Block.new(:contents)", |<2014.09 2015.09>, :up(5), :what('Pod::Block.new(:content)'));
            @!contents.push: $content.list;
        }
        my @new-contents;

        for @!contents {
            @new-contents.push: flat @($_);
        }
        @!contents = @new-contents;
    }

    sub pod-gist(Pod::Block $pod, $level = 0) {
        my $leading = ' ' x $level;
        my %confs;
        my @chunks;
        for <config name level caption type> {
            my $thing = $pod.?"$_"();
            if $thing {
                %confs{$_} = nqp::istype($thing,Iterable)
                  ?? $thing.perl
                  !! $thing.Str;
            }
        }
        @chunks = $leading, $pod.^name, (%confs.perl if %confs), "\n";
        for $pod.contents.flat -> $c {
            if nqp::istype($c,Pod::Block) {<commit_msg>Revert "Flatten Pod::Block contents array"<commit_after>my class Pod::Block {
    has %.config;
    has @.contents;

    submethod BUILD(:$content = Any, :%!config, :@!contents) {
        if $content.defined {
            DEPRECATED("Pod::Block.new(:contents)", |<2014.09 2015.09>, :up(5), :what('Pod::Block.new(:content)'));
            @!contents.push: $content.list;
        }
    }

    sub pod-gist(Pod::Block $pod, $level = 0) {
        my $leading = ' ' x $level;
        my %confs;
        my @chunks;
        for <config name level caption type> {
            my $thing = $pod.?"$_"();
            if $thing {
                %confs{$_} = nqp::istype($thing,Iterable)
                  ?? $thing.perl
                  !! $thing.Str;
            }
        }
        @chunks = $leading, $pod.^name, (%confs.perl if %confs), "\n";
        for $pod.contents.flat -> $c {
            if nqp::istype($c,Pod::Block) {
{'fraction_non_alphanumeric': 0.18023553507424475, 'fraction_numerical': 0.014336917562724014, 'mean_word_length': 1.7677053824362605, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '2173326', 'n_tokens_mistral': 675, 'n_tokens_neox': 637, 'n_words': 134}