<commit_before>#!/usr/bin/node

var co = require('co');
var db = require('./db');

co(function * () {
	yield db.createTables();
})
.then(() => process.exit(0))
.catch(err => {
	console.error(err);
	process.exit(1);<commit_msg>Reset schema<commit_after>#!/usr/bin/node

var co = require('co');
var db = require('./db');

co(function * () {
	yield db.reset();
	yield db.createTables();
})
.then(() => process.exit(0))
.catch(err => {
	console.error(err);
	process.exit(1);
{'fraction_non_alphanumeric': 0.24680851063829787, 'fraction_numerical': 0.00851063829787234, 'mean_word_length': 4.607142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '593151', 'n_tokens_mistral': 182, 'n_tokens_neox': 176, 'n_words': 32}