<commit_before>#!/usr/bin/env python2.7

import Queue


class BaseQueue(object):

    def __init__(self, *args, **kwargs):
        self.occupancy = []
	self.bandwidth = []
	self.stats = dict(mean_average_occupancy=0, min_bandwidth=0, max_bandwidth=0,
                          mean_average_bandwidth=0, bandwidth_changes=0)
        self.report = dict(time_buffer=0, bandwidth=0, id=0, time_position=0, moving_average_bandwidth=0)
        self._previous_bandwidth = 0
	for key, val in kwargs.items():
            setattr(self, key, val)
        self.run = False
        self.queue = Queue.Queue()<commit_msg>Fixed missing header field in CSV output<commit_after>#!/usr/bin/env python2.7

import Queue


class BaseQueue(object):

    def __init__(self, *args, **kwargs):
        self.occupancy = []
	self.bandwidth = []
	self.stats = dict(mean_average_occupancy=0, min_bandwidth=0, max_bandwidth=0,
                          mean_average_bandwidth=0, bandwidth_changes=0)
        self.report = dict(time_buffer=0, bandwidth=0, id=0, time_position=0, 
			   moving_average_bandwidth=0, max_encoded_bitrate=0)
        self._previous_bandwidth = 0
	for key, val in kwargs.items():
            setattr(self, key, val)
        self.run = False
        self.queue = Queue.Queue()
{'fraction_non_alphanumeric': 0.11487018095987411, 'fraction_numerical': 0.021243115656963022, 'mean_word_length': 3.090032154340836, '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': '782285', 'n_tokens_mistral': 437, 'n_tokens_neox': 416, 'n_words': 82}