<commit_before><?php

use Gnugat\SoulMeMaybe\Kernel;

require __DIR__.'/../vendor/autoload.php';

/**
 * Main file instanciating the Client and sending the requests.
 *
 * @author <NAME> <<EMAIL>>
 */
try {
    $kernel = new Kernel(__DIR__.'/config/parameters.yml');
    $kernel->connect();
    $kernel->authenticate();
    while (true) {
        $kernel->ping();
    }
} catch (\Exception $exception) {
    die($exception->getMessage());
}<commit_msg>[1.1.3] Calling the state kernel method in the application<commit_after><?php

use Gnugat\SoulMeMaybe\Kernel;

require __DIR__.'/../vendor/autoload.php';

/**
 * Main file instanciating the Client and sending the requests.
 *
 * @author <NAME> <<EMAIL>>
 */
try {
    $kernel = new Kernel(__DIR__.'/config/parameters.yml');
    $kernel->connect();
    $kernel->authenticate();
    $kernel->state();
    while (true) {
        $kernel->ping();
    }
} catch (\Exception $exception) {
    die($exception->getMessage());
}
{'fraction_non_alphanumeric': 0.18125643666323377, 'fraction_numerical': 0.003089598352214212, 'mean_word_length': 3.4383561643835616, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 18, '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': '3262454', 'n_tokens_mistral': 321, 'n_tokens_neox': 314, 'n_words': 69}