<commit_before><?php

// Load Nette Framework
if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
    require __DIR__ . '/../vendor/autoload.php';

    \Nette\Diagnostics\Debugger::enable(true);
    \Nette\Diagnostics\Debugger::$strictMode = false;

    // Configure application
    $configurator = new Nette\Config\Configurator;

    \Nella\Console\Config\Extension::register($configurator);
    \Nella\Doctrine\Config\Extension::register($configurator);R
    \Nella\Doctrine\Config\GedmoExtension::register($configurator);

    $configurator->addConfig(__DIR__ . '/config.neon');

    $configurator->enableDebugger(__DIR__ . '/log');
    $configurator->setTempDirectory(__DIR__ . '/temp');

    $container = $configurator->createContainer();

    // Setup router
    $container->router[] =  new \Nette\Application\Routers\Route('', array(
            'module' => 'Frontend',
            'presenter' => 'Homepage',
            'action' => 'default'
    ));

    $container->router[] =  new \Nette\Application\Routers\Route('login', array(
            'module' => 'Admin',
            'presenter' => 'Login',
            'action' => 'default'
    ));

    $container->router[] =  new \Nette\Application\Routers\Route('admin/<presenter>/<action>[/<id>]', array(
            'module' => 'Admin',
            'presenter' => 'Homepage',
            'action' => 'default'
    ));
<commit_msg>Bugfix<commit_after><?php

// Load Nette Framework
if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
    require __DIR__ . '/../vendor/autoload.php';

    \Nette\Diagnostics\Debugger::enable(true);
    \Nette\Diagnostics\Debugger::$strictMode = false;

    // Configure application
    $configurator = new Nette\Config\Configurator;

    \Nella\Console\Config\Extension::register($configurator);
    \Nella\Doctrine\Config\Extension::register($configurator);
    \Nella\Doctrine\Config\GedmoExtension::register($configurator);

    $configurator->addConfig(__DIR__ . '/config.neon');

    $configurator->enableDebugger(__DIR__ . '/log');
    $configurator->setTempDirectory(__DIR__ . '/temp');

    $container = $configurator->createContainer();

    // Setup router
    $container->router[] =  new \Nette\Application\Routers\Route('', array(
            'module' => 'Frontend',
            'presenter' => 'Homepage',
            'action' => 'default'
    ));

    $container->router[] =  new \Nette\Application\Routers\Route('login', array(
            'module' => 'Admin',
            'presenter' => 'Login',
            'action' => 'default'
    ));

    $container->router[] =  new \Nette\Application\Routers\Route('admin/<presenter>/<action>[/<id>]', array(
            'module' => 'Admin',
            'presenter' => 'Homepage',
            'action' => 'default'
    ));

{'fraction_non_alphanumeric': 0.1802451333813987, 'fraction_numerical': 0.0, 'mean_word_length': 2.913963328631876, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 41, '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': '1833706', 'n_tokens_mistral': 870, 'n_tokens_neox': 862, 'n_words': 122}