<commit_before><?php

/*
 * This file is part of Fork CMS.
 *
 * For the full copyright and license information, please view the license
 * file that was distributed with this source code.
 */
require_once '../autoload.php';

new FrontendInit('frontend_js');
new FrontendJavascript();<commit_msg>Frontend: add base js kernel functionallity.<commit_after><?php

/*
 * This file is part of Fork CMS.
 *
 * For the full copyright and license information, please view the license
 * file that was distributed with this source code.
 */

use Symfony\Component\HttpFoundation\Request;

// require
// @todo this is wrong. It will break our install validating.
require_once 'autoload.php';

$kernel = new AppKernel();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
{'fraction_non_alphanumeric': 0.11262376237623763, 'fraction_numerical': 0.0, 'mean_word_length': 4.5793103448275865, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5782592', 'n_tokens_mistral': 230, 'n_tokens_neox': 228, 'n_words': 87}