<commit_before>package li.seiji.minichess;

public enum Player {

    BLACK,
    WHITE

}<commit_msg>Implement identifier parser for Player-Enum<commit_after>package li.seiji.minichess;

public enum Player {

    WHITE,
    BLACK;

    public static Player parseIdentifier(char identifier) {
        return Character.isUpperCase(identifier) ? WHITE : BLACK;
    }

}
{'fraction_non_alphanumeric': 0.08196721311475409, 'fraction_numerical': 0.0, 'mean_word_length': 3.6455696202531644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6796170', 'n_tokens_mistral': 116, 'n_tokens_neox': 112, 'n_words': 27}