<commit_before><?php

namespace o;

class u_Web extends StdModule {

    private $icons = null;

    function u_nonce () {
        ARGS('', func_get_args());
        return Security::getNonce();
    }

    function u_csrf_token() {
        ARGS('', func_get_args());
        return Security::getCsrfToken();
    }

    function u_parse_html($raw) {
        ARGS('*', func_get_args());
        return Tht::parseTemplateString('html', $raw);
    }

    function u_table ($rows, $keys, $headings=[], $params=[]) {

        ARGS('lllm', func_get_args());

        $str = $this->openTag('table', $params);
        $rows = uv($rows);
        $keys = uv($keys);
        $headings = uv($headings);
        $str .= '<tr>';<commit_msg>add Web.runRoute()<commit_after><?php

namespace o;

class u_Web extends StdModule {

    private $icons = null;

    function u_run_route($path) {
        ARGS('s', func_get_args());
        WebMode::runRoute($path);
        return new \o\ONothing('runRoute');
    }

    function u_nonce () {
        ARGS('', func_get_args());
        return Security::getNonce();
    }

    function u_csrf_token() {
        ARGS('', func_get_args());
        return Security::getCsrfToken();
    }

    function u_parse_html($raw) {
        ARGS('*', func_get_args());
        return Tht::parseTemplateString('html', $raw);
    }

    function u_table ($rows, $keys, $headings=[], $params=[]) {

        ARGS('lllm', func_get_args());

        $str = $this->openTag('table', $params);
        $rows = uv($rows);
        $keys = uv($keys);
        $headings = uv($headings);
        $str .= '<tr>';
{'fraction_non_alphanumeric': 0.1782608695652174, 'fraction_numerical': 0.0, 'mean_word_length': 2.58, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '203720', 'n_tokens_mistral': 546, 'n_tokens_neox': 513, 'n_words': 104}