<commit_before>def main():
  students = [
    Student("Larsson", 37),
    Student("BonJovi", 55),
  ]

  printHeader()
  selection = getUserSelection()
  if selection == 0:
    printStudentsByAge(students)
  elif selection == 1:
    pass
  elif selection == 2:
    pass
  else:
    print "SELECTION NOT RECOGNIZED"


class Student:
  def __init__(self, lastName, age):
    self.lastName = lastName
    self.age = age
    self.firstName = "JOHN"

  def assignRandomName(self):
    pass

  def assignRandomAge(self):
    pass

  def assignRandomWeight(self, isMetric):
    pass

  def assignRandomHeight(self, isMetric):
    pass

inputQuestions = [ 
  "For STUDENTS BY AGE, type 0",
  "For STUDENTS BY LAST NAME, type 1",
  "For STUDENTS BY FIRST NAME, type 3",
  "For SUM of STUDENT AGES type 4",
  "For AVERAGE of STUDENT AGES type 5",
]

def getUserSelection():
  print (inputQuestions[0])
  print (inputQuestions[1])<commit_msg>example random func<commit_after>def main():
  students = [
    Student("Larsson", 37),
    Student("BonJovi", 55),
  ]

  printHeader()
  selection = getUserSelection()
  if selection == 0:
    printStudentsByAge(students)
  elif selection == 1:
    pass
  elif selection == 2:
    pass
  else:
    print "SELECTION NOT RECOGNIZED"


class Student:
  def __init__(self, lastName, age):
    self.lastName = lastName
    self.age = age
    self.firstName = "JOHN"

  def assignRandomName(self):
    pass

  def assignRandomAge(self):
    self.age = random.randint(0,100)

  def assignRandomWeight(self, isMetric):
    pass

  def assignRandomHeight(self, isMetric):
    pass

inputQuestions = [ 
  "For STUDENTS BY AGE, type 0",
  "For STUDENTS BY LAST NAME, type 1",
  "For STUDENTS BY FIRST NAME, type 3",
  "For SUM of STUDENT AGES type 4",
  "For AVERAGE of STUDENT AGES type 5",
]

def getUserSelection():
  print (inputQuestions[0])
  print (inputQuestions[1])
{'fraction_non_alphanumeric': 0.10864978902953587, 'fraction_numerical': 0.016877637130801686, 'mean_word_length': 3.421911421911422, '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': '712468', 'n_tokens_mistral': 709, 'n_tokens_neox': 638, 'n_words': 190}