<commit_before>import time
import random
import os
import threading
import sys


class WebsiteFinder:


    def __init__(self):
        self.startTimeInSec = time.time()  
        startDatePipe = os.popen("date", "r")
        self.startDate = startDatePipe.read()
        startDatePipe.close

        self.fileName = "websites.txt"
        self.file = open(self.fileName, "a")
        self.file.write("\n" + self.startDate)

        self.timeLimitInMin = 0
        self.sitesFound = 0
        self.sitesFoundLimit = sys.maxint
        self.ipsTested = 0<commit_msg>output file changed to line buffered<commit_after>import time
import random
import os
import threading
import sys


class WebsiteFinder:


    def __init__(self):
        self.startTimeInSec = time.time()  
        startDatePipe = os.popen("date", "r")
        self.startDate = startDatePipe.read()
        startDatePipe.close

        self.fileName = "websites.txt"
        self.file = open(self.fileName, "a", 1)
        self.file.write("\n" + self.startDate)

        self.timeLimitInMin = 0
        self.sitesFound = 0
        self.sitesFoundLimit = sys.maxint
        self.ipsTested = 0
{'fraction_non_alphanumeric': 0.10121107266435986, 'fraction_numerical': 0.006055363321799308, 'mean_word_length': 2.4332344213649852, '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': '2306964', 'n_tokens_mistral': 376, 'n_tokens_neox': 357, 'n_words': 79}