<commit_before><?php
/**
 *
 * Bootstrap file.
 * Including this file into your application
 * will protect you from evil and bring good luck.
 *
 */

// Configure the dependency injection container
$injector = new \Auryn\Injector;

// default config set
// $configuration = new \Spark\Configuration\DefaultConfigurationSet;

// plates config set
$configuration = new \Spark\Project\Configuration\ConfigurationSet;
$configuration->apply($injector);

// Configure middleware
$injector->alias(
    '\\Spark\\Middleware\\Collection',
    '\\Spark\\Middleware\\DefaultCollection'
);

// Configure the router
$injector->prepare(
    '\\Spark\\Router',
    function(\Spark\Router $router) {

		// hello
        $router->get('/hello[/{name}]', 'Spark\\Project\\Domain\\Hello');
        $router->post('/hello[/{name}]', 'Spark\\Project\\Domain\\Hello');

		// plates
		$router->get('/plates[/{name}]', 'Spark\\Project\\Domain\\Plates');

		// custom responder
		$router->get('/zzz[/{name}]', 'Spark\\Project\\Domain\\Hello')->setResponder('Spark\\Project\\Responders\\Responder');

    }
);

// Bootstrap the application
$dispatcher = $injector->make('\\Relay\\Relay');
$dispatcher(
    $injector->make('Psr\\Http\\Message\\ServerRequestInterface'),
    $injector->make('Psr\\Http\\Message\\ResponseInterface')
);<commit_msg>static page included<commit_after><?php
/**
 *
 * Bootstrap file.
 * Including this file into your application
 * will protect you from evil and bring good luck.
 *
 */

// Configure the dependency injection container
$injector = new \Auryn\Injector;

// default config set
// $configuration = new \Spark\Configuration\DefaultConfigurationSet;

// plates config set
$configuration = new \Spark\Project\Configuration\ConfigurationSet;
$configuration->apply($injector);

// Configure middleware
$injector->alias(
    '\\Spark\\Middleware\\Collection',
    '\\Spark\\Middleware\\DefaultCollection'
);

// Configure the router
$injector->prepare(
    '\\Spark\\Router',
    function(\Spark\Router $router) {

		// hello
        $router->get('/hello[/{name}]', 'Spark\\Project\\Domain\\Hello');
        $router->post('/hello[/{name}]', 'Spark\\Project\\Domain\\Hello');

		// plates
		$router->get('/plates[/{name}]', 'Spark\\Project\\Domain\\Plates');

		// static page
		$router->get('/staticpage[/{name}]', 'Spark\\Project\\Domain\\StaticPage');

		// custom responder
		$router->get('/zzz[/{name}]', 'Spark\\Project\\Domain\\Hello')->setResponder('Spark\\Project\\Responders\\Responder');

    }
);

// Bootstrap the application
$dispatcher = $injector->make('\\Relay\\Relay');
$dispatcher(
    $injector->make('Psr\\Http\\Message\\ServerRequestInterface'),
    $injector->make('Psr\\Http\\Message\\ResponseInterface')
);
{'fraction_non_alphanumeric': 0.19473876507124588, 'fraction_numerical': 0.0, 'mean_word_length': 3.6564625850340136, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 26, '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': '1519405', 'n_tokens_mistral': 846, 'n_tokens_neox': 818, 'n_words': 148}