<commit_before>module.exports = class Entity {

  constructor() {
    this.guid = Math.random() * 1000000 | 0;
  }

};<commit_msg>Allow entities to emit events<commit_after>const {EventEmitter} = require('events');

module.exports = class Entity extends EventEmitter {

  constructor() {
    super();
    this.guid = Math.random() * 1000000 | 0;
  }

};
{'fraction_non_alphanumeric': 0.14447592067988668, 'fraction_numerical': 0.0453257790368272, 'mean_word_length': 3.8493150684931505, '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': '1965941', 'n_tokens_mistral': 124, 'n_tokens_neox': 107, 'n_words': 26}