<commit_before>/**
 * 
 */
package de.simulation.jfx;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane; 
import javafx.stage.Stage;
import javafx.application.Application; 
import de.simulation.jfx.event.UserEvent;

/**
 * @author ts
 *
 */
public class Simulation extends Application {

	/**
	 * @param args
	 */

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

	}

	@Override
	public void start(Stage priStage) throws Exception {

		priStage.setTitle("Simulation");
		GridPane grid = new GridPane();
		grid.setAlignment(Pos.CENTER);
		grid.setHgap(10);
		grid.setVgap(10);
		grid.setPadding(new Insets(25, 25, 25, 25));

		Label noEvent = new Label("Enter number of events");
		grid.add(noEvent, 0, 1);
		final TextField field1 = new TextField();
		grid.add(field1, 1, 1);
		Button btn = new Button();
		btn.setText("Apply");
		grid.add(btn, 0, 2);
		btn.setOnAction(new EventHandler<ActionEvent>() {
			public void handle(ActionEvent event) {
				// Parse the number of events from the GUI
				int no = Integer.parseInt(field1.getText());
				// Generare the events
				for (int i = 0; i < no; i++) {
					UserEvent uEvent = new UserEvent();
					System.out.println(uEvent.toString());

				}
			}
		});

		// Display the GUI
		Scene scene = new Scene(grid, 350, 275);
		priStage.setScene(scene);
		priStage.show();

	}

}
<commit_msg>Changed the type from int to long to correct parsing error with the large event size<commit_after>/**
 * 
 */
package de.simulation.jfx;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane; 
import javafx.stage.Stage;
import javafx.application.Application; 
import de.simulation.jfx.event.UserEvent;

/**
 * @author ts
 *
 */
public class Simulation extends Application {

	/**
	 * @param args
	 */

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

	}

	@Override
	public void start(Stage priStage) throws Exception {

		priStage.setTitle("Simulation");
		GridPane grid = new GridPane();
		grid.setAlignment(Pos.CENTER);
		grid.setHgap(10);
		grid.setVgap(10);
		grid.setPadding(new Insets(25, 25, 25, 25));

		Label noEvent = new Label("Enter number of events");
		grid.add(noEvent, 0, 1);
		final TextField field1 = new TextField();
		grid.add(field1, 1, 1);
		Button btn = new Button();
		btn.setText("Apply");
		grid.add(btn, 0, 2);
		btn.setOnAction(new EventHandler<ActionEvent>() {
			public void handle(ActionEvent event) {
				// Parse the number of events from the GUI
				long no = Long.parseLong(field1.getText());
				// Generare the events
				for (long i = 0; i < no; i++) {
					UserEvent uEvent = new UserEvent();
					System.out.println(uEvent.toString());

				}
			}
		});

		// Display the GUI
		Scene scene = new Scene(grid, 350, 275);
		priStage.setScene(scene);
		priStage.show();

	}

}

{'fraction_non_alphanumeric': 0.13349588540079244, 'fraction_numerical': 0.01706796708320634, 'mean_word_length': 3.7427745664739884, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4212946', 'n_tokens_mistral': 1256, 'n_tokens_neox': 1067, 'n_words': 277}