<commit_before>package com.github.TKnudsen.timeseries.test;

import java.util.ArrayList;
import java.util.List;

import com.github.TKnudsen.timeseries.data.dataGeneration.TimeSeriesGenerator;
import com.github.TKnudsen.timeseries.data.multivariate.ITimeSeriesMultivariate;
import com.github.TKnudsen.timeseries.data.multivariate.TimeSeriesMultivariate;
import com.github.TKnudsen.timeseries.data.primitives.TimeDuration;
import com.github.TKnudsen.timeseries.data.primitives.TimeQuantization;
import com.github.TKnudsen.timeseries.data.univariate.ITimeSeriesUnivariate;
import com.github.TKnudsen.timeseries.data.univariate.TimeSeriesUnivariate;
import com.github.TKnudsen.timeseries.operations.preprocessing.multivariate.EquidistanceProcessor;
import com.github.TKnudsen.timeseries.operations.tools.DateTools;

public class EquidistanceProcessorTester {

	public static void main(String[] args) {

		List<ITimeSeriesMultivariate> tSList1 = generateCustomNonEquiMultivariateTimeSeriesList(0);
		List<ITimeSeriesMultivariate> tSList2 = generateRandomNonEquiMultivariateTimeSeriesList();
		List<ITimeSeriesMultivariate> tSList3 = generateRandomEquiMultivariateTimeSeriesList();
		List<ITimeSeriesMultivariate> tSList4 = generateCustomNonEquiMultivariateTimeSeriesList(1);

		EquidistanceProcessor processor = new EquidistanceProcessor();

		System.out.println("Test 1 - Before:" + "\n");
		printTimeStamps(tSList1);

		processor.process(tSList1);

		System.out.println("\n" + "Test 1 - After:");
		printTimeStamps(tSList1);

		System.out.println("\n" + "Test 2 - Before:");
		printTimeStamps(tSList2);

		processor.process(tSList2);

		System.out.println("\n" + "Test 2 - After:");
		printTimeStamps(tSList2);

		System.out.println("\n" + "Test 3 - Before:");
		printTimeStamps(tSList3);

		processor.process(tSList3);

		System.out.println("\n" + "Test 3 - After:");<commit_msg>add test line<commit_after>package com.github.TKnudsen.timeseries.test;

import java.util.ArrayList;
import java.util.List;

import com.github.TKnudsen.timeseries.data.dataGeneration.TimeSeriesGenerator;
import com.github.TKnudsen.timeseries.data.multivariate.ITimeSeriesMultivariate;
import com.github.TKnudsen.timeseries.data.multivariate.TimeSeriesMultivariate;
import com.github.TKnudsen.timeseries.data.primitives.TimeDuration;
import com.github.TKnudsen.timeseries.data.primitives.TimeQuantization;
import com.github.TKnudsen.timeseries.data.univariate.ITimeSeriesUnivariate;
import com.github.TKnudsen.timeseries.data.univariate.TimeSeriesUnivariate;
import com.github.TKnudsen.timeseries.operations.preprocessing.multivariate.EquidistanceProcessor;
import com.github.TKnudsen.timeseries.operations.tools.DateTools;

public class EquidistanceProcessorTester {

	public static void main(String[] args) {

		List<ITimeSeriesMultivariate> tSList1 = generateCustomNonEquiMultivariateTimeSeriesList(0);
		List<ITimeSeriesMultivariate> tSList2 = generateRandomNonEquiMultivariateTimeSeriesList();
		List<ITimeSeriesMultivariate> tSList3 = generateRandomEquiMultivariateTimeSeriesList();
		List<ITimeSeriesMultivariate> tSList4 = generateCustomNonEquiMultivariateTimeSeriesList(1);
		
		//tSList1.get(0).removeTimeValue(tSList1.get(0).getLastTimestamp());

		EquidistanceProcessor processor = new EquidistanceProcessor();

		System.out.println("Test 1 - Before:" + "\n");
		printTimeStamps(tSList1);

		processor.process(tSList1);

		System.out.println("\n" + "Test 1 - After:");
		printTimeStamps(tSList1);

		System.out.println("\n" + "Test 2 - Before:");
		printTimeStamps(tSList2);

		processor.process(tSList2);

		System.out.println("\n" + "Test 2 - After:");
		printTimeStamps(tSList2);

		System.out.println("\n" + "Test 3 - Before:");
		printTimeStamps(tSList3);

		processor.process(tSList3);

		System.out.println("\n" + "Test 3 - After:");
{'fraction_non_alphanumeric': 0.11729362591431557, 'fraction_numerical': 0.011494252873563218, 'mean_word_length': 6.673346693386773, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5329107', 'n_tokens_mistral': 1400, 'n_tokens_neox': 1229, 'n_words': 162}