<commit_before>require('behave').andSetup(this);

describe('A module for accessing the database', function() {
	var db = require('dbAccess');
	db.deleteAll();
	
	// it('demonstrates a failure', function() {
		// expect(db.countAllRows()).notToBe(0);
	// });
	
	it('adds five records to the database', function() {
		db.insertRow("Cindy", "Norwegian Forest Cat");
		db.insertRow("Yzma", "Boa Constrictor");
		db.insertRow("Lorenzo", "<NAME>");
		db.insertRow("Linken", "<NAME>");
		db.insertRow("Lady", "<NAME>");
		expect(db.countAllRows()).toBe(5);
	});
	
	it('deletes two records from the database', function() {<commit_msg>3 tests (2 success + 1 failure)<commit_after>require('behave').andSetup(this);

describe('A module for accessing the database', function() {
	var db = require('dbAccess');
	db.deleteAll();
	
	it('demonstrates a failure', function() {
		expect(db.countAllRows()).notToBe(0);
	});
	
	it('adds five records to the database', function() {
		db.insertRow("Cindy", "Norwegian Forest Cat");
		db.insertRow("Yzma", "Boa Constrictor");
		db.insertRow("Lorenzo", "<NAME>");
		db.insertRow("Linken", "<NAME>");
		db.insertRow("Lady", "<NAME>");
		expect(db.countAllRows()).toBe(5);
	});
	
	it('deletes two records from the database', function() {
{'fraction_non_alphanumeric': 0.20380650277557494, 'fraction_numerical': 0.0055511498810467885, 'mean_word_length': 5.438775510204081, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4978359', 'n_tokens_mistral': 463, 'n_tokens_neox': 416, 'n_words': 95}