<commit_before><?php
/**
 * Part of ci-phpunit-test
 *
 * @author     <NAME> <https://github.com/kenjis>
 * @license    MIT License
 * @copyright  2015 <NAME>
 * @link       https://github.com/kenjis/ci-phpunit-test
 */

require __DIR__ . '/Installer.php';

$app = 'application';
if ($argv && $argv[1] && is_dir($argv[1])) {
    $app = $argv[1];
}
$installer = new Installer();
$installer->update($app);
<commit_msg>Fix "Notice: Undefined offset: 1"<commit_after><?php
/**
 * Part of ci-phpunit-test
 *
 * @author     <NAME> <https://github.com/kenjis>
 * @license    MIT License
 * @copyright  2015 <NAME>
 * @link       https://github.com/kenjis/ci-phpunit-test
 */

require __DIR__ . '/Installer.php';

$app = 'application';
if (isset($argv[1]) && is_dir($argv[1])) {
    $app = $argv[1];
}
$installer = new Installer();
$installer->update($app);

{'fraction_non_alphanumeric': 0.20823529411764705, 'fraction_numerical': 0.01764705882352941, 'mean_word_length': 3.550802139037433, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '4766541', 'n_tokens_mistral': 323, 'n_tokens_neox': 316, 'n_words': 63}