<commit_before>import { EventEmitter } from 'events';
import Signal from './Signal';

/**
 * A process defines the simpliest unit of the framework.
 * It is defined by a signal `active` and 2 methods: `start` and `stop`.
 *
 * @memberof module:soundworks/client
 */
class Process extends EventEmitter {
  constructor(id) {
    super();<commit_msg>enforce process id<commit_after>import { EventEmitter } from 'events';
import Signal from './Signal';

/**
 * A process defines the simpliest unit of the framework.
 * It is defined by a signal `active` and 2 methods: `start` and `stop`.
 *
 * @memberof module:soundworks/client
 */
class Process extends EventEmitter {
  constructor(id) {
    super();

    if (id === undefined)
      throw new Error(`Undefined id for process ${this.constructor.name}`);

{'fraction_non_alphanumeric': 0.12079701120797011, 'fraction_numerical': 0.0024906600249066002, 'mean_word_length': 4.025, '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': '7289921', 'n_tokens_mistral': 227, 'n_tokens_neox': 226, 'n_words': 87}