<commit_before>#!/usr/bin/env node

var spawn = require('child_process').spawn;
var path = require('path');
var fs = require('fs');

function installToolchain(version) {
  spawn('npm', ['install', '--save-exact', '--save-bundle', ["pirouette-toolchain", process.platform, process.arch].join('-') + '@' + version], {
    stdio: 'inherit'
  });
}

function installBindings(version) {
  spawn('npm', ['install', '--save-exact', '--save-bundle', ["pirouette-bindings", process.platform].join('-') + '@' + version], {
    stdio: 'inherit'
  });
}

installToolchain.apply(null, ["0.1.0-alpha.6"].concat(process.argv.slice(2)));
installBindings.apply(null, ["0.1.0-alpha.1"].concat(process.argv.slice(2)));
<commit_msg>update toolchain version<commit_after>#!/usr/bin/env node

var spawn = require('child_process').spawn;
var path = require('path');
var fs = require('fs');

function installToolchain(version) {
  spawn('npm', ['install', '--save-exact', '--save-bundle', ["pirouette-toolchain", process.platform, process.arch].join('-') + '@' + version], {
    stdio: 'inherit'
  });
}

function installBindings(version) {
  spawn('npm', ['install', '--save-exact', '--save-bundle', ["pirouette-bindings", process.platform].join('-') + '@' + version], {
    stdio: 'inherit'
  });
}

installToolchain.apply(null, ["0.1.0-alpha.7"].concat(process.argv.slice(2)));
installBindings.apply(null, ["0.1.0-alpha.1"].concat(process.argv.slice(2)));

{'fraction_non_alphanumeric': 0.23832752613240418, 'fraction_numerical': 0.013937282229965157, 'mean_word_length': 5.110638297872341, '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': '4658091', 'n_tokens_mistral': 510, 'n_tokens_neox': 495, 'n_words': 78}