<commit_before>
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.shape.MoveTo;
import javafx.scene.shape.LineTo;
import javafx.scene.control.Button;
import javafx.scene.control.Slider;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Path;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
import javafx.scene.text.Text;
import javafx.stage.Stage;




public class Main extends Application{


    @Override
    public void start(Stage stage) {
    	
    	
    	Text headerTitle = new Text("ReROUTE Simulator");
    headerTitle.setFont(Font.font("Lato", FontWeight.BOLD, 40));
    headerTitle.setFill(Color.BLACK);
    StackPane pane = new StackPane();
	
	AnchorPane top = new AnchorPane(headerTitle);
	
    top.setBottomAnchor(headerTitle, 352.0);
    top.setTopAnchor(headerTitle, 0.0);
    top.setLeftAnchor(headerTitle, 0.0);
    top.setRightAnchor(headerTitle, 201.0);
    
    pane.getChildren().add(top);
    
    Button buttonLT = new Button("List Trains");
    
    AnchorPane right1 = new AnchorPane(buttonLT);
	
    right1.setBottomAnchor(buttonLT, 655.0);
    right1.setTopAnchor(buttonLT, 0.0);
    right1.setLeftAnchor(buttonLT, 850.0);
    right1.setRightAnchor(buttonLT, 0.0);
    
    pane.getChildren().add(right1);
    
    Button buttonLS = new Button("List Stations");
    AnchorPane right2 = new AnchorPane(buttonLS);
	
    //spacing to fix
    right2.setBottomAnchor(buttonLS, 550.0);
    right2.setTopAnchor(buttonLS, 200.0);
    right2.setLeftAnchor(buttonLS, 850.0);
    right2.setRightAnchor(buttonLS, 0.0);
    
    pane.getChildren().add(right2);
    
    Slider timeSlider = new Slider();
    timeSlider.setMin(0);
    timeSlider.setMax(100);
    timeSlider.setValue(40);
    timeSlider.setShowTickLabels(true);
    timeSlider.setShowTickMarks(true);
    timeSlider.setMajorTickUnit(50);
    timeSlider.setMinorTickCount(5);
    timeSlider.setBlockIncrement(1);
    
    AnchorPane right3 = new AnchorPane(timeSlider);
	
    right2.setBottomAnchor(timeSlider,0.0);
    right2.setTopAnchor(timeSlider, 600.0);
    right2.setLeftAnchor(timeSlider, 850.0);
    right2.setRightAnchor(timeSlider, 10.0);
    
    pane.getChildren().add(right3);
    
    Text speedText = new Text("Speed");
    speedText.setFont(Font.font("Lato", FontWeight.BOLD, 12));
    speedText.setFill(Color.BLACK);
    
    AnchorPane right4 = new AnchorPane(speedText);
    
    right4.setBottomAnchor(speedText, 100.0);
    right4.setLeftAnchor(speedText, 850.0);
    right4.setTopAnchor(speedText, 600.0);
    right4.setRightAnchor(speedText, 10.0);
    
    pane.getChildren().add(right4);
    
    
    Text passengerText = new Text("Passenger Num: ");
    passengerText.setFont(Font.font("Lato", FontWeight.BOLD, 12));
    passengerText.setFill(Color.BLACK);
    
    AnchorPane right5 = new AnchorPane(passengerText);
    
    right5.setBottomAnchor(passengerText, 400.0);
    right5.setLeftAnchor(passengerText, 850.0);
    right5.setTopAnchor(passengerText, 500.0);
    right5.setRightAnchor(passengerText, 10.0);
    
    pane.getChildren().add(right5);
    
    Path path = new Path();
    
    MoveTo move = new MoveTo();
    move.setX(800.0);
    move.setY(600.0);
    
    LineTo line = new LineTo();
    line.setX(800.0);
    line.setY(10.0);
    
    
    LineTo line2 = new LineTo();
    line2.setX(600.0);
    line2.setY(10.0);
    
    LineTo line3 = new LineTo();
    line3.setX(600.0);
    line3.setY(550.0);
    
    path.getElements().addAll(move, line, line2, line3);
    
    pane.getChildren().add(path);
    
    <commit_msg>Route path is no longer upside down<commit_after>
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.shape.MoveTo;
import javafx.scene.shape.LineTo;
import javafx.scene.control.Button;
import javafx.scene.control.Slider;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Path;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
import javafx.scene.text.Text;
import javafx.stage.Stage;




public class Main extends Application{


    @Override
    public void start(Stage stage) {
    	
    	
    	Text headerTitle = new Text("ReROUTE Simulator");
    headerTitle.setFont(Font.font("Lato", FontWeight.BOLD, 40));
    headerTitle.setFill(Color.BLACK);
    StackPane pane = new StackPane();
	
	AnchorPane top = new AnchorPane(headerTitle);
	
    top.setBottomAnchor(headerTitle, 352.0);
    top.setTopAnchor(headerTitle, 0.0);
    top.setLeftAnchor(headerTitle, 0.0);
    top.setRightAnchor(headerTitle, 201.0);
    
    pane.getChildren().add(top);
    
    Button buttonLT = new Button("List Trains");
    
    AnchorPane right1 = new AnchorPane(buttonLT);
	
    right1.setBottomAnchor(buttonLT, 655.0);
    right1.setTopAnchor(buttonLT, 0.0);
    right1.setLeftAnchor(buttonLT, 850.0);
    right1.setRightAnchor(buttonLT, 0.0);
    
    pane.getChildren().add(right1);
    
    Button buttonLS = new Button("List Stations");
    AnchorPane right2 = new AnchorPane(buttonLS);
	
    //spacing to fix
    right2.setBottomAnchor(buttonLS, 550.0);
    right2.setTopAnchor(buttonLS, 200.0);
    right2.setLeftAnchor(buttonLS, 850.0);
    right2.setRightAnchor(buttonLS, 0.0);
    
    pane.getChildren().add(right2);
    
    Slider timeSlider = new Slider();
    timeSlider.setMin(0);
    timeSlider.setMax(100);
    timeSlider.setValue(40);
    timeSlider.setShowTickLabels(true);
    timeSlider.setShowTickMarks(true);
    timeSlider.setMajorTickUnit(50);
    timeSlider.setMinorTickCount(5);
    timeSlider.setBlockIncrement(1);
    
    AnchorPane right3 = new AnchorPane(timeSlider);
	
    right2.setBottomAnchor(timeSlider,0.0);
    right2.setTopAnchor(timeSlider, 600.0);
    right2.setLeftAnchor(timeSlider, 850.0);
    right2.setRightAnchor(timeSlider, 10.0);
    
    pane.getChildren().add(right3);
    
    Text speedText = new Text("Speed");
    speedText.setFont(Font.font("Lato", FontWeight.BOLD, 12));
    speedText.setFill(Color.BLACK);
    
    AnchorPane right4 = new AnchorPane(speedText);
    
    right4.setBottomAnchor(speedText, 100.0);
    right4.setLeftAnchor(speedText, 850.0);
    right4.setTopAnchor(speedText, 600.0);
    right4.setRightAnchor(speedText, 10.0);
    
    pane.getChildren().add(right4);
    
    
    Text passengerText = new Text("Passenger Num: ");
    passengerText.setFont(Font.font("Lato", FontWeight.BOLD, 12));
    passengerText.setFill(Color.BLACK);
    
    AnchorPane right5 = new AnchorPane(passengerText);
    
    right5.setBottomAnchor(passengerText, 400.0);
    right5.setLeftAnchor(passengerText, 850.0);
    right5.setTopAnchor(passengerText, 500.0);
    right5.setRightAnchor(passengerText, 10.0);
    
    pane.getChildren().add(right5);
    
    Path path = new Path();
    
    MoveTo move = new MoveTo();
    move.setX(600.0);
    move.setY(10.0);
    
    LineTo line = new LineTo();
    line.setX(600.0);
    line.setY(600.0);
    
    
    LineTo line2 = new LineTo();
    line2.setX(800.0);
    line2.setY(600.0);
    
    LineTo line3 = new LineTo();
    line3.setX(800.0);
    line3.setY(10.0);
    
    path.getElements().addAll(move, line, line2, line3);
    
    pane.getChildren().add(path);
    
    
{'fraction_non_alphanumeric': 0.12746421820145828, 'fraction_numerical': 0.044558466108560624, 'mean_word_length': 3.4273759713090257, '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': '2852159', 'n_tokens_mistral': 2742, 'n_tokens_neox': 2572, 'n_words': 414}