<commit_before>var noble = require('noble');

module.exports = function() {
  
  console.log('Beginning Setup');

  noble.on('stateChange', function(state) {
    
    if (state === 'poweredOn') {
      noble.startScanning();
    } else {
      noble.stopScanning();
    }

  });

  noble.on('discover', function(peripheral){

    var deviceID = peripheral.uuid;

    console.log('BB8 ID - "' + deviceID + '"');
    console.log('Writing to config file');

    var config = require('home-config').load('.bb8config', {
      BB8_ID: deviceID
    });

    config.save();

    console.log('Saved config file, you can now ctrl+c this task');

  });

};<commit_msg>variable name change<commit_after>var noble = require('noble');

module.exports = function() {
  
  console.log('Beginning Setup');

  noble.on('stateChange', function(state) {
    
    if (state === 'poweredOn') {
      noble.startScanning();
    } else {
      noble.stopScanning();
    }

  });

  noble.on('discover', function(peripheral){

    var deviceUUID = peripheral.uuid;

    console.log('BB8 UUID - "' + deviceID + '"');
    console.log('Writing to config file');

    var config = require('home-config').load('.bb8config', {
      BB8_UUID: deviceUUID
    });

    config.save();

    console.log('Saved config file, you can now ctrl+c this task');

  });

};
{'fraction_non_alphanumeric': 0.17129977460555973, 'fraction_numerical': 0.004507888805409466, 'mean_word_length': 3.02416918429003, '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': '4964356', 'n_tokens_mistral': 438, 'n_tokens_neox': 424, 'n_words': 86}