<commit_before>const { join, resolve } = require('path')
const window = require('electron-window')
const { app } = require('electron')
app.commandLine.appendSwitch('--disable-http-cache')

const Options = require('./cli/options')
const options = new Options(process.argv)

let win

app.on('ready', () => {
  win = window.createWindow({
    height: 800,
    width: 600,
    focusable: options.electronDebug,
    show: options.electronDebug,
    webPreferences: { webSecurity: false }
  })

  if (!options.electronDebug && process.platform === 'darwin') {
    app.dock.hide()
  }

  const indexPath = resolve(join(__dirname, 'renderer/index.html'))
  // undocumented call in electron-window
  win._loadURLWithArgs(indexPath, {}, () => {})
})

// process.on('SIGINT', function () {
//   process.exit(1)
// })<commit_msg>Remove commented out code<commit_after>const { join, resolve } = require('path')
const window = require('electron-window')
const { app } = require('electron')
app.commandLine.appendSwitch('--disable-http-cache')

const Options = require('./cli/options')
const options = new Options(process.argv)

let win

app.on('ready', () => {
  win = window.createWindow({
    height: 800,
    width: 600,
    focusable: options.electronDebug,
    show: options.electronDebug,
    webPreferences: { webSecurity: false }
  })

  if (!options.electronDebug && process.platform === 'darwin') {
    app.dock.hide()
  }

  const indexPath = resolve(join(__dirname, 'renderer/index.html'))
  // undocumented call in electron-window
  win._loadURLWithArgs(indexPath, {}, () => {})
})
{'fraction_non_alphanumeric': 0.16645569620253164, 'fraction_numerical': 0.008227848101265823, 'mean_word_length': 4.133116883116883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '578326', 'n_tokens_mistral': 503, 'n_tokens_neox': 474, 'n_words': 102}