<commit_before><?php

namespace monolyth\render;
use monolyth\Controller;
use monolyth\Login_Required;
use monolyth\HTTP400_Exception;
use monolyth\HTTP500_Exception;

class Tmp_Media_Controller extends Controller implements Login_Required
{
    protected function get(array $args)
    {
        if (!isset($_GET['f'])) {
            throw new HTTP400_Exception;
        }
        $_GET['f'] = urldecode($_GET['f']);
        try {
            $i = getimagesize($_GET['f']);
        } catch (ErrorException $e) {
            throw new HTTP500_Exception;
        }
        $this->template = null;
        return $this->view(
            'page/media/tmp',
            ['imagefile' => $_GET['f']] + $args + compact('i')
        );
    }
}
<commit_msg>template to false, and fix viewname<commit_after><?php

namespace monolyth\render;
use monolyth\Controller;
use monolyth\Login_Required;
use monolyth\HTTP400_Exception;
use monolyth\HTTP500_Exception;

class Tmp_Media_Controller extends Controller
{
    protected $template = false;

    protected function get(array $args)
    {
        if (!isset($_GET['f'])) {
            throw new HTTP400_Exception;
        }
        $_GET['f'] = urldecode($_GET['f']);
        try {
            $i = getimagesize($_GET['f']);
        } catch (ErrorException $e) {
            throw new HTTP500_Exception;
        }
        return $this->view(
            'media/tmp',
            ['imagefile' => $_GET['f']] + $args + compact('i')
        );
    }
}

{'fraction_non_alphanumeric': 0.13449899125756556, 'fraction_numerical': 0.01613987895090787, 'mean_word_length': 2.4128440366972477, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '795387', 'n_tokens_mistral': 466, 'n_tokens_neox': 450, 'n_words': 96}