<commit_before>use Test::More tests => 1;
use Carp;
use lib 't/lib';
use SGN::Test;
use SGN::Context;
use DBI;
use autodie qw/:all/;

my $context = SGN::Context->new;
my $conns1  = SGN::Test::db_connections();
my $dbh     = DBI->connect(@{ $context->dbc_profile }{qw{ dsn user password attributes }});
my $conns2  = SGN::Test::db_connections();
is($conns1+1, $conns2, "SGN::Test can count db connections");<commit_msg>updated SGN::Test test for db connection method name change<commit_after>use Test::More tests => 1;
use Carp;
use lib 't/lib';
use SGN::Test;
use SGN::Context;
use DBI;
use autodie qw/:all/;

my $context = SGN::Context->new;
my $conns1  = SGN::Test::db_connection_count();
my $dbh     = DBI->connect(@{ $context->dbc_profile }{qw{ dsn user password attributes }});
my $conns2  = SGN::Test::db_connection_count();
is($conns1+1, $conns2, "SGN::Test can count db connections");
{'fraction_non_alphanumeric': 0.17713004484304934, 'fraction_numerical': 0.013452914798206279, 'mean_word_length': 5.816793893129771, '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': '4840474', 'n_tokens_mistral': 340, 'n_tokens_neox': 335, 'n_words': 93}