<commit_before>var es = require('event-stream');
var io = require('socket.io-client');
var ss = require('socket.io-stream');


// Setup
var socket = io.connect('http://localhost:8000/stream/shells');
var stream = ss.createStream();


// Shell args (test)
var args = {
    shellId: process.argv[2],
    opts: {
        rows: process.stdout.rows,
        columns: process.stdout.columns
        /* 
         * Other options
        uid: 501,
        gid: 20,
        id: "something",  // same as shellId<commit_msg>test commiting from friendcode (2)<commit_after>var es = require('event-stream');
var io = require('socket.io-client');
var ss = require('socket.io-stream');


// Setup
var socket = io.connect('http://localhost:8000/stream/shells');
var stream = ss.createStream();


// Shell args (test 2)
var args = {
    shellId: process.argv[2],
    opts: {
        rows: process.stdout.rows,
        columns: process.stdout.columns
        /* 
         * Other options
        uid: 501,
        gid: 20,
        id: "something",  // same as shellId
{'fraction_non_alphanumeric': 0.15252621544327932, 'fraction_numerical': 0.020972354623450904, 'mean_word_length': 2.5472972972972974, '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': '1257435', 'n_tokens_mistral': 343, 'n_tokens_neox': 316, 'n_words': 82}