<commit_before>DROP TABLE IF EXISTS owners;
CREATE TABLE owners(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    NOT NULL
);

DROP TABLE IF EXISTS bots;
CREATE TABLE bots(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    TEXT NOT NULL,
    path    TEXT,
    owner   INTEGER REFERENCES owners
);

DROP TABLE IF EXISTS games;
CREATE TABLE games(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    NOT NULL
);

DROP TABLE IF EXISTS battles;
CREATE TABLE battles(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    NOT NULL
);

DROP TABLE IF EXISTS competitors;
CREATE TABLE competitors(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    game    INTEGER REFERENCES games,
    bot     INTEGER REFERENCES bots
);

INSERT INTO bots (name, owner) VALUES ("bot1", 1);
INSERT INTO games (name) VALUES ("game1");
INSERT INTO competitors (game, bot) VALUES (1, 1);<commit_msg>games have a type<commit_after>DROP TABLE IF EXISTS owners;
CREATE TABLE owners(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    NOT NULL
);

DROP TABLE IF EXISTS bots;
CREATE TABLE bots(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    TEXT NOT NULL,
    path    TEXT,
    owner   INTEGER REFERENCES owners
);

DROP TABLE IF EXISTS games;
CREATE TABLE games(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    TEXT NOT NULL,
    type    TEXT NOT NULL
);

DROP TABLE IF EXISTS battles;
CREATE TABLE battles(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    NOT NULL
);

DROP TABLE IF EXISTS competitors;
CREATE TABLE competitors(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    game    INTEGER REFERENCES games,
    bot     INTEGER REFERENCES bots
);

INSERT INTO bots (name, owner) VALUES ("bot1", 1);
INSERT INTO games (name, type) VALUES ("game1", "1v1");
INSERT INTO competitors (game, bot) VALUES (1, 1);
{'fraction_non_alphanumeric': 0.06098219104155424, 'fraction_numerical': 0.0064759848893685915, 'mean_word_length': 2.9785407725321886, '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': '7673831', 'n_tokens_mistral': 633, 'n_tokens_neox': 579, 'n_words': 237}