<commit_before>CREATE TABLE snak (
    id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    property VARCHAR(32),
    svalue   TEXT,
    dvalue   DECIMAL,
    lat      DOUBLE,
    lng      DOUBLE,
    tm       TIMESTAMP,
    lang     VARCHAR(2),
    vtype    INT
);

CREATE TABLE statement (
    id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    subject  VARCHAR(32),
    mainsnak INTEGER REFERENCES snak(id)
);

CREATE TABLE qualifier (
    id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    stmt     INTEGER REFERENCES statement(id),
    snak     INTEGER REFERENCES snak(id)
);<commit_msg>add approval state to sql schema<commit_after>CREATE TABLE snak (
    id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    property VARCHAR(32),
    svalue   TEXT,
    dvalue   DECIMAL,
    lat      DOUBLE,
    lng      DOUBLE,
    tm       TIMESTAMP,
    lang     VARCHAR(2),
    vtype    INT
);

CREATE TABLE statement (
    id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    subject  VARCHAR(32),
    mainsnak INTEGER REFERENCES snak(id),
    state    VARCHAR(16) DEFAULT 'unapproved'
);

CREATE TABLE qualifier (
    id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    stmt     INTEGER REFERENCES statement(id),
    snak     INTEGER REFERENCES snak(id)
);
{'fraction_non_alphanumeric': 0.06006240249609984, 'fraction_numerical': 0.0093603744149766, 'mean_word_length': 2.3852242744063323, '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': '6914023', 'n_tokens_mistral': 448, 'n_tokens_neox': 415, 'n_words': 129}