<commit_before><?php

namespace G4\Tasker;

class Consts
{
    const STATUS_PENDING           = 0;
    const STATUS_WORKING           = 1;
    const STATUS_BROKEN            = 3;
    const STATUS_RETRY_FAILED      = 4;
    const STATUS_DONE              = 2;

    const PRIORITY_LOW             = 11;
    const PRIORITY_MEDIUM          = 41;
    const PRIORITY_HIGH            = 81;

    const PRIORITY_00              = 0;
    const PRIORITY_10              = 10;
    const PRIORITY_20              = 20;
    const PRIORITY_30              = 30;
    const PRIORITY_40              = 40;
    const PRIORITY_50              = 50;
    const PRIORITY_60              = 60;
    const PRIORITY_70              = 70;
    const PRIORITY_80              = 80;
    const PRIORITY_90              = 90;
    const PRIORITY_99              = 99;

    const RECURRING_TASK_STATUS_INACTIVE = 0;
    const RECURRING_TASK_STATUS_ACTIVE = 1;

    const LIMIT_DEFAULT            = 100;

    const STATUS_NAME_PENDING      = 'STATUS_PENDING';
    const STATUS_NAME_WORKING      = 'STATUS_WORKING';
    const STATUS_NAME_BROKEN       = 'STATUS_BROKEN';
    const STATUS_NAME_RETRY_FAILED = 'STATUS_RETRY_FAILED';
    const STATUS_NAME_DONE         = 'STATUS_DONE';

    const ORDER_BY_CREATED_ON      = 'ts_created';
    const ORDER_BY_PRIORITY        = 'priority';

    const ORDER_BY_NAME_DEFAULT    = self::ORDER_BY_NAME_CREATED_ON;
    const ORDER_BY_NAME_CREATED_ON = 'CREATED_ON';
    const ORDER_BY_NAME_PRIORITY   = 'PRIORITY';

    public static function getMap()
    {
        return array(
            'STATUS_PENDING'      => self::STATUS_PENDING,
            'STATUS_WORKING'      => self::STATUS_WORKING,
            'STATUS_BROKEN'       => self::STATUS_BROKEN,
            'STATUS_RETRY_FAILED' => self::STATUS_RETRY_FAILED,
            'STATUS_DONE'         => self::STATUS_DONE,
            'CREATED_ON'          => self::ORDER_BY_CREATED_ON,
            'PRIORITY'            => self::ORDER_BY_PRIORITY,
        );<commit_msg>Added new constant Consts::PRIORITY_93<commit_after><?php

namespace G4\Tasker;

class Consts
{
    const STATUS_PENDING           = 0;
    const STATUS_WORKING           = 1;
    const STATUS_BROKEN            = 3;
    const STATUS_RETRY_FAILED      = 4;
    const STATUS_DONE              = 2;

    const PRIORITY_LOW             = 11;
    const PRIORITY_MEDIUM          = 41;
    const PRIORITY_HIGH            = 81;

    const PRIORITY_00              = 0;
    const PRIORITY_10              = 10;
    const PRIORITY_20              = 20;
    const PRIORITY_30              = 30;
    const PRIORITY_40              = 40;
    const PRIORITY_50              = 50;
    const PRIORITY_60              = 60;
    const PRIORITY_70              = 70;
    const PRIORITY_80              = 80;
    const PRIORITY_90              = 90;
    const PRIORITY_93              = 93;
    const PRIORITY_99              = 99;

    const RECURRING_TASK_STATUS_INACTIVE = 0;
    const RECURRING_TASK_STATUS_ACTIVE = 1;

    const LIMIT_DEFAULT            = 100;

    const STATUS_NAME_PENDING      = 'STATUS_PENDING';
    const STATUS_NAME_WORKING      = 'STATUS_WORKING';
    const STATUS_NAME_BROKEN       = 'STATUS_BROKEN';
    const STATUS_NAME_RETRY_FAILED = 'STATUS_RETRY_FAILED';
    const STATUS_NAME_DONE         = 'STATUS_DONE';

    const ORDER_BY_CREATED_ON      = 'ts_created';
    const ORDER_BY_PRIORITY        = 'priority';

    const ORDER_BY_NAME_DEFAULT    = self::ORDER_BY_NAME_CREATED_ON;
    const ORDER_BY_NAME_CREATED_ON = 'CREATED_ON';
    const ORDER_BY_NAME_PRIORITY   = 'PRIORITY';

    public static function getMap()
    {
        return array(
            'STATUS_PENDING'      => self::STATUS_PENDING,
            'STATUS_WORKING'      => self::STATUS_WORKING,
            'STATUS_BROKEN'       => self::STATUS_BROKEN,
            'STATUS_RETRY_FAILED' => self::STATUS_RETRY_FAILED,
            'STATUS_DONE'         => self::STATUS_DONE,
            'CREATED_ON'          => self::ORDER_BY_CREATED_ON,
            'PRIORITY'            => self::ORDER_BY_PRIORITY,
        );
{'fraction_non_alphanumeric': 0.07240038872691934, 'fraction_numerical': 0.030612244897959183, 'mean_word_length': 1.7761294672960215, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '6149904', 'n_tokens_mistral': 1464, 'n_tokens_neox': 1340, 'n_words': 248}