<commit_before>package JIP::Conf;

use 5.006;
use strict;
use warnings;
use Hash::AsObject;
use Carp qw(croak);
use English qw(-no_match_vars);

our $VERSION = '0.02';

sub init {
    my ($path_to_file, $path_to_variable) = @ARG;

    # First arg
    croak q{Bad argument "path_to_file"}
        unless defined $path_to_file and length $path_to_file;
    croak(sprintf q{No such file "%s"\n}, $path_to_file)
        unless -f $path_to_file;<commit_msg>croak without EOL<commit_after>package JIP::Conf;

use 5.006;
use strict;
use warnings;
use Hash::AsObject;
use Carp qw(croak);
use English qw(-no_match_vars);

our $VERSION = '0.02';

sub init {
    my ($path_to_file, $path_to_variable) = @ARG;

    # First arg
    croak q{Bad argument "path_to_file"}
        unless defined $path_to_file and length $path_to_file;
    croak(sprintf q{No such file "%s"}, $path_to_file)
        unless -f $path_to_file;
{'fraction_non_alphanumeric': 0.12251655629139073, 'fraction_numerical': 0.01545253863134658, 'mean_word_length': 3.9835164835164836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1251624', 'n_tokens_mistral': 351, 'n_tokens_neox': 339, 'n_words': 93}