<commit_before><?xml version="1.0" encoding="UTF-8"?>

<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.chart.LineChart?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.ToolBar?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.Scene?>
<?import javafx.stage.Stage?>

<fx:root type="Stage" xmlns:fx="http://javafx.com/fxml/1" title="%chart.historychart.title" minWidth="320" minHeight="240">
	<scene>
		<Scene stylesheets="@/prob.css">
			<AnchorPane>
				<SplitPane dividerPositions="0.25" AnchorPane.topAnchor="0.0"
					AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
					AnchorPane.rightAnchor="0.0">
					<BorderPane>
						<top>
							<ToolBar>
								<Button fx:id="addButton" onAction="#handleAdd"
									alignment="CENTER" contentDisplay="GRAPHIC_ONLY">
									<graphic>
										<FontAwesomeIconView glyphName="PLUS_CIRCLE" />
									</graphic>
								</Button>
								<Button fx:id="removeButton" onAction="#handleRemove"
									alignment="CENTER" contentDisplay="GRAPHIC_ONLY">
									<graphic>
										<FontAwesomeIconView glyphName="MINUS_CIRCLE" />
									</graphic>
								</Button>
							</ToolBar>
						</top>
						<center>
							<ListView fx:id="formulaList" editable="true" />
						</center>
						<bottom>
							<VBox spacing="10.0">
								<padding>
									<Insets top="12.0" bottom="12.0" right="10.0" left="10.0" />
								</padding>
								<CheckBox fx:id="separateChartsCheckBox" text="%chart.historychart.separateCharts" />
								<VBox spacing="5.0">
									<Label text="%chart.historychart.startPosition">
										<labelFor>
											<ChoiceBox fx:id="startChoiceBox" />
										</labelFor>
									</Label>
									<fx:reference source="startChoiceBox" />
								</VBox>
							</VBox>
						</bottom>
					</BorderPane>
					<AnchorPane>
						<FlowPane fx:id="chartsPane" AnchorPane.topAnchor="0.0"
					AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
					AnchorPane.rightAnchor="0.0">
							<LineChart fx:id="singleChart" styleClass="history-chart">
								<xAxis>
									<NumberAxis styleClass="time-axis" autoRanging="false"
										tickUnit="1.0" upperBound="1.0" />
								</xAxis>
								<yAxis>
									<NumberAxis />
								</yAxis>
							</LineChart>
						</FlowPane>
					</AnchorPane>
				</SplitPane>
			</AnchorPane>
		</Scene>
	</scene>
</fx:root>
<commit_msg>Fix history chart layout issues (PROB2UI-120)<commit_after><?xml version="1.0" encoding="UTF-8"?>

<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.chart.LineChart?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.ToolBar?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.Scene?>
<?import javafx.stage.Stage?>

<fx:root type="Stage" xmlns:fx="http://javafx.com/fxml/1" title="%chart.historychart.title" minWidth="320" minHeight="240">
	<scene>
		<Scene stylesheets="@/prob.css">
			<AnchorPane>
				<SplitPane dividerPositions="0.25" AnchorPane.topAnchor="0.0"
					AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
					AnchorPane.rightAnchor="0.0">
					<BorderPane>
						<top>
							<ToolBar>
								<Button fx:id="addButton" onAction="#handleAdd"
									alignment="CENTER" contentDisplay="GRAPHIC_ONLY">
									<graphic>
										<FontAwesomeIconView glyphName="PLUS_CIRCLE" />
									</graphic>
								</Button>
								<Button fx:id="removeButton" onAction="#handleRemove"
									alignment="CENTER" contentDisplay="GRAPHIC_ONLY">
									<graphic>
										<FontAwesomeIconView glyphName="MINUS_CIRCLE" />
									</graphic>
								</Button>
							</ToolBar>
						</top>
						<center>
							<ListView fx:id="formulaList" editable="true" />
						</center>
						<bottom>
							<VBox spacing="10.0">
								<padding>
									<Insets top="12.0" bottom="12.0" right="10.0" left="10.0" />
								</padding>
								<CheckBox fx:id="separateChartsCheckBox" text="%chart.historychart.separateCharts" />
								<VBox spacing="5.0">
									<Label text="%chart.historychart.startPosition">
										<labelFor>
											<ChoiceBox fx:id="startChoiceBox" />
										</labelFor>
									</Label>
									<fx:reference source="startChoiceBox" />
								</VBox>
							</VBox>
						</bottom>
					</BorderPane>
					<FlowPane fx:id="chartsPane" minWidth="160" minHeight="160" maxWidth="Infinity" maxHeight="Infinity" prefWrapLength="640">
						<LineChart fx:id="singleChart" styleClass="history-chart">
							<xAxis>
								<NumberAxis styleClass="time-axis" autoRanging="false" tickUnit="1.0" upperBound="1.0" />
							</xAxis>
							<yAxis>
								<NumberAxis />
							</yAxis>
						</LineChart>
					</FlowPane>
				</SplitPane>
			</AnchorPane>
		</Scene>
	</scene>
</fx:root>

{'fraction_non_alphanumeric': 0.1663124335812965, 'fraction_numerical': 0.018597236981934114, 'mean_word_length': 3.130943672275055, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 2, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '2559502', 'n_tokens_mistral': 2642, 'n_tokens_neox': 1876, 'n_words': 282}