<commit_before><commit_msg>added test server file for running command line tools (for potential backend svg rendering)<commit_after>let child_process = Npm.require('child_process');

let ls = child_process.spawn("ls");

ls.stdout.setEncoding("utf8");
ls.stdout.setEncoding("utf8");
ls.stdout.on("data", function(data) {
    process.stdout.write(data);
});

ls.stderr.setEncoding("utf8");
ls.stderr.on("data", function(data) {
    process.stderr.write(data);
});
{'fraction_non_alphanumeric': 0.16702819956616052, 'fraction_numerical': 0.006507592190889371, 'mean_word_length': 6.573770491803279, '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': '451746', 'n_tokens_mistral': 148, 'n_tokens_neox': 145, 'n_words': 28}