<commit_before>includeTargets << grailsScript("_GrailsInit")

target(createRoute: "Creates a new Camel Route.") {
    typeName = "Route"
    artifactName = "Route"
    artifactPath = "grails-app/routes"

    createArtifact()
}

setDefaultTarget(createRoute)<commit_msg>#33 Fill in createArtifact arguments<commit_after>includeTargets << grailsScript("_GrailsInit")
includeTargets << grailsScript("_GrailsCreateArtifacts")

target(createRoute: "Creates a new Camel Route.") {
    name = argsMap.params ? argsMap.params[0] : 'Example'
    typeName = "Route"
    artifactName = "Route"
    artifactPath = "grails-app/routes"

    createArtifact(type: typeName, path: artifactPath, name: name, suffix: 'Route')
}

setDefaultTarget(createRoute)
{'fraction_non_alphanumeric': 0.12043301759133965, 'fraction_numerical': 0.0040595399188092015, 'mean_word_length': 5.491228070175438, 'pattern_counts': {'":': 0, '<': 9, '<?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': '4409807', 'n_tokens_mistral': 242, 'n_tokens_neox': 231, 'n_words': 48}