<commit_before>import random

from noise import pnoise2
from cmath import polar, rect, pi as PI, e as E, phase
from math import sqrt

clamp = lambda n, minn, maxn: max(min(maxn, n), minn)

class Point(complex):
    def __repr__(self):
        return "<Point x:%.3f y:%.3f>" % self.as_euclidian()
    
    def _x(self):
        return self.real
    def _y(self):
        return self.imag
    def as_euclidian(self):
        return (self.real, self.imag)
    def as_polar(self,measure="rad" ):
        conv = measure == "rad" and identity or rad_to_deg
        return (abs(self), conv(phase(self)))

class Appointement():
    def __repr__(self):
        return "<Appointement coordinate:%s starting_time:%s:>\n" % (self.coordinate, self.starting_time)
    
    def _x(self):
        return self.coordinate._x()
    def _y(self):
        return self.coordinate._y()
    def _group(self):
        return self.group
    def __init__(self, coordinate, time, group):
        self.coordinate = coordinate
        self.starting_time = time
        self.group = group<commit_msg>Add load parameter in Appointement<commit_after>import random

from noise import pnoise2
from cmath import polar, rect, pi as PI, e as E, phase
from math import sqrt

clamp = lambda n, minn, maxn: max(min(maxn, n), minn)

class Point(complex):
    def __repr__(self):
        return "<Point x:%.3f y:%.3f>" % self.as_euclidian()
    
    def _x(self):
        return self.real
    def _y(self):
        return self.imag
    def as_euclidian(self):
        return (self.real, self.imag)
    def as_polar(self,measure="rad" ):
        conv = measure == "rad" and identity or rad_to_deg
        return (abs(self), conv(phase(self)))

class Appointement():
    def __repr__(self):
        return "<Appointement coordinate:%s starting_time:%s:>\n" % (self.coordinate, self.starting_time)
    
    def _x(self):
        return self.coordinate._x()
    def _y(self):
        return self.coordinate._y()
    def _group(self):
        return self.group
    def __init__(self, coordinate, time, group):
        self.coordinate = coordinate
        self.starting_time = time
        self.group = group
        self.load = 1
{'fraction_non_alphanumeric': 0.11646033929390188, 'fraction_numerical': 0.0032095369096744614, 'mean_word_length': 2.768566493955095, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '689755', 'n_tokens_mistral': 717, 'n_tokens_neox': 693, 'n_words': 199}