<commit_before>var uuid = require('uuid')

function readstat(pid) {
  return Promise.resolve({
    utime: 0,
    stime: 0,
    cutime: 0,
    cstime: 0,
    rss: 0
  })
}

function readstatus(pid) {
  var mem = process.memoryUsage()
  return Promise.resolve({
    FDSize: 0,
    Threads: 1,
    VmRSS: mem.rss / 1024,
    VmData: 0,
    VmStk: 0,
    VmExe: 0,
    VmSwap: 0
  })
}

function readbootid () {
  return Promise.resolve(uuid.v4())
}

module.exports = {
  readstat,
  readstatus,
  readbootid
}<commit_msg>Mock system doesn't need pid<commit_after>var uuid = require('uuid')

function readstat() {
  return Promise.resolve({
    utime: 0,
    stime: 0,
    cutime: 0,
    cstime: 0,
    rss: 0
  })
}

function readstatus() {
  var mem = process.memoryUsage()
  return Promise.resolve({
    FDSize: 0,
    Threads: 1,
    VmRSS: mem.rss / 1024,
    VmData: 0,
    VmStk: 0,
    VmExe: 0,
    VmSwap: 0
  })
}

function readbootid () {
  return Promise.resolve(uuid.v4())
}

module.exports = {
  readstat,
  readstatus,
  readbootid
}
{'fraction_non_alphanumeric': 0.13492822966507176, 'fraction_numerical': 0.03062200956937799, 'mean_word_length': 2.696113074204947, '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': '1953818', 'n_tokens_mistral': 453, 'n_tokens_neox': 418, 'n_words': 98}