<commit_before>import java.awt.Rectangle;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
import javafx.scene.text.Text;
import javafx.stage.Stage;
import javax.swing.text.html.ListView;

import javafx.application.Application;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
import javafx.scene.text.Text;
import javafx.stage.Stage;



public class ReRouteInterface 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 right = new AnchorPane(buttonLT);
	
    right.setBottomAnchor(buttonLT, 600.0);
    right.setTopAnchor(buttonLT, 0.0);
    right.setLeftAnchor(buttonLT, 850.0);
    right.setRightAnchor(buttonLT, 0.0);
    
    pane.getChildren().add(right);
    
    Button buttonLS = new Button("List Stations");
    AnchorPane left = new AnchorPane(buttonLS);
	
    left.setBottomAnchor(buttonLT, 400.0);
    left.setTopAnchor(buttonLT, 200.0);
    left.setLeftAnchor(buttonLT, 850.0);
    left.setRightAnchor(buttonLT, 0.0);
    
    pane.getChildren().add(left);
    
    

    Scene scene = new Scene(pane, 1000, 900);
    stage.setScene(scene);
    stage.show();
  
    		
    }

    
    
    
    public static void main(String[] args) {
        launch(args);
    }
}
<commit_msg>Added slider for acceleration of simulator<commit_after>import javafx.application.Application;
import javafx.scene.Scene;
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.text.Font;
import javafx.scene.text.FontWeight;
import javafx.scene.text.Text;
import javafx.stage.Stage;



public class ReRouteInterface 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);
	
    //spacing to fix
    right2.setBottomAnchor(timeSlider,0.0);
    right2.setTopAnchor(timeSlider, 600.0);
    right2.setLeftAnchor(timeSlider, 850.0);
    right2.setRightAnchor(timeSlider, 10.0);
    
    pane.getChildren().add(right3);
    

    Scene scene = new Scene(pane, 1000, 900);
    stage.setScene(scene);
    stage.show();
  
    		
    }

    
    
    
    public static void main(String[] args) {
        launch(args);
    }
}

{'fraction_non_alphanumeric': 0.11782977842203354, 'fraction_numerical': 0.02795609857113274, 'mean_word_length': 3.6264367816091956, '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': '2852158', 'n_tokens_mistral': 1703, 'n_tokens_neox': 1589, 'n_words': 283}