<commit_before>#!/usr/bin/node
var os = require('os');
console.log({
  "process": {
    "argv": process.argv, 
    "execPath": process.execPath, 
    "execArgv": process.execArgv, 
    "cwd": process.cwd(), 
    "env": process.env, 
    "gid": process.getgid(), 
    "uid": process.getuid(), 
    "groups": process.getgroups(), 
    "version": process.version, 
    "versions": process.versions, 
    "config": process.config, 
    "arch": process.arch, 
    "platform": process.platform
  }, 
  "os": {
    "endianness": os.endianness(), 
    "hostname": os.hostname(), 
    "type": os.type(), 
    "platform": os.platform(), 
    "arch": os.arch(), 
    "release": os.release(), 
    "uptime": os.uptime(), 
    "loadavg": os.loadavg(), 
    "totalmem": os.totalmem(), 
    "freemem": os.freemem(), 
    "cpus": os.cpus(), 
    "networkInterfaces": JSON.stringify(os.networkInterfaces()), 
    "EOL": os.EOL
  }
});<commit_msg>Expanding some deeper objects into JSON strings<commit_after>#!/usr/bin/node
var os = require('os');
console.log({
  "process": {
    "argv": process.argv, 
    "execPath": process.execPath, 
    "execArgv": process.execArgv, 
    "cwd": process.cwd(), 
    "env": process.env, 
    "gid": process.getgid(), 
    "uid": process.getuid(), 
    "groups": process.getgroups(), 
    "version": process.version, 
    "versions": process.versions, 
    "config": JSON.stringify(process.config), 
    "arch": process.arch, 
    "platform": process.platform
  }, 
  "os": {
    "endianness": os.endianness(), 
    "hostname": os.hostname(), 
    "type": os.type(), 
    "platform": os.platform(), 
    "arch": os.arch(), 
    "release": os.release(), 
    "uptime": os.uptime(), 
    "loadavg": os.loadavg(), 
    "totalmem": os.totalmem(), 
    "freemem": os.freemem(), 
    "cpus": JSON.stringify(os.cpus()), 
    "networkInterfaces": JSON.stringify(os.networkInterfaces()), 
    "EOL": os.EOL
  }
});
{'fraction_non_alphanumeric': 0.2047817047817048, 'fraction_numerical': 0.0, 'mean_word_length': 3.0697674418604652, 'pattern_counts': {'":': 56, '<': 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': '703618', 'n_tokens_mistral': 707, 'n_tokens_neox': 653, 'n_words': 124}