<commit_before>const EventEmitter = require('events')
const Emitter = require('./emitter')

class Manager
{
    constructor(eventSource, emitter, identifier)
    {
        if(!eventSource)
            throw new Error('No event source provided')
        if(!emitter || !(emitter instanceof EventEmitter || emitter instanceof Emitter))
            throw new Error('No emitter provided')
        if(!identifier)
            throw new Error('No identifier provided')
        this._eventSource = eventSource
        this._emitter = emitter
        this._identifier = identifier
    }
    start()
    {
        this._setupConnection()
        this._listen()
    }<commit_msg>tests batch #3<commit_after>const EventEmitter = require('events')
const Emitter = require('./emitter')

class Manager
{
    constructor(eventSource, emitter, identifier)
    {
        if(!eventSource)
            throw new Error('No event source provided')
        if(!emitter || !(emitter instanceof EventEmitter))
            throw new Error('No emitter provided')
        if(!identifier)
            throw new Error('No identifier provided')
        this._eventSource = eventSource
        this._emitter = emitter
        this._identifier = identifier
    }
    start()
    {
        this._setupConnection()
        this._listen()
    }
{'fraction_non_alphanumeric': 0.10007639419404125, 'fraction_numerical': 0.0007639419404125286, 'mean_word_length': 2.493333333333333, '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': '4067861', 'n_tokens_mistral': 327, 'n_tokens_neox': 313, 'n_words': 89}