<commit_before>package Silki::Wiki::Exporter;

use strict;
use warnings;
use namespace::autoclean;

use Archive::Tar::Wrapper;
use File::Slurp qw( write_file );
use File::Spec;
use File::Temp qw( tempdir );
use Path::Class qw( file );
use Silki::I18N qw( loc );
use Silki::JSON;
use Silki::Schema::Wiki;
use Silki::Types qw( Dir HashRef Tarball );

use Moose;
use MooseX::SemiAffordanceAccessor;
use MooseX::Params::Validate qw( validated_list );

with 'Silki::Role::OptionalLog';

has _wiki => (
    is       => 'ro',
    isa      => 'Silki::Schema::Wiki',
    init_arg => 'wiki',<commit_msg>Not using MX::PV in this module<commit_after>package Silki::Wiki::Exporter;

use strict;
use warnings;
use namespace::autoclean;

use Archive::Tar::Wrapper;
use File::Slurp qw( write_file );
use File::Spec;
use File::Temp qw( tempdir );
use Path::Class qw( file );
use Silki::I18N qw( loc );
use Silki::JSON;
use Silki::Schema::Wiki;
use Silki::Types qw( Dir HashRef Tarball );

use Moose;
use MooseX::SemiAffordanceAccessor;

with 'Silki::Role::OptionalLog';

has _wiki => (
    is       => 'ro',
    isa      => 'Silki::Schema::Wiki',
    init_arg => 'wiki',
{'fraction_non_alphanumeric': 0.15871639202081528, 'fraction_numerical': 0.003469210754553339, 'mean_word_length': 5.105820105820106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '7558092', 'n_tokens_mistral': 433, 'n_tokens_neox': 426, 'n_words': 112}