<commit_before><?php
// namespace Lib;
use Betasyntax\Wayfinder;
use Betasyntax\Registry;
use Betasyntax\Router;
use Betasyntax\Config;
use Betasyntax\Response;
use Betasyntax\Session;
use Betasyntax\Authentication;
use Betasyntax\Functions;
use Betasyntax\MetaTrait;
use Plasticbrain\FlashMessages\FlashMessages;

function app(){
  global $registry;
  return $registry;
}

$registry = new Registry();
$route = new Router();
$dbconfig = new DatabaseConfig();

$haml = new MtHaml\Environment('twig');

$twig = new Twig_Loader_Filesystem(array(APP_ROOT.'app/Views/'));
$hamll = new MtHaml\Support\Twig\Loader($haml, $twig);

app()->twig = new Twig_Environment($hamll);
app()->twig->addExtension(new MtHaml\Support\Twig\Extension());


app()->session = Session::getInstance();
app()->flash = new FlashMessages();
app()->util = new Functions();
app()->auth = new Authentication();
app()->response = new Response();<commit_msg>fixed some vars<commit_after><?php
// namespace Lib;
use Betasyntax\Wayfinder;
use Betasyntax\Registry;
use Betasyntax\Router;
use Betasyntax\Config;
use Betasyntax\Response;
use Betasyntax\Session;
use Betasyntax\Authentication;
use Betasyntax\Functions;
use Betasyntax\MetaTrait;
use Plasticbrain\FlashMessages\FlashMessages;

function app(){
  global $registry;
  return $registry;
}

$registry = new Registry();
$route = new Router();
$dbconfig = new Config();

$haml = new MtHaml\Environment('twig');

$twig = new Twig_Loader_Filesystem(array(APP_ROOT.'app/Views/'));
$hamll = new MtHaml\Support\Twig\Loader($haml, $twig);

app()->twig = new Twig_Environment($hamll);
app()->twig->addExtension(new MtHaml\Support\Twig\Extension());


app()->session = Session::getInstance();
app()->flash = new FlashMessages();
app()->util = new Functions();
app()->auth = new Authentication();
app()->response = new Response();
{'fraction_non_alphanumeric': 0.16104461371055495, 'fraction_numerical': 0.0, 'mean_word_length': 6.445344129554656, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '1642308', 'n_tokens_mistral': 606, 'n_tokens_neox': 605, 'n_words': 135}