<commit_before>package br.inpe.cap.evolution;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;

import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
import org.eclipse.jgit.api.errors.GitAPIException;
import org.repodriller.RepoDriller;
import org.repodriller.RepositoryMining;
import org.repodriller.Study;
import org.repodriller.filter.commit.OnlyInMainBranch;
import org.repodriller.filter.commit.OnlyModificationsWithFileTypes;
import org.repodriller.filter.commit.OnlyNoMerge;
import org.repodriller.filter.range.CommitRange;
import org.repodriller.filter.range.Commits;
import org.repodriller.persistence.csv.CSVFile;
import org.repodriller.scm.GitRemoteRepository;

import br.inpe.cap.evolution.maven.ConfigurableMavenEffectivePom.OS;
import br.inpe.cap.evolution.visitor.AllDependenciesEvolutionVisitor;

public class AllDependencyVersionsEvolutionStudyNOTE implements Study {

	private static final int THREADS_FOR_REPOSITORIES = 5;
	private static final String STUDY_TEMP_PATH = "C:\\metricminer-evolution-stars"; // System.getenv("STUDY_TEMP_PATH");
	private static final String FOUNTAIN_PATH = "fountain" + File.separator;

	private static final String STUDY_LOG_PATH = "." + File.separator + "study" + File.separator + "all_dependency_detector" + File.separator;
	private static final String EVOLUTION_LOG_PATH = STUDY_LOG_PATH + "evolutions-NOTE";
	
	private static final String FILE_PREFIX = "checkout-all_dependency_detector_next10-12-NOTE";

	private static final File GITHUB_URLS_FILE = new File(FOUNTAIN_PATH+"stars-maven_next10.urls");
	private static final File GITHUB_DONE_FILE = new File(STUDY_LOG_PATH+"done-github_" + FILE_PREFIX + ".txt");
	private static final File CONTINUE_COMMIT_FILE = new File(STUDY_LOG_PATH + FILE_PREFIX + "-continue.properties");
	private static final File EXCEPTION_FILE = new File(STUDY_LOG_PATH + "exceptions-all_dependency-NOTE.log");
	private static final Properties properties = new Properties();
	
	private static Logger log;
	
	public static void main(final String[] args) throws Exception {
		System.setProperty("git.maxfiles", "2000");
		System.setProperty("logfilename", FILE_PREFIX + "_run34");
		log = Logger.getLogger(RepositoryMining.class);
		AllDependenciesEvolutionVisitor.setLogger(log);
		Thread.currentThread().setName(FILE_PREFIX);
		<commit_msg>Prepare to run next 10-12 run 37<commit_after>package br.inpe.cap.evolution;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;

import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
import org.eclipse.jgit.api.errors.GitAPIException;
import org.repodriller.RepoDriller;
import org.repodriller.RepositoryMining;
import org.repodriller.Study;
import org.repodriller.filter.commit.OnlyInMainBranch;
import org.repodriller.filter.commit.OnlyModificationsWithFileTypes;
import org.repodriller.filter.commit.OnlyNoMerge;
import org.repodriller.filter.range.CommitRange;
import org.repodriller.filter.range.Commits;
import org.repodriller.persistence.csv.CSVFile;
import org.repodriller.scm.GitRemoteRepository;

import br.inpe.cap.evolution.maven.ConfigurableMavenEffectivePom.OS;
import br.inpe.cap.evolution.visitor.AllDependenciesEvolutionVisitor;

public class AllDependencyVersionsEvolutionStudyNOTE implements Study {

	private static final int THREADS_FOR_REPOSITORIES = 5;
	private static final String STUDY_TEMP_PATH = "C:\\metricminer-evolution-stars"; // System.getenv("STUDY_TEMP_PATH");
	private static final String FOUNTAIN_PATH = "fountain" + File.separator;

	private static final String STUDY_LOG_PATH = "." + File.separator + "study" + File.separator + "all_dependency_detector" + File.separator;
	private static final String EVOLUTION_LOG_PATH = STUDY_LOG_PATH + "evolutions-NOTE";
	
	private static final String FILE_PREFIX = "checkout-all_dependency_detector_next10-12-NOTE";

	private static final File GITHUB_URLS_FILE = new File(FOUNTAIN_PATH+"stars-maven_next10.urls");
	private static final File GITHUB_DONE_FILE = new File(STUDY_LOG_PATH+"done-github_" + FILE_PREFIX + ".txt");
	private static final File CONTINUE_COMMIT_FILE = new File(STUDY_LOG_PATH + FILE_PREFIX + "-continue.properties");
	private static final File EXCEPTION_FILE = new File(STUDY_LOG_PATH + "exceptions-all_dependency-NOTE.log");
	private static final Properties properties = new Properties();
	
	private static Logger log;
	
	public static void main(final String[] args) throws Exception {
		System.setProperty("git.maxfiles", "2000");
		System.setProperty("logfilename", FILE_PREFIX + "_run37");
		log = Logger.getLogger(RepositoryMining.class);
		AllDependenciesEvolutionVisitor.setLogger(log);
		Thread.currentThread().setName(FILE_PREFIX);
		
{'fraction_non_alphanumeric': 0.09838862559241707, 'fraction_numerical': 0.0064454976303317535, 'mean_word_length': 6.515669515669516, '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': '5045314', 'n_tokens_mistral': 1745, 'n_tokens_neox': 1642, 'n_words': 332}