<commit_before>package com.github.zhanhb.judge.common;

import cn.edu.zjnu.acm.judge.util.MatcherWrapper;
import lombok.Getter;

public enum Status {

    ACCEPTED(0), PRESENTATION_ERROR(1), TIME_LIMIT_EXCEED(2), MEMORY_LIMIT_EXCEED(3),
    WRONG_ANSWER(4), RUNTIME_ERROR(5), OUTPUT_LIMIT_EXCEED(6), COMPILATION_ERROR(7),
    NON_ZERO_EXIT_CODE(8, "Non-zero Exit Code"), FLOATING_POINT_ERROR(9), SEGMENTATION_FAULT(10),
    JUDGE_INTERNAL_ERROR(11), RESTRICTED_FUNCTION(12),
    OUT_OF_CONTEST_TIME(100, "Out of Contest Time"), NO_SUCH_PROBLEM(101), SUBMISSION_LIMIT_EXCEED(102),
    MULTI_ERROR(200), PARTIALLY_CORRECT(201), UNACCEPTED(202),
    QUEUING(1000), PROCESSING(1001), COMPILING(1002), RUNNING(1003), VALIDATING(1004),
    JUDGING(1005), PENDING_REJUDGE(1006);

    @Getter
    private final boolean finalResult;
    private final String toString;
    @Getter
    private final int result;

    Status(int result) {
        this.result = result;
        this.finalResult = result < 1000;
        this.toString = MatcherWrapper.matcher("(^|_)(?i)([A-Z]+)", name()).replaceAll(matcher -> {
            String prefix = matcher.group(1);
            String partial = matcher.group(2);
            return (prefix.isEmpty() ? "" : " ") + partial.substring(0, 1) + partial.substring(1).toLowerCase();
        });
    }

    Status(int result, String toString) {
        this.result = result;
        this.finalResult = result < 1000;
        this.toString = toString;
    }

    @Override
    public String toString() {
        return toString;
    }

}
<commit_msg>JUDGE_INTERNAL_ERROR from 11 to 203<commit_after>package com.github.zhanhb.judge.common;

import cn.edu.zjnu.acm.judge.util.MatcherWrapper;
import lombok.Getter;

public enum Status {

    ACCEPTED(0), PRESENTATION_ERROR(1), TIME_LIMIT_EXCEED(2), MEMORY_LIMIT_EXCEED(3),
    WRONG_ANSWER(4), RUNTIME_ERROR(5), OUTPUT_LIMIT_EXCEED(6), COMPILATION_ERROR(7),
    NON_ZERO_EXIT_CODE(8, "Non-zero Exit Code"), FLOATING_POINT_ERROR(9), SEGMENTATION_FAULT(10),
    RESTRICTED_FUNCTION(11),
    OUT_OF_CONTEST_TIME(100, "Out of Contest Time"), NO_SUCH_PROBLEM(101), SUBMISSION_LIMIT_EXCEED(102),
    MULTI_ERROR(200), PARTIALLY_CORRECT(201), UNACCEPTED(202), JUDGE_INTERNAL_ERROR(203),
    QUEUING(1000), PROCESSING(1001), COMPILING(1002), RUNNING(1003), VALIDATING(1004),
    JUDGING(1005), PENDING_REJUDGE(1006);

    @Getter
    private final boolean finalResult;
    private final String toString;
    @Getter
    private final int result;

    Status(int result) {
        this.result = result;
        this.finalResult = result < 1000;
        this.toString = MatcherWrapper.matcher("(^|_)(?i)([A-Z]+)", name()).replaceAll(matcher -> {
            String prefix = matcher.group(1);
            String partial = matcher.group(2);
            return (prefix.isEmpty() ? "" : " ") + partial.substring(0, 1) + partial.substring(1).toLowerCase();
        });
    }

    Status(int result, String toString) {
        this.result = result;
        this.finalResult = result < 1000;
        this.toString = toString;
    }

    @Override
    public String toString() {
        return toString;
    }

}

{'fraction_non_alphanumeric': 0.1302560859943092, 'fraction_numerical': 0.049320265570660764, 'mean_word_length': 3.6461086637298092, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '4329640', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1104, 'n_words': 192}