<commit_before>package org.devnull.matchmaking;

import java.util.Comparator;

/**
 * <p>
 * Representation of a player.
 * </p>
 * <p>
 * As indicated in the challenge description, feel free to augment the Player
 * class in any way that you feel will improve your final matchmaking solution.
 * <strong>Do NOT remove the name, wins, or losses fields.</strong> Also note
 * that if you make any of these changes, you are responsible for updating the
 * {@link SampleData} such that it provides a useful data set to exercise your
 * solution.
 * </p>
 */
public class Player implements PlayerInterface, java.io.Serializable {

    /** Generated by the serialver utility */
    //TODO: private static final long serialVersionUID = -376439616609120009L;

    public static final Comparator<Player> NAME_COMPARATOR = new NameComparator();

    private static final class NameComparator implements Comparator<Player>, java.io.Serializable {

        /** Generated by the serialver utility */
        //TODO: private static final long serialVersionUID = 6662658530147184337L;

        @Override
        public final int compare(final Player p1, final Player p2) {
            return p1.name.compareTo(p2.name);
        }
    }

    private final String name;
    private final int wins;
    private final int losses;<commit_msg>Updated serialVersionUID<commit_after>package org.devnull.matchmaking;

import java.util.Comparator;

/**
 * <p>
 * Representation of a player.
 * </p>
 * <p>
 * As indicated in the challenge description, feel free to augment the Player
 * class in any way that you feel will improve your final matchmaking solution.
 * <strong>Do NOT remove the name, wins, or losses fields.</strong> Also note
 * that if you make any of these changes, you are responsible for updating the
 * {@link SampleData} such that it provides a useful data set to exercise your
 * solution.
 * </p>
 */
public class Player implements PlayerInterface, java.io.Serializable {

    /** Generated by the serialver utility */
    //TODO: private static final long serialVersionUID = 6767373972869040494L;

    public static final Comparator<Player> NAME_COMPARATOR = new NameComparator();

    private static final class NameComparator implements Comparator<Player>, java.io.Serializable {

        /** Generated by the serialver utility */
        //TODO: private static final long serialVersionUID = 6662658530147184337L;

        @Override
        public final int compare(final Player p1, final Player p2) {
            return p1.name.compareTo(p2.name);
        }
    }

    private final String name;
    private final int wins;
    private final int losses;
{'fraction_non_alphanumeric': 0.07790741437711705, 'fraction_numerical': 0.0312382386149793, 'mean_word_length': 3.3933884297520662, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '972596', 'n_tokens_mistral': 749, 'n_tokens_neox': 686, 'n_words': 290}