<commit_before>var five = require("../lib/johnny-five.js"),
    board, motor, led;

board = new five.Board();

board.on("ready", function() {
  var timer;

  // Create a new `motor` hardware instance.
  motor = new five.Motor({
    pin: 5
  });

  (led = new five.Led()).on();

  // Inject the `motor` hardware into
  // the Repl instance's context;
  // allows direct command line access
  board.repl.inject({
    motor: motor
  });

  // Motor Event API

  // "start" events fire when the motor is started.
  motor.on("start", function( err, timestamp ) {
    console.log( "start", timestamp );<commit_msg>Removed extra LED constructor & timer var. Closes gh-82<commit_after>var five = require("../lib/johnny-five.js"),
    board, motor, led;

board = new five.Board();

board.on("ready", function() {
  // Create a new `motor` hardware instance.
  motor = new five.Motor({
    pin: 5
  });

  // Inject the `motor` hardware into
  // the Repl instance's context;
  // allows direct command line access
  board.repl.inject({
    motor: motor
  });

  // Motor Event API

  // "start" events fire when the motor is started.
  motor.on("start", function( err, timestamp ) {
    console.log( "start", timestamp );
{'fraction_non_alphanumeric': 0.15181518151815182, 'fraction_numerical': 0.0033003300330033004, 'mean_word_length': 2.95114006514658, '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': '7264714', 'n_tokens_mistral': 400, 'n_tokens_neox': 377, 'n_words': 126}