<commit_before><?php
declare(strict_types=1);

namespace TMCms\Admin\Entity;

use TMCms\Orm\EntityRepository;
use TMCms\Orm\TableStructure;

/**
 * Class LanguageEntityRepository
 * @package TMCms\Admin\Entity
 *
 * @method setWhereFull(string $full)
 * @method setWhereShort(string $short)
 */
class LanguageEntityRepository extends EntityRepository
{
    const FIELD_FULL = 'full';
    const FIELD_SHORT = 'short';

    const TABLE_NAME = 'languages';

    protected $db_table = self::TABLE_NAME;
    protected $table_structure = [
        'fields' => [
            self::FIELD_SHORT => [
                'type'   => TableStructure::FIELD_TYPE_CHAR,
                'length' => 2
            ],
            self::FIELD_FULL  => [
                'type'   => TableStructure::FIELD_TYPE_VARCHAR_255
            ]
        ]
    ];
}
<commit_msg>Fixed horrible mistake with wrong table name<commit_after><?php
declare(strict_types=1);

namespace TMCms\Admin\Entity;

use TMCms\Orm\EntityRepository;
use TMCms\Orm\TableStructure;

/**
 * Class LanguageEntityRepository
 * @package TMCms\Admin\Entity
 *
 * @method setWhereFull(string $full)
 * @method setWhereShort(string $short)
 */
class LanguageEntityRepository extends EntityRepository
{
    const FIELD_FULL = 'full';
    const FIELD_SHORT = 'short';

    const TABLE_NAME = 'cms_languages';

    protected $db_table = self::TABLE_NAME;
    protected $table_structure = [
        'fields' => [
            self::FIELD_SHORT => [
                'type'   => TableStructure::FIELD_TYPE_CHAR,
                'length' => 2
            ],
            self::FIELD_FULL  => [
                'type'   => TableStructure::FIELD_TYPE_VARCHAR_255
            ]
        ]
    ];
}

{'fraction_non_alphanumeric': 0.11491584445734185, 'fraction_numerical': 0.005803830528148578, 'mean_word_length': 2.6142557651991614, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '6098218', 'n_tokens_mistral': 532, 'n_tokens_neox': 510, 'n_words': 96}