<commit_before>use WhereAreKittens;
#use Plack::Middleware::Profiler::NYTProf;
#use  Plack::Middleware::InteractiveDebugger;

my $app = WhereAreKittens->new()->to_app;
#$app = Plack::Middleware::Profiler::NYTProf->wrap($app);


#$app =  Plack::Middleware::InteractiveDebugger->wrap($app);<commit_msg>issue-1 I prefer explicitly set mode in stating point of my an application. So for different modes there would be several run scripts<commit_after>use WhereAreKittens;
use Config::ConfigProvider;

#use Plack::Middleware::Profiler::NYTProf;
#use  Plack::Middleware::InteractiveDebugger;
my $config = Config::ConfigProvider->new(
                        'mode' => 'dev',
                    );
my $app = WhereAreKittens->new(
                         %{ $config->as_hash },
                    )->to_app;
#$app = Plack::Middleware::Profiler::NYTProf->wrap($app);


#$app =  Plack::Middleware::InteractiveDebugger->wrap($app);
{'fraction_non_alphanumeric': 0.1495124593716143, 'fraction_numerical': 0.0010834236186348862, 'mean_word_length': 4.191011235955056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '2931000', 'n_tokens_mistral': 286, 'n_tokens_neox': 289, 'n_words': 56}