<commit_before>package Test::AlignViewer;

=head1 NAME

bulk.t - a website-level test of the align_viewer

=head1 DESCRIPTION

Tests the align_viewer.

=head1 AUTHORS

Jonathan "Duke" Leto

=cut

use strict;
use warnings;
use base 'Test::Class';
use Test::More tests => 6;
use Test::WWW::Mechanize;

die "Need to set the SGN_TEST_SERVER environment variable" unless defined($ENV{SGN_TEST_SERVER});
my $base_url = $ENV{SGN_TEST_SERVER};

sub make_fixture : Test(setup) {
    my $self = shift;
    $self->{mech} = Test::WWW::Mechanize->new;
}

sub teardown : Test(teardown) {<commit_msg>Fix a typo in the POD of t/tools/align_viewer.t<commit_after>package Test::AlignViewer;

=head1 NAME

t/tools/align_viewer.t - a website-level test of the align_viewer

=head1 DESCRIPTION

Tests the align_viewer.

=head1 AUTHORS

Jonathan "Duke" Leto

=cut

use strict;
use warnings;
use base 'Test::Class';
use Test::More tests => 6;
use Test::WWW::Mechanize;

die "Need to set the SGN_TEST_SERVER environment variable" unless defined($ENV{SGN_TEST_SERVER});
my $base_url = $ENV{SGN_TEST_SERVER};

sub make_fixture : Test(setup) {
    my $self = shift;
    $self->{mech} = Test::WWW::Mechanize->new;
}

sub teardown : Test(teardown) {
{'fraction_non_alphanumeric': 0.1221311475409836, 'fraction_numerical': 0.006557377049180328, 'mean_word_length': 5.135678391959799, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4475434', 'n_tokens_mistral': 469, 'n_tokens_neox': 456, 'n_words': 125}