<commit_before>package br.ufes.inf.lprm.scene;

import org.drools.builder.KnowledgeBuilder;
import org.drools.builder.KnowledgeBuilderConfiguration;
import org.drools.builder.KnowledgeBuilderFactory;

import br.ufes.inf.lprm.scene.base.SituationHelper;

public class SituationKnowledgeBuilderFactory {
	
    public static KnowledgeBuilder newKnowledgeBuilder() {

    	KnowledgeBuilderConfiguration builderConf = KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration();
        SituationHelper.setBuilderConfSituationAwareness(builderConf);     
        KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(builderConf);
        SituationHelper.setKnowledgeBuilderSituationAwareness(kbuilder);
        return kbuilder;
        
    }
    
    public static KnowledgeBuilder newKnowledgeBuilder(KnowledgeBuilderConfiguration conf) {

        SituationHelper.setBuilderConfSituationAwareness(conf);     
        KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(conf);
        SituationHelper.setKnowledgeBuilderSituationAwareness(kbuilder);
        return kbuilder;
        
    }    

}
<commit_msg>fixing newKnowledgeBuilder() method<commit_after>package br.ufes.inf.lprm.scene;

import org.drools.builder.KnowledgeBuilder;
import org.drools.builder.KnowledgeBuilderConfiguration;
import org.drools.builder.KnowledgeBuilderFactory;

import br.ufes.inf.lprm.scene.base.SituationHelper;

public class SituationKnowledgeBuilderFactory {
	
    public static KnowledgeBuilder newKnowledgeBuilder() {

    	KnowledgeBuilderConfiguration builderConf = KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration();
        SituationHelper.setBuilderConfSituationAwareness(builderConf);  
        KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(builderConf);
        SituationHelper.setKnowledgeBuilderSituationAwareness(kbuilder);
        return kbuilder;
        
    }
    
    public static KnowledgeBuilder newKnowledgeBuilder(KnowledgeBuilderConfiguration conf) {

        SituationHelper.setBuilderConfSituationAwareness(conf);     
        KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(conf);
        SituationHelper.setKnowledgeBuilderSituationAwareness(kbuilder);
        return kbuilder;
        
    }    

}

{'fraction_non_alphanumeric': 0.06081370449678801, 'fraction_numerical': 0.0, 'mean_word_length': 4.333333333333333, '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': '831807', 'n_tokens_mistral': 656, 'n_tokens_neox': 582, 'n_words': 80}