<commit_before>var url = require('url')
var Cache = require('magazine')
var merge = require('./merge')

var Evaluator = require('prolific.evaluator')

var coalesce = require('extant')

function Processor (parameters, next, options) {
    options || (options = {})
    this._timeout = coalesce(options.timeout, 30000)
    this._delay = coalesce(options.delay, 5000)
    this._pivot = Evaluator.create(parameters.pivot)
    this._end = Evaluator.create(parameters.end)
    this._calculations = parameters.calculate.forEach(function (calculate) {
        return Evaluator.create(calculate)
    })
    this._building = new Cache().createMagazine()
    this._sending = new Cache().createMagazine()
    this._next = next
}<commit_msg>Remove unused list of calculations.<commit_after>var url = require('url')
var Cache = require('magazine')
var merge = require('./merge')

var Evaluator = require('prolific.evaluator')

var coalesce = require('extant')

function Processor (parameters, next, options) {
    options || (options = {})
    this._timeout = coalesce(options.timeout, 30000)
    this._delay = coalesce(options.delay, 5000)
    this._pivot = Evaluator.create(parameters.pivot)
    this._end = Evaluator.create(parameters.end)
    this._building = new Cache().createMagazine()
    this._sending = new Cache().createMagazine()
    this._next = next
}
{'fraction_non_alphanumeric': 0.13471502590673576, 'fraction_numerical': 0.013323464100666173, 'mean_word_length': 4.365079365079365, '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': '3086533', 'n_tokens_mistral': 425, 'n_tokens_neox': 405, 'n_words': 89}