<commit_before>const Module = require('module')
const origRequire = Module._load

Module._load = function (moduleName, from) {
  console.log('-- requiring module: ', moduleName + ' from ' + from.filename)

  return origRequire.apply(this, arguments)
}

process.on('uncaughtException', error => {
  console.error(error.name + ': '+ error.message)
  console.error(error.stack)
})

console.log('about to start requiring')
const {app} = require('electron')
console.log('done with app')
const {BrowserWindow} = require('electron')
console.log('done with BrowserWindow')
const nslog = require('nslog')
console.log('done with nslog')
const path = require('path')
console.log('done with path')
const temp = require('temp').track()
console.log('done with track')
const parseCommandLine = require('./parse-command-line')
console.log('done with parseCommandLine')
const startCrashReporter = require('../crash-reporter-start')
console.log('done with startCrashReporter')
const atomPaths = require('../atom-paths')
console.log('done with atomPaths')
const fs = require('fs')
console.log('done with fs')
const CSON = require('season')
console.log('done with CSON')
const Config = require('../config')

console.log('everything required correctly!')
<commit_msg>:shirt:<commit_after>const Module = require('module')
const origRequire = Module._load

Module._load = function (moduleName, from) {
  console.log('-- requiring module: ', moduleName + ' from ' + from.filename)

  return origRequire.apply(this, arguments)
}

process.on('uncaughtException', error => {
  console.error(error.name + ': ' + error.message)
  console.error(error.stack)
})

console.log('about to start requiring')
const {app} = require('electron')
console.log('done with app')
const nslog = require('nslog')
console.log('done with nslog')
const path = require('path')
console.log('done with path')
const temp = require('temp').track()
console.log('done with track')
const parseCommandLine = require('./parse-command-line')
console.log('done with parseCommandLine')
const startCrashReporter = require('../crash-reporter-start')
console.log('done with startCrashReporter')
const atomPaths = require('../atom-paths')
console.log('done with atomPaths')
const fs = require('fs')
console.log('done with fs')
const CSON = require('season')
console.log('done with CSON')
const Config = require('../config')

console.log('everything required correctly!')

{'fraction_non_alphanumeric': 0.1605657237936772, 'fraction_numerical': 0.0, 'mean_word_length': 5.9508670520231215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2852287', 'n_tokens_mistral': 707, 'n_tokens_neox': 695, 'n_words': 182}