<commit_before>var child_process = require('child_process');

job_carousel = child_process.spawn('/home/bram/src/ebu-tools/carousel/carousel.sh')
job_dasher = child_process.spawn('/home/bram/src/ebu-tools/dasher/runner.rb')

job_carousel.stdout.setEncoding('utf8');
job_carousel.stdout.on('data', function(data) {
  console.log(data.toString());
})
job_carousel.stderr.setEncoding('utf8');
job_carousel.stderr.on('data', function(data) {
  console.log(data.toString());
})
job_carousel.on('close', function(code, signal) {
  console.log("Carousel job exited with code " + code + " and signal " + signal + ". Aborting.");
  job_dasher.kill(); // Send SIGTERM to other job<commit_msg>tweak<commit_after>var child_process = require('child_process');

var job_carousel = child_process.spawn('/home/bram/src/ebu-tools/carousel/carousel.sh')
var job_dasher   = child_process.spawn('/home/bram/src/ebu-tools/dasher/runner.rb')

job_carousel.stdout.setEncoding('utf8');
job_carousel.stdout.on('data', function(data) {
  console.log(data.toString());
})
job_carousel.stderr.setEncoding('utf8');
job_carousel.stderr.on('data', function(data) {
  console.log(data.toString());
})
job_carousel.on('close', function(code, signal) {
  console.log("Carousel job exited with code " + code + " and signal " + signal + ". Aborting.");
  job_dasher.kill(); // Send SIGTERM to other job
{'fraction_non_alphanumeric': 0.17276720351390923, 'fraction_numerical': 0.0029282576866764276, 'mean_word_length': 5.869346733668341, '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': '2089304', 'n_tokens_mistral': 475, 'n_tokens_neox': 470, 'n_words': 69}