<commit_before>
import time
import datetime
import collections

import zephyr

def crc_8_digest(values):
    crc = 0
    
    for byte in values:
        crc ^= byte
        for i in range(8):  #@UnusedVariable<commit_msg>Add function for simulating time faster than system time<commit_after>
import time
import datetime
import collections

import zephyr


class FastTime:
    def __init__(self, speed):
        self.start_time = time.time()
        self.speed = speed
    
    def __call__(self):
        seconds_since_start = time.time() - self.start_time
        now = self.start_time + seconds_since_start * self.speed
        return now


def set_time_speed(simulation_speed):
    zephyr.time = FastTime(simulation_speed)


def crc_8_digest(values):
    crc = 0
    
    for byte in values:
        crc ^= byte
        for i in range(8):  #@UnusedVariable
{'fraction_non_alphanumeric': 0.07325581395348837, 'fraction_numerical': 0.0069767441860465115, 'mean_word_length': 2.809734513274336, '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': '3261773', 'n_tokens_mistral': 277, 'n_tokens_neox': 269, 'n_words': 79}