<commit_before><?php
namespace DrdPlus\Codes;

/**
 * @method static DistanceCode getIt($codeValue)
 */
class DistanceCode extends TranslatableCode
{
    const M = 'm';
    const KM = 'km';
    const LIGHT_YEAR = 'light_year';

    /**
     * @return array|string[]
     */
    public static function getPossibleValues(): array
    {
        return [
            self::M,
            self::KM,
            self::LIGHT_YEAR,
        ];
    }

    private static $translations = [
        'cs' => [
            self::M => ['one' => 'm', 'few' => 'm', 'many' => 'm'],
            self::KM => ['one' => 'km', 'few' => 'km', 'many' => 'km'],
            self::LIGHT_YEAR => ['one' => 'světelný rok', 'few' => 'světelné roky', 'many' => 'světelných let'],
        ],
    ];

    /**
     * @param string $languageCode
     * @return array|string[]
     */
    protected function getTranslations(string $languageCode): array
    {
        return self::$translations[$languageCode] ?? [];
    }
}<commit_msg>Distance codes are no more shortcuts<commit_after><?php
namespace DrdPlus\Codes;

/**
 * @method static DistanceCode getIt($codeValue)
 */
class DistanceCode extends TranslatableCode
{
    const METER = 'meter';
    const KILOMETER = 'kilometer';
    const LIGHT_YEAR = 'light_year';

    /**
     * @return array|string[]
     */
    public static function getPossibleValues(): array
    {
        return [
            self::METER,
            self::KILOMETER,
            self::LIGHT_YEAR,
        ];
    }

    private static $translations = [
        'cs' => [
            self::METER => ['one' => 'metr', 'few' => 'metry', 'many' => 'metrů'],
            self::KILOMETER => ['one' => 'kilometr', 'few' => 'kilometry', 'many' => 'kilometrů'],
            self::LIGHT_YEAR => ['one' => 'světelný rok', 'few' => 'světelné roky', 'many' => 'světelných let'],
        ],
    ];

    /**
     * @param string $languageCode
     * @return array|string[]
     */
    protected function getTranslations(string $languageCode): array
    {
        return self::$translations[$languageCode] ?? [];
    }
}
{'fraction_non_alphanumeric': 0.17254528122020973, 'fraction_numerical': 0.0, 'mean_word_length': 2.3212025316455698, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '4126353', 'n_tokens_mistral': 692, 'n_tokens_neox': 677, 'n_words': 147}