<commit_before>import codecs
import datetime
import logging
import os
import re
import shutil
import socket
import sqlite3
import subprocess
import sys
from sys import platform as _platform
import time
import traceback
import xml
from xml.dom.minidom import parse, parseString
import Emailer
from regression_utils import *

def compile(errore, attachli, parsedin, branch):
    global to
    global server
    global subj
    global email_enabled 
    global redo
    global tryredo
    global failedbool
    global errorem
    errorem = errore
    global attachl
    attachl = attachli
    global passed
    global parsed
    parsed = parsedin
    passed = True
    tryredo = False
    redo = True
    while(redo):
        passed = True
        if(passed):
            gitPull("sleuthkit", branch)
        if(passed):
            vsBuild()
            print("TSK") 
        if(passed):
            gitPull("autopsy", branch)
        if(passed):
            antBuild("datamodel", False)
            print("DataModel")
        if(passed):
            antBuild("autopsy", True, branch)
            print("Aut")
        if(passed):
            redo = False
        else:
            print("Compile Failed")
            time.sleep(3600)
    attachl = []
    errorem = "The test standard didn't match the gold standard.\n"
    failedbool = False
    if(tryredo):
        errorem = ""
        errorem += "Rebuilt properly.\n"
        if email_enabled: <commit_msg>One more addition of branch information to the regression test emails.<commit_after>import codecs
import datetime
import logging
import os
import re
import shutil
import socket
import sqlite3
import subprocess
import sys
from sys import platform as _platform
import time
import traceback
import xml
from xml.dom.minidom import parse, parseString
import Emailer
from regression_utils import *

def compile(errore, attachli, parsedin, branch):
    global to
    global server
    global subj
    global email_enabled 
    global redo
    global tryredo
    global failedbool
    global errorem
    errorem = errore
    global attachl
    attachl = attachli
    global passed
    global parsed
    parsed = parsedin
    passed = True
    tryredo = False
    redo = True
    while(redo):
        passed = True
        if(passed):
            gitPull("sleuthkit", branch)
        if(passed):
            vsBuild()
            print("TSK") 
        if(passed):
            gitPull("autopsy", branch)
        if(passed):
            antBuild("datamodel", False, branch)
            print("DataModel")
        if(passed):
            antBuild("autopsy", True, branch)
            print("Aut")
        if(passed):
            redo = False
        else:
            print("Compile Failed")
            time.sleep(3600)
    attachl = []
    errorem = "The test standard didn't match the gold standard.\n"
    failedbool = False
    if(tryredo):
        errorem = ""
        errorem += "Rebuilt properly.\n"
        if email_enabled: 
{'fraction_non_alphanumeric': 0.07317891910036925, 'fraction_numerical': 0.003356831151393085, 'mean_word_length': 2.1803628601921026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3797057', 'n_tokens_mistral': 867, 'n_tokens_neox': 825, 'n_words': 267}