<commit_before>const Vue = require("vue/dist/vue.min.js")
const os = require("os")
const ipcRenderer = require("electron").ipcRenderer
const delayOnExecution = 50; // in milliseconds

document.addEventListener('keyup', handleGlobalKeyPress);
console.log(__dirname)

const vue = new Vue({
    el: '#vue-root',
    data: {
        stylesheetPath: os.platform() === 'win32' ? __dirname + '/dist/styles/css/windows.css' : __dirname + '/dist/styles/css/mac.css',
        userInput: '',
        autoFocus: true,
        searchIcon: '',
        searchResults: Array<any>(),
        commandLineOutput: Array<any>()
    },
    methods: {
        handleKeyPress: (event: KeyboardEvent) => {
            if (event.key === 'Enter') {
                handleEnterPress();
            }
            else if (event.ctrlKey && event.key === 'o') {
                handleOpenFileLocation();
            }
            else if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {
                event.preventDefault();
                let direction = event.key === 'ArrowDown' ? 'next' : 'prev';
                changeActiveItem(direction);
            }
            else if (event.key === 'Tab') {<commit_msg>Remove debug statement<commit_after>const Vue = require("vue/dist/vue.min.js")
const os = require("os")
const ipcRenderer = require("electron").ipcRenderer
const delayOnExecution = 50; // in milliseconds

document.addEventListener('keyup', handleGlobalKeyPress);

const vue = new Vue({
    el: '#vue-root',
    data: {
        stylesheetPath: os.platform() === 'win32' ? __dirname + '/dist/styles/css/windows.css' : __dirname + '/dist/styles/css/mac.css',
        userInput: '',
        autoFocus: true,
        searchIcon: '',
        searchResults: Array<any>(),
        commandLineOutput: Array<any>()
    },
    methods: {
        handleKeyPress: (event: KeyboardEvent) => {
            if (event.key === 'Enter') {
                handleEnterPress();
            }
            else if (event.ctrlKey && event.key === 'o') {
                handleOpenFileLocation();
            }
            else if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {
                event.preventDefault();
                let direction = event.key === 'ArrowDown' ? 'next' : 'prev';
                changeActiveItem(direction);
            }
            else if (event.key === 'Tab') {
{'fraction_non_alphanumeric': 0.15446127946127947, 'fraction_numerical': 0.003367003367003367, 'mean_word_length': 2.182061579651941, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3665418', 'n_tokens_mistral': 678, 'n_tokens_neox': 663, 'n_words': 143}