<commit_before>package gov.ornl.stucco.relationprediction;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.lang.management.ManagementFactory;
import java.util.ArrayList;
import java.util.Arrays;

import libsvm.svm;




public class RunRelationSVMs
{
	private static String pid;	//In the even that we have multiple instances of this program running, we will use each process's pid to ensure that their temporary files do not interfere with eachother.
	static
	{
		pid = ManagementFactory.getRuntimeMXBean().getName();
		//pid = pid.replaceAll("@", "");
		//pid = pid.substring(0, pid.indexOf('.'));
	}
	
	
	//We may have previously run this program and thus have already trained some model files.  Set this to false if we do not want to train a new model in this case.
	private static boolean alwaysretrain = true;
	
	//This program is very expensive to run, so if this variable gets turned on, we will run it on only a subset of the available data to save time.  This should be good enough to let us know if the program is working alright.
	private static boolean testingprogram = true;
	<commit_msg>Fixed one dependency necessary for building the project.<commit_after>package gov.ornl.stucco.relationprediction;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.lang.management.ManagementFactory;
import java.util.ArrayList;
import java.util.Arrays;




public class RunRelationSVMs
{
	private static String pid;	//In the even that we have multiple instances of this program running, we will use each process's pid to ensure that their temporary files do not interfere with eachother.
	static
	{
		pid = ManagementFactory.getRuntimeMXBean().getName();
		//pid = pid.replaceAll("@", "");
		//pid = pid.substring(0, pid.indexOf('.'));
	}
	
	
	//We may have previously run this program and thus have already trained some model files.  Set this to false if we do not want to train a new model in this case.
	private static boolean alwaysretrain = true;
	
	//This program is very expensive to run, so if this variable gets turned on, we will run it on only a subset of the available data to save time.  This should be good enough to let us know if the program is working alright.
	private static boolean testingprogram = true;
	
{'fraction_non_alphanumeric': 0.07662082514734773, 'fraction_numerical': 0.0007858546168958742, 'mean_word_length': 4.293139293139293, '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': '6990301', 'n_tokens_mistral': 716, 'n_tokens_neox': 688, 'n_words': 313}