<commit_before>// handles communication between server and observer

var path = require('path');
var nconf = require('nconf');
var redis = require('redis');

nconf.file(path.join(__dirname, '..', '..', config.json'));
var redisOpts = nconf.get('redis_client_options');

if (typeof(redisOpts) === 'undefined') throw new Error('redis client options not defined in config.json')
var redPub = redis.createClient(redisOpts);




<commit_msg>fix quote err<commit_after>// handles communication between server and observer

var path = require('path');
var nconf = require('nconf');
var redis = require('redis');

nconf.file(path.join(__dirname, '..', '..', 'config.json'));
var redisOpts = nconf.get('redis_client_options');

if (typeof(redisOpts) === 'undefined') throw new Error('redis client options not defined in config.json')
var redPub = redis.createClient(redisOpts);





{'fraction_non_alphanumeric': 0.15922107674684993, 'fraction_numerical': 0.0, 'mean_word_length': 5.775193798449612, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6399058', 'n_tokens_mistral': 272, 'n_tokens_neox': 270, 'n_words': 74}