<commit_before>package testing;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.scene.shape.Line;
import javafx.stage.Stage;
import jfxtras.labs.util.event.MouseControlUtil;
import layout.panes.PhysicalVBox;

/**
 * An abstract template for example applications. This class creates the basic
 * prerequisites (layout and simulation) along with a GUI to start, stop and
 * reset the simulation.
 *
 * @author <NAME> &lt;<EMAIL>&gt;
 */
public class VBoxTest extends Application {

    public static final int WIDTH = 1024;
    public static final int HEIGHT = 768;
    public static final int NODE_COUNT = 10;
    public static final int NODE_SIZE = 10;

    VBox canvas;
    Pane root;
    Stage primaryStage;
    private final Circle[] circles;

    /**
     * Super-constructor for all examples.
     */
    public VBoxTest() {
        circles = new Circle[NODE_COUNT];
        for (int i = 0; i < NODE_COUNT; i++) {
            circles[i] = new Circle();
            circles[i].setFill(Color.hsb(360.0 * i / NODE_COUNT, 1.0, 0.5));
            circles[i].setRadius(NODE_SIZE);
        }
        //MouseControlUtil.makeDraggable(circles[1]);
        canvas = new PhysicalVBox(10, circles);
        for (int i = 0; i < NODE_COUNT - 1; i++) {
            Line line = new Line();
            line.setFill(Color.BLACK);
            line.setStroke(Color.BLACK);<commit_msg>update HBox code to match VBox<commit_after>package testing;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.scene.shape.Line;
import javafx.stage.Stage;
import jfxtras.labs.util.event.MouseControlUtil;
import layout.panes.PhysicalVBox;

/**
 * An abstract template for example applications. This class creates the basic
 * prerequisites (layout and simulation) along with a GUI to start, stop and
 * reset the simulation.
 *
 * @author <NAME> &lt;<EMAIL>&gt;
 */
public class VBoxTest extends Application {

    public static final int WIDTH = 1024;
    public static final int HEIGHT = 768;
    public static final int NODE_COUNT = 10;
    public static final int NODE_SIZE = 10;

    VBox canvas;
    Pane root;
    Stage primaryStage;
    private final Circle[] circles;

    /**
     * Super-constructor for all examples.
     */
    public VBoxTest() {
        circles = new Circle[NODE_COUNT];
        for (int i = 0; i < NODE_COUNT; i++) {
            circles[i] = new Circle();
            circles[i].setFill(Color.hsb(360.0 * i / NODE_COUNT, 1.0, 0.5));
            circles[i].setRadius(NODE_SIZE);
        }

        //MouseControlUtil.makeDraggable(circles[1]);
        canvas = new PhysicalVBox(10, circles);
        for (int i = 0; i < NODE_COUNT - 1; i++) {
            Line line = new Line();
            line.setFill(Color.BLACK);
            line.setStroke(Color.BLACK);
{'fraction_non_alphanumeric': 0.11003236245954692, 'fraction_numerical': 0.016181229773462782, 'mean_word_length': 2.8880503144654086, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 7, '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': '1063300', 'n_tokens_mistral': 995, 'n_tokens_neox': 945, 'n_words': 272}