<commit_before>#!/bin/env node
require('coffee-script');
require('./server.coffee');<commit_msg>multi?<commit_after>#!/bin/env node
require('coffee-script');
var cluster = require('cluster');
var numCPUs = require('os').cpus().length;

if (cluster.isMaster) {
  // Fork workers.
  for (var i = 0; i < numCPUs; i++) {
    cluster.fork();
  }

  cluster.on('exit', function(worker, code, signal) {
    console.log('worker ' + worker.process.pid + ' died');
  });
} else {
  // Workers can share any TCP connection
  // In this case its a HTTP server
  require('./server.coffee');
}
{'fraction_non_alphanumeric': 0.19343696027633853, 'fraction_numerical': 0.0017271157167530224, 'mean_word_length': 3.9152542372881354, 'pattern_counts': {'":': 0, '<': 4, '<?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': '1935401', 'n_tokens_mistral': 203, 'n_tokens_neox': 192, 'n_words': 46}