<commit_before>import org.codehaus.groovy.grails.test.support.GrailsTestMode

def fitnesseTestTypeClassName = 'nl.jworks.grails.plugin.fitnesse.testrunner.GrailsFitnesseTestType'

def loadedTestTypes = []
def runningTests = false
fitnesseTests = []
def testMode = new GrailsTestMode(autowire: true)

softLoadFitnesseClass = { className ->
    try {
        classLoader.loadClass(className)
    } catch (ClassNotFoundException e) {
        e.printStackTrace()
    }
}

tryToLoadFitnesseTestType = {name, typeClassName ->
    if (name in loadedTestTypes) return
    if (!binding.variables.containsKey("otherTests")) return
    
    def typeClass = softLoadFitnesseClass(typeClassName)<commit_msg>Remove stack trace print when unable to load class.<commit_after>import org.codehaus.groovy.grails.test.support.GrailsTestMode

def fitnesseTestTypeClassName = 'nl.jworks.grails.plugin.fitnesse.testrunner.GrailsFitnesseTestType'

def loadedTestTypes = []
def runningTests = false
fitnesseTests = []
def testMode = new GrailsTestMode(autowire: true)

softLoadFitnesseClass = { className ->
    try {
        classLoader.loadClass(className)
    } catch (ClassNotFoundException e) {
        null
    }
}

tryToLoadFitnesseTestType = {name, typeClassName ->
    if (name in loadedTestTypes) return
    if (!binding.variables.containsKey("otherTests")) return
    
    def typeClass = softLoadFitnesseClass(typeClassName)
{'fraction_non_alphanumeric': 0.09071580439404678, 'fraction_numerical': 0.0, 'mean_word_length': 4.5810276679841895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7211698', 'n_tokens_mistral': 442, 'n_tokens_neox': 426, 'n_words': 83}