<commit_before><?php
function render_view($view_name, array $vars = null) {
    static $render;
    if (!$render) $render = new Lysine\View(cfg('app', 'view'));

    return $render->reset()->fetch($view_name, $vars);
}

function __on_exception($exception) {
    $code = $exception instanceof \Lysine\Request_Exception
          ? $exception->getCode()
          : 500;
    header(\Lysine\Response::httpStatus($code));

    echo render_view('_error/500', array('exception' => $exception));
    die($code);
}<commit_msg>更新namespace<commit_after><?php
function render_view($view_name, array $vars = null) {
    static $render;
    if (!$render) $render = new Lysine\MVC\View(cfg('app', 'view'));

    return $render->reset()->fetch($view_name, $vars);
}

function __on_exception($exception) {
    $code = $exception instanceof \Lysine\HttpError
          ? $exception->getCode()
          : 500;
    header(\Lysine\MVC\Response::httpStatus($code));

    echo render_view('_error/500', array('exception' => $exception));
    die($code);
}
{'fraction_non_alphanumeric': 0.17794970986460348, 'fraction_numerical': 0.01160541586073501, 'mean_word_length': 4.098522167487685, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6325114', 'n_tokens_mistral': 338, 'n_tokens_neox': 324, 'n_words': 62}