<commit_before>package main;

import lejos.hardware.BrickFinder;
import lejos.hardware.Keys;
import lejos.hardware.motor.Motor;
import main.parts.EngineController;
import main.parts.MainSensorController;
import main.parts.MainSensorController.SensorSide;
import main.parts.MainSensorController.SensorType;

public class Brain {
	private Keys keys;
	private MainSensorController sensorController;
	private EngineController engine;
	private int engineSpeed = 5;
	private float turnDegrees = 25.0f;
	private float lastRColor = 0;
	private float lastLColor = 0;
	private boolean isRunning = false;
        
        /**
         * The color value of the track line.
         */
        private static final int REACT_COLOR_VALUE = 7;
	
        
	/**
         * Constructor for this class, initializes a bunch of important stuff
         */
	public Brain(){
		sensorController = new MainSensorController("S1", SensorType.EV3, "S4", SensorType.NXT);
                // EngineController(Bak venstre, bak høyre, forran venstre, forran høyre)
		engine = new EngineController(Motor.C, Motor.B, Motor.D, Motor.A);
		engine.setSpeed(engineSpeed);
		keys = BrickFinder.getLocal().getKeys();<commit_msg>Puuuuush<commit_after>package main;

import lejos.hardware.BrickFinder;
import lejos.hardware.Keys;
import lejos.hardware.motor.Motor;
import main.parts.EngineController;
import main.parts.MainSensorController;
import main.parts.MainSensorController.SensorSide;
import main.parts.MainSensorController.SensorType;

public class Brain {
	private Keys keys;
	private MainSensorController sensorController;
	private EngineController engine;
	private int engineSpeed = 5;
	private float turnDegrees = 25.0f;
	private float lastRColor = 0;
	private float lastLColor = 0;
	private boolean isRunning = false;
        
        /**
         * The color value of the track line.
         */
        private static final int REACT_COLOR_VALUE = 7;
	
        
	/**
         * Constructor for this class, initializes a bunch of important stuff
         */
	public Brain(){
		sensorController = new MainSensorController("S1", SensorType.NXT, "S4", SensorType.EV3);
                // EngineController(Bak venstre, bak høyre, forran venstre, forran høyre)
		engine = new EngineController(Motor.C, Motor.B, Motor.D, Motor.A);
		engine.setSpeed(engineSpeed);
		keys = BrickFinder.getLocal().getKeys();
{'fraction_non_alphanumeric': 0.08857022353437369, 'fraction_numerical': 0.008435259384226065, 'mean_word_length': 3.6601178781925343, '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': '2919934', 'n_tokens_mistral': 732, 'n_tokens_neox': 707, 'n_words': 191}