<commit_before>package Artemis::Reports::Web::Model::ReportsDB;

use strict;
use warnings;

use Artemis::Reports::Web;

use base 'Catalyst::Model::DBIC::Schema';

__PACKAGE__->config(
                    schema_class => 'Artemis::Schema::ReportsDB',
                    connect_info => [
                                     Artemis::Reports::Web->config->{database}{ReportsDB}{dsn},
                                     Artemis::Reports::Web->config->{database}{ReportsDB}{username},
                                     Artemis::Reports::Web->config->{database}{ReportsDB}{password},
                                    ],
                   );

=head1 NAME

Artemis::Reports::Web::Model::ReportsDB - Catalyst DBIC Schema Model
=head1 SYNOPSIS

See L<Artemis::Reports::Web>

=head1 DESCRIPTION

L<Catalyst::Model::DBIC::Schema> Model using schema L<Artemis::Schema::ReportsDB>

=head1 AUTHOR

<NAME>,,,

=head1 LICENSE

This library is free software, you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

1;
<commit_msg>Web: use Artemis::Config for db config<commit_after>package Artemis::Reports::Web::Model::ReportsDB;

use strict;
use warnings;

use Artemis::Reports::Web;
use Artemis::Config;

use base 'Catalyst::Model::DBIC::Schema';

__PACKAGE__->config(
                    schema_class => 'Artemis::Schema::ReportsDB',
                    connect_info => [
                                     Artemis::Config->subconfig->{database}{ReportsDB}{dsn},
                                     Artemis::Config->subconfig->{database}{ReportsDB}{username},
                                     Artemis::Config->subconfig->{database}{ReportsDB}{password},
                                    ],
                   );

=head1 NAME

Artemis::Reports::Web::Model::ReportsDB - Catalyst DBIC Schema Model
=head1 SYNOPSIS

See L<Artemis::Reports::Web>

=head1 DESCRIPTION

L<Catalyst::Model::DBIC::Schema> Model using schema L<Artemis::Schema::ReportsDB>

=head1 AUTHOR

<NAME>,,,

=head1 LICENSE

This library is free software, you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

1;

{'fraction_non_alphanumeric': 0.12692487167522165, 'fraction_numerical': 0.0055996266915538965, 'mean_word_length': 2.537953795379538, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1357506', 'n_tokens_mistral': 661, 'n_tokens_neox': 612, 'n_words': 131}