<commit_before>'use strict'

import esp from 'espruino'
import chalk from 'chalk'
import defaults from 'lodash.defaults'
import forEach from 'lodash.forEach'
import eachSeries from 'async/eachSeries'

const defaultOptions = {
  port: undefined,
  output: false,
  verbose: false,
}

const optionAliases = {
  reset: 'RESET_BEFORE_SEND', // default: true
  save: 'SAVE_ON_SEND', // default: 0
  setTime: 'SET_TIME_ON_WRITE', // default: false
  ble: 'BLUETOOTH_LOW_ENERGY', // default: true
  audio: 'SERIAL_AUDIO', // default: 0
  baudRate: 'BAUD_RATE', // default: 9600
  throttle: 'SERIAL_THROTTLE_SEND', // default: false<commit_msg>BLE in caps<commit_after>'use strict'

import esp from 'espruino'
import chalk from 'chalk'
import defaults from 'lodash.defaults'
import forEach from 'lodash.forEach'
import eachSeries from 'async/eachSeries'

const defaultOptions = {
  port: undefined,
  output: false,
  verbose: false,
}

const optionAliases = {
  reset: 'RESET_BEFORE_SEND', // default: true
  save: 'SAVE_ON_SEND', // default: 0
  setTime: 'SET_TIME_ON_WRITE', // default: false
  BLE: 'BLUETOOTH_LOW_ENERGY', // default: true
  audio: 'SERIAL_AUDIO', // default: 0
  baudRate: 'BAUD_RATE', // default: 9600
  throttle: 'SERIAL_THROTTLE_SEND', // default: false
{'fraction_non_alphanumeric': 0.12283464566929134, 'fraction_numerical': 0.009448818897637795, 'mean_word_length': 4.648888888888889, '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': '7597831', 'n_tokens_mistral': 473, 'n_tokens_neox': 446, 'n_words': 121}