<commit_before>#include <Smartcar.h>

const float carSpeed        = 1.0;
const long distanceToTravel = 40;
const int degreesToTurn     = 90;

BrushedMotor leftMotor(8, 10, 9);
BrushedMotor rightMotor(12, 13, 11);
DifferentialControl control(leftMotor, rightMotor);

GY50 gyroscope(37);

const auto odometerLeftPin       = 2;
const auto odometerRightPin      = 3;
const auto pulsesPerMeterLeft    = 50;
const auto pulsesPerMeterRight   = 60;
const unsigned short odometerPin = 2;

DirectionlessOdometer leftOdometer(
    odometerLeftPin, []() { leftOdometer.update(); }, pulsesPerMeterLeft);
DirectionlessOdometer rightOdometer(
    odometerRightPin, []() { rightOdometer.update(); }, pulsesPerMeterRight);

SmartCar car(control, gyroscope, leftOdometer, rightOdometer);

void setup()
{
    car.enableCruiseControl();

    // Travel around an imaginary square
    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);

    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);

    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);

    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);
}

void loop()
{
    // put your main code here, to run repeatedly:<commit_msg>Remove unused variable<commit_after>#include <Smartcar.h>

const float carSpeed        = 1.0;
const long distanceToTravel = 40;
const int degreesToTurn     = 90;

BrushedMotor leftMotor(8, 10, 9);
BrushedMotor rightMotor(12, 13, 11);
DifferentialControl control(leftMotor, rightMotor);

GY50 gyroscope(37);

const auto odometerLeftPin     = 2;
const auto odometerRightPin    = 3;
const auto pulsesPerMeterLeft  = 50;
const auto pulsesPerMeterRight = 60;

DirectionlessOdometer leftOdometer(
    odometerLeftPin, []() { leftOdometer.update(); }, pulsesPerMeterLeft);
DirectionlessOdometer rightOdometer(
    odometerRightPin, []() { rightOdometer.update(); }, pulsesPerMeterRight);

SmartCar car(control, gyroscope, leftOdometer, rightOdometer);

void setup()
{
    car.enableCruiseControl();

    // Travel around an imaginary square
    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);

    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);

    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);

    go(distanceToTravel, carSpeed);
    rotate(degreesToTurn, carSpeed);
}

void loop()
{
    // put your main code here, to run repeatedly:
{'fraction_non_alphanumeric': 0.10292301358583779, 'fraction_numerical': 0.02181967888019761, 'mean_word_length': 4.799522673031026, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1884969', 'n_tokens_mistral': 880, 'n_tokens_neox': 782, 'n_words': 190}