<commit_before>assert mavenExitCode == 0, "The maven build should not have failed!"

def product = project.properties['shitty.product']
product = 'amps'.equals(product) ? 'refapp' : product

def surefireReports = new File(basedir, 'target/shitty-it-surefire-reports')
assert !surefireReports.exists(), "No unit test should have been run, see $surefireReports.absolutePath"

def integrationSurefireReports = new File(basedir, "target/$product/tomcat6x/surefire-reports")
assert integrationSurefireReports.exists(), "Integration tests should have run and created test reports in $integrationSurefireReports"

assert new File(integrationSurefireReports, 'it.com.atlassian.amps.IntegrationTest.txt').exists(), "IntegrationTest.txt file did not exist"
assert !new File(integrationSurefireReports, 'com.atlassian.amps.unit.UnitTest.txt').exists(), "UnitTest.txt file should not exist"<commit_msg>Fixing shitty tests with new test group name in test results...may change later<commit_after>assert mavenExitCode == 0, "The maven build should not have failed!"

def product = project.properties['shitty.product']
product = 'amps'.equals(product) ? 'refapp' : product

def surefireReports = new File(basedir, 'target/shitty-it-surefire-reports')
assert !surefireReports.exists(), "No unit test should have been run, see $surefireReports.absolutePath"

def integrationSurefireReports = new File(basedir, "target/group-__no_test_group__/tomcat6x/surefire-reports")
assert integrationSurefireReports.exists(), "Integration tests should have run and created test reports in $integrationSurefireReports"

assert new File(integrationSurefireReports, 'it.com.atlassian.amps.IntegrationTest.txt').exists(), "IntegrationTest.txt file did not exist"
assert !new File(integrationSurefireReports, 'com.atlassian.amps.unit.UnitTest.txt').exists(), "UnitTest.txt file should not exist"
{'fraction_non_alphanumeric': 0.10800644814615798, 'fraction_numerical': 0.0021493820526598604, 'mean_word_length': 7.0606060606060606, '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': '4150328', 'n_tokens_mistral': 544, 'n_tokens_neox': 534, 'n_words': 149}