<commit_before>package org.strangeforest.tcb.stats.model.records;

import java.util.*;

public abstract class Records {

	public static List<RecordCategory> getRecordCategories() {
		return RECORD_CATEGORIES;
	}

	public static Record getRecord(String recordId) {
		Record record = RECORDS.get(recordId);
		if (record == null)
			throw new IllegalArgumentException("Unknown record: " + recordId);
		return record;
	}

	private static void register(RecordCategory recordCategory) {
		RECORD_CATEGORIES.add(recordCategory);
		for (Record record : recordCategory.getRecords())
			RECORDS.put(record.getId(), record);
	}

	private static final List<RecordCategory> RECORD_CATEGORIES = new ArrayList<>();
	private static final Map<String, Record> RECORDS = new HashMap<>();
	static {
		register(new MostMatchesCategory(MostMatchesCategory.RecordType.PLAYED));
		register(new MostMatchesCategory(MostMatchesCategory.RecordType.WON));
		register(new MostMatchesCategory(MostMatchesCategory.RecordType.LOST));
		register(new GreatestMatchesPctCategory(GreatestMatchesPctCategory.RecordType.WINNING));
		register(new GreatestMatchesPctCategory(GreatestMatchesPctCategory.RecordType.LOSING));
		register(new MostTitlesCategory());
		register(new MostFinalsCategory());
		register(new MostSemiFinalsCategory());
		register(new MostQuarterFinalsCategory());
		register(new MostEntriesCategory());
	}
}<commit_msg>Player records - continued<commit_after>package org.strangeforest.tcb.stats.model.records;

import java.util.*;

public abstract class Records {

	public static List<RecordCategory> getRecordCategories() {
		return RECORD_CATEGORIES;
	}

	public static Record getRecord(String recordId) {
		Record record = RECORDS.get(recordId);
		if (record == null)
			throw new IllegalArgumentException("Unknown record: " + recordId);
		return record;
	}

	private static void register(RecordCategory recordCategory) {
		RECORD_CATEGORIES.add(recordCategory);
		for (Record record : recordCategory.getRecords())
			RECORDS.put(record.getId(), record);
	}

	private static final List<RecordCategory> RECORD_CATEGORIES = new ArrayList<>();
	private static final Map<String, Record> RECORDS = new HashMap<>();
	static {
		register(new MostMatchesCategory(MostMatchesCategory.RecordType.PLAYED));
		register(new MostMatchesCategory(MostMatchesCategory.RecordType.WON));
		register(new MostMatchesCategory(MostMatchesCategory.RecordType.LOST));
		register(new GreatestMatchesPctCategory(GreatestMatchesPctCategory.RecordType.WINNING));
		register(new GreatestMatchesPctCategory(GreatestMatchesPctCategory.RecordType.LOSING));
		register(new MostTitlesCategory());
		register(new MostFinalsCategory());
		register(new MostSemiFinalsCategory());
		register(new MostQuarterFinalsCategory());
		register(new MostEntriesCategory());
		// Titles/Finals ratios
		// Titles/Entries ratios
		// Titles with least sets lost
		// Titles with least games lost
		// Streaks
		// Rankings
		// Rivalries
		// Youngest/Oldest/Bagels/Years Span
	}
}
{'fraction_non_alphanumeric': 0.10278514588859416, 'fraction_numerical': 0.0, 'mean_word_length': 6.305084745762712, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '833554', 'n_tokens_mistral': 949, 'n_tokens_neox': 884, 'n_words': 181}