<commit_before>function FakeSock() {this.evs = {};}
FakeSock.prototype.address = function() {return{address:'127.0.0.1',port:54321};};
FakeSock.prototype.write   = function(str) {this.str = str;};
FakeSock.prototype.on      = function(ev, func) {this.evs[ev] = func;};
FakeSock.prototype.end     = function() {this.ended = true;};
FakeSock.prototype.destroy = function() {this.destroyed = true;};

module.exports = FakeSock;<commit_msg>removeListener support for fakesock<commit_after>function FakeSock() {this.evs = {};}
FakeSock.prototype.address = function() {return{address:'127.0.0.1',port:54321};};
FakeSock.prototype.write   = function(str) {this.str = str;};
FakeSock.prototype.on      = function(ev, func) {this.evs[ev] = func;};
FakeSock.prototype.end     = function() {this.ended = true;};
FakeSock.prototype.destroy = function() {this.destroyed = true;};
FakeSock.prototype.removeListener = function(ev) {delete this.evs[ev];};

module.exports = FakeSock;
{'fraction_non_alphanumeric': 0.17993795243019647, 'fraction_numerical': 0.022750775594622543, 'mean_word_length': 5.63013698630137, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5769532', 'n_tokens_mistral': 347, 'n_tokens_neox': 320, 'n_words': 56}