<commit_before>#!/usr/bin/env node
/*************************************************************************
 * Copyright(c) 2012-2014 <NAME> <<EMAIL>>
 * May be freely distributed under the MIT license.
 **************************************************************************/

const TIMER_INTERVAL = 2000;
const BUFFER_INTERVAL = 0; //1000;
var type = "console";
//var type = "sos";
//var type = "file";

var Logger = require('../index');
Logger.setGlobalLogLevel('verbose');
var log = require('../index').get('reqtest');

var middleware = Logger.middleware();

var req = Logger.request();
var res = Logger.response(req, onSend);<commit_msg>Changes to reqtest.js<commit_after>#!/usr/bin/env node
/*************************************************************************
 * Copyright(c) 2012-2014 <NAME> <<EMAIL>>
 * May be freely distributed under the MIT license.
 **************************************************************************/

var type = "console";
//var type = "sos";
//var type = "file";

var Logger = require('../index');
Logger.setGlobalLogLevel('verbose');
var log = Logger.get('reqtest');

var middleware = Logger.middleware();

var req = Logger.request();
var res = Logger.response(req, onSend);
{'fraction_non_alphanumeric': 0.3763265306122449, 'fraction_numerical': 0.02040816326530612, 'mean_word_length': 6.127906976744186, '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': '3987369', 'n_tokens_mistral': 353, 'n_tokens_neox': 313, 'n_words': 88}