<commit_before>'use strict';

// MODULES //

var tape = require( 'tape' );
var getKeys = require( 'object-keys' ).shim();
var datasets = require( './../lib' );


// TESTS //

tape( 'main export is an object', function test( t ) {
	t.ok( true, __filename );
	t.equal( typeof datasets, 'object', 'main export is an object' );
	t.end();
});

tape( 'the exported object contains datasets', function test( t ) {
	var keys = getKeys( datasets );
	t.equal( keys.length > 0, true, 'has keys' );
	t.end();
});
<commit_msg>Fix require path<commit_after>'use strict';

// MODULES //

var tape = require( 'tape' );
var getKeys = require( 'object-keys' ).shim();
var datasets = require( './../' );


// TESTS //

tape( 'main export is an object', function test( t ) {
	t.ok( true, __filename );
	t.equal( typeof datasets, 'object', 'main export is an object' );
	t.end();
});

tape( 'the exported object contains datasets', function test( t ) {
	var keys = getKeys( datasets );
	t.equal( keys.length > 0, true, 'has keys' );
	t.end();
});

{'fraction_non_alphanumeric': 0.19103313840155944, 'fraction_numerical': 0.001949317738791423, 'mean_word_length': 3.48471615720524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4144566', 'n_tokens_mistral': 358, 'n_tokens_neox': 353, 'n_words': 119}