<commit_before>use shakmaty::uci::Uci;
use shakmaty::fen::Fen;
use shakmaty::variant::VariantKey;

enum Speed {
    Ultrabullet,
    Bullet,
    Blitz,
    Rapid,
    Classical,
    Correspondence,
}

enum Mode {
    Casual,
    Rated,
}

struct Query {
    variant: VariantKey,
    fen: Fen,
    play: Vec<Uci>,
    modes: Option<Vec<Mode>>,
    speeds: Option<Vec<Speed>>,
    player: String,
    color: Color,
    since: Day,
}

struct Day(u16); // days since 2000 or so<commit_msg>lets go with year for now<commit_after>use shakmaty::uci::Uci;
use shakmaty::fen::Fen;
use shakmaty::variant::VariantKey;

enum Speed {
    Ultrabullet,
    Bullet,
    Blitz,
    Rapid,
    Classical,
    Correspondence,
}

enum Mode {
    Casual,
    Rated,
}

struct Query {
    variant: VariantKey,
    fen: Fen,
    play: Vec<Uci>,
    modes: Option<Vec<Mode>>,
    speeds: Option<Vec<Speed>>,
    player: String,
    color: Color,
    since: SinceYear,
}

struct SinceYear(u8); // since 2000 or so
{'fraction_non_alphanumeric': 0.12753036437246965, 'fraction_numerical': 0.011133603238866396, 'mean_word_length': 3.0699588477366255, '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': '2579527', 'n_tokens_mistral': 386, 'n_tokens_neox': 378, 'n_words': 89}