<commit_before><?php
class Vps_Uploads_Model extends Vps_Model_Db_Proxy
{
    protected $_table = 'vps_uploads';
    protected $_rowClass = 'Vps_Uploads_Row';
    private $_uploadDir;

    public function setUploadDir($dir)
    {
        $this->_uploadDir = $dir;
        return $this;
    }

    public function getUploadDir()
    {
        if (!isset($this->_uploadDir)) {
            $this->_uploadDir = Zend_Registry::get('config')->uploads;

            if (!$this->_uploadDir) {
                throw new Vps_Exception(trlVps('Param "uploads" has to be set in the file application/config.ini.'));
            }
            if (!is_dir($this->_uploadDir) || !is_writable($this->_uploadDir)) {
                throw new Vps_Exception(trlVps('Path for uploads is not writeable: {0}', $uploadDir));
            }
        }
        return $this->_uploadDir;
    }
}<commit_msg>fehler in exception behoben :D<commit_after><?php
class Vps_Uploads_Model extends Vps_Model_Db_Proxy
{
    protected $_table = 'vps_uploads';
    protected $_rowClass = 'Vps_Uploads_Row';
    private $_uploadDir;

    public function setUploadDir($dir)
    {
        $this->_uploadDir = $dir;
        return $this;
    }

    public function getUploadDir()
    {
        if (!isset($this->_uploadDir)) {
            $this->_uploadDir = Zend_Registry::get('config')->uploads;

            if (!$this->_uploadDir) {
                throw new Vps_Exception(trlVps('Param "uploads" has to be set in the file application/config.ini.'));
            }
            if (!is_dir($this->_uploadDir) || !is_writable($this->_uploadDir)) {
                throw new Vps_Exception(trlVps('Path for uploads is not writeable: {0}', $this->_uploadDir));
            }
        }
        return $this->_uploadDir;
    }
}
{'fraction_non_alphanumeric': 0.1286516853932584, 'fraction_numerical': 0.0011235955056179776, 'mean_word_length': 2.464980544747082, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, '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': '3474290', 'n_tokens_mistral': 544, 'n_tokens_neox': 529, 'n_words': 116}