<commit_before>'use strict';

var randn = require( './../lib' );

var seed;
var rand;
var i;

// Generate pseudorandom numbers...
console.log( '\nseed: %d', randn.SEED );
for ( i = 0; i < 100; i++ ) {
	console.log( randn() );
}

// Create a new pseudorandom number generator...
seed = 1234;
rand = randn.factory( seed );
console.log( '\nseed: %d', seed );
for ( i = 0; i < 100; i++ ) {
	console.log( rand() );
}

// Create another pseudorandom number generator using a previous seed...
rand = randn.factory( randn.SEED );
console.log( '\nseed: %d', randn.SEED );
for ( i = 0; i < 100; i++ ) {
	console.log( rand() );
}<commit_msg>Fix fcn invocation with seed option<commit_after>'use strict';

var randn = require( './../lib' );

var seed;
var rand;
var i;

// Generate pseudorandom numbers...
console.log( '\nseed: %d', randn.SEED );
for ( i = 0; i < 100; i++ ) {
	console.log( randn() );
}

// Create a new pseudorandom number generator...
seed = 1234;
rand = randn.factory({
	'seed': seed
});
console.log( '\nseed: %d', seed );
for ( i = 0; i < 100; i++ ) {
	console.log( rand() );
}

// Create another pseudorandom number generator using a previous seed...
rand = randn.factory({
	'seed': randn.SEED
});
console.log( '\nseed: %d', randn.SEED );
for ( i = 0; i < 100; i++ ) {
	console.log( rand() );
}
{'fraction_non_alphanumeric': 0.20398773006134968, 'fraction_numerical': 0.024539877300613498, 'mean_word_length': 3.237012987012987, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3404020', 'n_tokens_mistral': 514, 'n_tokens_neox': 481, 'n_words': 155}