<commit_before>import { app, BrowserWindow } from 'electron'

let mainWindow = null

app.on('window-all-closed', () => {
    if (process.platform !== 'darwin') {
        app.quit()
    }
})

app.on('ready', () => {
    // Initialize the window to our specified dimensions
    mainWindow = new BrowserWindow({
        width: 1024,
        height: 768,
        icon: `${__dirname}/static/pi_logo.png`,
        frame: true
    })

    // Tell Electron where to load the entry point from
    mainWindow.loadURL(`file://${__dirname}/app.html`)

    // Clear out the main window when the app is closed
    mainWindow.on('closed', () => {
        mainWindow = null
    })<commit_msg>adds dev tools to the app<commit_after>import { app, BrowserWindow } from 'electron'

let mainWindow = null

app.on('window-all-closed', () => {
    if (process.platform !== 'darwin') {
        app.quit()
    }
})

app.on('ready', () => {
    // Initialize the window to our specified dimensions
    mainWindow = new BrowserWindow({
        width: 1024,
        height: 768,
        icon: `${__dirname}/static/pi_logo.png`,
        frame: true
    })
    mainWindow.openDevTools()

    // Tell Electron where to load the entry point from
    mainWindow.loadURL(`file://${__dirname}/app.html`)

    // Clear out the main window when the app is closed
    mainWindow.on('closed', () => {
        mainWindow = null
    })
{'fraction_non_alphanumeric': 0.14275466284074606, 'fraction_numerical': 0.010043041606886656, 'mean_word_length': 2.5406091370558377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5961223', 'n_tokens_mistral': 434, 'n_tokens_neox': 407, 'n_words': 116}