<commit_before>var N_LED = 10;
var ledFile = '/tmp/bky-led-fifo';
var fs = require('fs');

var electron = require('electron');<commit_msg>Exit if the fifo does not exist.<commit_after>var N_LED = 12;

// If you do not want to use the blockly-receiver,
// comment out the following line.
var ledFile = '/tmp/bky-led-fifo';

var fs = require('fs');
if (typeof ledFile !== 'undefined' && !fs.existsSync(ledFile)) {
    console.log('Error: ' + ledFile + ' does not exist.' +
                ' Run bkykeepfifo first.');
    process.exit(1);
}

// Launch the browser
var electron = require('electron');
{'fraction_non_alphanumeric': 0.1593959731543624, 'fraction_numerical': 0.008389261744966443, 'mean_word_length': 3.5572519083969465, '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': '6654512', 'n_tokens_mistral': 204, 'n_tokens_neox': 196, 'n_words': 60}