<commit_before>
import sqlite3
import uuid
import collections

MOCK_CASSANDRA_SCHEMA = ["""
CREATE TABLE vaults (
  projectid TEXT,
  vaultid TEXT,
  PRIMARY KEY(projectid, vaultid)
);
""", """
CREATE TABLE blocks (
  projectid TEXT,
  vaultid TEXT,
  blockid TEXT,
  storageid TEXT,
  blocksize INT,
  reftime DATETIME,
  PRIMARY KEY(projectid, vaultid, blockid)
);
""", """
CREATE TABLE files (
  projectid TEXT,
  vaultid TEXT,
  fileid TEXT,
  size INT,
  finalized BOOLEAN,
  PRIMARY KEY(projectid, vaultid, fileid)
);
""", """<commit_msg>feat(badblock): mock cassandra support<commit_after>
import sqlite3
import uuid
import collections

MOCK_CASSANDRA_SCHEMA = ["""
CREATE TABLE vaults (
  projectid TEXT,
  vaultid TEXT,
  PRIMARY KEY(projectid, vaultid)
);
""", """
CREATE TABLE blocks (
  projectid TEXT,
  vaultid TEXT,
  blockid TEXT,
  storageid TEXT,
  blocksize INT,
  reftime DATETIME,
  isinvalid BOOLEAN,
  PRIMARY KEY(projectid, vaultid, blockid)
);
""", """
CREATE TABLE files (
  projectid TEXT,
  vaultid TEXT,
  fileid TEXT,
  size INT,
  finalized BOOLEAN,
  PRIMARY KEY(projectid, vaultid, fileid)
);
""", """
{'fraction_non_alphanumeric': 0.1128747795414462, 'fraction_numerical': 0.001763668430335097, 'mean_word_length': 4.456730769230769, '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': '5920722', 'n_tokens_mistral': 414, 'n_tokens_neox': 411, 'n_words': 113}