<commit_before>package teste;



import java.util.Date;

import enuns.Status;
import objetos.Artefato;
import objetos.Backup;
import objetos.RegraBackup;
import objetos.Versao;
import iteradores.IteradorBackups;
import historicos.HistoricoBackups;

public class Principal {
	public static void main (String [] args ){
		HistoricoBackups hb = new HistoricoBackups();
		for( int i = 0 ; i < 100 ; i ++){
			Backup b = new Backup("Meus codigos",new Date().toString(), new RegraBackup("Aqui"+i,"Ali2"));
			b = hb.salvar(b);
			System.out.println("Minha primaryKey Backup : " + b.primaryKey +" PrimaryKey Regra : " + b.getRegra().primaryKey);
			
			Versao v = b.salvarVersao(new Versao(new Date(),Status.SUCESSO));
			System.out.println("Minha id " + v.primaryKey);
			Artefato a = v.salvarArtefato(new Artefato(new Date()));
			System.out.println("Minha id " + a.primaryKey);
		}
		
		IteradorBackups ib = hb.obterHistorico();
		
		while(ib.hasNext()){
			Backup br = ib.next();
			<commit_msg>Pq me mandaram, porra!<commit_after>package teste;



import java.util.Date;

import enuns.Status;
import objetos.Artefato;
import objetos.Backup;
import objetos.RegraBackup;
import objetos.Versao;
import iteradores.IteradorBackups;
import historicos.HistoricoBackups;

//OS ARVOROS SOMOS NOZES

public class Principal {
	public static void main (String [] args ){
		HistoricoBackups hb = new HistoricoBackups();
		for( int i = 0 ; i < 100 ; i ++){
			Backup b = new Backup("Meus codigos",new Date().toString(), new RegraBackup("Aqui"+i,"Ali2"));
			b = hb.salvar(b);
			System.out.println("Minha primaryKey Backup : " + b.primaryKey +" PrimaryKey Regra : " + b.getRegra().primaryKey);
			
			Versao v = b.salvarVersao(new Versao(new Date(),Status.SUCESSO));
			System.out.println("Minha id " + v.primaryKey);
			Artefato a = v.salvarArtefato(new Artefato(new Date()));
			System.out.println("Minha id " + a.primaryKey);
		}
		
		IteradorBackups ib = hb.obterHistorico();
		
		while(ib.hasNext()){
			Backup br = ib.next();
			
{'fraction_non_alphanumeric': 0.1406636948984646, 'fraction_numerical': 0.004952947003467063, 'mean_word_length': 4.274151436031332, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7453620', 'n_tokens_mistral': 795, 'n_tokens_neox': 719, 'n_words': 163}