<commit_before>class Personal:
    def __init__(self,name="",phone=None,email="",address="",web=""):
        self.name = name
        self.phone = phone
        self.email = email
        self.address = address
        self.website = web

class PhoneNumber:
    #Precondition: len(num) == 10
    #              first 3 chars of num correspond to area code
    def __init__(self, num, ext = ""):
        self.ext = ext
        self.areaCode = num[0:3]
        self.middleThree = num[3:6]
        self.lastFour = num[6:]

    def __str__(self):
        s = "(" + self.areaCode + ")"
        s += self.middleThree + "-"
        s += self.lastFour
        if len(self.ext) > 0:
            s += "x" + self.ext
        return s

class School:
    def __init__(self, b="", e=""):
        self.beginning = b
        self.end = e
        self.name = ""
        self.majors = []
        self.degrees = []
        self.gpa = None
        self.comment = ""

class Experience:
    def __init__(self):
        self.title = ""
        self.employer = ""
        self.duration = ""
        self.description = ""

class Skill:
    
    def __init__(self, name, level):
        LEVELS = ["expert", "good", "average", "basic"]
        if level not in LEVELS:
            raise ValueError("invalid 'level' - could not instantiate skill")
        self.level = level
        self.name = name

    def __str__(self):
        return self.name
        
class Resume:
    def __init__(self):
        self.personal = None
        self.education = []
        self.courses = []
        self.experiences = []
        self.skills = []<commit_msg>incorporated level in Skill string representation<commit_after>class Personal:
    def __init__(self,name="",phone=None,email="",address="",web=""):
        self.name = name
        self.phone = phone
        self.email = email
        self.address = address
        self.website = web

class PhoneNumber:
    #Precondition: len(num) == 10
    #              first 3 chars of num correspond to area code
    def __init__(self, num, ext = ""):
        self.ext = ext
        self.areaCode = num[0:3]
        self.middleThree = num[3:6]
        self.lastFour = num[6:]

    def __str__(self):
        s = "(" + self.areaCode + ")"
        s += self.middleThree + "-"
        s += self.lastFour
        if len(self.ext) > 0:
            s += "x" + self.ext
        return s

class School:
    def __init__(self, b="", e=""):
        self.beginning = b
        self.end = e
        self.name = ""
        self.majors = []
        self.degrees = []
        self.gpa = None
        self.comment = ""

class Experience:
    def __init__(self):
        self.title = ""
        self.employer = ""
        self.duration = ""
        self.description = ""

class Skill:
    
    def __init__(self, name, level):
        LEVELS = ["expert", "good", "average", "basic"]
        if level not in LEVELS:
            raise ValueError("invalid 'level' - could not instantiate skill")
        self.level = level
        self.name = name

    def __str__(self):
        return self.name + " (" + self.level + ")"
        
class Resume:
    def __init__(self):
        self.personal = None
        self.education = []
        self.courses = []
        self.experiences = []
        self.skills = []
{'fraction_non_alphanumeric': 0.13296903460837886, 'fraction_numerical': 0.00546448087431694, 'mean_word_length': 1.764261744966443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3983918', 'n_tokens_mistral': 1030, 'n_tokens_neox': 994, 'n_words': 248}